Add a statement to the current RDF graph.
Add a statement to the current RDF graph.
the triple to be added.
new DataSet 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 DataSet 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
Filter out the objects from a given DataSet[Triple], based on a specific function @func .
Filter out the objects from a given DataSet[Triple], based on a specific function @func .
a partial funtion.
DataSet[Triple] a subset of the given DataSet.
Filter out the predicates from a given DataSet[Triple], based on a specific function @func .
Filter out the predicates from a given DataSet[Triple], based on a specific function @func .
a partial funtion.
DataSet[Triple] a subset of the given DataSet.
Filter out the subject from a given DataSet[Triple], based on a specific function @func .
Filter out the subject from a given DataSet[Triple], based on a specific function @func .
a partial funtion.
DataSet[Triple] a subset of the given DataSet.
Returns an DataSet of triples that match with the given input.
Returns an DataSet of triples that match with the given input.
the triple to be checked
DataSet of triples that match the given input
Returns an DataSet of triples that match with the given input.
Returns an DataSet of triples that match with the given input.
the subject
the predicate
the object
DataSet of triples
Get objects.
Get objects.
DataSet[Node] which contains list of the objects.
Get predicates.
Get predicates.
DataSet[Node] which contains list of the predicates.
Get subjects.
Get subjects.
DataSet[Node] which contains list of the subjects.
Get triples.
Get triples.
DataSet[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 DataSet 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 DataSet of triples without these statements.
Write N-Triples from a given DataSet of triples
Write N-Triples from a given DataSet of triples
path to the file containing N-Triples
Return the number of triples.
Return the number of triples.
the number 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 DataSets of other RDF graph
graph (union of all)
Adds all methods to DataSet that allows to use TripleOps functions.