@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { isLocal = isBotEquivalent(axiom.getObject()); } }
/** * 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; }
/** * @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 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 OWLNegativeDataPropertyAssertionAxiom visit( OWLNegativeDataPropertyAssertionAxiom axiom) { return df .getOWLNegativeDataPropertyAssertionAxiom(axiom.getProperty(), axiom.getSubject(), process(axiom .getProperty(), axiom.getObject())); } }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { process(axiom); axiom.getSubject().accept(this); axiom.getProperty().accept(this); axiom.getObject().accept(this); }
@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 OWLNegativeDataPropertyAssertionAxiom visit(OWLNegativeDataPropertyAssertionAxiom ax) { return df.getOWLNegativeDataPropertyAssertionAxiom(t(ax.getProperty()), t(ax.getSubject()), t(ax.getObject()), a(ax)); }
@Override public Collection<OWLAxiom> visit(OWLNegativeDataPropertyAssertionAxiom axiom) { return subClassOf(df.getOWLObjectOneOf(axiom.getSubject()), df.getOWLDataAllValuesFrom(axiom.getProperty(), df.getOWLDataComplementOf(df.getOWLDataOneOf(axiom.getObject())))); }
@Override public Collection<OWLAxiom> visit(OWLNegativeDataPropertyAssertionAxiom axiom) { return subClassOf(df.getOWLObjectOneOf(axiom.getSubject()), df.getOWLDataAllValuesFrom(axiom.getProperty(), df.getOWLDataComplementOf(df.getOWLDataOneOf(axiom.getObject())))); }
@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) { axiom.getSubject().accept(this); writeSpace().write(keyword("notvalue")); axiom.getProperty().accept(this); writeSpace(); axiom.getObject().accept(this); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { translateAnonymousNode(axiom); addTriple(axiom, RDF_TYPE.getIRI(), OWL_NEGATIVE_PROPERTY_ASSERTION.getIRI()); addTriple(axiom, OWL_SOURCE_INDIVIDUAL.getIRI(), axiom.getSubject()); addTriple(axiom, OWL_ASSERTION_PROPERTY.getIRI(), axiom.getProperty()); addTriple(axiom, OWL_TARGET_VALUE.getIRI(), axiom.getObject()); translateAnnotations(axiom); processIfAnonymous(axiom.getSubject(), axiom); }
@Override public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { translateAnonymousNode(axiom); addTriple(axiom, RDF_TYPE.getIRI(), OWL_NEGATIVE_PROPERTY_ASSERTION.getIRI()); addTriple(axiom, OWL_SOURCE_INDIVIDUAL.getIRI(), axiom.getSubject()); addTriple(axiom, OWL_ASSERTION_PROPERTY.getIRI(), axiom.getProperty()); addTriple(axiom, OWL_TARGET_VALUE.getIRI(), axiom.getObject()); translateAnnotations(axiom); processIfAnonymous(axiom.getSubject(), axiom); }