public class ObjectProperties extends Object
| Modifier and Type | Method and Description |
|---|---|
static ObjectProperties |
buildObjectProperties(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
Factory method for generating new instances of
ObjectProperties. |
List<org.semanticweb.owlapi.model.OWLNamedIndividual> |
getObjectPropertyValues(org.semanticweb.owlapi.model.OWLNamedIndividual fromIndividual,
org.semanticweb.owlapi.model.IRI propertyIri)
Get the values of an object property for an individual as
List. |
Stream<org.semanticweb.owlapi.model.OWLNamedIndividual> |
objectPropertyValues(org.semanticweb.owlapi.model.OWLNamedIndividual fromIndividual,
org.semanticweb.owlapi.model.IRI propertyIri)
Get the values of an object property for an individual as
Stream. |
public static ObjectProperties buildObjectProperties(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
ObjectProperties.ontologyManager - The ontology manager.reasoner - The reasoner.DataProperties instance.public Stream<org.semanticweb.owlapi.model.OWLNamedIndividual> objectPropertyValues(org.semanticweb.owlapi.model.OWLNamedIndividual fromIndividual, org.semanticweb.owlapi.model.IRI propertyIri)
Stream.fromIndividual - The individual from which the values are read.propertyIri - The IRI of the property which values are read.Stream of the values of the object property.public List<org.semanticweb.owlapi.model.OWLNamedIndividual> getObjectPropertyValues(org.semanticweb.owlapi.model.OWLNamedIndividual fromIndividual, org.semanticweb.owlapi.model.IRI propertyIri)
List.fromIndividual - The individual from which the values are read.propertyIri - The IRI of the property which values are read.List of the values of the object property.Copyright © 2020 Jens Pelzetter. All rights reserved.