Package com.semedy.reasoner.app
Class QueryRunner
java.lang.Object
com.semedy.reasoner.api.core.DeductiveDatabase
com.semedy.reasoner.app.QueryRunner
runner for dsl ide for a query
- Author:
- juergen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneval
(InterruptFlag interruptflag, String flogic, String query, ReasoningMonitor monitor) loadFactsAndRules
(List<String> paths) static void
static void
query
(InterruptFlag interrupt, String querypath, PrintStream out) Methods inherited from class com.semedy.reasoner.api.core.DeductiveDatabase
addFact, addFacts, addRule, addRule, addRules, addRulesAndFacts, applyChangeSet, backup, export, exportNQuads, exportNQuads, exportOOLogic, exportOOLogic, exportOOLogic, exportOOLogic, exportRules, exportRules, getCore, getRuleById, getRules, getSnapshotEDB, getSymbolTable, load, load, loadByStream, loadPredicates, longTransactionBegin, longTransactionCommit, longTransactionRollback, materializeQueries, materializeQueries, materializeQueries, materializeQueries, query, query, query, query, query, query, query, query, query, removeFact, removeFactEncoded, removeFacts, removeFactsEncoded, removeRuleById, removeRules, removeRulesAndFacts, transactionBegin, transactionCommit, transactionRollback
-
Constructor Details
-
QueryRunner
- Throws:
IOException
SemReasonerException
-
-
Method Details
-
eval
public ResultEnumerator eval(InterruptFlag interruptflag, String flogic, String query, ReasoningMonitor monitor) throws InterruptedException, ReasoningException, IDBException, IOException, SemReasonerException -
loadFactsAndRules
- Throws:
IOException
-
query
public static void query(InterruptFlag interrupt, String querypath, PrintStream out) throws IOException, InterruptedException, ReasoningException, IOException, ReasoningException, ReasoningException, SemReasonerException -
main
public static void main(String[] args) throws IOException, InterruptedException, ReasoningException, IOException, ReasoningException, ReasoningException, SemReasonerException
-