public interface ISadlServerMD extends ISadlServerPE
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAllowedRangeClassesOfPropertyOfClass(java.lang.String cls,
java.lang.String property)
This method returns all the names of classes that are allowed in the range of the given property on the given class
|
java.lang.Object[] |
getAllowedValuesOfDataPropertyOfClass(java.lang.String cls,
java.lang.String property)
This method returns all the allowed values of the given property on the given class.
|
java.lang.String[] |
getAllowedValuesOfObjectPropertyOfClass(java.lang.String cls,
java.lang.String property)
This method returns all the names of instances that are allowed values of the given property on the given class
|
java.lang.String[] |
getAllSubclassesOfTaxonomy(java.lang.String root)
This method returns all of the subclasses of the classification hierarchy starting at root
|
java.lang.String[] |
getAncestorClassesOfTaxonomy(java.lang.String className)
This method returns all of the ancestor classes given a starting class,
"className", in a class hierarchy.
|
java.lang.String |
getAnnotation(java.lang.String className,
java.lang.String annotationName)
This method returns the annotation on the given class
|
java.lang.String[] |
getConceptRdfsComments(java.lang.String conceptUri)
This method returns the rdfs:comment values (aka notes, aka descriptions) for a given concept identified by URI
|
java.lang.String[] |
getConceptRdfsLabels(java.lang.String conceptUri)
This method returns the rdfs:label values (aka aliases, aka longnames) for a given concept identified by URI
|
java.lang.Object |
getDefaultValueOfPropertyOnClass(java.lang.String cls,
java.lang.String prop)
This method returns the default value of the given property on the given class
|
java.lang.String[] |
getDirectSubclassesOfTaxonomy(java.lang.String root)
This method returns all of the direct subclasses (one level down) of root in a class hierarchy.
|
java.lang.String[] |
getDirectSuperclassesOfTaxonomy(java.lang.String className)
This method returns all of the direct super classes (one level up) given
a starting class, "className", in a class hierarchy.
|
java.lang.String[] |
getInstancesOfClass(java.lang.String cls)
This method returns all the instances of the given class
|
java.lang.String[] |
getLeafClassesOfTaxonomy(java.lang.String root)
This method returns all the leaf classes of the classification hierarchy starting at root
|
java.lang.String |
getOutputFormat()
This method retrieves the OWL output format setting.
|
java.lang.String[] |
getPropertiesWithGivenClassInDomain(java.lang.String cls)
This method returns all of the properties that have the given class in the property domain.
|
java.lang.String[] |
getPropertyDomain(java.lang.String property)
This method returns the class(es) which are the domain of the property, if any.
|
java.lang.String[] |
getPropertyRange(java.lang.String property)
This method returns the class(es) or XSD types which are the range of the property, if any.
|
java.lang.String[] |
getRequiredRangeClassesOfPropertyOfClass(java.lang.String cls,
java.lang.String property)
This method returns all the classes that must be represented in the range of the given property on the given class
|
java.lang.String |
getSessionKey() |
boolean |
isDatatypeProperty(java.lang.String property)
This method returns true if and only if the property is an DatatypeProperty
|
boolean |
isObjectProperty(java.lang.String property)
This method returns true if and only if the property is an ObjectProperty
|
void |
setOutputFormat(java.lang.String outputFormat)
This method sets the output format of OWL files returned by certain queries.
|
addAllValuesFromRestriction, addCardinalityRestriction, addClass, addExistingModel, addHasValueRestriction, addImport, addInstance, addMaxCardinalityRestriction, addMinCardinalityRestriction, addObjectPropertyRangeClass, addOntProperty, addOntPropertyDomainClass, addRule, addSomeValuesFromRestriction, addTriple, ask, createInstance, createServiceModel, deleteModel, deleteTriple, getErrors, getUniqueInstanceUri, getUniqueInstanceUri, getUniqueNamespaceUri, persistChangesToServiceModels, persistInstanceModel, persistInstanceModel, query, setDatatypePropertyRange, updateRdfsLabel, updateRdfsLabeladdTriple, ask, atomicQuery, atomicQueryCsvData, clearCache, collectTimingInformation, construct, createInstance, deleteTriple, getClassName, getDerivations, getInstanceDataNamespace, getInstanceModelName, getKBaseIdentifier, getKbaseRoot, getModelName, getReasonerVersion, getServiceNameMap, getServiceVersion, getTimingInformation, loadCsvData, loadData, parameterizeQuery, prepareQuery, query, reset, selectServiceModel, selectServiceModel, selectServiceModel, selectServiceModel, sendCsvData, sendData, sendData, setInstanceDataNamespace, setKbaseRoot, setOwlFileOutputFormat, setQueryTimeout, setServiceNameMapvoid setOutputFormat(java.lang.String outputFormat)
outputFormat - java.lang.String getOutputFormat()
java.lang.String getSessionKey()
java.lang.String[] getAllSubclassesOfTaxonomy(java.lang.String root)
throws com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.ConfigurationException,
javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
root - com.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptionjavax.naming.NameNotFoundExceptionjava.lang.String[] getDirectSubclassesOfTaxonomy(java.lang.String root)
throws com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.ConfigurationException,
javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
root, - the starting class type namecom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptionjavax.naming.NameNotFoundExceptionjava.lang.String[] getAncestorClassesOfTaxonomy(java.lang.String className)
throws com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.ConfigurationException,
javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
root, - the starting class type namecom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptionjavax.naming.NameNotFoundExceptionjava.lang.String[] getDirectSuperclassesOfTaxonomy(java.lang.String className)
throws com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.ConfigurationException,
javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
root, - the starting class type namecom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptionjavax.naming.NameNotFoundExceptionjava.lang.String[] getLeafClassesOfTaxonomy(java.lang.String root)
throws java.io.IOException,
javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ConfigurationException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
root - -- the localname, prefix:localname, or complete URI of the root classjava.io.IOExceptionjavax.naming.NameNotFoundExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptioncom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionjava.lang.String[] getInstancesOfClass(java.lang.String cls)
throws java.io.IOException,
javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ConfigurationException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
cls - -- the localname, prefix:localname, or complete URI of the classjava.io.IOExceptionjavax.naming.NameNotFoundExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptioncom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionboolean isObjectProperty(java.lang.String property)
throws javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ConfigurationException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
property - -- the localname, prefix:localname, or complete URI of the propertyjavax.naming.NameNotFoundExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptioncom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionboolean isDatatypeProperty(java.lang.String property)
throws javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ConfigurationException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
property - -- the localname, prefix:localname, or complete URI of the propertyjavax.naming.NameNotFoundExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptioncom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionjava.lang.String[] getPropertyDomain(java.lang.String property)
throws javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ConfigurationException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
property - -- the localname, prefix:localname, or complete URI of the propertyjavax.naming.NameNotFoundExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptioncom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionjava.lang.String[] getPropertyRange(java.lang.String property)
throws javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ConfigurationException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
property - -- the localname, prefix:localname, or complete URI of the propertyjavax.naming.NameNotFoundExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptioncom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionjava.lang.String[] getRequiredRangeClassesOfPropertyOfClass(java.lang.String cls,
java.lang.String property)
throws java.io.IOException,
javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ConfigurationException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
property - -- the localname, prefix:localname, or complete URI of the propertycls - -- the localname, prefix:localname, or complete URI of the classjava.io.IOExceptionjavax.naming.NameNotFoundExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptioncom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionjava.lang.String[] getAllowedRangeClassesOfPropertyOfClass(java.lang.String cls,
java.lang.String property)
throws javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.ConfigurationException,
com.ge.research.sadl.reasoner.QueryParseException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
property - -- the localname, prefix:localname, or complete URI of the propertycls - -- the localname, prefix:localname, or complete URI of the classjavax.naming.NameNotFoundExceptioncom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptioncom.ge.research.sadl.reasoner.QueryParseExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionjava.lang.String[] getAllowedValuesOfObjectPropertyOfClass(java.lang.String cls,
java.lang.String property)
throws java.io.IOException,
javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ConfigurationException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
property - -- the localname, prefix:localname, or complete URI of the propertycls - -- the localname, prefix:localname, or complete URI of the classjava.io.IOExceptionjavax.naming.NameNotFoundExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptioncom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionjava.lang.Object[] getAllowedValuesOfDataPropertyOfClass(java.lang.String cls,
java.lang.String property)
throws com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ConfigurationException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
property - -- the localname, prefix:localname, or complete URI of the propertycls - -- the localname, prefix:localname, or complete URI of the classjava.io.IOExceptionjavax.naming.NameNotFoundExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptioncom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionjava.lang.String[] getPropertiesWithGivenClassInDomain(java.lang.String cls)
throws com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.ConfigurationException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.QueryCancelledException
cls - com.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptioncom.ge.research.sadl.reasoner.QueryParseExceptionjava.lang.Object getDefaultValueOfPropertyOnClass(java.lang.String cls,
java.lang.String prop)
throws com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.ConfigurationException,
javax.naming.NameNotFoundException,
com.ge.research.sadl.reasoner.QueryParseException,
SessionNotFoundException,
com.ge.research.sadl.reasoner.QueryCancelledException
cls - prop - com.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptionSessionNotFoundExceptioncom.ge.research.sadl.reasoner.QueryParseExceptionjavax.naming.NameNotFoundExceptionjava.lang.String[] getConceptRdfsLabels(java.lang.String conceptUri)
throws com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.ConfigurationException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.QueryCancelledException
conceptUri - -- the URI of the conceptcom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptioncom.ge.research.sadl.reasoner.QueryParseExceptionjava.lang.String[] getConceptRdfsComments(java.lang.String conceptUri)
throws com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.ConfigurationException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.QueryCancelledException
conceptUri - -- the URI of the conceptcom.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptioncom.ge.research.sadl.reasoner.QueryParseExceptionjava.lang.String getAnnotation(java.lang.String className,
java.lang.String annotationName)
throws com.ge.research.sadl.reasoner.InvalidNameException,
com.ge.research.sadl.reasoner.ReasonerNotFoundException,
com.ge.research.sadl.reasoner.ConfigurationException,
com.ge.research.sadl.reasoner.QueryParseException,
com.ge.research.sadl.reasoner.QueryCancelledException
className - annotationName - com.ge.research.sadl.reasoner.ConfigurationExceptioncom.ge.research.sadl.reasoner.ReasonerNotFoundExceptioncom.ge.research.sadl.reasoner.InvalidNameExceptioncom.ge.research.sadl.reasoner.QueryCancelledExceptioncom.ge.research.sadl.reasoner.QueryParseException