- From: Jos De_Roo <jos.deroo@agfa.com>
- Date: Sat, 29 Mar 2003 22:13:21 +0100
- To: "Alberto Reggiori <alberto" <alberto@asemantics.com>
- Cc: www-rdf-rules@w3.org
> As a follow up of the IRC meetings [1][2] and the RDF query testcases
> vocabularies announcement [3] , I have written up details of those
> vocabularies into a document and put it (thanks to DanBri) on the
> "RDF Query (and Rules) Testcases" site [4]:
>
> http://www.w3.org/2003/03/rdfqr-tests/rdf-query-testcases.html
>
> This is work in progress; the document is a working document for people
> to comment on by emailing this list. The above work is also related to
> the other working document written by Andy Seaborne about "Recording
> Query Results" [5]
>
> Alberto
>
> [1] http://lists.w3.org/Archives/Public/www-rdf-rules/2003Feb/0014.html
> [2] http://lists.w3.org/Archives/Public/www-rdf-rules/2003Mar/0015.html
> [3] http://lists.w3.org/Archives/Public/www-rdf-rules/2003Mar/0013.html
> [4] http://www.w3.org/2003/03/rdfqr-tests/
> [5] http://www.w3.org/2003/03/rdfqr-tests/recording-query-results.html
Looks like good progress!
(sorry I missed the IRC meeting but I had no free time)
In http://www.w3.org/2003/03/rdfqr-tests/recording-query-results.html
reification is mentioned which is indeed maybe
*not* the way to go...
On the other hand I very much like the N3
way of writing subgraphs using {} notation.
For instance given the facts in
http://www.agfa.com/w3c/euler/ziv.n3
we can query those facts with
http://www.agfa.com/w3c/euler/ziv-query.n3
and that is then resulting in
http://www.agfa.com/w3c/euler/ziv-result.n3
so the query looks like
?r :year 2001;
:month "May";
:city ?c;
:film ?f;
:cinema "Globus".
and a particular result looks like
{?r = :rec010. ?r :year 2001} => {:rec010 :year 2001}.
{?r = :rec010. ?r :month "May"} => {:rec010 :month "May"}.
{?r = :rec010. ?c = "Tel Aviv". ?r :city ?c} => {:rec010 :city "Tel Aviv"}.
{?r = :rec010. ?f = "Pokemon 2". ?r :film ?f} => {:rec010 :film "Pokemon
2"}.
{?r = :rec010. ?r :cinema "Globus"} => {:rec010 :cinema "Globus"}.
but that can be further improved
(just wanted to show the braces)
-- ,
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/
PS I also had a look to Andy's Joseki and like/follow
it's very nifty combination of HTTP and N3 Triples
Received on Saturday, 29 March 2003 16:13:37 UTC