- From: Andy Seaborne <andy.seaborne@talis.com>
- Date: Tue, 06 Jul 2010 16:36:59 +0100
- To: Olivier Corby <Olivier.Corby@sophia.inria.fr>, SPARQL Working Group <public-rdf-dawg@w3.org>
http://www.w3.org/2009/sparql/docs/tests/data-sparql11/subquery/
Tests: 4,5,6,7
Both queries and manifest have dataset descriptions
FROM and qt:data
FROM NAMED and qt:graphData
test 6: change to qt:data to get answers in the results file.
test 8: change to qt:data to get answers in the results file.
Test 3:
Got: 1 --------------------------------
--------
| x |
========
| in:c |
--------
Expected: 2 -----------------------------
--------
| x |
========
| in:a |
| in:c |
--------
(this is what is in the original email)
This makes sense to me because:
select ?x where {
graph ?g {
{select ?x where {?x ?p ?g}}
}
}
and the inner SELECT ?x masks out the ?g in the subquery.
Test 8:
Query: Bad syntax, need (... AS ...)
prefix ex: <http://www.example.org/schema#>
prefix in: <http://www.example.org/instance#>
select ?x ?max where {
{select (max(?y) as ?max) where {?x ex:p ?y} }
?x ex:p ?max
Data: Misspelling of integer in datatype.
Results: Misspelling of integer in datatype.
Manifest has a named graph, query assumes default graph
then OK.
Shall I check-in the fixed tests?
Andy
Received on Tuesday, 6 July 2010 15:42:35 UTC