W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2004

Re: SOURCE test case sketches from users, please?

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Wed, 15 Dec 2004 08:49:11 +0000
Message-ID: <41BFFA87.90704@hp.com>
To: jos.deroo@agfa.com
Cc: connolly@w3.org, RDF Data Access Working Group <public-rdf-dawg@w3.org>

I coudln't execute either - 'whom' is bound to a bNode from <aliceFoaf.n3> 
and so is different from all bNodes in <bobFoaf.n3>. Carrying over the 
identifying 'mbox' works.

The query in rq23 is

PREFIX data: <http://example.org/foaf/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

SELECT ?mbox ?age ?ppd
FROM   data:aliceFoaf data:bobFoaf
WHERE
   SOURCE data:aliceFoaf
   {
     ( ?alice foaf:mbox <mailto:alice@work.example> )
     ( ?alice foaf:knows ?whom )
     ( ?whom foaf:mbox ?mbox )
     ( ?whom foaf:PersonalProfileDocument ?ppd )
   }
   SOURCE ?ppd
   {
      ( ?w foaf:mbox ?mbox )
      ( ?w foaf:age ?age )
   }

which works for untrusted graphs.

	Andy



jos.deroo@agfa.com wrote:
> this is not a real response to your call..
> btw, at my parents farm we used to have 900 pigs :)
> 
> 
>>[...]
>>
>>I suppose responses of the form...
>> The pigfarmer supply chain consortium's usage of SOURCE
>>is covered by an existing test
>>http://www.w3.org/2001/sw/DataAccess/tests/data/source-named/query-9.1.rq
> 
> 
> whatever I try, I can't run that query..
> what we can run is, well an N3QL translation (*) of
> 
> PREFIX foaf: <http://xmlns.com/foaf/0.1/>
> SELECT ?mbox ?age ?ppd
> WHERE       ( ?alice foaf:mbox <mailto:alice@work.example> )
>             ( ?alice foaf:knows ?whom )
>             ( ?whom2 foaf:mbox ?mbox )
>             ( ?whom2 foaf:PersonalProfileDocument ?ppd )
> SOURCE ?ppd ( ?whom2 foaf:age ?age )
> 
> 
> i.e. with ?whom2 variable
> 
> 
Received on Wednesday, 15 December 2004 08:49:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:21 GMT