- From: Andy Seaborne <andy.seaborne@epimorphics.com>
- Date: Mon, 24 Jan 2011 10:44:10 +0000
- To: public-rdf-dawg-comments@w3.org
> In section 11.4.11 sameTerm there is a syntax error in the last example.
> The example in the recommendation reads
>
> PREFIX : <http://example.org/WMterms#>
> PREFIX t: <http://example.org/types#>
>
> SELECT ?aLabel1 ?bLabel
> WHERE { ?a :label ?aLabel .
> ?a :weight ?aWeight .
> ?a :displacement ?aDisp .
>
> ?b :label ?bLabel .
> ?b :weight ?bWeight .
> ?b :displacement ?bDisp .
>
> FILTER ( sameTerm(?aWeight, ?bWeight) && !sameTerm(?aDisp, ?bDisp) }
>
> There is a closing parenthesis missing for the FILTER expression.
This is corrected in the SPARQL 1.1 working draft.
http://www.w3.org/TR/sparql11-query/#func-sameTerm
Thank you for your comment,
Andy
Received on Monday, 24 January 2011 10:45:13 UTC