public interface ReasoningConnection extends Connection
SNARL Connection which exposes reasoning specific functionality such as explanations and consistency checking.
| Modifier and Type | Method and Description |
|---|---|
StardogExplainer |
explain(Expression theExpr)
Returns a
explainer that can be used to explain why the given expression is inferred. |
StardogExplainer |
explain(org.openrdf.model.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. |
Iterable<org.openrdf.model.Statement> |
exportSchema() |
Collection<org.openrdf.model.IRI> |
getClasses()
Returns the collection of classes in the current KB.
|
Collection<org.openrdf.model.IRI> |
getDataProperties()
Returns the collection of data properties in the current KB.
|
Collection<org.openrdf.model.IRI> |
getObjectProperties()
Returns the collection of object properties in the current KB.
|
Collection<org.openrdf.model.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 |
isConsistent(Collection<org.openrdf.model.IRI> theActiveGraphs)
Checks the consistency of the specified named graphs with the current reasoning flag.
|
boolean |
isSatisfiable(org.openrdf.model.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, getOption, graph, graph, isOpen, isReasoningEnabled, name, namespaces, paths, paths, remove, rollback, select, select, size, transactions, update, updateboolean isConsistent()
throws StardogException
isConsistent(ContextSets.ALL) call.StardogExceptionboolean isConsistent(Collection<org.openrdf.model.IRI> theActiveGraphs) throws StardogException
StardogExceptionboolean isSatisfiable(org.openrdf.model.IRI theClass)
throws StardogException
theClass - the classStardogExceptionCollection<org.openrdf.model.IRI> getClasses() throws StardogException
StardogExceptionCollection<org.openrdf.model.IRI> getUnsatisfiableClasses() throws StardogException
StardogExceptionCollection<org.openrdf.model.IRI> getObjectProperties() throws StardogException
StardogException - if there was an error obtaining the propertiesCollection<org.openrdf.model.IRI> getDataProperties() throws StardogException
StardogException - if there was an error obtaining the propertiesStardogExplainer explain(org.openrdf.model.Statement theStmt)
explainer that can be used to explain why the given statement is inferred.theStmt - the statement to be explainedStardogExplainer explain(Expression theExpr)
explainer that can be used to explain why the given expression is inferred.theExpr - the expression to be explainedStardogExplainer explainInconsistency()
explainer that can be used to explain why the given statement is inferred.Iterable<org.openrdf.model.Statement> exportSchema() throws StardogException
StardogExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.