use of fr.lirmm.graphik.util.URI in project graal by graphik-team.
the class GraalUtils method createPredicate.
/**
* @param property
* @return a {@link Predicate} with arity 2 which represents the specified owl data property.
*/
public static Predicate createPredicate(OWLDataPropertyExpression property) {
Predicate predicate = null;
URI uri = convertIRI(property.asOWLDataProperty().getIRI());
predicate = new Predicate(uri, 2);
return predicate;
}
Aggregations