Skip to content

Commit a4c095c

Browse files
committed
Fix a couple of errors in queries.
1 parent ad40f93 commit a4c095c

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

sparql11/data-sparql11/protocol/gen_manifest.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@
424424
}
425425
}
426426
}
427-
END
428427
),
429428
'Content-Type': 'application/sparql-query',
430429
'Accept': 'application/sparql-results+xml',
@@ -558,7 +557,7 @@
558557
name: "invoke query operation with invalid query syntax (4XX result)",
559558
req: [{
560559
method: :GET,
561-
query: 'ASK {}',
560+
query: 'ASK {',
562561
"default-graph-uri": "http://kasei.us/2009/09/sparql/data/data0.rdf",
563562
resp: {
564563
status: "4XX"

sparql11/data-sparql11/protocol/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,6 @@ <h4>Request</h4>
13681368
}
13691369
}
13701370
}
1371-
END
13721371
</span>
13731372
</div></code>
13741373
</div>
@@ -1885,7 +1884,7 @@ <h4>Response</h4>
18851884
<div typeof='ht:Request'>
18861885
<h4>Request</h4>
18871886
<code><span property='ht:methodName'>GET</span>
1888-
<span property='ht:absolutePath'>/sparql?query=ASK%20%7B%7D&amp;default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata0.rdf</span>
1887+
<span property='ht:absolutePath'>/sparql?query=ASK%20%7B&amp;default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata0.rdf</span>
18891888
HTTP/<span property='ht:absolutePath'>1.1</span><br>
18901889
<span>Host: www.example</span>
18911890
<br></code>

sparql11/data-sparql11/protocol/manifest.jsonld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@
13301330
],
13311331
"ht:body": {
13321332
"@type": "cnt:ContentAsText",
1333-
"cnt:chars": "\nASK {\n GRAPH <http://example.org/protocol-update-dataset-full-test/> {\n <http://kasei.us/2009/09/sparql/data/data1.rdf> <http://example.org/in> \"default\" .\n <http://kasei.us/2009/09/sparql/data/data2.rdf> <http://example.org/in> <http://kasei.us/2009/09/sparql/data/data2.rdf> .\n }\n FILTER NOT EXISTS {\n GRAPH <http://example.org/protocol-update-dataset-full-test/> {\n <http://kasei.us/2009/09/sparql/data/data3.rdf> ?p ?o\n }\n }\n}\nEND\n",
1333+
"cnt:chars": "\nASK {\n GRAPH <http://example.org/protocol-update-dataset-full-test/> {\n <http://kasei.us/2009/09/sparql/data/data1.rdf> <http://example.org/in> \"default\" .\n <http://kasei.us/2009/09/sparql/data/data2.rdf> <http://example.org/in> <http://kasei.us/2009/09/sparql/data/data2.rdf> .\n }\n FILTER NOT EXISTS {\n GRAPH <http://example.org/protocol-update-dataset-full-test/> {\n <http://kasei.us/2009/09/sparql/data/data3.rdf> ?p ?o\n }\n }\n}\n",
13341334
"cnt:characterEncoding": "UTF-8"
13351335
},
13361336
"ht:resp": {
@@ -1779,7 +1779,7 @@
17791779
"@type": "ht:Request",
17801780
"ht:methodName": "GET",
17811781
"ht:httpVersion": "1.1",
1782-
"ht:absolutePath": "/sparql?query=ASK%20%7B%7D&default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata0.rdf",
1782+
"ht:absolutePath": "/sparql?query=ASK%20%7B&default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata0.rdf",
17831783
"ht:resp": {
17841784
"@type": "ht:Response",
17851785
"ht:statusCodeValue": [

sparql11/data-sparql11/protocol/manifest.ttl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Some tests require special result processing.
227227
ht:connectionAuthority "www.example";
228228
ht:requests ([
229229
a ht:Request;
230-
ht:absolutePath "/sparql?query=ASK%20%7B%7D&default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata0.rdf";
230+
ht:absolutePath "/sparql?query=ASK%20%7B&default-graph-uri=http%3A%2F%2Fkasei.us%2F2009%2F09%2Fsparql%2Fdata%2Fdata0.rdf";
231231
ht:httpVersion "1.1";
232232
ht:methodName "GET";
233233
ht:resp [
@@ -1413,7 +1413,6 @@ ASK {
14131413
}
14141414
}
14151415
}
1416-
END
14171416
"""
14181417
];
14191418
ht:headers ([

0 commit comments

Comments
 (0)