- From: Eric Prud'hommeaux <eric@w3.org>
- Date: Sat, 19 Jul 2014 10:24:05 -0400
- To: Olivier Rossel <olivier.rossel@gmail.com>
- Cc: "Peter F. Patel-Schneider" <pfpschneider@gmail.com>, Jose Emilio Labra Gayo <jelabra@gmail.com>, "public-rdf-shapes@w3.org" <public-rdf-shapes@w3.org>
* Olivier Rossel <olivier.rossel@gmail.com> [2014-07-19 09:07+0200] > What SPARQL is Peter's example supposed to compile into? http://tinyurl.com/ky5kbuj gives [[ PREFIX ex:<http://ex.example/#> ASK { { SELECT ?0 (COUNT(*) AS ?0_c0) { ?0 ex:bar1 ?o . } GROUP BY ?0 HAVING (COUNT(*)<=1)} { SELECT ?0 (COUNT(*) AS ?0_c1) { ?0 ex:bar1 ?o . FILTER ((?o = ex:val1)) } GROUP BY ?0 HAVING (COUNT(*)<=1)} FILTER (?0_c0 = ?0_c1) } ]] which means that the count of triples matching any ?o must match those that have the value ex:val1. > Envoyé de mon iPhone > > > Le 18 juil. 2014 à 14:49, "Peter F. Patel-Schneider" <pfpschneider@gmail.com> a écrit : > > > > That seems truly bizarre. > > > > Does anyone know whether this is a desired behaviour? > > > > peter > > > > > >> On 07/18/2014 04:28 AM, Jose Emilio Labra Gayo wrote: > >> Yes. it is. > >> > >> I checked it here: http://goo.gl/s5kevB > >> > >> Best regards, Jose Labra > >> > >> > >> On Fri, Jul 18, 2014 at 11:33 AM, Peter F. Patel-Schneider > >> <pfpschneider@gmail.com <mailto:pfpschneider@gmail.com>> wrote: > >> > >> I've been trying to dig through the ShEx definition. > >> > >> It appears to me that for > >> > >> <foo> > >> { ex:bar1 (ex:val1) ? } > >> > >> with graph > >> > >> ex:a ex:bar1 ex:val1 . > >> ex:b ex:bar1 ex:val2 . > >> > >> that ex:a matches <foo> but that ex:b does not. > >> > >> Is this correct? > >> > >> peter > >> > >> > >> > >> > >> > >> -- > >> Saludos, Labra > > > -- -ericP office: +1.617.599.3509 mobile: +33.6.80.80.35.59 (eric@w3.org) Feel free to forward this message to any list for any purpose other than email address distribution. There are subtle nuances encoded in font variation and clever layout which can only be seen by printing this message on high-clay paper.
Received on Saturday, 19 July 2014 14:24:10 UTC