next up previous contents
Next: Merge and list Up: Header Previous: Select more   Contents

Distinct

Select solutions with distinct variable binding sets. The test is carried on resources and values. If the query contains variables for properties, then the values of these variables (i.e. the properties themselves) are also tested. (a, b) and (b, a) are not distinct, hence (b, a) is rejected; (a, b) and (a, c) are distinct, hence they are both returned.

The statement below selects distinct bindings of all concepts of the query :

select distinct where

The statement below selects distinct bindings of ?x and ?y :

select distinct ?x ?y where



Olivier Corby 2005-07-01