Get examples to validate, per http://lists.w3.org/Archives/Public/public-ldp-wg/2013Aug/0002.html and messages that came up once those noted were fixed.
--- a/ldp.html Mon Aug 26 10:59:14 2013 +0200
+++ b/ldp.html Mon Aug 26 08:54:22 2013 -0400
@@ -947,13 +947,15 @@
<pre class="example"># The following is the representation of
# http://example.org/container1/
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base <http://example.org/container1/>
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.
<>
a ldp:Container;
- ldp:membershipSubject <>
+ ldp:membershipSubject <> ;
ldp:membershipPredicate rdfs:member;
ldp:membershipObject ldp:MemberSubject;
dcterms:title "A very simple container";
@@ -972,6 +974,8 @@
<pre class="example" id="ldpc-ex-membership-partial"># The following is a partial representation of
# http://example.org/netWorth/nw1
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base <http://example.org/netWorth/nw1/>
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix o: <http://example.org/ontology/>.
<>
@@ -995,6 +999,8 @@
<pre class="example" id="ldpc-ex-membership-full"># The following is an elaborated representation of
# http://example.org/netWorth/nw1/
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base <http://example.org/netWorth/nw1/>
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix o: <http://example.org/ontology/>.
@@ -1042,6 +1048,8 @@
<pre class="example" id="ldpc-ex-membership-subj"># The following is the representation of
# http://example.org/netWorth/nw1/assetContainer/
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base <http://example.org/netWorth/nw1/assetContainer/>
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix o: <http://example.org/ontology/>.
@@ -1079,6 +1087,8 @@
<pre class="example"># The following is the representation of
# http://example.org/netWorth/nw1/assetContainer/
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base <http://example.org/netWorth/nw1/assetContainer/>
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix o: <http://example.org/ontology/>.
@@ -1096,13 +1106,13 @@
<a1>
a o:Stock;
- o:value 10000.
+ o:value 10000 .
<a2>
a o:Bond;
- o:value 20000.
+ o:value 20000 .
<a3>
a o:RealEstateHolding;
- o:value 300000.</pre>
+ o:value 300000 .</pre>
<p>In a similar manner, when the representation for the resource of asset <var>.../<a1></var> is returned a
server may include the membership triple of the form <var>(.../nw1, o:asset, .../a1).</var></p>
@@ -1146,7 +1156,7 @@
<http://example.org/container1/>
a ldp:Container;
dcterms:title "A Linked Data Platform Container of Acme Resources";
- ldp:membershipSubject http://example.org/container1/;
+ ldp:membershipSubject <http://example.org/container1/>;
ldp:membershipPredicate rdfs:member;
ldp:membershipObject ldp:MemberSubject;
dcterms:publisher <http://acme.com/>.</pre>
@@ -1191,6 +1201,8 @@
previously, with representation for ordering of the assets:</p>
<pre class="example"># The following is the ordered representation of
# http://example.org/netWorth/nw1/assetContainer/
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base <http://example.org/netWorth/nw1/assetContainer/>
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix o: <http://example.org/ontology/>.
@@ -1205,7 +1217,7 @@
<?firstPage>
a ldp:Page;
ldp:pageOf <>;
- ldp:containerSortCriteria (#SortValueAscending).
+ ldp:containerSortCriteria (<#SortValueAscending>).
<#SortValueAscending>
a ldp:ContainerSortCriterion;
@@ -1218,13 +1230,13 @@
<a1>
a o:Stock;
- o:value 100.00.
+ o:value 100.00 .
<a2>
a o:Cash;
- o:value 50.00.
+ o:value 50.00 .
<a3>
a o:RealEstateHolding;
- o:value 300000.</pre>
+ o:value 300000 .</pre>
<p>
As you can see by the addition of the <code>ldp:ContainerSortCriteria</code>
predicate, the <code>o:value</code> predicate is used