Re: how does existing RDF software handle this datatypes test?

Dan Connolly wrote:

> There's a lot to read about TDL and S,
> http://lists.w3.org/Archives/Public/www-rdf-interest/2002Jan/0164.html
> but I think it can be summarized with the following
> test case. If you develop (or use) any RDF software,
> please try it out on this test case and report
> your findings.

Hi

> Now... suppose I ask:
>         whatever that title is, let's call it X.
>         Does that document also say that there's
>         something with ex:age of that same X?

By running the following RDQL query:

SELECT ?b
FROM <http://www.w3.org/2000/10/swap/test/dt10-premise.rdf>
WHERE
        (?a, <dc:title>, ?X),
        (?b, <ex:age>, ?X)
USING
        rdf for <http://www.w3.org/1999/02/22-rdf-syntax-ns#>,
        dc for <http://purl.org/dc/elements/1.1/>,
        ex for <http://example/vocab#>

RDFStore returns the following:

$result->{ b } = [ http://www.w3.org/2000/10/swap/test/dt10-premise.rdf#mary
]


Alberto

Received on Thursday, 31 January 2002 08:16:00 UTC