Add a statement to the current RDF graph.
Add a statement to the current RDF graph.
the triple to be added.
new RDD of triples containing this statement.
Add a list of statements to the current RDF graph.
Add a list of statements to the current RDF graph.
the list of triples to be added.
new RDD of triples containing this list of statements.
Determine if a triple is present in this RDF graph.
Determine if a triple is present in this RDF graph.
the triple to be checked
true if the statement s is in this RDF graph, false otherwise
Determine whether this RDF graph contains any triples with a given (subject, predicate, object) pattern.
Determine whether this RDF graph contains any triples with a given (subject, predicate, object) pattern.
the subject (None for any)
the predicate (None for any)
the object (None for any)
true if there exists within this RDF graph a triple with (S, P, O) pattern, false otherwise
Determine whether this RDF graph contains any triples with a given subject and predicate.
Determine whether this RDF graph contains any triples with a given subject and predicate.
the subject (None for any)
the predicate (Node for any)
true if there exists within this RDF graph a triple with subject and predicate, false otherwise
Determine if all of the statements in an RDF graph are also contained in this RDF graph.
Determine if all of the statements in an RDF graph are also contained in this RDF graph.
the other RDF graph containing the statements to be tested
true if all of the statements in RDF graph are also contained in this RDF graph and false otherwise.
Determine if any of the triples in an RDF graph are also contained in this RDF graph.
Determine if any of the triples in an RDF graph are also contained in this RDF graph.
the other RDF graph containing the statements to be tested
true if any of the statements in RDF graph are also contained in this RDF graph and false otherwise.
Returns a new RDF graph that contains the difference between the current RDF graph and the given RDF graph.
Returns a new RDF graph that contains the difference between the current RDF graph and the given RDF graph.
of the other RDF graph
the difference of both RDF graphs
Filter out the objects from a given RDD[Triple], based on a specific function @func .
Filter out the objects from a given RDD[Triple], based on a specific function @func .
a partial funtion.
RDD[Triple] a subset of the given RDD.
Filter out the predicates from a given RDD[Triple], based on a specific function @func .
Filter out the predicates from a given RDD[Triple], based on a specific function @func .
a partial funtion.
RDD[Triple] a subset of the given RDD.
Filter out the subject from a given RDD[Triple], based on a specific function @func .
Filter out the subject from a given RDD[Triple], based on a specific function @func .
a partial funtion.
RDD[Triple] a subset of the given RDD.
Returns an RDD of triples that match with the given input.
Returns an RDD of triples that match with the given input.
the triple to be checked
RDD of triples that match the given input
Returns an RDD of triples that match with the given input.
Returns an RDD of triples that match with the given input.
the subject
the predicate
the object
RDD of triples
Get objects.
Get objects.
RDD[Node] which contains list of the objects.
Get predicates.
Get predicates.
RDD[Node] which contains list of the predicates.
Get subjects.
Get subjects.
RDD[Node] which contains list of the subjects.
Get triples.
Get triples.
RDD[Triple] which contains list of the triples.
Returns a new RDF graph that contains the intersection of the current RDF graph with the given RDF graph.
Returns a new RDF graph that contains the intersection of the current RDF graph with the given RDF graph.
of the other RDF graph
the intersection of both RDF graphs
Removes a statement from the current RDF graph.
Removes a statement from the current RDF graph. The statement with the same subject, predicate and object as that supplied will be removed from the model.
the statement to be removed.
new RDD of triples without this statement.
Removes all the statements from the current RDF graph.
Removes all the statements from the current RDF graph. The statements with the same subject, predicate and object as those supplied will be removed from the model.
the list of statements to be removed.
new RDD of triples without these statements.
Write N-Triples from a given RDD of triples
Write N-Triples from a given RDD of triples
path to the file containing N-Triples
Return the number of triples.
Return the number of triples.
the number of triples
Convert a RDD[Triple] into a DataFrame.
Convert a RDD[Triple] into a DataFrame.
a DataFrame of triples.
Convert an RDD of Triple into a Dataset of Triple.
Convert an RDD of Triple into a Dataset of Triple.
a Dataset of triples.
Return the union of this RDF graph and another one.
Return the union of this RDF graph and another one.
of the other RDF graph
graph (union of both)
Return the union all of RDF graphs.
Return the union all of RDF graphs.
graph (union of all)
Adds all methods to RDD that allows to use TripleOps functions.