public interface Dataset
Amalgum of an RDF 1.1 Dataset, a SPARQL 1.1 RDF Dataset & a SPARQL 1.1 update [graph](https://www.w3.org/TR/sparql11-update/#deleteInsert)
Both RDF 1.1 and SPARQL specify that there is a single default graph per Dataset. However, with SPARQL 1.1
you can specify multiple graphs and the single default graph is presumed to be the RDF merge of the
specified graphs
This Dataset representation takes the RDF 1.1 position wrt to graph names; both bnodes and IRIs are legal identifiers.
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<Resource> |
defaultGraphs()
The set of graphs, the union of which, makes up the default component of the active graph
|
Optional<Resource> |
defaultInsertGraph()
Optionally, the graph where write queries should insert data.
|
com.google.common.collect.ImmutableSet<Resource> |
defaultRemoveGraphs()
The set of graphs write queries can remove data from.
|
default boolean |
isEmpty() |
com.google.common.collect.ImmutableSet<Resource> |
namedGraphs()
The set of named graphs that are a part of the active graph of the dataset.
|
default boolean isEmpty()
@Nonnull com.google.common.collect.ImmutableSet<Resource> defaultRemoveGraphs()
@Nonnull Optional<Resource> defaultInsertGraph()
@Nonnull com.google.common.collect.ImmutableSet<Resource> defaultGraphs()
Copyright © 2010-2016 Stardog Union. All Rights Reserved.