|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IndividualReasoner
Reasoning requests/queries related to individuals in the knowledge base.
| Method Summary | |
|---|---|
SortedSetTuple<Individual> |
doubleRetrieval(Description description)
Performs a query for all instances of the given class description and its negation. |
Map<Individual,SortedSet<Boolean>> |
getBooleanDatatypeMembers(DatatypeProperty datatypeProperty)
Convenience method, which can be used if it is known that the property has values which can be parsed as boolean value. |
Map<Individual,SortedSet<Constant>> |
getDatatypeMembers(DatatypeProperty datatypeProperty)
Computes and returns all connections between individuals and values through the specified property, e.g. |
Map<Individual,SortedSet<Double>> |
getDoubleDatatypeMembers(DatatypeProperty datatypeProperty)
Convenience method, which can be used if it is known that the property has values which can be parsed as double. |
SortedSet<Individual> |
getFalseDatatypeMembers(DatatypeProperty datatypeProperty)
Convenience method, which can be used to get all individuals, which have value "false" for the given property. |
SortedSet<Individual> |
getIndividuals(Description description)
Gets all instances of a given class description in the knowledge base. |
Map<Individual,SortedSet<Integer>> |
getIntDatatypeMembers(DatatypeProperty datatypeProperty)
Convenience method, which can be used if it is known that the property has values which can be parsed as integer. |
Map<ObjectProperty,Set<Individual>> |
getObjectPropertyRelationships(Individual individual)
A map of properties related to an individual, e.g. |
Map<Individual,SortedSet<Individual>> |
getPropertyMembers(ObjectProperty objectProperty)
Computes and returns all connections between individuals through the specified property, e.g. |
Set<Individual> |
getRelatedIndividuals(Individual individual,
ObjectProperty objectProperty)
Returns the set of individuals, which are connect to the given individual with the specified object property. |
Set<Constant> |
getRelatedValues(Individual individual,
DatatypeProperty datatypeProperty)
Returns the set of individuals, which are connect to the given individual with the specified data property. |
Map<Individual,SortedSet<String>> |
getStringDatatypeMembers(DatatypeProperty datatypeProperty)
Convenience method, which can be used which returns the property values as strings (note that any literal can be represented as string, even numbers). |
SortedSet<Individual> |
getTrueDatatypeMembers(DatatypeProperty datatypeProperty)
Convenience method, which can be used to get all individuals, which have value "true" for the given property. |
Set<NamedClass> |
getTypes(Individual individual)
Returns types of an individual, i.e. those classes where the individual is instance of. |
boolean |
hasType(Description description,
Individual individual)
Checks whether individual is instance of description. |
SortedSet<Individual> |
hasType(Description description,
Set<Individual> individuals)
Performs instance checks on a set of instances (reasoners might be more efficient than handling each check separately). |
| Method Detail |
|---|
Set<NamedClass> getTypes(Individual individual)
individual - An individual in the knowledge base.
boolean hasType(Description description,
Individual individual)
individual is instance of description.
For instance, "Leipzig" may be an instance of "City".
description - An OWL class description.individual - An individual.
SortedSet<Individual> hasType(Description description,
Set<Individual> individuals)
description - An OWL class description.individuals - An individual.
SortedSet<Individual> getIndividuals(Description description)
description - An OWL class description.
SortedSetTuple<Individual> doubleRetrieval(Description description)
description - An OWL class description.
Set<Individual> getRelatedIndividuals(Individual individual,
ObjectProperty objectProperty)
individual - An individual, e.g. eric.objectProperty - An object property, e.g. hasChild.
Set<Constant> getRelatedValues(Individual individual,
DatatypeProperty datatypeProperty)
individual - An individual, e.g. eric.datatyoeProperty - A data property, e.g. hasIncome.
Map<ObjectProperty,Set<Individual>> getObjectPropertyRelationships(Individual individual)
individual - An individual.
Map<Individual,SortedSet<Individual>> getPropertyMembers(ObjectProperty objectProperty)
objectProperty - An object property.
Map<Individual,SortedSet<Constant>> getDatatypeMembers(DatatypeProperty datatypeProperty)
datatypeProperty - A data property.
Map<Individual,SortedSet<Double>> getDoubleDatatypeMembers(DatatypeProperty datatypeProperty)
datatypeProperty - A data property.
getDatatypeMembers(DatatypeProperty),
Double.valueOf(String)Map<Individual,SortedSet<Integer>> getIntDatatypeMembers(DatatypeProperty datatypeProperty)
datatypeProperty - A data property.
getDatatypeMembers(DatatypeProperty),
Integer.valueOf(String)Map<Individual,SortedSet<Boolean>> getBooleanDatatypeMembers(DatatypeProperty datatypeProperty)
datatypeProperty - A data property.
getDatatypeMembers(DatatypeProperty)SortedSet<Individual> getTrueDatatypeMembers(DatatypeProperty datatypeProperty)
datatypeProperty - A data property.
getDatatypeMembers(DatatypeProperty)SortedSet<Individual> getFalseDatatypeMembers(DatatypeProperty datatypeProperty)
datatypeProperty - A data property.
getDatatypeMembers(DatatypeProperty)Map<Individual,SortedSet<String>> getStringDatatypeMembers(DatatypeProperty datatypeProperty)
datatypeProperty - A data property.
getDatatypeMembers(DatatypeProperty)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||