Add a statement to the current RDF graph.
Add a statement to the current RDF graph.
the triple to be added.
new DataFrame 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 DataFrame 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 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.
the other RDF graph
the difference of both RDF graphs
Returns an DataFrame of triples that match with the given input.
Returns an DataFrame of triples that match with the given input.
the triple to be checked
DataFrame of triples that match the given input
Returns an DataFrame of triples that match with the given input.
Returns an DataFrame of triples that match with the given input.
the subject
the predicate
the object
DataFrame of triples
Get objects.
Get objects.
DataFrame which contains list of the objects.
Get predicates.
Get predicates.
DataFrame which contains list of the predicates.
Get subjects.
Get subjects.
DataFrame 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.
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 DataFrame 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 DataFrame of triples without these statements.
Write N-Triples from a given DataFrame of triples
Write N-Triples from a given DataFrame of triples
path to the file containing N-Triples
Return the number of triples.
Return the number of triples.
the number of triples
Convert an DataFrame of triples into a Dataset of Triple.
Convert an DataFrame of triples into a Dataset of Triple.
a Dataset of triples.
Convert a DataFrame of triples into RDD[Triple].
Convert a DataFrame of triples into RDD[Triple].
a DataFrame of triples.
Return the union of this RDF graph and another one.
Return the union of this RDF graph and another one.
the other RDF graph
graph (union of both)
Return the union all of RDF graphs.
Return the union all of RDF graphs.
sequence of DataFrames of other RDF graph
graph (union of all)
Adds all methods to DataFrame that allows to use TripleOps functions.