Skip to content

SPARQL Protocol query_multiple_dataset #78

@gkellogg

Description

@gkellogg

It seems to me that this test as a small problem. The query uses a FROM directive, which is overridden using default-graph-uri, but that loads data2.rdf. Either the query should be to <data2.rdf> (or presumably it's absolute URL form), or it should expect false instead of true. Or is do I have some misunderstanding on what the success criteria are for these tests?

:query_multiple_dataset rdf:type mf:ProtocolTest ;
mf:name "query specifying dataset in both query string and protocol; test for use of protocol-specified dataset" ;
rdfs:comment """
#### Request
POST /sparql/?default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata2.rdf HTTP/1.1
Host: www.example
User-agent: sparql-client/0.1
Content-Type: application/sparql-query
Content-Length: XXX
ASK FROM <http://kasei.us/2009/09/sparql/data/data1.rdf> { <data1.rdf> ?p ?o }
#### Response
2xx or 3xx response
Content-Type: application/sparql-results+xml or application/sparql-results+json
true
""" ;
dawgt:approval dawgt:Approved ;
dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3> ;
.

cc/ @kasei

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions