@Singleton public class OWLDataFactoryImpl extends Object implements OWLDataFactory, Serializable, ClassProvider
| Constructor and Description |
|---|
OWLDataFactoryImpl()
Constructor for injection
|
OWLDataFactoryImpl(OWLOntologyLoaderConfiguration config) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRDFSComment, getRDFSComment, getRDFSComment, getRDFSComment, getRDFSLabel, getRDFSLabel, getRDFSLabel, getRDFSLabelgetSWRLVariable, getSWRLVariable, getSWRLVariablegetOWLClass, getOWLClass, getOWLClass, getOWLClassgetOWLObjectProperty, getOWLObjectProperty, getOWLObjectProperty, getOWLObjectPropertygetOWLDataProperty, getOWLDataProperty, getOWLDataProperty, getOWLDataPropertygetOWLNamedIndividual, getOWLNamedIndividual, getOWLNamedIndividual, getOWLNamedIndividualgetOWLAnnotationProperty, getOWLAnnotationProperty, getOWLAnnotationProperty, getOWLAnnotationPropertygetOWLAnnotation, getOWLAnnotationgetOWLAnnotationAssertionAxiomgetOWLClassAssertionAxiomgetOWLDataPropertyAssertionAxiom, getOWLDataPropertyAssertionAxiom, getOWLDataPropertyAssertionAxiom, getOWLDataPropertyAssertionAxiom, getOWLDataPropertyAssertionAxiom, getOWLDataPropertyAssertionAxiom, getOWLNegativeDataPropertyAssertionAxiomgetOWLNegativeObjectPropertyAssertionAxiom, getOWLObjectPropertyAssertionAxiomgetOWLDifferentIndividualsAxiom, getOWLDifferentIndividualsAxiom, getOWLDifferentIndividualsAxiom, getOWLSameIndividualAxiom, getOWLSameIndividualAxiom, getOWLSameIndividualAxiomgetOWLDisjointClassesAxiom, getOWLDisjointClassesAxiom, getOWLDisjointClassesAxiom, getOWLDisjointClassesAxiom, getOWLDisjointClassesAxiom, getOWLDisjointDataPropertiesAxiom, getOWLDisjointDataPropertiesAxiom, getOWLDisjointDataPropertiesAxiom, getOWLDisjointObjectPropertiesAxiom, getOWLDisjointObjectPropertiesAxiom, getOWLDisjointObjectPropertiesAxiomgetOWLEquivalentClassesAxiom, getOWLEquivalentClassesAxiom, getOWLEquivalentClassesAxiom, getOWLEquivalentClassesAxiom, getOWLEquivalentClassesAxiom, getOWLEquivalentDataPropertiesAxiom, getOWLEquivalentDataPropertiesAxiom, getOWLEquivalentDataPropertiesAxiom, getOWLEquivalentDataPropertiesAxiom, getOWLEquivalentObjectPropertiesAxiom, getOWLEquivalentObjectPropertiesAxiom, getOWLEquivalentObjectPropertiesAxiom, getOWLEquivalentObjectPropertiesAxiomgetOWLAsymmetricObjectPropertyAxiom, getOWLFunctionalDataPropertyAxiom, getOWLFunctionalObjectPropertyAxiom, getOWLInverseFunctionalObjectPropertyAxiom, getOWLIrreflexiveObjectPropertyAxiom, getOWLReflexiveObjectPropertyAxiom, getOWLSymmetricObjectPropertyAxiom, getOWLTransitiveObjectPropertyAxiomgetOWLDatatypeMaxExclusiveRestriction, getOWLDatatypeMaxExclusiveRestriction, getOWLDatatypeMaxInclusiveRestriction, getOWLDatatypeMaxInclusiveRestriction, getOWLDatatypeMinExclusiveRestriction, getOWLDatatypeMinExclusiveRestriction, getOWLDatatypeMinInclusiveRestriction, getOWLDatatypeMinInclusiveRestriction, getOWLDatatypeMinMaxExclusiveRestriction, getOWLDatatypeMinMaxExclusiveRestriction, getOWLDatatypeMinMaxInclusiveRestriction, getOWLDatatypeMinMaxInclusiveRestriction, getOWLDatatypeRestriction, getOWLFacetRestriction, getOWLFacetRestriction, getOWLFacetRestrictiongetOWLLiteralgetOWLDatatype, getOWLDatatype, getOWLDatatype, getOWLDatatypegetOWLAnnotationPropertyDomainAxiom, getOWLDataPropertyDomainAxiom, getOWLObjectPropertyDomainAxiomgetOWLAnnotationPropertyRangeAxiom, getOWLDataPropertyRangeAxiom, getOWLDataPropertyRangeAxiom, getOWLObjectPropertyRangeAxiomgetOWLDataIntersectionOf, getOWLDataIntersectionOf, getOWLObjectIntersectionOfgetOWLDataUnionOf, getOWLDataUnionOf, getOWLObjectUnionOfgetOWLSubAnnotationPropertyOfAxiom, getOWLSubClassOfAxiom, getOWLSubDataPropertyOfAxiom, getOWLSubObjectPropertyOfAxiomgetOWLDatatypeDefinitionAxiom, getOWLDatatypeDefinitionAxiom, getOWLDeclarationAxiomgetOWLDataOneOf, getOWLDataOneOf, getOWLObjectOneOf, getOWLObjectOneOfgetOWLHasKeyAxiom, getOWLHasKeyAxiomgetOWLInverseObjectPropertiesAxiomgetOWLDisjointUnionAxiom, getOWLDisjointUnionAxiom, getOWLDisjointUnionAxiomgetOWLSubPropertyChainOfAxiom@Inject public OWLDataFactoryImpl()
public OWLDataFactoryImpl(OWLOntologyLoaderConfiguration config)
config - configuration objectpublic void purge()
OWLDataFactorypurge in interface OWLDataFactorypublic <E extends OWLEntity> E getOWLEntity(EntityType<E> entityType, IRI iri)
EntityByTypeProvidergetOWLEntity in interface EntityByTypeProviderE - type classentityType - The type of the entity that will be returned.iri - The IRI of the entity that will be returned.public OWLClass getOWLClass(IRI iri)
ClassProviderOWLClass that has the specified IRI.getOWLClass in interface ClassProvideriri - The IRI.OWLClass that has the specified IRI.public OWLAnnotationProperty getRDFSLabel()
OWLVocabularyProviderrdfs:label.getRDFSLabel in interface OWLVocabularyProviderrdfs:label.public OWLAnnotationProperty getRDFSComment()
OWLVocabularyProviderrdfs:comment.getRDFSComment in interface OWLVocabularyProviderrdfs:comment.public OWLAnnotationProperty getRDFSSeeAlso()
OWLVocabularyProviderrdfs:seeAlso.getRDFSSeeAlso in interface OWLVocabularyProviderrdfs:seeAlso.public OWLAnnotationProperty getRDFSIsDefinedBy()
OWLVocabularyProviderrdfs:isDefinedBy.getRDFSIsDefinedBy in interface OWLVocabularyProviderrdfs:isDefinedBy.public OWLAnnotationProperty getOWLVersionInfo()
OWLVocabularyProviderowl:versionInfo.getOWLVersionInfo in interface OWLVocabularyProviderowl:versionInfo.public OWLAnnotationProperty getOWLBackwardCompatibleWith()
OWLVocabularyProviderowl:backwardCompatibleWith.getOWLBackwardCompatibleWith in interface OWLVocabularyProviderowl:backwardCompatibleWith.public OWLAnnotationProperty getOWLIncompatibleWith()
OWLVocabularyProviderowl:incompatibleWith.getOWLIncompatibleWith in interface OWLVocabularyProviderowl:incompatibleWith.public OWLAnnotationProperty getOWLDeprecated()
OWLVocabularyProviderowl:backwardCompatibleWith.getOWLDeprecated in interface OWLVocabularyProviderowl:backwardCompatibleWith.public OWLClass getOWLThing()
OWLVocabularyProvidergetOWLThing in interface OWLVocabularyProviderpublic OWLClass getOWLNothing()
OWLVocabularyProvidergetOWLNothing in interface OWLVocabularyProviderpublic OWLDataProperty getOWLBottomDataProperty()
getOWLBottomDataProperty in interface OWLVocabularyProviderpublic OWLObjectProperty getOWLBottomObjectProperty()
getOWLBottomObjectProperty in interface OWLVocabularyProviderpublic OWLDataProperty getOWLTopDataProperty()
getOWLTopDataProperty in interface OWLVocabularyProviderpublic OWLObjectProperty getOWLTopObjectProperty()
getOWLTopObjectProperty in interface OWLVocabularyProviderpublic OWLObjectProperty getOWLObjectProperty(IRI iri)
ObjectPropertyProviderOWLObjectProperty that has the specified
IRI.getOWLObjectProperty in interface ObjectPropertyProvideriri - The IRI.OWLObjectProperty that has the specified IRI.public OWLDataProperty getOWLDataProperty(IRI iri)
DataPropertyProviderOWLDataProperty that has the specified
IRI.getOWLDataProperty in interface DataPropertyProvideriri - The IRI.OWLDataProperty that has the specified IRI.public OWLNamedIndividual getOWLNamedIndividual(IRI iri)
NamedIndividualProviderOWLNamedIndividual that has the specified
IRI.getOWLNamedIndividual in interface NamedIndividualProvideriri - The IRI.OWLNamedIndividual that has the specified IRI.public OWLAnonymousIndividual getOWLAnonymousIndividual(String nodeId)
AnonymousIndividualByIdProviderOWLAnonymousIndividual that has a specific NodeID
.getOWLAnonymousIndividual in interface AnonymousIndividualByIdProvidernodeId - A String that represents the NodeID of the generated OWLAnonymousIndividual. Note: nodeId will be prefixed with "_:" if it is not
specified with an "_:" prefix.OWLAnonymousIndividualpublic OWLAnonymousIndividual getOWLAnonymousIndividual()
AnonymousIndividualProviderOWLAnonymousIndividual. The NodeID for the
individual will be generated automatically. Successive invocations of
this method (on this object) will result in instances of
OWLAnonymousIndividual that do not have NodeIDs that have
been used previously.getOWLAnonymousIndividual in interface AnonymousIndividualProviderOWLAnonymousIndividual.AnonymousIndividualByIdProviderpublic OWLDatatype getOWLDatatype(IRI iri)
DatatypeProviderOWLDatatype that has the specified
IRI.getOWLDatatype in interface DatatypeProvideriri - The IRI.OWLDatatype that has the specified IRI.public OWLLiteral getOWLLiteral(boolean value)
LiteralProvidergetOWLLiteral in interface LiteralProvidervalue - The value of the literalOWLLiteral whose literal is the lexical value of the boolean, and whose
data type is xsd:boolean.public OWLDataOneOf getOWLDataOneOf(Stream<? extends OWLLiteral> values)
NominalProvidergetOWLDataOneOf in interface NominalProvidervalues - The set of values that the data one of should contain.public OWLDataComplementOf getOWLDataComplementOf(OWLDataRange dataRange)
ComplementProvidergetOWLDataComplementOf in interface ComplementProviderdataRange - The data range to be complemented.public OWLDataComplementOf getOWLDataComplementOf(OWL2Datatype dataRange)
ComplementProvidergetOWLDataComplementOf in interface ComplementProviderdataRange - The data range to be complemented.public OWLDataIntersectionOf getOWLDataIntersectionOf(Stream<? extends OWLDataRange> dataRanges)
getOWLDataIntersectionOf in interface IntersectionProviderdataRanges - data ranges for intersection. Cannot be null or contain nulls.public OWLDataUnionOf getOWLDataUnionOf(Stream<? extends OWLDataRange> dataRanges)
getOWLDataUnionOf in interface UnionProviderdataRanges - data ranges for union. Cannot be null or contain nulls.public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype dataType, Collection<OWLFacetRestriction> facetRestrictions)
DatatypeExpressionProvidergetOWLDatatypeRestriction in interface DatatypeExpressionProviderdataType - datatype for the restrictionfacetRestrictions - facet restrictions. Cannot contain nulls.public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype dataType, OWLFacet facet, OWLLiteral typedLiteral)
DatatypeExpressionProvidergetOWLDatatypeRestriction in interface DatatypeExpressionProviderdataType - datatype for the restrictionfacet - facet for restrictiontypedLiteral - literal for facet.public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, OWLLiteral facetValue)
getOWLFacetRestriction in interface DatatypeExpressionProviderfacet - facet for restriction.facetValue - literal for restriction.public OWLObjectIntersectionOf getOWLObjectIntersectionOf(Stream<? extends OWLClassExpression> operands)
getOWLObjectIntersectionOf in interface IntersectionProvideroperands - class expressions for intersection. Cannot be null or contain nulls.public OWLObjectIntersectionOf getOWLObjectIntersectionOf(Collection<? extends OWLClassExpression> operands)
getOWLObjectIntersectionOf in interface IntersectionProvideroperands - class expressions for intersection. Cannot be null or contain nulls.public OWLDataAllValuesFrom getOWLDataAllValuesFrom(OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataAllValuesFrom in interface UniversalProviderproperty - The property that the restriction acts along.dataRange - The data range that is the filler.public OWLDataAllValuesFrom getOWLDataAllValuesFrom(OWLDataPropertyExpression property, OWL2Datatype dataRange)
getOWLDataAllValuesFrom in interface UniversalProviderproperty - The property that the restriction acts along.dataRange - The data range that is the filler.public OWLDataExactCardinality getOWLDataExactCardinality(int cardinality, OWLDataPropertyExpression property)
getOWLDataExactCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negativeproperty - The property that the restriction acts along.public OWLDataExactCardinality getOWLDataExactCardinality(int cardinality, OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataExactCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negativeproperty - The property that the restriction acts along.dataRange - data range for restrictionpublic OWLDataExactCardinality getOWLDataExactCardinality(int cardinality, OWLDataPropertyExpression property, OWL2Datatype dataRange)
getOWLDataExactCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negativeproperty - The property that the restriction acts along.dataRange - data range for restrictionpublic OWLDataMaxCardinality getOWLDataMaxCardinality(int cardinality, OWLDataPropertyExpression property)
getOWLDataMaxCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negativeproperty - The property that the restriction acts along.public OWLDataMaxCardinality getOWLDataMaxCardinality(int cardinality, OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataMaxCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negativeproperty - The property that the restriction acts along.dataRange - data range for restrictionpublic OWLDataMaxCardinality getOWLDataMaxCardinality(int cardinality, OWLDataPropertyExpression property, OWL2Datatype dataRange)
getOWLDataMaxCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negativeproperty - The property that the restriction acts along.dataRange - data range for restrictionpublic OWLDataMinCardinality getOWLDataMinCardinality(int cardinality, OWLDataPropertyExpression property)
getOWLDataMinCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negativeproperty - The property that the restriction acts along.public OWLDataMinCardinality getOWLDataMinCardinality(int cardinality, OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataMinCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negative.property - The property that the restriction acts along.dataRange - data range for restrictionpublic OWLDataMinCardinality getOWLDataMinCardinality(int cardinality, OWLDataPropertyExpression property, OWL2Datatype dataRange)
getOWLDataMinCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negative.property - The property that the restriction acts along.dataRange - data range for restrictionpublic OWLDataSomeValuesFrom getOWLDataSomeValuesFrom(OWLDataPropertyExpression property, OWLDataRange dataRange)
ExistentialProvidergetOWLDataSomeValuesFrom in interface ExistentialProviderproperty - The property that the restriction acts along.dataRange - The data range that is the filler.public OWLDataSomeValuesFrom getOWLDataSomeValuesFrom(OWLDataPropertyExpression property, OWL2Datatype dataRange)
ExistentialProvidergetOWLDataSomeValuesFrom in interface ExistentialProviderproperty - The property that the restriction acts along.dataRange - The data range that is the filler.public OWLDataHasValue getOWLDataHasValue(OWLDataPropertyExpression property, OWLLiteral value)
getOWLDataHasValue in interface HasValueProviderproperty - The property that the restriction acts along.value - value for restrictionpublic OWLObjectComplementOf getOWLObjectComplementOf(OWLClassExpression operand)
getOWLObjectComplementOf in interface ComplementProvideroperand - class expression to complementpublic OWLObjectAllValuesFrom getOWLObjectAllValuesFrom(OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectAllValuesFrom in interface UniversalProviderproperty - The property that the restriction acts along.classExpression - the class expression for the restrictionpublic OWLObjectOneOf getOWLObjectOneOf(Stream<? extends OWLIndividual> values)
getOWLObjectOneOf in interface NominalProvidervalues - individuals for restriction. Cannot be null or contain nulls.public OWLObjectExactCardinality getOWLObjectExactCardinality(int cardinality, OWLObjectPropertyExpression property)
getOWLObjectExactCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negative.property - The property that the restriction acts along.public OWLObjectExactCardinality getOWLObjectExactCardinality(int cardinality, OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectExactCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negative.property - The property that the restriction acts along.classExpression - class expression for restrictionpublic OWLObjectMinCardinality getOWLObjectMinCardinality(int cardinality, OWLObjectPropertyExpression property)
getOWLObjectMinCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negative.property - The property that the restriction acts along.public OWLObjectMinCardinality getOWLObjectMinCardinality(int cardinality, OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectMinCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negative.property - The property that the restriction acts along.classExpression - class expression for restrictionpublic OWLObjectMaxCardinality getOWLObjectMaxCardinality(int cardinality, OWLObjectPropertyExpression property)
getOWLObjectMaxCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negative.property - The property that the restriction acts along.public OWLObjectMaxCardinality getOWLObjectMaxCardinality(int cardinality, OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectMaxCardinality in interface CardinalityRestrictionProvidercardinality - Cannot be negative.property - The property that the restriction acts along.classExpression - class expression for restrictionpublic OWLObjectHasSelf getOWLObjectHasSelf(OWLObjectPropertyExpression property)
getOWLObjectHasSelf in interface HasSelfProviderproperty - The property that the restriction acts along.public OWLObjectSomeValuesFrom getOWLObjectSomeValuesFrom(OWLObjectPropertyExpression property, OWLClassExpression classExpression)
ExistentialProvidergetOWLObjectSomeValuesFrom in interface ExistentialProviderproperty - The object property that the restriction acts along.classExpression - The class expression that is the filler.public OWLObjectHasValue getOWLObjectHasValue(OWLObjectPropertyExpression property, OWLIndividual individual)
getOWLObjectHasValue in interface HasValueProviderproperty - The property that the restriction acts along.individual - individual for restrictionpublic OWLObjectUnionOf getOWLObjectUnionOf(Stream<? extends OWLClassExpression> operands)
getOWLObjectUnionOf in interface UnionProvideroperands - class expressions for unionpublic OWLObjectUnionOf getOWLObjectUnionOf(Collection<? extends OWLClassExpression> operands)
getOWLObjectUnionOf in interface UnionProvideroperands - class expressions for unionpublic OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom(OWLObjectPropertyExpression propertyExpression, Collection<OWLAnnotation> annotations)
getOWLAsymmetricObjectPropertyAxiom in interface PropertyCharacteristicAxiomProviderpropertyExpression - property expressionannotations - A set of annotations. Cannot be null or contain nulls.public OWLDataPropertyDomainAxiom getOWLDataPropertyDomainAxiom(OWLDataPropertyExpression property, OWLClassExpression domain, Collection<OWLAnnotation> annotations)
getOWLDataPropertyDomainAxiom in interface DomainAxiomProviderproperty - propertydomain - domainannotations - A set of annotations. Cannot be null or contain nulls.public OWLDataPropertyRangeAxiom getOWLDataPropertyRangeAxiom(OWLDataPropertyExpression property, OWLDataRange owlDataRange, Collection<OWLAnnotation> annotations)
getOWLDataPropertyRangeAxiom in interface RangeAxiomProviderproperty - propertyowlDataRange - data rangeannotations - A set of annotations. Cannot be null or contain nulls.public OWLDataPropertyRangeAxiom getOWLDataPropertyRangeAxiom(OWLDataPropertyExpression property, OWL2Datatype owlDataRange, Collection<OWLAnnotation> annotations)
getOWLDataPropertyRangeAxiom in interface RangeAxiomProviderproperty - propertyowlDataRange - data rangeannotations - A set of annotations. Cannot be null or contain nulls.public OWLSubDataPropertyOfAxiom getOWLSubDataPropertyOfAxiom(OWLDataPropertyExpression subProperty, OWLDataPropertyExpression superProperty, Collection<OWLAnnotation> annotations)
getOWLSubDataPropertyOfAxiom in interface SubAxiomProvidersubProperty - sub PropertysuperProperty - super Propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLDeclarationAxiom getOWLDeclarationAxiom(OWLEntity owlEntity, Collection<OWLAnnotation> annotations)
DeclarationAxiomProvidergetOWLDeclarationAxiom in interface DeclarationAxiomProviderowlEntity - The declared entity.annotations - A set of annotations. Cannot be null or contain nulls.public OWLDifferentIndividualsAxiom getOWLDifferentIndividualsAxiom(Collection<? extends OWLIndividual> individuals, Collection<OWLAnnotation> annotations)
getOWLDifferentIndividualsAxiom in interface IndividualAssertionProviderindividuals - Cannot be null or contain nulls.annotations - A set of annotations. Cannot be null or contain nulls.public OWLDisjointClassesAxiom getOWLDisjointClassesAxiom(Collection<? extends OWLClassExpression> classExpressions, Collection<OWLAnnotation> annotations)
getOWLDisjointClassesAxiom in interface DisjointAxiomProviderclassExpressions - Disjoint classes. Cannot be null or contain nulls.annotations - A set of annotations. Cannot be null or contain nulls.public OWLDisjointDataPropertiesAxiom getOWLDisjointDataPropertiesAxiom(Collection<? extends OWLDataPropertyExpression> properties, Collection<OWLAnnotation> annotations)
getOWLDisjointDataPropertiesAxiom in interface DisjointAxiomProviderproperties - Cannot be null or contain nulls.annotations - A set of annotations. Cannot be null or contain nulls.public OWLDisjointObjectPropertiesAxiom getOWLDisjointObjectPropertiesAxiom(Collection<? extends OWLObjectPropertyExpression> properties, Collection<OWLAnnotation> annotations)
getOWLDisjointObjectPropertiesAxiom in interface DisjointAxiomProviderproperties - Cannot be null or contain nulls.annotations - A set of annotations. Cannot be null or contain nulls.public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(Collection<? extends OWLClassExpression> classExpressions, Collection<OWLAnnotation> annotations)
getOWLEquivalentClassesAxiom in interface EquivalentAxiomProviderclassExpressions - equivalent classes. Cannot be null or contain nulls.annotations - A set of annotations. Cannot be null or contain nulls.public OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(Collection<? extends OWLDataPropertyExpression> properties, Collection<OWLAnnotation> annotations)
getOWLEquivalentDataPropertiesAxiom in interface EquivalentAxiomProviderproperties - propertiesannotations - A set of annotations. Cannot be null or contain nulls.public OWLFunctionalDataPropertyAxiom getOWLFunctionalDataPropertyAxiom(OWLDataPropertyExpression property, Collection<OWLAnnotation> annotations)
getOWLFunctionalDataPropertyAxiom in interface PropertyCharacteristicAxiomProviderproperty - propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLFunctionalObjectPropertyAxiom getOWLFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations)
getOWLFunctionalObjectPropertyAxiom in interface PropertyCharacteristicAxiomProviderproperty - propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLImportsDeclaration getOWLImportsDeclaration(IRI importedOntologyIRI)
getOWLImportsDeclaration in interface OWLDataFactoryimportedOntologyIRI - imported ontologypublic OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, OWLLiteral object, Collection<OWLAnnotation> annotations)
getOWLDataPropertyAssertionAxiom in interface DataAssertionProviderproperty - propertysubject - subjectobject - objectannotations - A set of annotations. Cannot be null or contain nulls.public OWLNegativeDataPropertyAssertionAxiom getOWLNegativeDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, OWLLiteral object, Collection<OWLAnnotation> annotations)
getOWLNegativeDataPropertyAssertionAxiom in interface DataAssertionProviderproperty - propertysubject - subjectobject - objectannotations - A set of annotations. Cannot be null or contain nulls.public OWLNegativeObjectPropertyAssertionAxiom getOWLNegativeObjectPropertyAssertionAxiom(OWLObjectPropertyExpression property, OWLIndividual subject, OWLIndividual object, Collection<OWLAnnotation> annotations)
getOWLNegativeObjectPropertyAssertionAxiom in interface ObjectAssertionProviderproperty - propertysubject - subjectobject - objectannotations - A set of annotations. Cannot be null or contain nulls.public OWLClassAssertionAxiom getOWLClassAssertionAxiom(OWLClassExpression classExpression, OWLIndividual individual, Collection<OWLAnnotation> annotations)
getOWLClassAssertionAxiom in interface ClassAssertionProviderclassExpression - class Expressionindividual - individualannotations - A set of annotations. Cannot be null or contain nulls.public OWLInverseFunctionalObjectPropertyAxiom getOWLInverseFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations)
getOWLInverseFunctionalObjectPropertyAxiom in interface PropertyCharacteristicAxiomProviderproperty - propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations)
getOWLIrreflexiveObjectPropertyAxiom in interface PropertyCharacteristicAxiomProviderproperty - propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLObjectPropertyDomainAxiom getOWLObjectPropertyDomainAxiom(OWLObjectPropertyExpression property, OWLClassExpression classExpression, Collection<OWLAnnotation> annotations)
getOWLObjectPropertyDomainAxiom in interface DomainAxiomProviderproperty - propertyclassExpression - class Expressionannotations - A set of annotations. Cannot be null or contain nulls.public OWLObjectPropertyRangeAxiom getOWLObjectPropertyRangeAxiom(OWLObjectPropertyExpression property, OWLClassExpression range, Collection<OWLAnnotation> annotations)
getOWLObjectPropertyRangeAxiom in interface RangeAxiomProviderproperty - propertyrange - rangeannotations - A set of annotations. Cannot be null or contain nulls.public OWLSubObjectPropertyOfAxiom getOWLSubObjectPropertyOfAxiom(OWLObjectPropertyExpression subProperty, OWLObjectPropertyExpression superProperty, Collection<OWLAnnotation> annotations)
getOWLSubObjectPropertyOfAxiom in interface SubAxiomProvidersubProperty - sub PropertysuperProperty - super Propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLReflexiveObjectPropertyAxiom getOWLReflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations)
getOWLReflexiveObjectPropertyAxiom in interface PropertyCharacteristicAxiomProviderproperty - propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLSameIndividualAxiom getOWLSameIndividualAxiom(Collection<? extends OWLIndividual> individuals, Collection<OWLAnnotation> annotations)
getOWLSameIndividualAxiom in interface IndividualAssertionProviderindividuals - Cannot be null or contain nulls.annotations - A set of annotations. Cannot be null or contain nulls.public OWLSubClassOfAxiom getOWLSubClassOfAxiom(OWLClassExpression subClass, OWLClassExpression superClass, Collection<OWLAnnotation> annotations)
getOWLSubClassOfAxiom in interface SubAxiomProvidersubClass - sub classsuperClass - super classannotations - A set of annotations. Cannot be null or contain nulls.public OWLSymmetricObjectPropertyAxiom getOWLSymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations)
getOWLSymmetricObjectPropertyAxiom in interface PropertyCharacteristicAxiomProviderproperty - propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLTransitiveObjectPropertyAxiom getOWLTransitiveObjectPropertyAxiom(OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations)
getOWLTransitiveObjectPropertyAxiom in interface PropertyCharacteristicAxiomProviderproperty - propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLObjectInverseOf getOWLObjectInverseOf(OWLObjectProperty property)
InverseProvidergetOWLObjectInverseOf in interface InverseProviderproperty - The property of which the inverse will be returnedpublic OWLInverseObjectPropertiesAxiom getOWLInverseObjectPropertiesAxiom(OWLObjectPropertyExpression forwardProperty, OWLObjectPropertyExpression inverseProperty, Collection<OWLAnnotation> annotations)
getOWLInverseObjectPropertiesAxiom in interface InverseAxiomProviderforwardProperty - forward PropertyinverseProperty - inverse Propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLSubPropertyChainOfAxiom getOWLSubPropertyChainOfAxiom(List<? extends OWLObjectPropertyExpression> chain, OWLObjectPropertyExpression superProperty, Collection<OWLAnnotation> annotations)
getOWLSubPropertyChainOfAxiom in interface PropertyChainAxiomProviderchain - Chain of properties. Cannot be null or contain nulls.superProperty - super propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLHasKeyAxiom getOWLHasKeyAxiom(OWLClassExpression ce, Collection<? extends OWLPropertyExpression> objectProperties, Collection<OWLAnnotation> annotations)
getOWLHasKeyAxiom in interface HasKeyAxiomProviderce - class expressionobjectProperties - Cannot be null or contain nulls.annotations - A set of annotations. Cannot be null or contain nulls.public OWLDisjointUnionAxiom getOWLDisjointUnionAxiom(OWLClass owlClass, Stream<? extends OWLClassExpression> classExpressions, Collection<OWLAnnotation> annotations)
getOWLDisjointUnionAxiom in interface DisjointUnionAxiomProviderowlClass - left hand side of the axiom. Cannot be null.classExpressions - right hand side of the axiom. Cannot be null or contain nulls.annotations - A set of annotations. Cannot be null or contain nulls.public OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(Collection<? extends OWLObjectPropertyExpression> properties, Collection<OWLAnnotation> annotations)
getOWLEquivalentObjectPropertiesAxiom in interface EquivalentAxiomProviderproperties - Cannot be null or contain nulls.annotations - A set of annotations. Cannot be null or contain nulls.public OWLObjectPropertyAssertionAxiom getOWLObjectPropertyAssertionAxiom(OWLObjectPropertyExpression property, OWLIndividual individual, OWLIndividual object, Collection<OWLAnnotation> annotations)
getOWLObjectPropertyAssertionAxiom in interface ObjectAssertionProviderproperty - propertyindividual - individualobject - objectannotations - A set of annotations. Cannot be null or contain nulls.public OWLSubAnnotationPropertyOfAxiom getOWLSubAnnotationPropertyOfAxiom(OWLAnnotationProperty sub, OWLAnnotationProperty sup, Collection<OWLAnnotation> annotations)
getOWLSubAnnotationPropertyOfAxiom in interface SubAxiomProvidersub - sub propertysup - super propertyannotations - A set of annotations. Cannot be null or contain nulls.public OWLAnnotationProperty getOWLAnnotationProperty(IRI iri)
AnnotationPropertyProviderOWLAnnotationProperty that has the specified
IRI.getOWLAnnotationProperty in interface AnnotationPropertyProvideriri - The IRI.OWLAnnotationProperty that has the specified IRI.public OWLAnnotation getOWLAnnotation(OWLAnnotationProperty property, OWLAnnotationValue value)
AnnotationProvidergetOWLAnnotation in interface AnnotationProviderproperty - the annotation property.value - The annotation value.public OWLAnnotation getOWLAnnotation(OWLAnnotationProperty property, OWLAnnotationValue value, Stream<OWLAnnotation> annotations)
AnnotationProvidergetOWLAnnotation in interface AnnotationProviderproperty - the annotation property.value - The annotation value.annotations - A stream of annotations. Cannot be null or contain nulls.public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationSubject subject, OWLAnnotation annotation)
getOWLAnnotationAssertionAxiom in interface AnnotationAssertionProvidersubject - subjectannotation - annotationpublic OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationSubject subject, OWLAnnotation annotation, Collection<OWLAnnotation> annotations)
getOWLAnnotationAssertionAxiom in interface AnnotationAssertionProvidersubject - subjectannotation - annotationannotations - A set of annotations. Cannot be null or contain nulls.public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationProperty property, OWLAnnotationSubject subject, OWLAnnotationValue value, Collection<OWLAnnotation> annotations)
getOWLAnnotationAssertionAxiom in interface AnnotationAssertionProviderproperty - propertysubject - subjectvalue - valueannotations - A set of annotations. Cannot be null or contain nulls.public OWLAnnotationAssertionAxiom getDeprecatedOWLAnnotationAssertionAxiom(IRI subject)
AnnotationAssertionProvider"true"^^xsd:boolean. (See Annotation Properties in the OWL 2 SpecificationgetDeprecatedOWLAnnotationAssertionAxiom in interface AnnotationAssertionProvidersubject - The IRI to be deprecated.public OWLAnnotationPropertyDomainAxiom getOWLAnnotationPropertyDomainAxiom(OWLAnnotationProperty prop, IRI domain, Collection<OWLAnnotation> annotations)
getOWLAnnotationPropertyDomainAxiom in interface DomainAxiomProviderprop - propdomain - domainannotations - A set of annotations. Cannot be null or contain nulls.public OWLAnnotationPropertyRangeAxiom getOWLAnnotationPropertyRangeAxiom(OWLAnnotationProperty prop, IRI range, Collection<OWLAnnotation> annotations)
getOWLAnnotationPropertyRangeAxiom in interface RangeAxiomProviderprop - proprange - rangeannotations - A set of annotations. Cannot be null or contain nulls.public SWRLRule getSWRLRule(Collection<? extends SWRLAtom> body, Collection<? extends SWRLAtom> head, Collection<OWLAnnotation> annotations)
SWRLProvidergetSWRLRule in interface SWRLProviderbody - The atoms that make up the bodyhead - The atoms that make up the headannotations - The annotations for the rule (may be an empty set)public SWRLRule getSWRLRule(Collection<? extends SWRLAtom> body, Collection<? extends SWRLAtom> head)
SWRLProvidergetSWRLRule in interface SWRLProviderbody - The atoms that make up the bodyhead - The atoms that make up the headpublic SWRLClassAtom getSWRLClassAtom(OWLClassExpression predicate, SWRLIArgument arg)
SWRLProvidergetSWRLClassAtom in interface SWRLProviderpredicate - The class expression that represents the predicate of the atomarg - The argument (x)public SWRLDataRangeAtom getSWRLDataRangeAtom(OWLDataRange predicate, SWRLDArgument arg)
SWRLProvidergetSWRLDataRangeAtom in interface SWRLProviderpredicate - The data range that represents the predicate of the atomarg - The argument (x)public SWRLDataRangeAtom getSWRLDataRangeAtom(OWL2Datatype predicate, SWRLDArgument arg)
SWRLProvidergetSWRLDataRangeAtom in interface SWRLProviderpredicate - The data range that represents the predicate of the atomarg - The argument (x)public SWRLObjectPropertyAtom getSWRLObjectPropertyAtom(OWLObjectPropertyExpression property, SWRLIArgument arg0, SWRLIArgument arg1)
SWRLProvidergetSWRLObjectPropertyAtom in interface SWRLProviderproperty - The property (P) representing the atom predicatearg0 - The first argument (x)arg1 - The second argument (y)public SWRLDataPropertyAtom getSWRLDataPropertyAtom(OWLDataPropertyExpression property, SWRLIArgument arg0, SWRLDArgument arg1)
SWRLProvidergetSWRLDataPropertyAtom in interface SWRLProviderproperty - The property (P) that represents the atom predicatearg0 - The first argument (x)arg1 - The second argument (y)public SWRLBuiltInAtom getSWRLBuiltInAtom(IRI builtInIRI, List<SWRLDArgument> args)
SWRLProviderSWRLBuiltInsVocabulary.getSWRLBuiltInAtom in interface SWRLProviderbuiltInIRI - The builtin predicate IRIargs - A non-empty set of SWRL Arguments.public SWRLVariable getSWRLVariable(IRI var)
SWRLProvidergetSWRLVariable in interface SWRLProvidervar - The id (IRI) of the variablepublic SWRLIndividualArgument getSWRLIndividualArgument(OWLIndividual individual)
SWRLProvidergetSWRLIndividualArgument in interface SWRLProviderindividual - The individual that is the object argumentpublic SWRLLiteralArgument getSWRLLiteralArgument(OWLLiteral literal)
SWRLProvidergetSWRLLiteralArgument in interface SWRLProviderliteral - The constant that is the object argumentpublic SWRLDifferentIndividualsAtom getSWRLDifferentIndividualsAtom(SWRLIArgument arg0, SWRLIArgument arg1)
getSWRLDifferentIndividualsAtom in interface SWRLProviderarg0 - first individualarg1 - second individualpublic SWRLSameIndividualAtom getSWRLSameIndividualAtom(SWRLIArgument arg0, SWRLIArgument arg1)
getSWRLSameIndividualAtom in interface SWRLProviderarg0 - first individualarg1 - second individualpublic OWLDatatypeDefinitionAxiom getOWLDatatypeDefinitionAxiom(OWLDatatype datatype, OWLDataRange dataRange, Collection<OWLAnnotation> annotations)
getOWLDatatypeDefinitionAxiom in interface DeclarationAxiomProviderdatatype - data typedataRange - data Rangeannotations - A set of annotations.public OWLDatatypeDefinitionAxiom getOWLDatatypeDefinitionAxiom(OWLDatatype datatype, OWL2Datatype dataRange, Collection<OWLAnnotation> annotations)
getOWLDatatypeDefinitionAxiom in interface DeclarationAxiomProviderdatatype - data typedataRange - data Rangeannotations - A set of annotations.public OWLLiteral getOWLLiteral(String lexicalValue, OWLDatatype datatype)
LiteralProviderOWLLiteral, which has the specified lexical value, and is typed with the
specified datatype.getOWLLiteral in interface LiteralProviderlexicalValue - The lexical value.datatype - The datatype.rdf:PlainLiteral, and the lexical value contains a language tag
then the language tag will be parsed out of the lexical value. For example,
"abc@en"^^rdf:PlainLiteral would be parsed into a lexical value of "abc" and a
language tag of "en".public OWLLiteral getOWLLiteral(int value)
LiteralProvidergetOWLLiteral in interface LiteralProvidervalue - The value of the literalOWLLiteral whose literal is the lexical value of the integer, and whose
data type is xsd:integer.public OWLLiteral getOWLLiteral(double value)
LiteralProvidergetOWLLiteral in interface LiteralProvidervalue - The value of the literalOWLLiteral whose literal is the lexical value of the double, and whose
data type is xsd:double.public OWLLiteral getOWLLiteral(float value)
LiteralProvidergetOWLLiteral in interface LiteralProvidervalue - The value of the literalOWLLiteral whose literal is the lexical value of the float, and whose data
type is xsd:float.public OWLLiteral getOWLLiteral(String value)
LiteralProvidergetOWLLiteral in interface LiteralProvidervalue - The lexical value of the literal.public OWLLiteral getOWLLiteral(String literal, @Nullable String lang)
LiteralProviderOWLRDFVocabulary.RDF_PLAIN_LITERAL).getOWLLiteral in interface LiteralProviderliteral - The string literal.lang - The language tag. The empty string may be specified to indicate an empty language
tag. Leading and trailing white space will be removed from the tag and the tag will be
normalised to LOWER CASE. If lang is null then lang will be
converted to the empty string (for backwards compatibility). If not empty, the tag is
formed according to BCP47
but the OWL API will not check that the tag conforms to this specification - it is up
to the caller to ensure this.public OWLDatatype getBooleanOWLDatatype()
OWLVocabularyProvidergetBooleanOWLDatatype in interface OWLVocabularyProviderpublic OWLDatatype getStringOWLDatatype()
OWLVocabularyProvidergetStringOWLDatatype in interface OWLVocabularyProviderpublic OWLDatatype getDoubleOWLDatatype()
OWLVocabularyProvidergetDoubleOWLDatatype in interface OWLVocabularyProviderpublic OWLDatatype getFloatOWLDatatype()
OWLVocabularyProvidergetFloatOWLDatatype in interface OWLVocabularyProviderpublic OWLDatatype getIntegerOWLDatatype()
OWLVocabularyProvidergetIntegerOWLDatatype in interface OWLVocabularyProviderpublic OWLDatatype getTopDatatype()
getTopDatatype in interface OWLVocabularyProviderpublic OWLDatatype getRDFPlainLiteral()
OWLVocabularyProvidergetRDFPlainLiteral in interface OWLVocabularyProviderrdf:PlainLiteralCopyright © 2020 The University of Manchester. All rights reserved.