Skip to content

Commit d89f70a

Browse files
committed
Synchronize change from 5d495dc.
1 parent 0bcb104 commit d89f70a

File tree

4 files changed

+149
-36
lines changed

4 files changed

+149
-36
lines changed

sparql/sparql11/http-rdf-update/gen_manifest.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,9 +635,8 @@ def usage(**options)
635635
validate(RDF::Turtle::Reader.new(ttl, base_uri: "http://www.w3.org/2009/sparql/docs/tests/data-sparql11/http-rdf-update/manifest.ttl", validate: true)) if validate
636636

637637
# Do some result hacking
638-
ttl.sub!('<http://www.w3.org/2009/sparql/docs/tests/data-sparql11/http-rdf-update/manifest>', '<>')
639638
ttl.sub!(/mf:entries \((.*)\) \.$/) do |matched|
640-
matched.sub('(:', '( :').gsub(' :', "\n :")
639+
matched.sub('(gsp:', '( gsp:').gsub(' gsp:', "\n gsp:")
641640
end
642641

643642
output.write(ttl)

sparql/sparql11/http-rdf-update/index.html

Lines changed: 73 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang='en' prefix='dawgt: http://www.w3.org/2001/sw/DataAccess/tests/test-dawg# mf: http://www.w3.org/2001/sw/DataAccess/tests/test-manifest# cnt: http://www.w3.org/2011/content# ht: http://www.w3.org/2011/http#'>
2+
<html lang='en' prefix='dawg: http://www.w3.org/2001/sw/DataAccess/tests/test-dawg# mf: http://www.w3.org/2001/sw/DataAccess/tests/test-manifest# cnt: http://www.w3.org/2011/content# ht: http://www.w3.org/2011/http#'>
33
<head>
44
<meta content='text/html;charset=utf-8' http-equiv='Content-Type'>
55
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
@@ -77,14 +77,62 @@ <h2 id='abstract'>Abstract</h2>
7777
<dd>is the URL returned in the Location HTTP header</dd>
7878
</dl>
7979

80-
<p>HTTP response messages are in the format:</p>
80+
<p>The Turtle and JSON-LD versions of this manifest use the <a href="http://www.w3.org/2011/http#"><code>ht</code></a>
81+
and <a href="http://www.w3.org/2011/content#"><code>cnt</code></a> to describe the
82+
HTTP actions that a test client can use to provision call and response
83+
that a server will use to run each test.
84+
This includes a sequence of HTTP requests, with headers and other information
85+
that can be used for the provisioned client to will use to send HTTP methods
86+
to the system under test along with the expected response.</p>
8187

82-
<pre><code>HTTP Status code
83-
Headers
84-
&lt;space&gt;
85-
Body
88+
<p>For example, the following entry for <code>gsp:delete__existing_graph</code>
89+
has an action described as an <code>ht:Connection</code>, with the authority <code>"www.example"</code>
90+
and a sequence of requests having a single entry of type <code>ht:Request</code>,
91+
an <code>ht:absolutePath</code> of <code>"$GRAPHSTORE$/person/2.ttl"</code> (where the
92+
test runner will substitute <code>$GRAPHSTORE</code> with the path to the graph store service
93+
being tested), and the expected response:</p>
94+
95+
<pre><code>gsp:delete__existing_graph a mf:mf:GraphStoreProtocolTest;
96+
dawg:approval dawg:Approved;
97+
dawg:approvedBy &lt;http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3&gt;;
98+
mf:action [
99+
a ht:Connection;
100+
ht:connectionAuthority "www.example";
101+
ht:requests ([
102+
a ht:Request;
103+
ht:absolutePath "$GRAPHSTORE$/person/2.ttl";
104+
ht:headers ([
105+
a ht:RequestHeader;
106+
ht:fieldName "Host";
107+
ht:fieldValue "$HOST$";
108+
ht:headerElements ([
109+
a ht:HeaderElement;
110+
ht:elementName "$HOST$"
111+
])
112+
]);
113+
ht:httpVersion "1.1";
114+
ht:methodName "DELETE";
115+
ht:resp [
116+
a ht:Response;
117+
ht:statusCodeValue "200"
118+
]
119+
])
120+
];
121+
mf:name "DELETE - existing graph" .
86122
</code></pre>
87123

