W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > October 2007

Typos in SPARQL 2007-06-14

From: Dave Beckett <dave@dajobe.org>
Date: Wed, 24 Oct 2007 22:57:53 -0700
Message-ID: <47203061.6020604@dajobe.org>
To: public-rdf-dawg-comments@w3.org

In
  11.6 Extensible Value Testing
  http://www.w3.org/TR/rdf-sparql-query/#extensionFunctions
the first paragraph says
  "An extension function takes some number of RDF terms as arguments and
   returns an RDF term."
but the examples don't have *RDFterm* arguments or return values; the
arguments are all *numeric* and the return values are xsd types.  Those
are not RDF Terms.

In the second example, the return value of xsd:boolean is probably
wrong, given it's used in as a distance and compared to < 10.
A < B for A:boolean and B:integer will be evaluated as a numeric
so that's 0<10 or 1<10.  Probably the return value should be xsd:integer?

So I would have expected:
 RDFTerm aGeo:distance (RDFTerm x1, RDFTerm y1, RDFTerm x2, RDFTerm y2)


Also, is this a normative reference?
$ lynx -dump http://www.w3.org/TR/rdf-sparql-query/|grep -i wikipedia.org
 752. http://en.wikipedia.org/wiki/Multiset

:)

Dave
Received on Thursday, 25 October 2007 05:58:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:52 GMT