copied from SWObjects/tests/test_LDP.cpp
authorEric Prud'hommeaux <eric@w3.org>
Tue, 29 Jan 2013 13:18:50 -0500
changeset 53 eff1638769ae
parent 47 a4349bff5f64
child 54 bbdbe48a7a74
copied from SWObjects/tests/test_LDP.cpp
tests/Overview.html
tests/Testing.html
tests/basic/Manifest.ttl
tests/basic/NetWorth_0_4.trig
tests/basic/NetWorth_0_4_post.ttl
tests/basic/NetWorth_1_4.trig
tests/basic/NetWorth_3_4.trig
tests/basic/NetWorth_3_4_post.ttl
tests/basic/NetWorth_4_4.trig
tests/basic/NetWorth_4_4_post.ttl
tests/basic/NetWorth_5_4.trig
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/Overview.html	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,72 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML+RDFa 1.0//EN' 'http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd'>
+<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" about="" property="dcterms:language" content="en" xmlns:dcterms='http://purl.org/dc/terms/' xmlns:bibo='http://purl.org/ontology/bibo/' xmlns:foaf='http://xmlns.com/foaf/0.1/' xmlns:xsd='http://www.w3.org/2001/XMLSchema#' version="XHTML+RDFa 1.0" typeof="bibo:Document">
+  <head>
+    <title>Turtle</title>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+    <style type="text/css">
+      /* Style Turtle script blocks to be visable */
+      pre.example script {
+        display:block;
+      }
+    </style> 
+    <link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css" charset="utf-8" />
+  </head>
+
+  <body style="display: inherit; ">
+    <div class="head">
+      <p>
+	<a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C" /></a>
+      </p>
+
+      <h1 property="dcterms:title" class="title" id="title">LDP Tests</h1>
+      <h2 property="bibo:subtitle" id="subtitle">Test Suite for the Linked Data Platform</h2>
+      <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2012-06-27T07:00:00+0000" id="w3c-working-draft-27-june-2012"><acronym title="World Wide Web Consortium">W3C</acronym> Editor's Draft</h2>
+      <!-- dl>
+	<dt>This version:</dt>
+	<dd><a href="http://www.w3.org/TR/2012/WD-turtle-20120710/">http://www.w3.org/TR/2012/WD-turtle-20120710/</a></dd>
+	<dt>Latest published version:</dt>
+	<dd><a href="http://www.w3.org/TR/turtle/">http://www.w3.org/TR/turtle/</a></dd>
+	<dt>Latest editor's draft:</dt>
+	<dd><a href="http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html">http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html</a></dd>
+	<dt>Previous version:</dt>
+	<dd><a rel="dcterms:replaces" href="http://www.w3.org/TR/2011/WD-turtle-20110809/">http://www.w3.org/TR/2011/WD-turtle-20110809/</a></dd>
+	<dt>Editor:</dt>
+	<dd rel="bibo:editor">
+	  <span typeof="foaf:Person"><a rel="foaf:homepage" property="foaf:name" content="Eric Prud'hommeaux" href="http://www.w3.org/People/Eric/">Eric Prud'hommeaux</a>, <a rel="foaf:workplaceHomepage" href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a></span>
+	</dd>
+      </dl -->
+      
+      <p class="copyright">
+	<a rel="license" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2008-2012 <span rel="dcterms:publisher"><span typeof="foaf:Organization"><a rel="foaf:homepage" property="foaf:name" content="World Wide Web Consortium" href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup></span></span> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. <acronym title="World Wide Web Consortium">W3C</acronym> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.
+      </p>
+      <hr />
+    </div>
+
+    <div id="abstract" class="introductory section" property="dcterms:abstract" datatype="" typeof="bibo:Chapter" resource="#abstract" rel="bibo:chapter">
+      <h2>Abstract</h2>
+      <p>
+	This document identifies some terms for LDP tests.
+      </p>
+    </div>
+
+    <div id="sotd" class="introductory section" typeof="bibo:Chapter" resource="#sotd" rel="bibo:chapter">
+      <h2>Status of This Document</h2>
+      <p>
+	This is an editor's draft serving as a strawman LDP test framework for the Linked Data Platform specification.
+	This document has no endorsement by the W3C Membership, their pets or livestock, or any person living or dead.
+      </p>
+    </div>
+
+    <div id="terms" class="description of LDP terms" typeof="bibo:Chapter" resource="#terms" rel="bibo:chapter">
+      <h2>Terms</h2>
+      <dl>
+	<dt id="ResourceCreation">ResourceCreation</dt>
+	<dd>Test creation of a new LDPR.</dd>
+
+      </dl>
+    </div>
+
+    
+  </body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/Testing.html	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,106 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML+RDFa 1.0//EN' 'http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd'>
+<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" about="" property="dcterms:language" content="en" xmlns:dcterms='http://purl.org/dc/terms/' xmlns:bibo='http://purl.org/ontology/bibo/' xmlns:foaf='http://xmlns.com/foaf/0.1/' xmlns:xsd='http://www.w3.org/2001/XMLSchema#' version="XHTML+RDFa 1.0" typeof="bibo:Document">
+  <head>
+    <title>Turtle</title>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+    <style type="text/css">
+      /* Style Turtle script blocks to be visable */
+      pre.example script {
+        display:block;
+      }
+    </style> 
+    <link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css" charset="utf-8" />
+  </head>
+
+  <body style="display: inherit; ">
+    <div class="head">
+      <p>
+	<a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C" /></a>
+      </p>
+
+      <h1 property="dcterms:title" class="title" id="title">LDP Tests</h1>
+      <h2 property="bibo:subtitle" id="subtitle">Test Suite for the Linked Data Platform</h2>
+      <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2012-06-27T07:00:00+0000" id="w3c-working-draft-27-june-2012"><acronym title="World Wide Web Consortium">W3C</acronym> Editor's Draft</h2>
+      <!-- dl>
+	<dt>This version:</dt>
+	<dd><a href="http://www.w3.org/TR/2012/WD-turtle-20120710/">http://www.w3.org/TR/2012/WD-turtle-20120710/</a></dd>
+	<dt>Latest published version:</dt>
+	<dd><a href="http://www.w3.org/TR/turtle/">http://www.w3.org/TR/turtle/</a></dd>
+	<dt>Latest editor's draft:</dt>
+	<dd><a href="http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html">http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html</a></dd>
+	<dt>Previous version:</dt>
+	<dd><a rel="dcterms:replaces" href="http://www.w3.org/TR/2011/WD-turtle-20110809/">http://www.w3.org/TR/2011/WD-turtle-20110809/</a></dd>
+	<dt>Editor:</dt>
+	<dd rel="bibo:editor">
+	  <span typeof="foaf:Person"><a rel="foaf:homepage" property="foaf:name" content="Eric Prud'hommeaux" href="http://www.w3.org/People/Eric/">Eric Prud'hommeaux</a>, <a rel="foaf:workplaceHomepage" href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a></span>
+	</dd>
+      </dl -->
+      
+      <p class="copyright">
+	<a rel="license" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2008-2012 <span rel="dcterms:publisher"><span typeof="foaf:Organization"><a rel="foaf:homepage" property="foaf:name" content="World Wide Web Consortium" href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup></span></span> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. <acronym title="World Wide Web Consortium">W3C</acronym> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.
+      </p>
+      <hr />
+    </div>
+
+    <div id="abstract" class="introductory section" property="dcterms:abstract" datatype="" typeof="bibo:Chapter" resource="#abstract" rel="bibo:chapter">
+      <h2>Abstract</h2>
+      <p>
+	This document identifies some terms for general RDF tests.
+	These tests are NOT specific to LDP.
+      </p>
+    </div>
+
+    <div id="sotd" class="introductory section" typeof="bibo:Chapter" resource="#sotd" rel="bibo:chapter">
+      <h2>Status of This Document</h2>
+      <p>
+	This is an editor's draft serving as a strawman general RDF test framework.
+	This document has no endorsement by the W3C Membership, their pets or livestock, or any person living or dead.
+      </p>
+    </div>
+
+    <div id="terms" class="description of LDP terms" typeof="bibo:Chapter" resource="#terms" rel="bibo:chapter">
+      <h2>Terms</h2>
+      <dl>
+	<dt id="Manifest">Manifest</dt>
+	<dd>A general-purpose test manifest for RDF applications and protocols.</dd>
+
+	<dt id="name">name</dt>
+	<dd>A local name for a test. The value should be a valid C identifier.</dd>
+
+	<dt id="entries">entries</dt>
+	<dd>An RDF Collection of the tests included in a Manifest.</dd>
+
+	<dt id="status">status</dt>
+	<dd>
+	  Identifies a test's expected audience or state in an approval process. Values include, but not limited to:
+	  <dl>
+	    <dt id="Proposed">Proposed</dt>
+	    <dd>A test created and pending review by a group assembling a test manifest.</dd>
+
+	    <dt id="general">general</dt>
+	    <dd>A test which has been approved for general use.</dd>
+	  </dl>
+	</dd>
+
+	<dt id="statusReference">statusReference</dt>
+	<dd>A link which verifies or documents the status of a test.</dd>
+
+	<dt id="initialState">initialState</dt>
+	<dd>The initial state for a test, potentially including client and server graphs.</dd>
+
+	<dt id="action">action</dt>
+	<dd>A test-domain-specific action.</dd>
+
+	<dt id="expectedResponse">expectedResponse</dt>
+	<dd>A test-domain-specific response. For instance, an HTTP response if the <a href="#action">action</a> was an HTTP request.</dd>
+
+	<dt id="expectedState">expectedState</dt>
+	<dd>The expected resulting state for a test, potentially including client and server graphs.</dd>
+
+      </dl>
+    </div>
+
+    
+  </body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/basic/Manifest.ttl	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,48 @@
+@prefix : <http://dvcs.w3.org/hg/ldpwg/raw-file/default/tests/basic/Manifest#> .
+@prefix ldpt:   <http://dvcs.w3.org/hg/ldpwg/raw-file/default/tests/Overview.html#> .
+@prefix rdft:   <http://dvcs.w3.org/hg/ldpwg/raw-file/default/tests/Testing.html#> .
+@prefix verb:   <http://www.w3.org/2011/http-methods#> .
+@prefix mesg:   <http://www.w3.org/TR/HTTP-in-RDF10/#> .
+@prefix rdfs:	<http://www.w3.org/2000/01/rdf-schema#> .
+
+<>  a rdft:Manifest ;
+    rdfs:comment "Tests for GRAPH" ;
+    rdft:entries
+    (
+	:NetWorth_0_4_post
+	:NetWorth_3_4_post
+	:NetWorth_4_4_post
+   ).
+
+:NetWorth_0_4_post  a ldpt:ResourceCreation ;
+	rdft:name "NetWorth_0_4_post" ;
+    rdfs:comment  "POST { [] dcterms:title 'IBM' ; o:value 100.00 } to empty container." ;
+    rdft:status rdft:Proposed ;
+    # rdft:statusReference <http://lists.w3.org/Archives/Public/public-ldpwg/.../minutes> ;
+    rdft:initialState <NetWorth_0_4.trig> ;
+    rdft:action [ a verb:POST ;
+        mesg:bodyProperty <NetWorth_0_4_post.ttl> ] ;
+    rdft:finalState <NetWorth_1_4.trig> .
+
+:NetWorth_3_4_post  a ldpt:ResourceCreation ;
+	rdft:name "NetWorth_3_4_post" ;
+    rdfs:comment  "POST { [] dcterms:title 'Home' ; o:value 1.00 } with room on page." ;
+    rdft:status rdft:Proposed ;
+    rdft:initialState <NetWorth_3_4.trig> ;
+    rdft:action [ a verb:POST ;
+        mesg:bodyProperty <NetWorth_3_4_post.ttl> ] ;
+    rdft:finalState <NetWorth_4_4.trig> .
+
+:NetWorth_4_4_post  a ldpt:ResourceCreation ;
+	rdft:name "NetWorth_4_4_post" ;
+    rdfs:comment  "POST { [] dcterms:title 'Big Co.' ; o:value 200.00 } with no room on page." ;
+    rdft:status rdft:Proposed ;
+    rdft:initialState <NetWorth_4_4.trig> ;
+    rdft:action [ a verb:POST ;
+        mesg:bodyProperty <NetWorth_4_4_post.ttl> ] ;
+    rdft:finalState <NetWorth_5_4.trig> .
+
+
+#   SPARQL update used this for datastore state:
+#        ut:graphData  [ ut:graph <spo.ttl> ;
+#                        rdfs:label "http://example.org/g1" ] 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/basic/NetWorth_0_4.trig	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,9 @@
+@prefix container: <http://example.org/netWorth/nw1/assetContainer> .
+@prefix page: <http://example.org/netWorth/nw1/assetContainer?p=> .
+@prefix membership: <http://example.org/netWorth/nw1> .
+@prefix asset: <http://example.org/netWorth/nw1/assetContainer/> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
+@prefix bp: <http://open-services.net/ns/basicProfile#>.
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix o: <http://example.org/ontology/> .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/basic/NetWorth_0_4_post.ttl	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,5 @@
+@prefix o: <http://example.org/ontology/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+[] a o:Stock ; dcterms:title "IBM" ;
+   o:value 100.00 ; dcterms:date "2012-01-01"^^xsd:date .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/basic/NetWorth_1_4.trig	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,22 @@
+@prefix container: <http://example.org/netWorth/nw1/assetContainer> .
+@prefix page: <http://example.org/netWorth/nw1/assetContainer?p=> .
+@prefix membership: <http://example.org/netWorth/nw1> .
+@prefix asset: <http://example.org/netWorth/nw1/assetContainer/> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
+@prefix bp: <http://open-services.net/ns/basicProfile#>.
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix o: <http://example.org/ontology/> .
+page:1 {
+    container: a bp:Container ;
+        dcterms:title "The assets of JohnZSmith" ;
+        bp:membershipSubject membership: ;
+        bp:membershipPredicate o:asset .
+    page:1 a bp:Page ;
+        bp:pageOf container: ;
+        bp:nextPage rdf:nil .
+    membership: a o:NetWorth .
+    membership: o:asset asset:a1 .
+    asset:a1 a o:Stock ; dcterms:title "IBM" ; o:value 100.00 .
+}
+asset:a1 { asset:a1 a o:Stock ; o:value 100.00 ; dcterms:title "IBM" ; dcterms:date "2012-01-01"^^xsd:date }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/basic/NetWorth_3_4.trig	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,28 @@
+@prefix container: <http://example.org/netWorth/nw1/assetContainer> .
+@prefix page: <http://example.org/netWorth/nw1/assetContainer?p=> .
+@prefix membership: <http://example.org/netWorth/nw1> .
+@prefix asset: <http://example.org/netWorth/nw1/assetContainer/> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
+@prefix bp: <http://open-services.net/ns/basicProfile#>.
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix o: <http://example.org/ontology/> .
+page:1 {
+    container: a bp:Container ;
+        dcterms:title "The assets of JohnZSmith" ;
+        bp:membershipSubject membership: ;
+        bp:membershipPredicate o:asset .
+    page:1 a bp:Page ;
+        bp:pageOf container: ;
+        bp:nextPage rdf:nil .
+    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 .
+}
+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 }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/basic/NetWorth_3_4_post.ttl	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,5 @@
+@prefix o: <http://example.org/ontology/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+[] a o:House ; dcterms:title "Home" ;
+   o:value 1.00 ; dcterms:date "2012-01-04"^^xsd:date .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/basic/NetWorth_4_4.trig	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,31 @@
+@prefix container: <http://example.org/netWorth/nw1/assetContainer> .
+@prefix page: <http://example.org/netWorth/nw1/assetContainer?p=> .
+@prefix membership: <http://example.org/netWorth/nw1> .
+@prefix asset: <http://example.org/netWorth/nw1/assetContainer/> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
+@prefix bp: <http://open-services.net/ns/basicProfile#>.
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix o: <http://example.org/ontology/> .
+page:1 {
+    container: a bp:Container ;
+        dcterms:title "The assets of JohnZSmith" ;
+        bp:membershipSubject membership: ;
+        bp:membershipPredicate o:asset .
+    page:1 a bp:Page ;
+        bp:pageOf container: ;
+        bp:nextPage rdf:nil .
+    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 .
+}
+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 }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/basic/NetWorth_4_4_post.ttl	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,5 @@
+@prefix o: <http://example.org/ontology/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+[] a o:Stock ; dcterms:title "Big Co." ;
+   o:value 200.02 ; dcterms:date "2012-01-05"^^xsd:date .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/basic/NetWorth_5_4.trig	Tue Jan 29 13:18:50 2013 -0500
@@ -0,0 +1,44 @@
+@prefix container: <http://example.org/netWorth/nw1/assetContainer> .
+@prefix page: <http://example.org/netWorth/nw1/assetContainer?p=> .
+@prefix membership: <http://example.org/netWorth/nw1> .
+@prefix asset: <http://example.org/netWorth/nw1/assetContainer/> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
+@prefix bp: <http://open-services.net/ns/basicProfile#>.
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix o: <http://example.org/ontology/> .
+page:1 {
+    container: a bp:Container ;
+        dcterms:title "The assets of JohnZSmith" ;
+        bp:membershipSubject membership: ;
+        bp:membershipPredicate o:asset .
+    page:1 a bp:Page ;
+        bp:pageOf container: ;
+        bp:nextPage page:2 .
+    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 .
+}
+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 {
+    container: a bp:Container ;
+        dcterms:title "The assets of JohnZSmith" ;
+        bp:membershipSubject membership: ;
+        bp:membershipPredicate o:asset .
+    page:2 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 .
+}
+asset:a5 { asset:a5 a o:Stock ; o:value 200.02 ; dcterms:title "Big Co." ; dcterms:date "2012-01-05"^^xsd:date }