124+
<p>This is rendered into HTTP envelopes:</p>
125+
126+
<p><strong>Request</strong></p>
127+
128+
<p>DELETE $GRAPHSTORE$/person/2.ttl HTTP/1.1
129+
Host: www.example
130+
Host: $HOST$</p>
131+
132+
<p><strong>Response</strong></p>
133+
134+
<p>200 response</p>
135+
88136

89137
<h3 id='contributing-tests'>Contributing Tests</h3>
90138
<p>The test manifests and entries are built automatically from <a href="manifest.ttl">manifest.ttl</a> using a Rake task. Tests may be contributed via pull request to <a href="https://github.com/w3c/rdf-tests">https://github.com/w3c/rdf-tests</a> with suitable changes to the <a href="manifest.ttl">manifest.ttl</a> and referenced files.</p>
@@ -119,7 +167,7 @@ <h2>
119167
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
120168
<dt>approvedBy</dt>
121169
<dd>
122-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
170+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
123171
</dd>
124172
</dl>
125173
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -186,7 +234,7 @@ <h4>Response</h4>
186234
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
187235
<dt>approvedBy</dt>
188236
<dd>
189-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
237+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
190238
</dd>
191239
</dl>
192240
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -259,7 +307,7 @@ <h4>Response</h4>
259307
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
260308
<dt>approvedBy</dt>
261309
<dd>
262-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
310+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
263311
</dd>
264312
</dl>
265313
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -326,7 +374,7 @@ <h4>Response</h4>
326374
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
327375
<dt>approvedBy</dt>
328376
<dd>
329-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
377+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
330378
</dd>
331379
</dl>
332380
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -399,7 +447,7 @@ <h4>Response</h4>
399447
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
400448
<dt>approvedBy</dt>
401449
<dd>
402-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
450+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
403451
</dd>
404452
</dl>
405453
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -466,7 +514,7 @@ <h4>Response</h4>
466514
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
467515
<dt>approvedBy</dt>
468516
<dd>
469-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
517+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
470518
</dd>
471519
</dl>
472520
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -539,7 +587,7 @@ <h4>Response</h4>
539587
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
540588
<dt>approvedBy</dt>
541589
<dd>
542-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
590+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
543591
</dd>
544592
</dl>
545593
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -606,7 +654,7 @@ <h4>Response</h4>
606654
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
607655
<dt>approvedBy</dt>
608656
<dd>
609-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
657+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
610658
</dd>
611659
</dl>
612660
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -652,7 +700,7 @@ <h4>Response</h4>
652700
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
653701
<dt>approvedBy</dt>
654702
<dd>
655-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
703+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
656704
</dd>
657705
</dl>
658706
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -698,7 +746,7 @@ <h4>Response</h4>
698746
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
699747
<dt>approvedBy</dt>
700748
<dd>
701-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
749+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
702750
</dd>
703751
</dl>
704752
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -744,7 +792,7 @@ <h4>Response</h4>
744792
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
745793
<dt>approvedBy</dt>
746794
<dd>
747-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
795+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
748796
</dd>
749797
</dl>
750798
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -806,7 +854,7 @@ <h4>Response</h4>
806854
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
807855
<dt>approvedBy</dt>
808856
<dd>
809-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
857+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
810858
</dd>
811859
</dl>
812860
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -880,7 +928,7 @@ <h4>Response</h4>
880928
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
881929
<dt>approvedBy</dt>
882930
<dd>
883-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
931+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
884932
</dd>
885933
</dl>
886934
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -954,7 +1002,7 @@ <h4>Response</h4>
9541002
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
9551003
<dt>approvedBy</dt>
9561004
<dd>
957-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
1005+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
9581006
</dd>
9591007
</dl>
9601008
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -1024,7 +1072,7 @@ <h4>Response</h4>
10241072
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
10251073
<dt>approvedBy</dt>
10261074
<dd>
1027-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
1075+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
10281076
</dd>
10291077
</dl>
10301078
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -1097,7 +1145,7 @@ <h4>Response</h4>
10971145
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
10981146
<dt>approvedBy</dt>
10991147
<dd>
1100-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
1148+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
11011149
</dd>
11021150
</dl>
11031151
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -1167,7 +1215,7 @@ <h4>Response</h4>
11671215
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
11681216
<dt>approvedBy</dt>
11691217
<dd>
1170-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
1218+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
11711219
</dd>
11721220
</dl>
11731221
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -1237,7 +1285,7 @@ <h4>Response</h4>
12371285
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
12381286
<dt>approvedBy</dt>
12391287
<dd>
1240-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
1288+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
12411289
</dd>
12421290
</dl>
12431291
<div class='test-detail' property='mf:action' typeof='ht:Connection'>
@@ -1291,7 +1339,7 @@ <h4>Response</h4>
12911339
<dd property='mf:approval' resource='dawg:Approved'>dawg:Approved</dd>
12921340
<dt>approvedBy</dt>
12931341
<dd>
1294-
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawgt:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
1342+
<a href='http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3' property='dawg:approvedBy'>http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3</a>
12951343
</dd>
12961344
</dl>
12971345
<div class='test-detail' property='mf:action' typeof='ht:Connection'>

