public abstract class OWLIndividualImpl extends OWLObjectImpl implements OWLIndividual
Type | Property and Description |
---|---|
OWLDataProperty |
asOWLData
Deprecated.
|
OWLObjectProperty |
asOWLObject
Deprecated.
|
boolean |
isOWLData
Deprecated.
|
boolean |
isOWLObject
Deprecated.
|
Constructor and Description |
---|
OWLIndividualImpl() |
Modifier and Type | Method and Description |
---|---|
OWLClass |
asOWLClass()
Deprecated.
|
OWLDataProperty |
asOWLDataProperty()
Deprecated.
|
OWLDatatype |
asOWLDatatype()
Deprecated.
|
OWLObjectProperty |
asOWLObjectProperty()
Deprecated.
|
boolean |
equals(Object obj) |
Set<OWLLiteral> |
getDataPropertyValues(OWLDataPropertyExpression property,
OWLOntology ontology)
Gets the values that this individual has for a specific data property
|
Map<OWLDataPropertyExpression,Set<OWLLiteral>> |
getDataPropertyValues(OWLOntology ontology)
Gets the data property values for this individual
|
Set<OWLIndividual> |
getDifferentIndividuals(OWLOntology ontology)
A convenience method that examines axioms in the specified ontology to
determine the individuals that are asserted to be different to this
individual.
|
Map<OWLDataPropertyExpression,Set<OWLLiteral>> |
getNegativeDataPropertyValues(OWLOntology ontology)
Gets the data property values that are explicitly asserted NOT to hold
for this individual
|
Map<OWLObjectPropertyExpression,Set<OWLIndividual>> |
getNegativeObjectPropertyValues(OWLOntology ontology)
Gets the object property values that are explicitly asserted NOT to hold
for this individual
|
Set<OWLIndividual> |
getObjectPropertyValues(OWLObjectPropertyExpression property,
OWLOntology ontology)
Gets the asserted object property values for this individual and the
specified property.
|
Map<OWLObjectPropertyExpression,Set<OWLIndividual>> |
getObjectPropertyValues(OWLOntology ontology)
Gets the object property values for this individual.
|
Set<OWLIndividual> |
getSameIndividuals(OWLOntology ontology) |
Set<OWLClassExpression> |
getTypes(OWLOntology ontology)
A convenience method, which gets the types of this individual, that
correspond to the types asserted with axioms in the specified ontology.
|
Set<OWLClassExpression> |
getTypes(Set<OWLOntology> ontologies)
A convenience method that gets the types of this individual by examining
the specified ontologies.
|
boolean |
hasDataPropertyValue(OWLDataPropertyExpression property,
OWLLiteral value,
OWLOntology ontology)
Test whether a specific value for a specific data property on this
individual has been asserted.
|
boolean |
hasNegativeDataPropertyValue(OWLDataPropertyExpression property,
OWLLiteral literal,
OWLOntology ontology)
Test whether a specific value for a specific data property has been
asserted not to hold for this individual.
|
boolean |
hasNegativeObjectPropertyValue(OWLObjectPropertyExpression property,
OWLIndividual individual,
OWLOntology ontology)
Test whether a specific value for a specific object property has been
asserted not to hold for this individual.
|
boolean |
hasObjectPropertyValue(OWLObjectPropertyExpression property,
OWLIndividual individual,
OWLOntology ontology)
Test whether a specific value for a specific object property on this
individual has been asserted.
|
boolean |
isBuiltIn()
Deprecated.
|
boolean |
isOWLClass()
Deprecated.
|
boolean |
isOWLDataProperty()
Deprecated.
|
boolean |
isOWLDatatype()
Deprecated.
|
boolean |
isOWLObjectProperty()
Deprecated.
|
compareTo, containsEntityInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toString
accept, accept, asOWLAnonymousIndividual, asOWLNamedIndividual, isAnonymous, isNamed, toStringID
accept, accept, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
compareTo
containsEntityInSignature
@Deprecated public OWLDataProperty asOWLDataProperty
@Deprecated public OWLObjectProperty asOWLObjectProperty
@Deprecated public boolean isOWLDataProperty
@Deprecated public boolean isOWLObjectProperty
@Deprecated public boolean isBuiltIn()
public boolean equals(Object obj)
equals
in class OWLObjectImpl
public Set<OWLClassExpression> getTypes(OWLOntology ontology)
OWLIndividual
getTypes
in interface OWLIndividual
ontology
- The ontology that should be examined for class assertion axioms in
order to get the types for this individual.public Set<OWLClassExpression> getTypes(Set<OWLOntology> ontologies)
OWLIndividual
getTypes
in interface OWLIndividual
ontologies
- The ontologies to be examined for class assertionspublic Set<OWLIndividual> getObjectPropertyValues(OWLObjectPropertyExpression property, OWLOntology ontology)
OWLIndividual
getObjectPropertyValues
in interface OWLIndividual
property
- The property for which values will be returned.ontology
- The ontology to be examined for axioms that assert property values
for this individualpublic Set<OWLLiteral> getDataPropertyValues(OWLDataPropertyExpression property, OWLOntology ontology)
OWLIndividual
getDataPropertyValues
in interface OWLIndividual
property
- the propertyontology
- The ontology to examine for property assertionspublic boolean hasObjectPropertyValue(OWLObjectPropertyExpression property, OWLIndividual individual, OWLOntology ontology)
OWLIndividual
hasObjectPropertyValue
in interface OWLIndividual
property
- The property whose values will be examinedindividual
- The individual value of the property that will be tested forontology
- The ontology to search for the property valuetrue
if the individual has the specified property value,
that is, true
if the specified ontology contains an
object property assertion ObjectPropertyAssertion(property, this,
individual), otherwise false
public boolean hasDataPropertyValue(OWLDataPropertyExpression property, OWLLiteral value, OWLOntology ontology)
OWLIndividual
hasDataPropertyValue
in interface OWLIndividual
property
- The property whose values will be examinedvalue
- The value value of the property that will be tested forontology
- The ontology to search for the property valuetrue
if the individual has the specified property value,
that is, true
if the specified ontology contains a data
property assertion DataPropertyAssertion(property, this, value),
otherwise false
public Map<OWLObjectPropertyExpression,Set<OWLIndividual>> getObjectPropertyValues(OWLOntology ontology)
OWLIndividual
getObjectPropertyValues
in interface OWLIndividual
ontology
- The ontology to search for the property values.public Map<OWLObjectPropertyExpression,Set<OWLIndividual>> getNegativeObjectPropertyValues(OWLOntology ontology)
OWLIndividual
getNegativeObjectPropertyValues
in interface OWLIndividual
ontology
- The ontology that should be examined for axiomspublic boolean hasNegativeObjectPropertyValue(OWLObjectPropertyExpression property, OWLIndividual individual, OWLOntology ontology)
OWLIndividual
hasNegativeObjectPropertyValue
in interface OWLIndividual
property
- The property to test forindividual
- The value to test forontology
- The ontology to search for the assertiontrue
if the specified property value has explicitly been
asserted not to hold, that is, true
if the specified
ontology contains a negative object property assertion
NegativeObjectPropertyAssertion(property, this, individual),
otherwise false
public Map<OWLDataPropertyExpression,Set<OWLLiteral>> getDataPropertyValues(OWLOntology ontology)
OWLIndividual
getDataPropertyValues
in interface OWLIndividual
ontology
- the ontology to checkpublic Map<OWLDataPropertyExpression,Set<OWLLiteral>> getNegativeDataPropertyValues(OWLOntology ontology)
OWLIndividual
getNegativeDataPropertyValues
in interface OWLIndividual
ontology
- The ontology that should be examined for axiomspublic boolean hasNegativeDataPropertyValue(OWLDataPropertyExpression property, OWLLiteral literal, OWLOntology ontology)
OWLIndividual
hasNegativeDataPropertyValue
in interface OWLIndividual
property
- The property to test forliteral
- The value to test forontology
- The ontology to search for the assertiontrue
if the specified property value has explicitly been
asserted not to hold, that is, true
if the specified
ontology contains a negative data property assertion
NegativeDataPropertyAssertion(property, this, literal), otherwise
false
public Set<OWLIndividual> getSameIndividuals(OWLOntology ontology)
getSameIndividuals
in interface OWLIndividual
ontology
- the ontology to use A convenience method that examines axioms in
ontology to determine the individuals that are asserted to be the
same as this individual.public Set<OWLIndividual> getDifferentIndividuals(OWLOntology ontology)
OWLIndividual
getDifferentIndividuals
in interface OWLIndividual
ontology
- the ontology@Deprecated public OWLClass asOWLClass()
@Deprecated public OWLDataProperty asOWLDataProperty()
@Deprecated public OWLDatatype asOWLDatatype()
@Deprecated public OWLObjectProperty asOWLObjectProperty()
@Deprecated public boolean isOWLClass()
@Deprecated public boolean isOWLDataProperty()
@Deprecated public boolean isOWLDatatype()
@Deprecated public boolean isOWLObjectProperty()
Copyright © 2017 The University of Manchester. All Rights Reserved.