Re: evaluating SPARQL w.r.t an RDF query language survey (valueTesting)

Dan Connolly wrote:
[...]
> I see several places where you use the ?s@de idiom.
> I suppose that's short for
>   [ util:lex ?s; util:lang "de" ]
> for suitable util: ?

Yes it is Dan
our actual assumption/testresult is that given

:a :b "wir"@de.
:c :d "100"^^xsd:int.
:e :f "bleu"@fr^^:colour.

--filter

{?u ?v ?x@?y} => {(?x ?y) a :Answer}.
{?u ?v ?x^^?y} => {(?x ?y) a :Answer}.

gives

("wir" de) a :Answer. 
("100" xsd:int) a :Answer. 
("bleu"@fr :colour) a :Answer. 

 
jos

> 
> > You might try taking each of the examples from the
> > editor's draft and each of these query language survey
> > examples and writing them without FILTER.
> 
> more than happy to do that and was able to spend some time
> last night (but had to fix issue for unify with ?x@de)
> (we will follow up some of those on public-cwm-talk)
> 
> the data we assume is the data at
> http://www.w3.org/2001/sw/DataAccess/tests/data/survey/survey-sample.ttl
> but I changed
> @prefix:
> into
> @prefix :
> 
> the n3 queries are at
> http://eulersharp.sourceforge.net/2004/04test/query-survey-1.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-2.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-3.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-8.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-9.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-10.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-11.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-12.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-13.n3
> 
> and the results are at
> http://eulersharp.sourceforge.net/2004/04test/query-survey-result-1.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-result-2.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-result-3.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-result-8.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-result-9.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-result-10.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-result-11.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-result-12.n3
> http://eulersharp.sourceforge.net/2004/04test/query-survey-result-13.n3
> 
> 
> I think they all work
> ah.. in some cases with rdfs:member we also assume
> http://eulersharp.sourceforge.net/2003/03swap/rdfs-rules.n3)

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

Received on Thursday, 14 April 2005 16:32:56 UTC