sparql/sparql11/http-rdf-update/manifest.ttl

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,28 @@
66
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
77
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
88

9-
<> a mf:Manifest;
9+
<http://www.w3.org/2009/sparql/docs/tests/data-sparql11/http-rdf-update/manifest> a mf:Manifest;
1010
rdfs:label "SPARQL Graph Store Protocol";
11-
mf:entries (gsp:put__initial_state gsp:get_of_put__initial_state gsp:put__graph_already_in_store gsp:get_of_put__graph_already_in_store gsp:put__default_graph gsp:get_of_put__default_graph gsp:put__mismatched_payload gsp:delete__existing_graph gsp:get_of_delete__existing_graph gsp:delete__nonexistent_graph gsp:post__existing_graph gsp:get_of_post__existing_graph gsp:post__multipart_formdata gsp:get_of_post__multipart_formdata gsp:post__create__new_graph gsp:get_of_post__create__new_graph gsp:get_of_post__after_noop gsp:head_on_an_existing_graph gsp:head_on_a_nonexisting_graph) .
11+
mf:entries (
12+
gsp:put__initial_state
13+
gsp:get_of_put__initial_state
14+
gsp:put__graph_already_in_store
15+
gsp:get_of_put__graph_already_in_store
16+
gsp:put__default_graph
17+
gsp:get_of_put__default_graph
18+
gsp:put__mismatched_payload
19+
gsp:delete__existing_graph
20+
gsp:get_of_delete__existing_graph
21+
gsp:delete__nonexistent_graph
22+
gsp:post__existing_graph
23+
gsp:get_of_post__existing_graph
24+
gsp:post__multipart_formdata
25+
gsp:get_of_post__multipart_formdata
26+
gsp:post__create__new_graph
27+
gsp:get_of_post__create__new_graph
28+
gsp:get_of_post__after_noop
29+
gsp:head_on_an_existing_graph
30+
gsp:head_on_a_nonexisting_graph) .
1231

1332
gsp:delete__existing_graph a mf:mf:GraphStoreProtocolTest;
1433
dawg:approval dawg:Approved;

sparql/sparql11/http-rdf-update/template.haml

