Re: SOURCE test case sketches from users, please?

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


-- 
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/

(*)
[] q:select {<> q:answer (?mbox ?age ?ppd)};
   q:where {?a foaf:mbox <mailto:alice@work.example>.
            ?a foaf:knows ?whom.
            ?whom foaf:mbox ?mbox.
            ?whom2 foaf:mbox ?mbox.
            ?whom2 foaf:PersonalProfileDocument ?ppd.
            {?whom2 foaf:age ?age} q:source ?ppd}.


and then we get

<file:/temp/testC.n3> q:answer (<mailto:bob@work.example> 35 
<file:/temp/bobFoaf.n3>). 

Received on Wednesday, 15 December 2004 00:11:47 UTC