|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OntologyInterfaces
Method Summary | |
---|---|
java.util.Set |
getInstancesOf(java.lang.String conceptName)
Get set of instances of the given concept; if the concept is an instance itself the set contains just this instance. |
java.util.Set |
getOntologyDefinitionForConcept(java.lang.String conceptName)
Get set of namspaces imported by the given namespace. |
java.util.Vector |
getPropertiesApplicableTo(java.lang.String className)
Get properties applicable to the given class |
java.lang.String |
getRangeOnPropertyForClass(java.lang.String className,
java.lang.String propertyName)
Get the name of the class defining the range of the specified property for the given class. |
java.util.Vector |
getSchema(java.lang.String conceptName)
Get XML schema of the given concept if such a schema is available |
java.util.Set |
getSubClassesOf(java.lang.String className)
Get set of subclasses of the given class. |
java.util.Set |
getSubPropertiesOf(java.lang.String propertyName)
Get set of subproperties of the given property. |
java.util.Set |
getSuperPropertiesOf(java.lang.String propertyName)
Get set of superproperties of the given property. |
boolean |
testTrue(java.lang.String statement)
Test if the KIF statemant is true according to the ontologies in the ontology repository. |
Method Detail |
---|
java.util.Set getInstancesOf(java.lang.String conceptName) throws UnknownConceptException, DirectoryFailure
conceptName
- The name of the concept in the Jena format
java.lang.Exception
- if forActor is unknow for the ontology repository
UnknownConceptException
DirectoryFailure
java.util.Set getSubClassesOf(java.lang.String className) throws UnknownConceptException, DirectoryFailure
className
- The name of the class in Jena format
java.lang.Exception
- if className is unknow for the ontology repository
UnknownConceptException
DirectoryFailure
java.util.Set getSuperPropertiesOf(java.lang.String propertyName) throws UnknownConceptException, DirectoryFailure
propertyName
- The name of the property in Jena format
java.lang.Exception
- if propertyName is unknow for the ontology repository
UnknownConceptException
DirectoryFailure
java.util.Set getSubPropertiesOf(java.lang.String propertyName) throws UnknownConceptException, DirectoryFailure
propertyName
- The name of the property in Jena format
java.lang.Exception
- if propertyName is unknow for the ontology repository
UnknownConceptException
DirectoryFailure
boolean testTrue(java.lang.String statement) throws QueryFailure, DirectoryFailure
statement
- the statement in KIF to be tested if true
java.lang.Exception
- if reasoning failed.
QueryFailure
DirectoryFailure
java.util.Vector getPropertiesApplicableTo(java.lang.String className) throws UnknownConceptException, QueryFailure, DirectoryFailure
className
- the name of the class
java.lang.Exception
- if className is unknow for the ontology repository
UnknownConceptException
QueryFailure
DirectoryFailure
java.lang.String getRangeOnPropertyForClass(java.lang.String className, java.lang.String propertyName) throws UnknownConceptException, QueryFailure, DirectoryFailure
className
- the name of the classpropertyName
- the name of the property
java.lang.Exception
- if reasoning failed.
UnknownConceptException
QueryFailure
DirectoryFailure
java.util.Set getOntologyDefinitionForConcept(java.lang.String conceptName) throws DirectoryFailure
conceptName
- The name of the namespace in the Jena format
DirectoryFailure
java.util.Vector getSchema(java.lang.String conceptName) throws UnknownConceptException, DirectoryFailure
conceptName
- The name of the concept in the Jena format
java.lang.Exception
- if the concept is unknown for the xml repository.
UnknownConceptException
DirectoryFailure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |