- From: Alberto Reggiori <areggiori@webweaving.org>
- Date: Thu, 31 Jan 2002 14:27:29 +0100
- To: Dan Connolly <connolly@w3.org>
- CC: RDF Interest <www-rdf-interest@w3.org>, RDF Logic <www-rdf-logic@w3.org>
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:01 UTC