Lines changed: 54 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
!!! 5
2-
%html{lang: :en, prefix: "dawgt: http://www.w3.org/2001/sw/DataAccess/tests/test-dawg# mf: http://www.w3.org/2001/sw/DataAccess/tests/test-manifest# cnt: http://www.w3.org/2011/content# ht: http://www.w3.org/2011/http#"}
2+
%html{lang: :en, prefix: "dawg: http://www.w3.org/2001/sw/DataAccess/tests/test-dawg# mf: http://www.w3.org/2001/sw/DataAccess/tests/test-manifest# cnt: http://www.w3.org/2011/content# ht: http://www.w3.org/2011/http#"}
33
%head
44
%meta{"http-equiv" => "Content-Type", content: "text/html;charset=utf-8"}
55
%meta{name: "viewport", content: "width=device-width, initial-scale=1.0"}
@@ -73,14 +73,61 @@
7373
**$NEWPATH$**
7474
: is the URL returned in the Location HTTP header
7575
76-
HTTP response messages are in the format:
76+
The Turtle and JSON-LD versions of this manifest use the [`ht`](http://www.w3.org/2011/http#)
77+
and [`cnt`](http://www.w3.org/2011/content#) to describe the
78+
HTTP actions that a test client can use to provision call and response
79+
that a server will use to run each test.
80+
This includes a sequence of HTTP requests, with headers and other information
81+
that can be used for the provisioned client to will use to send HTTP methods
82+
to the system under test along with the expected response.
7783
78-
HTTP Status code
79-
Headers
80-
<space>
81-
Body
84+
For example, the following entry for `gsp:delete__existing_graph`
85+
has an action described as an `ht:Connection`, with the authority `"www.example"`
86+
and a sequence of requests having a single entry of type `ht:Request`,
87+
an `ht:absolutePath` of `"$GRAPHSTORE$/person/2.ttl"` (where the
88+
test runner will substitute `$GRAPHSTORE` with the path to the graph store service
89+
being tested), and the expected response:
8290
91+
gsp:delete__existing_graph a mf:mf:GraphStoreProtocolTest;
92+
dawg:approval dawg:Approved;
93+
dawg:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-11-20#resolution_3>;
94+
mf:action [
95+
a ht:Connection;
96+
ht:connectionAuthority "www.example";
97+
ht:requests ([
98+
a ht:Request;
99+
ht:absolutePath "$GRAPHSTORE$/person/2.ttl";
100+
ht:headers ([
101+
a ht:RequestHeader;
102+
ht:fieldName "Host";
103+
ht:fieldValue "$HOST$";
104+
ht:headerElements ([
105+
a ht:HeaderElement;
106+
ht:elementName "$HOST$"
107+
])
108+
]);
109+
ht:httpVersion "1.1";
110+
ht:methodName "DELETE";
111+
ht:resp [
112+
a ht:Response;
113+
ht:statusCodeValue "200"
114+
]
115+
])
116+
];
117+
mf:name "DELETE - existing graph" .
83118
119+
This is rendered into HTTP envelopes:
120+
121+
**Request**
122+
123+
DELETE $GRAPHSTORE$/person/2.ttl HTTP/1.1
124+
Host: www.example
125+
Host: $HOST$
126+
127+
**Response**
128+
129+
200 response
130+
84131
%h3#contributing-tests="Contributing Tests"
85132
:markdown
86133
The test manifests and entries are built automatically from [manifest.ttl](manifest.ttl) using a Rake task. Tests may be contributed via pull request to [https://github.com/w3c/rdf-tests](https://github.com/w3c/rdf-tests) with suitable changes to the [manifest.ttl](manifest.ttl) and referenced files.
@@ -124,7 +171,7 @@
124171
- if test['approvedBy']
125172
%dt="approvedBy"
126173
%dd
127-
%a{property: "dawgt:approvedBy", href: test['approvedBy']}<~test['approvedBy']
174+
%a{property: "dawg:approvedBy", href: test['approvedBy']}<~test['approvedBy']
128175
- # Evaluation Tests
129176
- if test['action'].is_a?(Hash)
130177
%div.test-detail{property: "mf:action", typeof: test['action']['@type']}

0 commit comments

Comments
 (0)