public interface RulesInto
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
nl
New line.
|
static java.lang.String |
quote
Quotation char " in String's.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAtomToString(Atom atom)
Creates String representation of an Atom expressed in the language of the reasoning engine.
|
java.lang.String |
getAtomTypeMapping(AtomType atomType)
Maps AtomType to the appropriate type expressed in the language of the reasoning engine.
|
java.util.List<java.lang.String> |
getDataStructures()
Creates appropriate String representation of data structures expressed in the language of the reasoning engine.
|
java.lang.Object |
getQuery(java.util.List<Atom> atoms,
java.lang.String queryName)
Creates the query string for the appropriate reasoning engine.
|
java.lang.String |
getRuleFromQuery(java.util.List<Atom> atoms)
Creates the rule for the reasoning engine, this rule is used in 1st proposed query answering algorithm.
|
java.lang.String |
getTermToString(Term term)
Creates String representation of a Term expressed in the language of the reasoning engine.
|
java.lang.String |
getTermTypeMapping(TermType termType)
Maps TermType to the appropriate type expressed in the language of the reasoning engine.
|
java.util.List<?> |
getTransformatedData(java.util.List<Atom> atoms)
Transforms all Atom into appropriate representation of facts expressed in the language of the reasoning engine.
|
java.util.List<?> |
getTransformatedRules(java.util.List<Rule> rules)
Transforms all Rule into appropriate representation of rules expressed in the language of the reasoning engine.
|
java.lang.String |
getValueTypeMapping(Term term)
Maps ValueType to the type expressed in the language of the reasoning engine.
|
boolean |
saveDataToFile(java.lang.String fileNamePath,
java.util.List<?> data)
Saves transformed data into given file appropriate to load by the reasoning engine.
|
boolean |
saveRulesToFile(java.lang.String fileNamePath,
java.util.List<?> rules)
Saves transformed rules into given file appropriate to load by the reasoning engine.
|
static final java.lang.String nl
static final java.lang.String quote
java.lang.String getAtomToString(Atom atom)
atom
- java.lang.String getAtomTypeMapping(AtomType atomType)
atomType
- java.util.List<java.lang.String> getDataStructures()
atoms
- java.lang.Object getQuery(java.util.List<Atom> atoms, java.lang.String queryName)
atoms
- queryName
- java.lang.String getRuleFromQuery(java.util.List<Atom> atoms)
atoms
- java.lang.String getTermToString(Term term)
term
- java.lang.String getTermTypeMapping(TermType termType)
termType
- java.util.List<?> getTransformatedData(java.util.List<Atom> atoms)
atoms
- java.util.List<?> getTransformatedRules(java.util.List<Rule> rules)
rules
- java.lang.String getValueTypeMapping(Term term)
term
- boolean saveDataToFile(java.lang.String fileNamePath, java.util.List<?> data)
fileNamePath
- data
- boolean saveRulesToFile(java.lang.String fileNamePath, java.util.List<?> rules)
fileNamePath
- data
-