org.openrdf.query
Interface Dataset

All Known Implementing Classes:
DatasetImpl

public interface Dataset

Represents a dataset against which queries can be evaluated. A dataset consists of a default graph, which is the RDF merge of one or more graphs, and a set of named graphs. See SPARQL Query Language for RDF for more info.

Author:
Simon Schenk, Arjohn Kampman

Method Summary
 Set<URI> getDefaultGraphs()
          Gets the default graph URIs of this dataset.
 Set<URI> getNamedGraphs()
          Gets the named graph URIs of this dataset.
 

Method Detail

getDefaultGraphs

Set<URI> getDefaultGraphs()
Gets the default graph URIs of this dataset. An empty set indicates that the default graph is an empty graph.


getNamedGraphs

Set<URI> getNamedGraphs()
Gets the named graph URIs of this dataset. An empty set indicates that there are no named graphs in this dataset.



Copyright © 2001-2008 Aduna. All Rights Reserved.