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
Applies forward chaining to the given RDD of RDF triples and returns a new RDD of RDF triples that contains all additional triples based on the underlying set of rules.
Applies forward chaining to the given RDD of RDF triples and returns a new RDD of RDF triples that contains all additional triples based on the underlying set of rules.
the RDF triples
the materialized set of RDF triples
Extracts all triples that match the given subject, predicate and object if defined.
Extracts all triples that match the given subject, predicate and object if defined.
the RDD of triples
the subject
the predicate
the object
the RDD of triples that match
Extracts all triples for the given predicate.
Extracts all triples for the given predicate.
the RDD of triples
the predicate
the RDD of triples that contain the predicate
Extracts all triples for the given predicate.
Extracts all triples for the given predicate.
the triples
the predicate
the set of triples that contain the predicate
A forward chaining based reasoner.