public class AddDataFromGraal extends Object
ConjunctiveQuery-objects,
since unlike with VLog4J, they represent both the query atom and the
corresponding rule.
In VLog4J, the reasoner is queried by a query Atom and the results are all
facts matching this query Atom.
Answering a Graal ConjunctiveQuery over a certain knowledge base is
equivalent to adding a Rule to the knowledge base, prior to
reasoning. The rule consists of the query Atoms as the Rule body and a
single Atom with a fresh predicate containing all the answer variables of the
ConjunctiveQuery as the Rule head. After the reasoning process, in
which the rule is materialised, is completed, this Rule head can then be used
as a a query Atom to obtain the results of the Graal
ConjunctiveQuery.
| Constructor and Description |
|---|
AddDataFromGraal() |
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2018‘2019 VLog4j Developers. Generated from source code published under the Apache License 2.0. For more information, see the VLog4j homepage