sparql query WD examples in tests problems

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 UTC