public class DataProperties extends Object
| Modifier and Type | Method and Description |
|---|---|
static DataProperties |
buildDataProperties(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
Factory method for generating new instances of
DataProperties. |
Stream<org.semanticweb.owlapi.model.OWLLiteral> |
dataPropertyValues(org.semanticweb.owlapi.model.OWLNamedIndividual fromIndividual,
org.semanticweb.owlapi.model.IRI propertyIri)
Get the values of an data property for an individual as
Stream. |
List<org.semanticweb.owlapi.model.OWLLiteral> |
getDataPropertyValues(org.semanticweb.owlapi.model.OWLNamedIndividual fromIndividual,
org.semanticweb.owlapi.model.IRI propertyIri)
Get the values of an data property for an individual as
List. |
public static DataProperties buildDataProperties(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
DataProperties.ontology - The ontology to use.ontologyManager - The ontology manager.reasoner - The reasoner.DataProperties instance.public Stream<org.semanticweb.owlapi.model.OWLLiteral> dataPropertyValues(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 data property.public List<org.semanticweb.owlapi.model.OWLLiteral> getDataPropertyValues(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 data property.Copyright © 2020 Jens Pelzetter. All rights reserved.