--- a/tests/Overview.html Tue Jan 29 13:47:22 2013 -0500
+++ b/tests/Overview.html Tue Jan 29 14:42:42 2013 -0500
@@ -64,6 +64,20 @@
<dt id="ResourceCreation">ResourceCreation</dt>
<dd>Test creation of a new LDPR.</dd>
+ <dt id="createdResource">createdResource</dt>
+ <dd>
+ let's decide between:<br/>
+ RFC6570 template with the variable name <code>created</code> standing for an <a href="http://www.w3.org/TR/ldp/#ldpc-5_4_1">LDP Resource</a>.<br />
+ A resource created in the process of handling a POSTed entity.
+ </dd>
+
+ <dt id="createdPage">createdPage</dt>
+ <dd>
+ let's decide between:<br/>
+ RFC6570 template with the variable name <code>created</code> standing for an <a href="http://www.w3.org/TR/ldp/#ldpc-paging">LDPC page</a>.<br />
+ A page created in the process of handling a POSTed resource.
+ </dd>
+
</dl>
</div>
--- a/tests/basic/Manifest.ttl Tue Jan 29 13:47:22 2013 -0500
+++ b/tests/basic/Manifest.ttl Tue Jan 29 14:42:42 2013 -0500
@@ -21,6 +21,10 @@
# rdft:statusReference <http://lists.w3.org/Archives/Public/public-ldpwg/.../minutes> ;
rdft:initialState <NetWorth_0_4.trig> ;
rdft:action [ a verb:POST ;
+ ldpt:templates [
+ ldpt:createdResource 'http://example.org/netWorth/nw1/assetContainer/{created}' ;
+ ldpt:createdPage 'http://example.org/netWorth/nw1/assetContainer?p={pagenum}'
+ ] ;
mesg:bodyProperty <NetWorth_0_4_post.ttl> ] ;
rdft:finalState <NetWorth_1_4.trig> .
@@ -30,6 +34,10 @@
rdft:status rdft:Proposed ;
rdft:initialState <NetWorth_3_4.trig> ;
rdft:action [ a verb:POST ;
+ ldpt:templates [
+ ldpt:createdResource asset:a4 ;
+ ldpt:createdPage page:1
+ ] ;
mesg:bodyProperty <NetWorth_3_4_post.ttl> ] ;
rdft:finalState <NetWorth_4_4.trig> .
--- a/tests/basic/NetWorth_5_4.trig Tue Jan 29 13:47:22 2013 -0500
+++ b/tests/basic/NetWorth_5_4.trig Tue Jan 29 14:42:42 2013 -0500
@@ -7,38 +7,38 @@
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix o: <http://example.org/ontology/> .
-page:1 {
+_:page1 {
container: a bp:Container ;
dcterms:title "The assets of JohnZSmith" ;
bp:membershipSubject membership: ;
bp:membershipPredicate o:asset .
- page:1 a bp:Page ;
+ _:page1 a bp:Page ;
bp:pageOf container: ;
- bp:nextPage page:2 .
+ bp:nextPage _:page2 .
membership: a o:NetWorth .
- membership: o:asset asset:a1 .
- asset:a1 a o:Stock ; dcterms:title "IBM" ; o:value 100.00 .
- membership: o:asset asset:a2 .
- asset:a2 a o:Cash ; o:value 50.00 .
- membership: o:asset asset:a3 .
- asset:a3 a o:Bribe ; o:value 10.00 .
- membership: o:asset asset:a4 .
- asset:a4 a o:House ; dcterms:title "Home" ; o:value 1.00 .
+ membership: o:asset _:asset_a1 .
+ _:asset_a1 a o:Stock ; dcterms:title "IBM" ; o:value 100.00 .
+ membership: o:asset _:asset_a2 .
+ _:asset_a2 a o:Cash ; o:value 50.00 .
+ membership: o:asset _:asset_a3 .
+ _:asset_a3 a o:Bribe ; o:value 10.00 .
+ membership: o:asset _:asset_a4 .
+ _:asset_a4 a o:House ; dcterms:title "Home" ; o:value 1.00 .
}
-asset:a1 { asset:a1 a o:Stock ; o:value 100.00 ; dcterms:title "IBM" ; dcterms:date "2012-01-01"^^xsd:date }
-asset:a2 { asset:a2 a o:Cash ; o:value 50.00 ; dcterms:date "2012-01-02"^^xsd:date }
-asset:a3 { asset:a3 a o:Bribe ; o:value 10.00 ; dcterms:date "2012-01-03"^^xsd:date }
-asset:a4 { asset:a4 a o:House ; o:value 1.00 ; dcterms:title "Home" ; dcterms:date "2012-01-04"^^xsd:date }
-page:2 {
+_:asset_a1 { _:asset_a1 a o:Stock ; o:value 100.00 ; dcterms:title "IBM" ; dcterms:date "2012-01-01"^^xsd:date }
+_:asset_a2 { _:asset_a2 a o:Cash ; o:value 50.00 ; dcterms:date "2012-01-02"^^xsd:date }
+_:asset_a3 { _:asset_a3 a o:Bribe ; o:value 10.00 ; dcterms:date "2012-01-03"^^xsd:date }
+_:asset_a4 { _:asset_a4 a o:House ; o:value 1.00 ; dcterms:title "Home" ; dcterms:date "2012-01-04"^^xsd:date }
+_:page2 {
container: a bp:Container ;
dcterms:title "The assets of JohnZSmith" ;
bp:membershipSubject membership: ;
bp:membershipPredicate o:asset .
- page:2 a bp:Page ;
+ _:page2 a bp:Page ;
bp:pageOf container: ;
bp:nextPage rdf:nil .
membership: a o:NetWorth .
- membership: o:asset asset:a5 .
- asset:a5 a o:Stock ; dcterms:title "Big Co." ; o:value 200.02 .
+ membership: o:asset _:asset_a5 .
+ _:asset_a5 a o:Stock ; dcterms:title "Big Co." ; o:value 200.02 .
}
-asset:a5 { asset:a5 a o:Stock ; o:value 200.02 ; dcterms:title "Big Co." ; dcterms:date "2012-01-05"^^xsd:date }
+_:asset_a5 { _:asset_a5 a o:Stock ; o:value 200.02 ; dcterms:title "Big Co." ; dcterms:date "2012-01-05"^^xsd:date }