W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2005

test for DATATYPE on plain literals, please

From: Dan Connolly <connolly@w3.org>
Date: Sat, 12 Nov 2005 13:29:46 -0600
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-Id: <1131823787.12579.211.camel@dirk>

"It returns <xsd:string> if the argument is an untyped literal."
 -- http://www.w3.org/2001/sw/DataAccess/rq23/#func-datatype

SPARQLer doesn't seem to agree; I tried this query:

SELECT ?book ?title WHERE { ?book dc:title ?title FILTER
( DATATYPE(?title)) }


and got no results.

I suspect SPARQLer is not quite caught up there. To make sure
developers learn about this detail, let's make sure there's a test,

Steve, would you please add a test or get somebody to do it?
Or if one is already there, point me to it?

I looked, and the closest I see is something with doubles.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Saturday, 12 November 2005 19:30:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:49 UTC