/** * Gets a list of objects contained in this row. These objects * could be placed on the clip board during a copy operation, * or navigated to etc. */ public List<OWLObject> getManipulatableObjects() { List<OWLObject> objects = new ArrayList<>(); objects.add(getAxiom().getProperty()); objects.add(getAxiom().getObject()); return objects; }
/** * Gets a list of objects contained in this row. These objects * could be placed on the clip board during a copy operation, * or navigated to etc. */ public List<OWLObject> getManipulatableObjects() { List<OWLObject> objects = new ArrayList<OWLObject>(); objects.add(getAxiom().getProperty()); objects.add(getAxiom().getObject()); return objects; }
/** * @param i individual * @param ontology ontology to search * @return property values */ public static Multimap<OWLDataPropertyExpression, OWLLiteral> getNegativeDataPropertyValues( OWLIndividual i, OWLOntology ontology) { Multimap<OWLDataPropertyExpression, OWLLiteral> map = LinkedListMultimap.create(); ontology.negativeDataPropertyAssertionAxioms(i) .forEach(ax -> map.put(ax.getProperty(), ax.getObject())); return map; }
@Override public OWLClassExpression visit(OWLNegativeDataPropertyAssertionAxiom ax) { return df .getOWLObjectComplementOf(df.getOWLDataHasValue(ax.getProperty(), ax.getObject())); } }
@Override public OWLClassExpression visit(OWLNegativeDataPropertyAssertionAxiom ax) { return df .getOWLObjectComplementOf(df.getOWLDataHasValue(ax.getProperty(), ax.getObject())); } }
@Override public OWLClassExpression visit(OWLNegativeDataPropertyAssertionAxiom ax) { return df .getOWLObjectComplementOf(df.getOWLDataHasValue(ax.getProperty(), ax.getObject())); } }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom object) { Constant targetValue=(Constant)object.getObject().accept(m_dataRangeConverter); m_negativeFacts.add(getRoleAtom(object.getProperty(),getIndividual(object.getSubject()),targetValue)); } }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { sb.append("NegativeDataPropertyAssertion("); writeAnnotations(axiom); axiom.getProperty().accept(this); insertSpace(); axiom.getSubject().accept(this); insertSpace(); axiom.getObject().accept(this); sb.append(')'); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { sb.append("NegativeDataPropertyAssertion("); writeAnnotations(axiom); axiom.getProperty().accept(this); insertSpace(); axiom.getSubject().accept(this); insertSpace(); axiom.getObject().accept(this); sb.append(')'); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { v(axiom.getSubject()); v(axiom.getProperty()); v(axiom.getObject()); } }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { process(axiom); axiom.getSubject().accept(this); axiom.getProperty().accept(this); axiom.getObject().accept(this); }
@Override public OWLNegativeDataPropertyAssertionAxiom visit(OWLNegativeDataPropertyAssertionAxiom ax) { return df.getOWLNegativeDataPropertyAssertionAxiom(t(ax.getProperty()), t(ax.getSubject()), t(ax.getObject()), a(ax)); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { writeAxiomStart(NEGATIVE_DATA_PROPERTY_ASSERTION, axiom); acceptAndSpace(axiom.getProperty()); acceptAndSpace(axiom.getSubject()); axiom.getObject().accept(this); writeAxiomEnd(); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom ax) { obj = df .getOWLNegativeDataPropertyAssertionAxiom(dup(ax.getProperty()), dup(ax.getSubject()), dup(ax .getObject()), anns(ax)); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { writeAxiomStart(NEGATIVE_DATA_PROPERTY_ASSERTION, axiom); acceptAndSpace(axiom.getProperty()); acceptAndSpace(axiom.getSubject()); axiom.getObject().accept(this); writeAxiomEnd(); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { writer.writeStartElement(NEGATIVE_DATA_PROPERTY_ASSERTION); writeAnnotations(axiom); axiom.getProperty().accept(this); axiom.getSubject().accept(this); axiom.getObject().accept(this); writer.writeEndElement(); }
@Override public Object visit(OWLNegativeDataPropertyAssertionAxiom axiom) { return visitAxiom(axiom, () -> df.getOWLNegativeDataPropertyAssertionAxiom(t(axiom.getProperty()), t(axiom .getSubject()), t(axiom.getObject()), t(axiom.annotations()))); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { write(NOT); axiom.getProperty().accept(this); write("("); axiom.getSubject().accept(this); write(", "); axiom.getObject().accept(this); write(")"); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { write(NOT); axiom.getProperty().accept(this); write("("); axiom.getSubject().accept(this); write(", "); axiom.getObject().accept(this); write(")"); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { axiom.getSubject().accept(this); writeSpace().write(keyword("notvalue")); axiom.getProperty().accept(this); writeSpace(); axiom.getObject().accept(this); }