public boolean contains(ObjectPropertyExpression propertyExpression){ return !propertyExpression.isInverse() && properties.contains(propertyExpression.getName()); }
public boolean contains(ObjectPropertyExpression propertyExpression){ return !propertyExpression.isInverse() && properties.contains(propertyExpression.getName()); }
private void checkSignature(ObjectPropertyExpression prop) { if (prop.isInverse()) prop = prop.getInverse(); if (!objectProperties.contains(prop.getName()) && !auxObjectProperties.contains(prop)) throw new IllegalArgumentException(OBJECT_PROPERTY_NOT_FOUND + prop); }
private void checkSignature(ObjectPropertyExpression prop) { if (prop.isInverse()) prop = prop.getInverse(); if (!objectProperties.contains(prop.getName()) && !auxObjectProperties.contains(prop)) throw new IllegalArgumentException(OBJECT_PROPERTY_NOT_FOUND + prop); }
String propFunc = pfa.getName(); String strQuery = String.format(strQueryFunc, propFunc, propFunc);
public OWLIndividualAxiom translate(ObjectPropertyAssertion opa) { IRI roleIRI = IRI.create(opa.getProperty().getName()); OWLObjectProperty property = dataFactory.getOWLObjectProperty(roleIRI); OWLIndividual subject = translate(opa.getSubject()); OWLIndividual object = translate(opa.getObject()); return dataFactory.getOWLObjectPropertyAssertionAxiom(property, subject, object); }
if (!reasonerDag.objectProperties().contains(ope.getName())) continue;