net.sansa_stack.inference.spark.forwardchaining.triples
Applies forward chaining to the given RDF graph and returns a new RDF graph that contains all additional triples based on the underlying set of rules.
Applies forward chaining to the given RDF graph and returns a new RDF graph that contains all additional triples based on the underlying set of rules.
the RDF graph
the materialized RDF graph
Apply a single rule on the given graph.
Apply a single rule on the given graph.
the rule
the graph
Apply a set of rules on the given graph.
Apply a set of rules on the given graph.
the graph
A naive implementation of the forward chaining based reasoner that does fix-point iteration, i.e. it applies all rules in each iteration until no new data has been generated. .