|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Individual
Represents an individual in an ontology.
| Method Summary | |
|---|---|
java.util.Set<DataPropertyMember> |
getDataPropertyMembersFrom(Ontology ontology)
Returns the members in a data property where this individual is the origin. |
java.lang.Object |
getDataPropertyValue(Ontology ontology,
DataProperty dataProperty)
Returns the value of the data property for this individual. |
java.util.Map<DataProperty,java.util.Set<java.lang.Object>> |
getDataPropertyValues(Ontology ontology)
Returns the values of data properties sorted by properties. |
java.util.Set<Description> |
getDescriptionsMemberOf(Ontology ontology)
Returns the set of descriptions that occur in a ClassMember axiom, where this individual is the individual. |
java.util.Set<Individual> |
getDifferentIndividuals(Ontology ontology)
Returns all individuals which are explicitly asserted in a DifferentIndividuals axiom as being different from this individual. |
java.util.Set<ObjectPropertyMember> |
getObjectPropertyMembersFrom(Ontology ontology)
Returns the members in an object property where this individual is the origin. |
java.util.Set<ObjectPropertyMember> |
getObjectPropertyMembersTo(Ontology ontology)
Returns the members in an object property where this individual is the target. |
Individual |
getObjectPropertyValue(Ontology ontology,
ObjectProperty objectProperty)
Returns the value of the object property for this individual. |
java.util.Map<ObjectProperty,java.util.Set<Individual>> |
getObjectPropertyValues(Ontology ontology)
Returns the values of object properties sorted by properties. |
java.util.Set<Individual> |
getSameIndividuals(Ontology ontology)
Returns all individuals which are explicitly asserted in a SameIndividual axiom as being same as this individual. |
| Methods inherited from interface org.semanticweb.kaon2.api.owl.elements.OWLEntity |
|---|
getAnnotations, getAnnotationValue, getAnnotationValues, getAnnotationValues |
| Methods inherited from interface org.semanticweb.kaon2.api.Entity |
|---|
accept, getURI, toString |
| Methods inherited from interface org.semanticweb.kaon2.api.rules.Constant |
|---|
getValue |
| Methods inherited from interface org.semanticweb.kaon2.api.rules.Term |
|---|
accept, toString |
| Method Detail |
|---|
java.util.Set<Description> getDescriptionsMemberOf(Ontology ontology)
throws KAON2Exception
ontology - the ontology in which the search is perfromed
KAON2Exception - thrown if there is an error
java.util.Set<Individual> getSameIndividuals(Ontology ontology)
throws KAON2Exception
ontology - the ontology in which the search is perfromed
KAON2Exception - thrown if there is an error
java.util.Set<Individual> getDifferentIndividuals(Ontology ontology)
throws KAON2Exception
ontology - the ontology in which the search is perfromed
KAON2Exception - thrown if there is an error
java.util.Set<DataPropertyMember> getDataPropertyMembersFrom(Ontology ontology)
throws KAON2Exception
ontology - the ontology in which the search is perfromed
KAON2Exception - thrown if there is an error
java.util.Set<ObjectPropertyMember> getObjectPropertyMembersFrom(Ontology ontology)
throws KAON2Exception
ontology - the ontology in which the search is perfromed
KAON2Exception - thrown if there is an error
java.util.Set<ObjectPropertyMember> getObjectPropertyMembersTo(Ontology ontology)
throws KAON2Exception
ontology - the ontology in which the search is perfromed
KAON2Exception - thrown if there is an error
java.util.Map<DataProperty,java.util.Set<java.lang.Object>> getDataPropertyValues(Ontology ontology)
throws KAON2Exception
ontology - the ontology in which the search is perfromed
KAON2Exception - thrown if there is an error
java.util.Map<ObjectProperty,java.util.Set<Individual>> getObjectPropertyValues(Ontology ontology)
throws KAON2Exception
ontology - the ontology in which the search is perfromed
KAON2Exception - thrown if there is an error
java.lang.Object getDataPropertyValue(Ontology ontology,
DataProperty dataProperty)
throws KAON2Exception
null is returned. (Note
that this method cannot be used to distinguish "no value" from "null value" situaions.)
ontology - the ontology in which the search is perfromeddataProperty - the data property for which the value is selected
null)
KAON2Exception - thrown if there is an error
Individual getObjectPropertyValue(Ontology ontology,
ObjectProperty objectProperty)
throws KAON2Exception
null is returned.
ontology - the ontology in which the search is perfromedobjectProperty - the object property for which the value is selected
null)
KAON2Exception - thrown if there is an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||