@Singleton public class OWLDataFactoryImpl extends Object implements OWLDataFactory, Serializable, OWLClassProvider
Constructor and Description |
---|
OWLDataFactoryImpl()
Constructor for configuration injection.
|
OWLDataFactoryImpl(OWLOntologyLoaderConfiguration config) |
@Inject public OWLDataFactoryImpl()
public OWLDataFactoryImpl(OWLOntologyLoaderConfiguration config)
config
- configurationpublic void purge()
OWLDataFactory
purge
in interface OWLDataFactory
@Nonnull public <E extends OWLEntity> E getOWLEntity(@Nonnull EntityType<E> entityType, IRI iri)
OWLEntityByTypeProvider
getOWLEntity
in interface OWLEntityByTypeProvider
E
- type classentityType
- The type of the entity that will be returned. Not null
.iri
- The IRI of the entity that will be returned. Not null
.null
.public OWLClass getOWLClass(IRI iri)
OWLClassProvider
OWLClass
that has the specified IRI
.getOWLClass
in interface OWLClassProvider
iri
- The IRI. Not null
.OWLClass
that has the specified IRI. Not null
.public OWLClass getOWLClass(String abbreviatedIRI, @Nonnull PrefixManager prefixManager)
OWLDataFactory
getOWLClass
in interface OWLDataFactory
abbreviatedIRI
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix).prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs.public OWLAnnotationProperty getOWLAnnotationProperty(String abbreviatedIRI, @Nonnull PrefixManager prefixManager)
OWLDataFactory
getOWLAnnotationProperty
in interface OWLDataFactory
abbreviatedIRI
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note that abbreviated IRIs
always contain a colon as a delimiter, even if the prefix name is the empty string.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs.@Nonnull public OWLAnnotationProperty getRDFSLabel()
OWLDataFactory
rdfs:label
.getRDFSLabel
in interface OWLDataFactory
rdfs:label
.@Nonnull public OWLAnnotationProperty getRDFSComment()
OWLDataFactory
rdfs:comment
.getRDFSComment
in interface OWLDataFactory
rdfs:comment
.@Nonnull public OWLAnnotationProperty getRDFSSeeAlso()
OWLDataFactory
rdfs:seeAlso
.getRDFSSeeAlso
in interface OWLDataFactory
rdfs:seeAlso
.@Nonnull public OWLAnnotationProperty getRDFSIsDefinedBy()
OWLDataFactory
rdfs:isDefinedBy
.getRDFSIsDefinedBy
in interface OWLDataFactory
rdfs:isDefinedBy
.@Nonnull public OWLAnnotationProperty getOWLVersionInfo()
OWLDataFactory
owl:versionInfo
.getOWLVersionInfo
in interface OWLDataFactory
owl:versionInfo
.@Nonnull public OWLAnnotationProperty getOWLBackwardCompatibleWith()
OWLDataFactory
owl:backwardCompatibleWith
.getOWLBackwardCompatibleWith
in interface OWLDataFactory
owl:backwardCompatibleWith
.@Nonnull public OWLAnnotationProperty getOWLIncompatibleWith()
OWLDataFactory
owl:incompatibleWith
.getOWLIncompatibleWith
in interface OWLDataFactory
owl:incompatibleWith
.@Nonnull public OWLAnnotationProperty getOWLDeprecated()
OWLDataFactory
owl:backwardCompatibleWith
.getOWLDeprecated
in interface OWLDataFactory
owl:backwardCompatibleWith
.public OWLDatatype getOWLDatatype(String abbreviatedIRI, @Nonnull PrefixManager prefixManager)
OWLDataFactory
getOWLDatatype
in interface OWLDataFactory
abbreviatedIRI
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note that abbreviated IRIs
always contain a colon as a delimiter, even if the prefix name is the empty string.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs.@Nonnull public OWLClass getOWLThing()
OWLDataFactory
getOWLThing
in interface OWLDataFactory
@Nonnull public OWLClass getOWLNothing()
OWLDataFactory
getOWLNothing
in interface OWLDataFactory
@Nonnull public OWLDataProperty getOWLBottomDataProperty()
getOWLBottomDataProperty
in interface OWLDataFactory
@Nonnull public OWLObjectProperty getOWLBottomObjectProperty()
getOWLBottomObjectProperty
in interface OWLDataFactory
@Nonnull public OWLDataProperty getOWLTopDataProperty()
getOWLTopDataProperty
in interface OWLDataFactory
@Nonnull public OWLObjectProperty getOWLTopObjectProperty()
getOWLTopObjectProperty
in interface OWLDataFactory
public OWLObjectProperty getOWLObjectProperty(IRI iri)
OWLObjectPropertyProvider
OWLObjectProperty
that has the specified
IRI
.getOWLObjectProperty
in interface OWLObjectPropertyProvider
iri
- The IRI. Not null
.OWLObjectProperty
that has the specified IRI. Not
null
.public OWLDataProperty getOWLDataProperty(IRI iri)
OWLDataPropertyProvider
OWLDataProperty
that has the specified
IRI
.getOWLDataProperty
in interface OWLDataPropertyProvider
iri
- The IRI. Not null
.OWLDataProperty
that has the specified IRI. Not
null
.public OWLNamedIndividual getOWLNamedIndividual(IRI iri)
OWLNamedIndividualProvider
OWLNamedIndividual
that has the specified
IRI
.getOWLNamedIndividual
in interface OWLNamedIndividualProvider
iri
- The IRI. Not null
.OWLNamedIndividual
that has the specified IRI. Not
null
.public OWLDataProperty getOWLDataProperty(String abbreviatedIRI, @Nonnull PrefixManager prefixManager)
OWLDataFactory
getOWLDataProperty
in interface OWLDataFactory
abbreviatedIRI
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note that abbreviated IRIs
always contain a colon as a delimiter, even if the prefix name is the empty string.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs.public OWLNamedIndividual getOWLNamedIndividual(String abbreviatedIRI, @Nonnull PrefixManager prefixManager)
OWLDataFactory
getOWLNamedIndividual
in interface OWLDataFactory
abbreviatedIRI
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note that abbreviated IRIs
always contain a colon as a delimiter, even if the prefix name is the empty string.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs.public OWLObjectProperty getOWLObjectProperty(String abbreviatedIRI, @Nonnull PrefixManager prefixManager)
OWLDataFactory
getOWLObjectProperty
in interface OWLDataFactory
abbreviatedIRI
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note that abbreviated IRIs
always contain a colon as a delimiter, even if the prefix name is the empty string.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs.@Nonnull public OWLAnonymousIndividual getOWLAnonymousIndividual(String nodeId)
OWLAnonymousIndividualByIdProvider
OWLAnonymousIndividual
that has a specific NodeID
.getOWLAnonymousIndividual
in interface OWLAnonymousIndividualByIdProvider
nodeId
- A String that represents the NodeID
of the generated
OWLAnonymousIndividual
. Not null
. Note:
nodeId
will be prefixed with "_:" if it is not specified
with an "_:" prefix.OWLAnonymousIndividual
@Nonnull public OWLAnonymousIndividual getOWLAnonymousIndividual()
OWLAnonymousIndividualProvider
OWLAnonymousIndividual
. 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 NodeID
s that have
been used previously.getOWLAnonymousIndividual
in interface OWLAnonymousIndividualProvider
OWLAnonymousIndividual
. Not null
.OWLAnonymousIndividualByIdProvider
public OWLDatatype getOWLDatatype(IRI iri)
OWLDatatypeProvider
OWLDatatype
that has the specified
IRI
.getOWLDatatype
in interface OWLDatatypeProvider
iri
- The IRI. Not null
.OWLDatatype
that has the specified IRI. Not
null
.public OWLLiteral getOWLLiteral(String lexicalValue, @Nonnull OWL2Datatype datatype)
OWLDataFactory
OWLLiteral
, which has the specified lexical value, and is typed with the
specified datatype.getOWLLiteral
in interface OWLDataFactory
lexicalValue
- 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(boolean value)
OWLDataFactory
getOWLLiteral
in interface OWLDataFactory
value
- The value of the literalOWLLiteral
whose literal is the lexical value of the boolean, and whose
data type is xsd:boolean.@Nonnull public OWLDataOneOf getOWLDataOneOf(@Nonnull Set<? extends OWLLiteral> values)
OWLDataFactory
getOWLDataOneOf
in interface OWLDataFactory
values
- The set of values that the data one of should contain.public OWLDataOneOf getOWLDataOneOf(OWLLiteral... values)
OWLDataFactory
getOWLDataOneOf
in interface OWLDataFactory
values
- The set of values that the data one of should contain. Cannot be null or
contain null values.@Nonnull public OWLDataComplementOf getOWLDataComplementOf(OWLDataRange dataRange)
OWLDataFactory
getOWLDataComplementOf
in interface OWLDataFactory
dataRange
- The data range to be complemented.public OWLDataIntersectionOf getOWLDataIntersectionOf(OWLDataRange... dataRanges)
getOWLDataIntersectionOf
in interface OWLDataFactory
dataRanges
- data ranges for intersection. Cannot be null or contain nulls.@Nonnull public OWLDataIntersectionOf getOWLDataIntersectionOf(@Nonnull Set<? extends OWLDataRange> dataRanges)
getOWLDataIntersectionOf
in interface OWLDataFactory
dataRanges
- data ranges for intersection. Cannot be null or contain nulls.public OWLDataUnionOf getOWLDataUnionOf(OWLDataRange... dataRanges)
getOWLDataUnionOf
in interface OWLDataFactory
dataRanges
- data ranges for union. Cannot be null or contain nulls.@Nonnull public OWLDataUnionOf getOWLDataUnionOf(@Nonnull Set<? extends OWLDataRange> dataRanges)
getOWLDataUnionOf
in interface OWLDataFactory
dataRanges
- data ranges for union. Cannot be null or contain nulls.@Nonnull public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype dataType, @Nonnull Set<OWLFacetRestriction> facetRestrictions)
OWLDataFactory
getOWLDatatypeRestriction
in interface OWLDataFactory
dataType
- datatype for the restrictionfacetRestrictions
- facet restrictions. Cannot contain nulls.@Nonnull public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype dataType, OWLFacet facet, OWLLiteral typedLiteral)
OWLDataFactory
getOWLDatatypeRestriction
in interface OWLDataFactory
dataType
- datatype for the restrictionfacet
- facet for restrictiontypedLiteral
- literal for facet.public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype dataType, OWLFacetRestriction... facetRestrictions)
getOWLDatatypeRestriction
in interface OWLDataFactory
dataType
- datatype for the restrictionfacetRestrictions
- facet restrictions. Cannot contain nulls.public OWLDatatypeRestriction getOWLDatatypeMinInclusiveRestriction(int minInclusive)
OWLDataFactory
getOWLDatatypeMinInclusiveRestriction
in interface OWLDataFactory
minInclusive
- The value of the min inclusive facet restriction that will be applied to
the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the xsd:integer
OWLDatatype
with a
OWLFacet.MIN_INCLUSIVE
facet value specified by
the minInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMaxInclusiveRestriction(int maxInclusive)
OWLDataFactory
getOWLDatatypeMaxInclusiveRestriction
in interface OWLDataFactory
maxInclusive
- The value of the max inclusive facet restriction that will be applied to
the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the xsd:integer
OWLDatatype
with a
OWLFacet.MAX_INCLUSIVE
facet value specified by
the maxInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinMaxInclusiveRestriction(int minInclusive, int maxInclusive)
OWLDataFactory
getOWLDatatypeMinMaxInclusiveRestriction
in interface OWLDataFactory
minInclusive
- The value of the max inclusive facet restriction that will be applied to
the xsd:integer
datatype.maxInclusive
- The value of the max inclusive facet restriction that will be applied to
the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the xsd:integer
OWLDatatype
with a
OWLFacet.MIN_INCLUSIVE
facet value specified by
the minInclusive
parameter and a
OWLFacet.MAX_INCLUSIVE
facet value specified by
the maxInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinExclusiveRestriction(int minExclusive)
OWLDataFactory
getOWLDatatypeMinExclusiveRestriction
in interface OWLDataFactory
minExclusive
- The value of the min exclusive facet restriction that will be applied to
the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the xsd:integer
OWLDatatype
with a
OWLFacet.MIN_EXCLUSIVE
facet value specified by
the minExclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMaxExclusiveRestriction(int maxExclusive)
OWLDataFactory
getOWLDatatypeMaxExclusiveRestriction
in interface OWLDataFactory
maxExclusive
- The value of the max exclusive facet restriction that will be applied to
the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the xsd:integer
OWLDatatype
with a
OWLFacet.MAX_EXCLUSIVE
facet value specified by
the maxExclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinMaxExclusiveRestriction(int minExclusive, int maxExclusive)
OWLDataFactory
getOWLDatatypeMinMaxExclusiveRestriction
in interface OWLDataFactory
minExclusive
- The value of the max exclusive facet restriction that will be applied to
the xsd:integer
datatype.maxExclusive
- The value of the max exclusive facet restriction that will be applied to
the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the xsd:integer
OWLDatatype
with a
OWLFacet.MIN_EXCLUSIVE
facet value specified by
the minExclusive
parameter and a
OWLFacet.MAX_EXCLUSIVE
facet value specified by
the maxExclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinInclusiveRestriction(double minInclusive)
OWLDataFactory
getOWLDatatypeMinInclusiveRestriction
in interface OWLDataFactory
minInclusive
- The value of the min inclusive facet restriction that will be applied to
the xsd:double
datatypeOWLDatatypeRestriction
that restricts the xsd:double
OWLDatatype
with a
OWLFacet.MIN_INCLUSIVE
facet value specified by
the minInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMaxInclusiveRestriction(double maxInclusive)
OWLDataFactory
getOWLDatatypeMaxInclusiveRestriction
in interface OWLDataFactory
maxInclusive
- The value of the max inclusive facet restriction that will be applied to
the xsd:double
datatypeOWLDatatypeRestriction
that restricts the xsd:double
OWLDatatype
with a
OWLFacet.MAX_INCLUSIVE
facet value specified by
the maxInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinMaxInclusiveRestriction(double minInclusive, double maxInclusive)
OWLDataFactory
getOWLDatatypeMinMaxInclusiveRestriction
in interface OWLDataFactory
minInclusive
- The value of the max inclusive facet restriction that will be applied to
the xsd:double
datatype.maxInclusive
- The value of the max inclusive facet restriction that will be applied to
the xsd:double
datatypeOWLDatatypeRestriction
that restricts the xsd:double
OWLDatatype
with a
OWLFacet.MIN_INCLUSIVE
facet value specified by
the minInclusive
parameter and a
OWLFacet.MAX_INCLUSIVE
facet value specified by
the maxInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinExclusiveRestriction(double minExclusive)
OWLDataFactory
getOWLDatatypeMinExclusiveRestriction
in interface OWLDataFactory
minExclusive
- The value of the min exclusive facet restriction that will be applied to
the xsd:double
datatypeOWLDatatypeRestriction
that restricts the xsd:double
OWLDatatype
with a
OWLFacet.MIN_EXCLUSIVE
facet value specified by
the minExclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMaxExclusiveRestriction(double maxExclusive)
OWLDataFactory
getOWLDatatypeMaxExclusiveRestriction
in interface OWLDataFactory
maxExclusive
- The value of the max exclusive facet restriction that will be applied to
the xsd:double
datatypeOWLDatatypeRestriction
that restricts the xsd:double
OWLDatatype
with a
OWLFacet.MAX_EXCLUSIVE
facet value specified by
the maxExclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinMaxExclusiveRestriction(double minExclusive, double maxExclusive)
OWLDataFactory
getOWLDatatypeMinMaxExclusiveRestriction
in interface OWLDataFactory
minExclusive
- The value of the max exclusive facet restriction that will be applied to
the xsd:double
datatype.maxExclusive
- The value of the max exclusive facet restriction that will be applied to
the xsd:double
datatypeOWLDatatypeRestriction
that restricts the xsd:double
OWLDatatype
with a
OWLFacet.MIN_EXCLUSIVE
facet value specified by
the minExclusive
parameter and a
OWLFacet.MAX_EXCLUSIVE
facet value specified by
the maxExclusive
parameter.@Nonnull public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, int facetValue)
getOWLFacetRestriction
in interface OWLDataFactory
facet
- facet for restriction.facetValue
- facet value@Nonnull public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, double facetValue)
getOWLFacetRestriction
in interface OWLDataFactory
facet
- facet for restrictionfacetValue
- facet value.@Nonnull public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, float facetValue)
getOWLFacetRestriction
in interface OWLDataFactory
facet
- facet for restrictionfacetValue
- facet value.@Nonnull public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, OWLLiteral facetValue)
getOWLFacetRestriction
in interface OWLDataFactory
facet
- facet for restriction.facetValue
- literal for restriction.@Nonnull public OWLObjectIntersectionOf getOWLObjectIntersectionOf(@Nonnull Set<? extends OWLClassExpression> operands)
getOWLObjectIntersectionOf
in interface OWLDataFactory
operands
- class expressions for intersection. Cannot be null or contain nulls.public OWLObjectIntersectionOf getOWLObjectIntersectionOf(OWLClassExpression... operands)
getOWLObjectIntersectionOf
in interface OWLDataFactory
operands
- class expressions for intersection. Cannot be null or contain nulls.@Nonnull public OWLDataAllValuesFrom getOWLDataAllValuesFrom(OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataAllValuesFrom
in interface OWLDataFactory
property
- The property that the restriction acts along.dataRange
- The data range that is the filler.@Nonnull public OWLDataExactCardinality getOWLDataExactCardinality(int cardinality, OWLDataPropertyExpression property)
getOWLDataExactCardinality
in interface OWLDataFactory
cardinality
- Cannot be negativeproperty
- The property that the restriction acts along.@Nonnull public OWLDataExactCardinality getOWLDataExactCardinality(int cardinality, OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataExactCardinality
in interface OWLDataFactory
cardinality
- Cannot be negativeproperty
- The property that the restriction acts along.dataRange
- data range for restricition@Nonnull public OWLDataMaxCardinality getOWLDataMaxCardinality(int cardinality, OWLDataPropertyExpression property)
getOWLDataMaxCardinality
in interface OWLDataFactory
cardinality
- Cannot be negativeproperty
- The property that the restriction acts along.@Nonnull public OWLDataMaxCardinality getOWLDataMaxCardinality(int cardinality, OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataMaxCardinality
in interface OWLDataFactory
cardinality
- Cannot be negativeproperty
- The property that the restriction acts along.dataRange
- data range for restriction@Nonnull public OWLDataMinCardinality getOWLDataMinCardinality(int cardinality, OWLDataPropertyExpression property)
getOWLDataMinCardinality
in interface OWLDataFactory
cardinality
- Cannot be negativeproperty
- The property that the restriction acts along.@Nonnull public OWLDataMinCardinality getOWLDataMinCardinality(int cardinality, OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataMinCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- The property that the restriction acts along.dataRange
- data range for restriction@Nonnull public OWLDataSomeValuesFrom getOWLDataSomeValuesFrom(OWLDataPropertyExpression property, OWLDataRange dataRange)
OWLDataFactory
getOWLDataSomeValuesFrom
in interface OWLDataFactory
property
- The property that the restriction acts along.dataRange
- The data range that is the filler.@Nonnull public OWLDataHasValue getOWLDataHasValue(OWLDataPropertyExpression property, OWLLiteral value)
getOWLDataHasValue
in interface OWLDataFactory
property
- The property that the restriction acts along.value
- value for restriction@Nonnull public OWLObjectComplementOf getOWLObjectComplementOf(OWLClassExpression operand)
getOWLObjectComplementOf
in interface OWLDataFactory
operand
- class expression to complement@Nonnull public OWLObjectAllValuesFrom getOWLObjectAllValuesFrom(OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectAllValuesFrom
in interface OWLDataFactory
property
- The property that the restriction acts along.classExpression
- the class expression for the restriction@Nonnull public OWLObjectOneOf getOWLObjectOneOf(@Nonnull Set<? extends OWLIndividual> values)
getOWLObjectOneOf
in interface OWLDataFactory
values
- individuals for restriction. Cannot be null or contain nulls.public OWLObjectOneOf getOWLObjectOneOf(OWLIndividual... individuals)
getOWLObjectOneOf
in interface OWLDataFactory
individuals
- individuals for restriction. Cannot be null or contain nulls.@Nonnull public OWLObjectExactCardinality getOWLObjectExactCardinality(int cardinality, OWLObjectPropertyExpression property)
getOWLObjectExactCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- The property that the restriction acts along.@Nonnull public OWLObjectExactCardinality getOWLObjectExactCardinality(int cardinality, OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectExactCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- The property that the restriction acts along.classExpression
- class expression for restriction@Nonnull public OWLObjectMinCardinality getOWLObjectMinCardinality(int cardinality, OWLObjectPropertyExpression property)
getOWLObjectMinCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- The property that the restriction acts along.@Nonnull public OWLObjectMinCardinality getOWLObjectMinCardinality(int cardinality, OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectMinCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- The property that the restriction acts along.classExpression
- class expression for restriction@Nonnull public OWLObjectMaxCardinality getOWLObjectMaxCardinality(int cardinality, OWLObjectPropertyExpression property)
getOWLObjectMaxCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- The property that the restriction acts along.@Nonnull public OWLObjectMaxCardinality getOWLObjectMaxCardinality(int cardinality, OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectMaxCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- The property that the restriction acts along.classExpression
- class expression for restriction@Nonnull public OWLObjectHasSelf getOWLObjectHasSelf(OWLObjectPropertyExpression property)
getOWLObjectHasSelf
in interface OWLDataFactory
property
- The property that the restriction acts along.@Nonnull public OWLObjectSomeValuesFrom getOWLObjectSomeValuesFrom(OWLObjectPropertyExpression property, OWLClassExpression classExpression)
OWLDataFactory
getOWLObjectSomeValuesFrom
in interface OWLDataFactory
property
- The object property that the restriction acts along.classExpression
- The class expression that is the filler.@Nonnull public OWLObjectHasValue getOWLObjectHasValue(OWLObjectPropertyExpression property, OWLIndividual individual)
getOWLObjectHasValue
in interface OWLDataFactory
property
- The property that the restriction acts along.individual
- individual for restriction@Nonnull public OWLObjectUnionOf getOWLObjectUnionOf(@Nonnull Set<? extends OWLClassExpression> operands)
getOWLObjectUnionOf
in interface OWLDataFactory
operands
- class expressions for unionpublic OWLObjectUnionOf getOWLObjectUnionOf(OWLClassExpression... operands)
getOWLObjectUnionOf
in interface OWLDataFactory
operands
- class expressions for union@Nonnull public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom(OWLObjectPropertyExpression propertyExpression, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLAsymmetricObjectPropertyAxiom
in interface OWLDataFactory
propertyExpression
- property Expressionannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom(OWLObjectPropertyExpression propertyExpression)
getOWLAsymmetricObjectPropertyAxiom
in interface OWLDataFactory
propertyExpression
- property Expression@Nonnull public OWLDataPropertyDomainAxiom getOWLDataPropertyDomainAxiom(OWLDataPropertyExpression property, OWLClassExpression domain, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLDataPropertyDomainAxiom
in interface OWLDataFactory
property
- propertydomain
- domainannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLDataPropertyDomainAxiom getOWLDataPropertyDomainAxiom(OWLDataPropertyExpression property, OWLClassExpression domain)
getOWLDataPropertyDomainAxiom
in interface OWLDataFactory
property
- propertydomain
- domain@Nonnull public OWLDataPropertyRangeAxiom getOWLDataPropertyRangeAxiom(OWLDataPropertyExpression property, OWLDataRange owlDataRange, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLDataPropertyRangeAxiom
in interface OWLDataFactory
property
- propertyowlDataRange
- data rangeannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLDataPropertyRangeAxiom getOWLDataPropertyRangeAxiom(OWLDataPropertyExpression property, OWLDataRange owlDataRange)
getOWLDataPropertyRangeAxiom
in interface OWLDataFactory
property
- propertyowlDataRange
- data range@Nonnull public OWLSubDataPropertyOfAxiom getOWLSubDataPropertyOfAxiom(OWLDataPropertyExpression subProperty, OWLDataPropertyExpression superProperty, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLSubDataPropertyOfAxiom
in interface OWLDataFactory
subProperty
- sub PropertysuperProperty
- super Propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLSubDataPropertyOfAxiom getOWLSubDataPropertyOfAxiom(OWLDataPropertyExpression subProperty, OWLDataPropertyExpression superProperty)
getOWLSubDataPropertyOfAxiom
in interface OWLDataFactory
subProperty
- sub PropertysuperProperty
- super Property@Nonnull public OWLDeclarationAxiom getOWLDeclarationAxiom(OWLEntity owlEntity)
OWLDataFactory
getOWLDeclarationAxiom
in interface OWLDataFactory
owlEntity
- The declared entity.@Nonnull public OWLDeclarationAxiom getOWLDeclarationAxiom(OWLEntity owlEntity, @Nonnull Set<? extends OWLAnnotation> annotations)
OWLDataFactory
getOWLDeclarationAxiom
in interface OWLDataFactory
owlEntity
- The declared entity.annotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLDifferentIndividualsAxiom getOWLDifferentIndividualsAxiom(@Nonnull Set<? extends OWLIndividual> individuals, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLDifferentIndividualsAxiom
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.annotations
- A set of annotations. Cannot be null or contain nulls.public OWLDifferentIndividualsAxiom getOWLDifferentIndividualsAxiom(OWLIndividual... individuals)
getOWLDifferentIndividualsAxiom
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.@Nonnull public OWLDifferentIndividualsAxiom getOWLDifferentIndividualsAxiom(@Nonnull Set<? extends OWLIndividual> individuals)
getOWLDifferentIndividualsAxiom
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.@Nonnull public OWLDisjointClassesAxiom getOWLDisjointClassesAxiom(@Nonnull Set<? extends OWLClassExpression> classExpressions, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLDisjointClassesAxiom
in interface OWLDataFactory
classExpressions
- Disjoint classes. Cannot be null or contain nulls.annotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLDisjointClassesAxiom getOWLDisjointClassesAxiom(@Nonnull Set<? extends OWLClassExpression> classExpressions)
getOWLDisjointClassesAxiom
in interface OWLDataFactory
classExpressions
- Disjoint classes. Cannot be null or contain nulls.@Nonnull public OWLDisjointClassesAxiom getOWLDisjointClassesAxiom(OWLClassExpression... classExpressions)
getOWLDisjointClassesAxiom
in interface OWLDataFactory
classExpressions
- Disjoint classes. Cannot be null or contain nulls.@Nonnull public OWLDisjointDataPropertiesAxiom getOWLDisjointDataPropertiesAxiom(@Nonnull Set<? extends OWLDataPropertyExpression> properties, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLDisjointDataPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.annotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLDisjointDataPropertiesAxiom getOWLDisjointDataPropertiesAxiom(@Nonnull Set<? extends OWLDataPropertyExpression> properties)
getOWLDisjointDataPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLDisjointDataPropertiesAxiom getOWLDisjointDataPropertiesAxiom(OWLDataPropertyExpression... dataProperties)
getOWLDisjointDataPropertiesAxiom
in interface OWLDataFactory
dataProperties
- Cannot be null or contain nulls.public OWLDisjointObjectPropertiesAxiom getOWLDisjointObjectPropertiesAxiom(OWLObjectPropertyExpression... properties)
getOWLDisjointObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.@Nonnull public OWLDisjointObjectPropertiesAxiom getOWLDisjointObjectPropertiesAxiom(@Nonnull Set<? extends OWLObjectPropertyExpression> properties)
getOWLDisjointObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.@Nonnull public OWLDisjointObjectPropertiesAxiom getOWLDisjointObjectPropertiesAxiom(@Nonnull Set<? extends OWLObjectPropertyExpression> properties, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLDisjointObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.annotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(@Nonnull Set<? extends OWLClassExpression> classExpressions, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLEquivalentClassesAxiom
in interface OWLDataFactory
classExpressions
- equivalent classes. Cannot be null or contain nulls.annotations
- A set of annotations. Cannot be null or contain nulls.public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(OWLClassExpression clsA, OWLClassExpression clsB)
getOWLEquivalentClassesAxiom
in interface OWLDataFactory
clsA
- one class for equivalenceclsB
- one class for equivalencepublic OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(OWLClassExpression clsA, OWLClassExpression clsB, Set<? extends OWLAnnotation> annotations)
getOWLEquivalentClassesAxiom
in interface OWLDataFactory
clsA
- one class for equivalenceclsB
- one class for equivalenceannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(OWLClassExpression... classExpressions)
getOWLEquivalentClassesAxiom
in interface OWLDataFactory
classExpressions
- equivalent classes. Cannot be null or contain nulls.@Nonnull public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(@Nonnull Set<? extends OWLClassExpression> classExpressions)
getOWLEquivalentClassesAxiom
in interface OWLDataFactory
classExpressions
- equivalent classes. Cannot be null or contain nulls.@Nonnull public OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(@Nonnull Set<? extends OWLDataPropertyExpression> properties, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLEquivalentDataPropertiesAxiom
in interface OWLDataFactory
properties
- propertiesannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(@Nonnull Set<? extends OWLDataPropertyExpression> properties)
getOWLEquivalentDataPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(OWLDataPropertyExpression propertyA, OWLDataPropertyExpression propertyB)
getOWLEquivalentDataPropertiesAxiom
in interface OWLDataFactory
propertyA
- property ApropertyB
- property Bpublic OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(OWLDataPropertyExpression propertyA, OWLDataPropertyExpression propertyB, Set<? extends OWLAnnotation> annotations)
getOWLEquivalentDataPropertiesAxiom
in interface OWLDataFactory
propertyA
- property ApropertyB
- property Bannotations
- A set of annotations. Cannot be null or contain nulls.public OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(OWLDataPropertyExpression... properties)
getOWLEquivalentDataPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(OWLObjectPropertyExpression... properties)
getOWLEquivalentObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.@Nonnull public OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(@Nonnull Set<? extends OWLObjectPropertyExpression> properties)
getOWLEquivalentObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(OWLObjectPropertyExpression propertyA, OWLObjectPropertyExpression propertyB)
getOWLEquivalentObjectPropertiesAxiom
in interface OWLDataFactory
propertyA
- property ApropertyB
- property Bpublic OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(OWLObjectPropertyExpression propertyA, OWLObjectPropertyExpression propertyB, Set<? extends OWLAnnotation> annotations)
getOWLEquivalentObjectPropertiesAxiom
in interface OWLDataFactory
propertyA
- property ApropertyB
- property Bannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLFunctionalDataPropertyAxiom getOWLFunctionalDataPropertyAxiom(OWLDataPropertyExpression property, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLFunctionalDataPropertyAxiom
in interface OWLDataFactory
property
- propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLFunctionalDataPropertyAxiom getOWLFunctionalDataPropertyAxiom(OWLDataPropertyExpression property)
getOWLFunctionalDataPropertyAxiom
in interface OWLDataFactory
property
- property@Nonnull public OWLFunctionalObjectPropertyAxiom getOWLFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLFunctionalObjectPropertyAxiom
in interface OWLDataFactory
property
- propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLFunctionalObjectPropertyAxiom getOWLFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLFunctionalObjectPropertyAxiom
in interface OWLDataFactory
property
- property@Nonnull public OWLImportsDeclaration getOWLImportsDeclaration(IRI importedOntologyIRI)
getOWLImportsDeclaration
in interface OWLDataFactory
importedOntologyIRI
- imported ontology@Nonnull public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, OWLLiteral object, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectobject
- objectannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, OWLLiteral object)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectobject
- object@Nonnull public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, int value)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectvalue
- value@Nonnull public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, double value)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectvalue
- value@Nonnull public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, float value)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectvalue
- value@Nonnull public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, boolean value)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectvalue
- value@Nonnull public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, String value)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectvalue
- value@Nonnull public OWLNegativeDataPropertyAssertionAxiom getOWLNegativeDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, OWLLiteral object)
getOWLNegativeDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectobject
- object@Nonnull public OWLNegativeDataPropertyAssertionAxiom getOWLNegativeDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, OWLLiteral object, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLNegativeDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectobject
- objectannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLNegativeObjectPropertyAssertionAxiom getOWLNegativeObjectPropertyAssertionAxiom(OWLObjectPropertyExpression property, OWLIndividual subject, OWLIndividual object)
getOWLNegativeObjectPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectobject
- object@Nonnull public OWLNegativeObjectPropertyAssertionAxiom getOWLNegativeObjectPropertyAssertionAxiom(OWLObjectPropertyExpression property, OWLIndividual subject, OWLIndividual object, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLNegativeObjectPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectobject
- objectannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLObjectPropertyAssertionAxiom getOWLObjectPropertyAssertionAxiom(OWLObjectPropertyExpression property, OWLIndividual individual, OWLIndividual object)
getOWLObjectPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertyindividual
- individualobject
- object@Nonnull public OWLClassAssertionAxiom getOWLClassAssertionAxiom(OWLClassExpression classExpression, OWLIndividual individual)
getOWLClassAssertionAxiom
in interface OWLDataFactory
classExpression
- class Expressionindividual
- individual@Nonnull public OWLClassAssertionAxiom getOWLClassAssertionAxiom(OWLClassExpression classExpression, OWLIndividual individual, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLClassAssertionAxiom
in interface OWLDataFactory
classExpression
- class Expressionindividual
- individualannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLInverseFunctionalObjectPropertyAxiom getOWLInverseFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLInverseFunctionalObjectPropertyAxiom
in interface OWLDataFactory
property
- property@Nonnull public OWLInverseFunctionalObjectPropertyAxiom getOWLInverseFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLInverseFunctionalObjectPropertyAxiom
in interface OWLDataFactory
property
- propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLIrreflexiveObjectPropertyAxiom
in interface OWLDataFactory
property
- propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLReflexiveObjectPropertyAxiom getOWLReflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLReflexiveObjectPropertyAxiom
in interface OWLDataFactory
property
- property@Nonnull public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLIrreflexiveObjectPropertyAxiom
in interface OWLDataFactory
property
- property@Nonnull public OWLObjectPropertyDomainAxiom getOWLObjectPropertyDomainAxiom(OWLObjectPropertyExpression property, OWLClassExpression classExpression, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLObjectPropertyDomainAxiom
in interface OWLDataFactory
property
- propertyclassExpression
- class Expressionannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLObjectPropertyDomainAxiom getOWLObjectPropertyDomainAxiom(OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectPropertyDomainAxiom
in interface OWLDataFactory
property
- propertyclassExpression
- class Expression@Nonnull public OWLObjectPropertyRangeAxiom getOWLObjectPropertyRangeAxiom(OWLObjectPropertyExpression property, OWLClassExpression range, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLObjectPropertyRangeAxiom
in interface OWLDataFactory
property
- propertyrange
- rangeannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLObjectPropertyRangeAxiom getOWLObjectPropertyRangeAxiom(OWLObjectPropertyExpression property, OWLClassExpression range)
getOWLObjectPropertyRangeAxiom
in interface OWLDataFactory
property
- propertyrange
- range@Nonnull public OWLSubObjectPropertyOfAxiom getOWLSubObjectPropertyOfAxiom(OWLObjectPropertyExpression subProperty, OWLObjectPropertyExpression superProperty, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLSubObjectPropertyOfAxiom
in interface OWLDataFactory
subProperty
- sub PropertysuperProperty
- super Propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLSubObjectPropertyOfAxiom getOWLSubObjectPropertyOfAxiom(OWLObjectPropertyExpression subProperty, OWLObjectPropertyExpression superProperty)
getOWLSubObjectPropertyOfAxiom
in interface OWLDataFactory
subProperty
- sub propertysuperProperty
- super property@Nonnull public OWLReflexiveObjectPropertyAxiom getOWLReflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLReflexiveObjectPropertyAxiom
in interface OWLDataFactory
property
- propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLSameIndividualAxiom getOWLSameIndividualAxiom(@Nonnull Set<? extends OWLIndividual> individuals, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLSameIndividualAxiom
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.annotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLSameIndividualAxiom getOWLSameIndividualAxiom(OWLIndividual... individual)
getOWLSameIndividualAxiom
in interface OWLDataFactory
individual
- individual@Nonnull public OWLSameIndividualAxiom getOWLSameIndividualAxiom(@Nonnull Set<? extends OWLIndividual> individuals)
getOWLSameIndividualAxiom
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.@Nonnull public OWLSubClassOfAxiom getOWLSubClassOfAxiom(OWLClassExpression subClass, OWLClassExpression superClass, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLSubClassOfAxiom
in interface OWLDataFactory
subClass
- sub classsuperClass
- super classannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLSubClassOfAxiom getOWLSubClassOfAxiom(OWLClassExpression subClass, OWLClassExpression superClass)
getOWLSubClassOfAxiom
in interface OWLDataFactory
subClass
- sub classsuperClass
- super class@Nonnull public OWLSymmetricObjectPropertyAxiom getOWLSymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLSymmetricObjectPropertyAxiom
in interface OWLDataFactory
property
- propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLSymmetricObjectPropertyAxiom getOWLSymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLSymmetricObjectPropertyAxiom
in interface OWLDataFactory
property
- property@Nonnull public OWLTransitiveObjectPropertyAxiom getOWLTransitiveObjectPropertyAxiom(OWLObjectPropertyExpression property, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLTransitiveObjectPropertyAxiom
in interface OWLDataFactory
property
- propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLTransitiveObjectPropertyAxiom getOWLTransitiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLTransitiveObjectPropertyAxiom
in interface OWLDataFactory
property
- property@Nonnull public OWLObjectInverseOf getOWLObjectInverseOf(OWLObjectPropertyExpression property)
OWLDataFactory
getOWLObjectInverseOf
in interface OWLDataFactory
property
- The property of which the inverse will be returned@Nonnull public OWLInverseObjectPropertiesAxiom getOWLInverseObjectPropertiesAxiom(OWLObjectPropertyExpression forwardProperty, OWLObjectPropertyExpression inverseProperty, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLInverseObjectPropertiesAxiom
in interface OWLDataFactory
forwardProperty
- forward PropertyinverseProperty
- inverse Propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLInverseObjectPropertiesAxiom getOWLInverseObjectPropertiesAxiom(OWLObjectPropertyExpression forwardProperty, OWLObjectPropertyExpression inverseProperty)
getOWLInverseObjectPropertiesAxiom
in interface OWLDataFactory
forwardProperty
- forward PropertyinverseProperty
- inverse Property@Nonnull public OWLSubPropertyChainOfAxiom getOWLSubPropertyChainOfAxiom(@Nonnull List<? extends OWLObjectPropertyExpression> chain, OWLObjectPropertyExpression superProperty, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLSubPropertyChainOfAxiom
in interface OWLDataFactory
chain
- Chain of properties. Cannot be null or contain nulls.superProperty
- super propertyannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLSubPropertyChainOfAxiom getOWLSubPropertyChainOfAxiom(@Nonnull List<? extends OWLObjectPropertyExpression> chain, OWLObjectPropertyExpression superProperty)
getOWLSubPropertyChainOfAxiom
in interface OWLDataFactory
chain
- Chain of properties. Cannot be null or contain nulls.superProperty
- super property@Nonnull public OWLHasKeyAxiom getOWLHasKeyAxiom(OWLClassExpression ce, @Nonnull Set<? extends OWLPropertyExpression> objectProperties, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLHasKeyAxiom
in interface OWLDataFactory
ce
- class expressionobjectProperties
- Cannot be null or contain nulls.annotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLHasKeyAxiom getOWLHasKeyAxiom(OWLClassExpression ce, @Nonnull Set<? extends OWLPropertyExpression> properties)
getOWLHasKeyAxiom
in interface OWLDataFactory
ce
- class expressionproperties
- Cannot be null or contain nulls.public OWLHasKeyAxiom getOWLHasKeyAxiom(OWLClassExpression ce, OWLPropertyExpression... properties)
getOWLHasKeyAxiom
in interface OWLDataFactory
ce
- class expressionproperties
- Cannot be null or contain nulls.@Nonnull public OWLDisjointUnionAxiom getOWLDisjointUnionAxiom(OWLClass owlClass, @Nonnull Set<? extends OWLClassExpression> classExpressions, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLDisjointUnionAxiom
in interface OWLDataFactory
owlClass
- 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.@Nonnull public OWLDisjointUnionAxiom getOWLDisjointUnionAxiom(OWLClass owlClass, @Nonnull Set<? extends OWLClassExpression> classExpressions)
getOWLDisjointUnionAxiom
in interface OWLDataFactory
owlClass
- left hand side of the axiom.classExpressions
- right hand side of the axiom. Cannot be null or contain nulls.@Nonnull public OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(@Nonnull Set<? extends OWLObjectPropertyExpression> properties, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLEquivalentObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.annotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLObjectPropertyAssertionAxiom getOWLObjectPropertyAssertionAxiom(OWLObjectPropertyExpression property, OWLIndividual individual, OWLIndividual object, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLObjectPropertyAssertionAxiom
in interface OWLDataFactory
property
- propertyindividual
- individualobject
- objectannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLSubAnnotationPropertyOfAxiom getOWLSubAnnotationPropertyOfAxiom(OWLAnnotationProperty sub, OWLAnnotationProperty sup)
getOWLSubAnnotationPropertyOfAxiom
in interface OWLDataFactory
sub
- sub propertysup
- super property@Nonnull public OWLSubAnnotationPropertyOfAxiom getOWLSubAnnotationPropertyOfAxiom(OWLAnnotationProperty sub, OWLAnnotationProperty sup, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLSubAnnotationPropertyOfAxiom
in interface OWLDataFactory
sub
- sub propertysup
- super propertyannotations
- A set of annotations. Cannot be null or contain nulls.public OWLAnnotationProperty getOWLAnnotationProperty(IRI iri)
OWLAnnotationPropertyProvider
OWLAnnotationProperty
that has the specified
IRI
.getOWLAnnotationProperty
in interface OWLAnnotationPropertyProvider
iri
- The IRI. Not null
.OWLAnnotationProperty
that has the specified IRI. Not
null
.@Nonnull public OWLAnnotation getOWLAnnotation(OWLAnnotationProperty property, OWLAnnotationValue value)
OWLDataFactory
getOWLAnnotation
in interface OWLDataFactory
property
- the annotation property.value
- The annotation value.@Nonnull public OWLAnnotation getOWLAnnotation(OWLAnnotationProperty property, OWLAnnotationValue value, @Nonnull Set<? extends OWLAnnotation> annotations)
OWLDataFactory
getOWLAnnotation
in interface OWLDataFactory
property
- the annotation property.value
- The annotation value.annotations
- A set of annotations. Cannot be null or contain nulls. nulls.@Nonnull public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationSubject subject, @Nonnull OWLAnnotation annotation)
getOWLAnnotationAssertionAxiom
in interface OWLDataFactory
subject
- subjectannotation
- annotation@Nonnull public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationSubject subject, @Nonnull OWLAnnotation annotation, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLAnnotationAssertionAxiom
in interface OWLDataFactory
subject
- subjectannotation
- annotationannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationProperty property, OWLAnnotationSubject subject, OWLAnnotationValue value)
getOWLAnnotationAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectvalue
- value@Nonnull public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationProperty property, OWLAnnotationSubject subject, OWLAnnotationValue value, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLAnnotationAssertionAxiom
in interface OWLDataFactory
property
- propertysubject
- subjectvalue
- valueannotations
- A set of annotations. Cannot be null or contain nulls.public OWLAnnotationAssertionAxiom getDeprecatedOWLAnnotationAssertionAxiom(IRI subject)
OWLDataFactory
"true"^^xsd:boolean
.
(See Annotation Properties in the OWL 2 SpecificationgetDeprecatedOWLAnnotationAssertionAxiom
in interface OWLDataFactory
subject
- The IRI to be deprecated.@Nonnull public OWLAnnotationPropertyDomainAxiom getOWLAnnotationPropertyDomainAxiom(OWLAnnotationProperty prop, IRI domain, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLAnnotationPropertyDomainAxiom
in interface OWLDataFactory
prop
- propdomain
- domainannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLAnnotationPropertyDomainAxiom getOWLAnnotationPropertyDomainAxiom(OWLAnnotationProperty prop, IRI domain)
getOWLAnnotationPropertyDomainAxiom
in interface OWLDataFactory
prop
- propdomain
- domain@Nonnull public OWLAnnotationPropertyRangeAxiom getOWLAnnotationPropertyRangeAxiom(OWLAnnotationProperty prop, IRI range, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLAnnotationPropertyRangeAxiom
in interface OWLDataFactory
prop
- proprange
- rangeannotations
- A set of annotations. Cannot be null or contain nulls.@Nonnull public OWLAnnotationPropertyRangeAxiom getOWLAnnotationPropertyRangeAxiom(OWLAnnotationProperty prop, IRI range)
getOWLAnnotationPropertyRangeAxiom
in interface OWLDataFactory
prop
- proprange
- range@Nonnull public SWRLRule getSWRLRule(@Nonnull Set<? extends SWRLAtom> body, @Nonnull Set<? extends SWRLAtom> head, @Nonnull Set<OWLAnnotation> annotations)
SWRLDataFactory
getSWRLRule
in interface SWRLDataFactory
body
- The atoms that make up the bodyhead
- The atoms that make up the headannotations
- The annotations for the rule (may be an empty set)@Nonnull public SWRLRule getSWRLRule(@Nonnull Set<? extends SWRLAtom> body, @Nonnull Set<? extends SWRLAtom> head)
SWRLDataFactory
getSWRLRule
in interface SWRLDataFactory
body
- The atoms that make up the bodyhead
- The atoms that make up the head@Nonnull public SWRLClassAtom getSWRLClassAtom(OWLClassExpression predicate, SWRLIArgument arg)
SWRLDataFactory
getSWRLClassAtom
in interface SWRLDataFactory
predicate
- The class expression that represents the predicate of the atomarg
- The argument (x)@Nonnull public SWRLDataRangeAtom getSWRLDataRangeAtom(OWLDataRange predicate, SWRLDArgument arg)
SWRLDataFactory
getSWRLDataRangeAtom
in interface SWRLDataFactory
predicate
- The data range that represents the predicate of the atomarg
- The argument (x)@Nonnull public SWRLObjectPropertyAtom getSWRLObjectPropertyAtom(OWLObjectPropertyExpression property, SWRLIArgument arg0, SWRLIArgument arg1)
SWRLDataFactory
getSWRLObjectPropertyAtom
in interface SWRLDataFactory
property
- The property (P) representing the atom predicatearg0
- The first argument (x)arg1
- The second argument (y)@Nonnull public SWRLDataPropertyAtom getSWRLDataPropertyAtom(OWLDataPropertyExpression property, SWRLIArgument arg0, SWRLDArgument arg1)
SWRLDataFactory
getSWRLDataPropertyAtom
in interface SWRLDataFactory
property
- The property (P) that represents the atom predicatearg0
- The first argument (x)arg1
- The second argument (y)@Nonnull public SWRLBuiltInAtom getSWRLBuiltInAtom(IRI builtInIRI, List<SWRLDArgument> args)
SWRLDataFactory
SWRLBuiltInsVocabulary
.getSWRLBuiltInAtom
in interface SWRLDataFactory
builtInIRI
- The builtin predicate IRIargs
- A non-empty set of SWRL Arguments.@Nonnull public SWRLVariable getSWRLVariable(IRI var)
SWRLDataFactory
getSWRLVariable
in interface SWRLDataFactory
var
- The id (IRI) of the variable@Nonnull public SWRLIndividualArgument getSWRLIndividualArgument(OWLIndividual individual)
SWRLDataFactory
getSWRLIndividualArgument
in interface SWRLDataFactory
individual
- The individual that is the object argument@Nonnull public SWRLLiteralArgument getSWRLLiteralArgument(OWLLiteral literal)
SWRLDataFactory
getSWRLLiteralArgument
in interface SWRLDataFactory
literal
- The constant that is the object argument@Nonnull public SWRLDifferentIndividualsAtom getSWRLDifferentIndividualsAtom(SWRLIArgument arg0, SWRLIArgument arg1)
getSWRLDifferentIndividualsAtom
in interface SWRLDataFactory
arg0
- first individualarg1
- second individual@Nonnull public SWRLSameIndividualAtom getSWRLSameIndividualAtom(SWRLIArgument arg0, SWRLIArgument arg1)
getSWRLSameIndividualAtom
in interface SWRLDataFactory
arg0
- first individualarg1
- second individual@Nonnull public OWLDatatypeDefinitionAxiom getOWLDatatypeDefinitionAxiom(OWLDatatype datatype, OWLDataRange dataRange)
getOWLDatatypeDefinitionAxiom
in interface OWLDataFactory
datatype
- data typedataRange
- data Range@Nonnull public OWLDatatypeDefinitionAxiom getOWLDatatypeDefinitionAxiom(OWLDatatype datatype, OWLDataRange dataRange, @Nonnull Set<? extends OWLAnnotation> annotations)
getOWLDatatypeDefinitionAxiom
in interface OWLDataFactory
datatype
- data typedataRange
- data Rangeannotations
- A set of annotations. Cannot be null or contain nulls.public OWLLiteral getOWLLiteral(String lexicalValue, OWLDatatype datatype)
OWLDataFactory
OWLLiteral
, which has the specified lexical value, and is typed with the
specified datatype.getOWLLiteral
in interface OWLDataFactory
lexicalValue
- 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)
OWLDataFactory
getOWLLiteral
in interface OWLDataFactory
value
- 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)
OWLDataFactory
getOWLLiteral
in interface OWLDataFactory
value
- 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)
OWLDataFactory
getOWLLiteral
in interface OWLDataFactory
value
- 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)
OWLDataFactory
getOWLLiteral
in interface OWLDataFactory
value
- The lexical value of the literal.public OWLLiteral getOWLLiteral(String literal, String lang)
OWLDataFactory
OWLRDFVocabulary.RDF_PLAIN_LITERAL
).getOWLLiteral
in interface OWLDataFactory
literal
- 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()
OWLDataFactory
getBooleanOWLDatatype
in interface OWLDataFactory
public OWLDatatype getDoubleOWLDatatype()
OWLDataFactory
getDoubleOWLDatatype
in interface OWLDataFactory
public OWLDatatype getFloatOWLDatatype()
OWLDataFactory
getFloatOWLDatatype
in interface OWLDataFactory
public OWLDatatype getIntegerOWLDatatype()
OWLDataFactory
getIntegerOWLDatatype
in interface OWLDataFactory
public OWLDatatype getTopDatatype()
OWLDataFactory
getTopDatatype
in interface OWLDataFactory
public OWLDatatype getRDFPlainLiteral()
OWLDataFactory
getRDFPlainLiteral
in interface OWLDataFactory
rdf:PlainLiteral
Copyright © 2020 The University of Manchester. All rights reserved.