Add a statement to the current RDF graph.
Add a statement to the current RDF graph.
RDD of 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.
RDD of 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.
RDD of triples
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.
RDD of triples
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 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.
RDD of triples
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.
RDD of triples
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.
RDD of RDF graph
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 .
RDD of triples.
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 .
RDD of triples.
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 .
RDD of triples.
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.
RDD of triples
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.
RDD of triples
the subject
the predicate
the object
RDD of triples
Get objects.
Get objects.
RDD of triples.
RDD[Node] which contains list of the objects.
Get predicates.
Get predicates.
RDD of triples.
RDD[Node] which contains list of the predicates.
Get subjects.
Get subjects.
RDD of triples.
RDD[Node] which contains list of the subjects.
Get triples.
Get triples.
RDD of 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.
RDD of RDF graph
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.
RDD of RDF graph
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.
RDD of RDF graph
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
RDD of RDF graph
path to the file containing N-Triples
Return the number of triples.
Return the number of triples.
RDD of triples
the number of triples
Convert a RDD[Triple] into a DataFrame.
Convert a RDD[Triple] into a DataFrame.
RDD of triples.
a DataFrame of triples.
Convert an RDD of Triple into a Dataset of Triple.
Convert an RDD of Triple into a Dataset of Triple.
RDD of triples.
a Dataset of triples.
Return the union of this RDF graph and another one.
Return the union of this RDF graph and another one.
RDD of RDF graph
the other RDF graph
graph (union of both)
Return the union all of RDF graphs.
Return the union all of RDF graphs.
RDD of RDF graph
sequence of RDDs of other RDF graph
graph (union of all)
Spark/RDD based implementation of RDD[Triple].