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

sparql query WD examples in tests problems

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Wed, 27 Apr 2005 11:47:54 +0100
To: public-rdf-dawg@w3.org
Message-ID: <20050427114754.3723377a@hoth.ilrt.bris.ac.uk>

I've found a few problems with the tests for the examples taken from
the last WD which are all held at
  http://www.w3.org/2001/sw/DataAccess/tests/data/examples/


An example:

Query
  http://www.w3.org/2001/sw/DataAccess/tests/data/examples/ex11.2.3.6_0.rq
Data
  http://www.w3.org/2001/sw/DataAccess/tests/data/examples/ex11.2.3.6_0.n3
Result
  http://www.w3.org/2001/sw/DataAccess/tests/data/examples/ex11.2.3.6_0-result.n3


The data has 
  _:a  foaf:mbox       <mailto:alice@work.example> .

the result has
  ...
  rs:binding  [ rs:value    <alice@work.example> ;

Note the lack of mailto: in the uri.  This fails for me with my code
and with ARQ.


It also seems there is a similar problem with URIs written as
literals in a couple of other other example data and result files:

The output of
  $ grep -n -e example *-result.n3
lightly edited shows:

ex11.2.3.5_0-result.n3:11:		  rs:binding  [ rs:value    "bob@work.example" ;
ex11.2.3.6_0-result.n3:11:		  rs:binding  [ rs:value    <alice@work.example> ;

and this might be related to this in the following data files:

ex11.2.3.3_0.n3:9:_:b  foaf:mbox       "bob@work.example" .
ex11.2.3.5_0.n3:9:_:b  foaf:mbox       "bob@work.example" .

which should be URIs.

Dave
Received on Wednesday, 27 April 2005 10:49:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:23 GMT