Click or drag to resize

SparqlQueryUsesDefaultDataset Property

Gets whether a Query uses the Default Dataset against which it is evaluated.

Namespace:  VDS.RDF.Query
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
public bool UsesDefaultDataset { get; }

Property Value

Type: Boolean

If the value is true then the Query will use whatever dataset is it evaluated against. If the value is false then the query changes the dataset at one/more points during its evaluation.

Things that may change the dataset and cause a query not to use the Default Dataset are as follows:.

  • FROM clauses (but not FROM NAMED)
  • GRAPH clauses
  • Subqueries which do not use the default dataset

See Also