W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > March 2013

Re: possible mistake in document http://www.w3.org/TR/sparql11-query/

From: Sandro Hawke <sandro@w3.org>
Date: Tue, 19 Mar 2013 13:06:49 -0400
Message-ID: <51489B29.3090902@w3.org>
To: Gautam Dilip Banhatti <g_banh02@uni-muenster.de>
CC: public-rdf-dawg-comments@w3.org
On 03/19/2013 07:05 AM, Gautam Dilip Banhatti wrote:
> Hi!
> I hope I'm reaching the right people with this email-adress!
> If not, kindly forward this mail to the appropriate adress.
>
> I am currently studying this documentation to learn the SPARQL querying
> language, and I think I found an error in the Documentation at
> http://www.w3.org/TR/sparql11-query/:
> In section "9.2 Examples", under the heading "Inverse Path Sequence", it is
> stated that the code
>
> {
>      ?x foaf:knows/^foaf:knows ?y .
>      FILTER(?x != ?y)
>    }
>
> is equivalent to
>
> {
>      ?x foaf:knows ?gen1 .
>      ?gen1 foaf:knows ?y .
>      FILTER(?x != ?y)
>    }
>
> I assume the second line in the second code snippet should be
> "?y foaf:knows ?gen1." instead of "?gen1 foaf:knows ?y."
>
> If I am mistaken, please excuse this email.
>
> Best regards,
> Gautam
>
>

Thanks for reporting this bug.   It has been fixed in the editor's draft 
[1] and the corrected version will be published shortly.

         -- Sandro

[1] http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml
Received on Tuesday, 19 March 2013 17:07:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 19 March 2013 17:07:01 GMT