Interface JsonLdUnionGraph
- All Superinterfaces:
AutoCloseable, Graph, GraphLike<Triple>, JsonLdGraphLike<Triple>
- All Known Implementing Classes:
JsonLdUnionGraphImpl
A union graph representation of a JsonLd
RDFDataset.
A union graph contains all the triples of the dataset, irregardless of their graph names.
Graph.add(Triple) and Graph.add(BlankNodeOrIRI, IRI, RDFTerm) will add
the triple to the default graph (e.g. @default in JSON-LD),
while the remaining methods (including Graph.remove(Triple) or
Graph.remove(BlankNodeOrIRI, IRI, RDFTerm)) relate to triples from
all graphs.
Note: Some operations like GraphLike.stream() and
GraphLike.size() are inefficient as they skip any duplicate triples from
multiple graphs.
-
Method Summary
Methods inherited from interface Graph
add, add, clear, close, contains, contains, getTriples, getTriples, iterate, iterate, remove, remove, size, stream, streamMethods inherited from interface JsonLdGraphLike
getRdfDataSet