public abstract class AbstractReasoningConnection extends com.complexible.stardog.api.impl.DelegatingConnection implements ReasoningConnection
| Constructor and Description |
|---|
AbstractReasoningConnection(Connection theConnection) |
| Modifier and Type | Method and Description |
|---|---|
StardogExplainer |
explain(Statement theStmt)
Returns a
explainer that can be used to explain why the given statement is inferred. |
StardogExplainer |
explainInconsistency()
Returns a
explainer that can be used to explain why the given statement is inferred. |
Collection<IRI> |
getClasses()
Returns the collection of classes in the current KB.
|
Collection<IRI> |
getDataProperties()
Returns the collection of data properties in the current KB.
|
Collection<IRI> |
getObjectProperties()
Returns the collection of object properties in the current KB.
|
Collection<IRI> |
getUnsatisfiableClasses()
Returns the collection of unsatisfiable classes in the current KB.
|
boolean |
isConsistent()
Checks the consistency of the database with the current reasoning flag.
|
boolean |
isSatisfiable(IRI theClass)
Checks whether the class is satisfiable with respect to the current KB and reasoning flag
|
add, admin, as, ask, ask, begin, close, commit, currentStatus, export, get, getConnection, getOption, graph, graph, isOpen, isReasoningEnabled, name, namespaces, paths, paths, remove, rollback, select, select, size, transactions, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexplain, exportSchema, isConsistentadd, admin, as, ask, ask, begin, close, commit, currentStatus, export, get, getOption, graph, graph, isOpen, isReasoningEnabled, name, namespaces, paths, paths, remove, rollback, select, select, size, transactions, update, updatepublic AbstractReasoningConnection(Connection theConnection)
public final StardogExplainer explain(Statement theStmt)
explainer that can be used to explain why the given statement is inferred.explain in interface ReasoningConnectiontheStmt - the statement to be explainedpublic final StardogExplainer explainInconsistency()
explainer that can be used to explain why the given statement is inferred.explainInconsistency in interface ReasoningConnectionpublic final boolean isSatisfiable(IRI theClass) throws StardogException
isSatisfiable in interface ReasoningConnectiontheClass - the classStardogExceptionpublic final Collection<IRI> getClasses() throws StardogException
getClasses in interface ReasoningConnectionStardogExceptionpublic final Collection<IRI> getUnsatisfiableClasses() throws StardogException
getUnsatisfiableClasses in interface ReasoningConnectionStardogExceptionpublic final Collection<IRI> getObjectProperties() throws StardogException
getObjectProperties in interface ReasoningConnectionStardogException - if there was an error obtaining the propertiespublic final Collection<IRI> getDataProperties() throws StardogException
getDataProperties in interface ReasoningConnectionStardogException - if there was an error obtaining the propertiespublic final boolean isConsistent()
throws StardogException
isConsistent(ContextSets.ALL) call.isConsistent in interface ReasoningConnectionStardogExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.