W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2007

definition of INDISTINCT

From: Eric Prud'hommeaux <eric@w3.org>
Date: Fri, 16 Mar 2007 12:26:25 -0400
To: public-rdf-dawg@w3.org
Message-ID: <20070316162625.GF21623@w3.org>
persuant to
  ACTION: ericP to draft text about a LOOSE keyword and run it by w3
  folks to see if we're abusing the "at risk" mechanism.
I drafted this section. It was slightly more awkward to not have an
ALL to lean on, but I think this is pretty well defined:

9.4 INDISTINCT

While the DISTINCT modifier ensures that duplicate solutions are
eliminated from the solution set, INDISTINCT simply permits them to be
eliminated. The cardinality of any set of variable bindings (solution)
in an INDISTINCT solution set at least one and not more than the
cardinality of the solution set with no DISTINCT or INDISTINCT
modifier. For example, the query

  PREFIX foaf:    <http://xmlns.com/foaf/0.1/>
  SELECT INDISTINCT ?name WHERE { ?x foaf:name ?name }

may have one, two (shown here) or three solutions:
  name
  "Alice"
  "Alice"
-- 
-eric

office: +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

Received on Friday, 16 March 2007 16:26:35 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:36 GMT