Re: RDF query testcases?

thanks Jeen

On Thu, 16 Jan 2003, Jeen Broekstra wrote:

> Libby Miller wrote:
>
>  > We have some effort in SWAD-Europe [1] to write a document about RDF
>  > query [see [2]]. Part of this will be FAQ-based - a start is here
>  > [3], (and I'd be grateful for any FAQs or answers).
>
> Very nice! By the way, I've got an addition for your Implementations
> section:
>
> RQL and RDQL in Sesame:
> http://lists.w3.org/Archives/Public/www-rdf-interest/2002Nov/0134.html
> http://sesame.aidministrator.nl/
>

thanks, I'll add that.

>  > The main reason for sending this message it because I've chatted to a
>  >  few people who feel that a collection of RDF query testcases would
>  > be a useful thing to have, and I can put some effort into this -
>  > maybe as a minimum, finding out what's already available, and maybe
>  > look into some ways of enabling one query language implementation to
>  > use another's testcases.
>  >
>  > So, would anyone out there like to share their test and their
>  > experiences of writing them?
>
> Sesame features an online tutorial with RQL queries on a small example
> dataset about musea and paintings and such. The tutorial and the data
> files are packaged with the distribution. We do not provide the expected
> answers anywhere, but if you think this would be useful I can add it.

>
> http://sesame.aidministrator.nl/publications/rql-tutorial.html
>

Nice tutorial!
Do you have that information handy? If you do then it would be great to
have it, as far as what I'm trying to do is concerned. I'm unclear how
it's best to present it though. Jena's regression  tests have this sort
of format:

# Variables:
?b ?y .
# Data:
?b <anon:cdedfd:eea1faaa34:-8000> ?y "11" .
?b <anon:cdedfd:eea1faaa34:-8000> ?y "12" .
?b <http://never/bag> ?y "21" .
?b <http://never/bag> ?y "22" .

Andy said:
[[
there is code that tests the expected
result set is equivalent (same values for variables, subject to
bNode-isms,
number or rows etc)
]]

- so I guess that detects bnodes.

cheers

Libby


> HTH.
>
> Jeen
> --
> jeen.broekstra@aidministrator.nl
> aidministrator nederland bv - http://www.aidministrator.nl/
> julianaplein 14b, 3817 cs amersfoort, the netherlands
> tel. +31-(0)33-4659987, fax. +31-(0)33-4659987
>
>
>

Received on Thursday, 16 January 2003 11:34:09 UTC