public interface JsonLdUnionGraph extends JsonLdGraphLike<Triple>, Graph
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.
getRdfDataSetCopyright © 2015–2018 The Apache Software Foundation. All rights reserved.