ISSUE-29 - Use relative URIs in examples
authorsspeiche
Mon, 25 Feb 2013 16:44:55 -0500
changeset 72 73a5766e4794
parent 71 5a2794d3ab13
child 73 c19607773ae2
ISSUE-29 - Use relative URIs in examples
ldp.html
--- a/ldp.html	Mon Feb 25 16:20:40 2013 -0500
+++ b/ldp.html	Mon Feb 25 16:44:55 2013 -0500
@@ -222,7 +222,7 @@
     
 <section id='conformance'>
 
-<p>The status of the sections of Linked Data Platform 1.0 (this document) is as follows:
+<p>The status of the sections of Linked Data Platform 1.0 (this document) is as follows:</p>
 <ul>
   <li>1. Introduction: <b>informative</b></li>
   <li>2. Terminology: <b>informative</b></li>
@@ -234,7 +234,6 @@
   <li>D.1 Normative references: <b>normative</b></li>
   <li>D.2 Informative references: <b>informative</b></li>
 </ul>
-</p>
 
 <p>A conforming <b>LDP Server</b> is an application program that processes HTTP 
 requests and generates HTTP responses that conform to the rules defined in sections on <a href="#linked-data-platform-resources">LDPRs</a>
@@ -352,6 +351,7 @@
 		necessary to conform to this specification. These
 		could be other RDF formats, like N3 or NTriples, but non-RDF formats
 		like HTML [[!HTML401]] and JSON [[!RFC4627]] would be likely be common.
+	</div>
 		
 	<div id="ldpr-4_1_11" class="rule">4.1.11 LDPRs MAY be created, updated and deleted using methods not defined in
 		this document, for example through application-specific means, SPARQL
@@ -595,13 +595,10 @@
 @prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;.
 @prefix ldp: &lt;http://www.w3.org/ns/ldp#&gt;.
 
-&lt;http://example.org/container1&gt;
+&lt;&gt;
    a ldp:Container;
    dcterms:title "A very simple container";
-   rdfs:member
-      &lt;http://example.org/container1/member1&gt;,
-      &lt;http://example.org/container1/member2&gt;,
-      &lt;http://example.org/container1/member3&gt;.</pre>
+   rdfs:member &lt;member1&gt;, &lt;member2&gt;, &lt;member3&gt;.</pre>
 
 	<p>This example is very straightforward - the
 			membership predicate is <code>rdfs:member</code> and the membership subject is the container
@@ -617,20 +614,17 @@
 <pre class="example" id="ldpc-ex-membership-subj">
 # The following is the representation of
 #   http://example.org/netWorth/nw1/assetContainer
-@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;.
 @prefix ldp: &lt;http://www.w3.org/ns/ldp#&gt;.
 @prefix o: &lt;http://example.org/ontology/&gt;.
 
-&lt;http://example.org/netWorth/nw1/assetContainer&gt;
+&lt;&gt;
    a ldp:Container;
    ldp:membershipSubject &lt;http://example.org/netWorth/nw1&gt;;
    ldp:membershipPredicate o:asset.
 
 &lt;http://example.org/netWorth/nw1&gt;
    a o:NetWorth;
-   o:asset
-      &lt;http://example.org/netWorth/nw1/assetContainer/a1&gt;,
-      &lt;http://example.org/netWorth/nw1/assetContainer/a2&gt;.</pre>
+   o:asset &lt;a1&gt;, &lt;a2&gt;.</pre>
 
 	<p>
 		The essential structure of the container is
@@ -672,11 +666,10 @@
 <pre class="example"># The following is the representation of
 #	 http://example.org/netWorth/nw1/assetContainer
 @prefix dcterms: &lt;http://purl.org/dc/terms/&gt;.
-@prefix rdfs:    &lt;http://www.w3.org/2000/01/rdf-schema#&gt;.
 @prefix ldp:      &lt;http://www.w3.org/ns/ldp#&gt;.
 @prefix o:       &lt;http://example.org/ontology/&gt;.
 
-&lt;http://example.org/netWorth/nw1/assetContainer&gt;
+&lt;&gt;
    a ldp:Container;
    dcterms:title "The assets of JohnZSmith";
    ldp:membershipSubject &lt;http://example.org/netWorth/nw1&gt;;
@@ -684,18 +677,15 @@
 
 &lt;http://example.org/netWorth/nw1&gt;
    a o:NetWorth;
-   o:asset
-      &lt;http://example.org/netWorth/nw1/assetContainer/a1&gt;,
-      &lt;http://example.org/netWorth/nw1/assetContainer/a3&gt;,
-      &lt;http://example.org/netWorth/nw1/assetContainer/a2&gt;.
+   o:asset &lt;a1&gt;, &lt;a3&gt;, &lt;a2&gt;.
 
-&lt;http://example.org/netWorth/nw1/assetContainer/a1&gt;
+&lt;a1&gt;
    a o:Stock;
    o:value 10000.
-&lt;http://example.org/netWorth/nw1/assetContainer/a2&gt;
+&lt;a2&gt;
    a o:Bond;
    o:value 20000.
-&lt;http://example.org/netWorth/nw1/assetContainer/a3&gt;
+&lt;a3&gt;
    a o:RealEstateHolding;
    o:value 300000.</pre>
 
@@ -879,36 +869,32 @@
 		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
-@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;.
 @prefix dcterms: &lt;http://purl.org/dc/terms/&gt;.
 @prefix ldp: &lt;http://www.w3.org/ns/ldp#&gt;.
 @prefix o: &lt;http://example.org/ontology/&gt;.
 
-&lt;http://example.org/netWorth/nw1/assetContainer&gt;
+&lt;&gt;
    a ldp:Container;
    dcterms:title "The assets of JohnZSmith";
    ldp:membershipSubject &lt;http://example.org/netWorth/nw1&gt;;
    ldp:membershipPredicate o:asset.
 
-&lt;http://example.org/netWorth/nw1/assetContainer?firstPage&gt;
+&lt;?firstPage&gt;
    a ldp:Page;
-   ldp:pageOf &lt;http://example.org/netWorth/nw1/assetContainer&gt;;
+   ldp:pageOf &lt;&gt;;
    ldp:containerSortPredicates (o:value).
 
 &lt;http://example.org/netWorth/nw1&gt;
    a o:NetWorth;
-   o:asset
-      &lt;http://example.org/netWorth/nw1/assetContainer/a1&gt;,
-      &lt;http://example.org/netWorth/nw1/assetContainer/a3&gt;,
-      &lt;http://example.org/netWorth/nw1/assetContainer/a2&gt;.
+   o:asset &lt;a1&gt;, &lt;a3&gt;, &lt;a2&gt;.
 
-&lt;http://example.org/netWorth/nw1/assetContainer/a1&gt;
+&lt;a1&gt;
    a o:Stock;
    o:value 100.00.
-&lt;http://example.org/netWorth/nw1/assetContainer/a2&gt;
+&lt;a2&gt;
    a o:Cash;
    o:value 50.00.
-&lt;http://example.org/netWorth/nw1/assetContainer/a3&gt;
+&lt;a3&gt;
    a o:RealEstateHolding;
    o:value 300000.</pre>
 		<p>
@@ -1242,7 +1228,8 @@
 <h1>Change History</h1>
 <blockquote><em>First Public Working Draft</em></blockquote>
 <ul>
-	<li>2013-02-25 - ISSUE-31 Added a more complete conformance section, motived by SPARQL 1.1 (SS)</li>
+	<li>2013-02-25 - ISSUE-29 - Use relative URIs in examples (SS)</li>
+	<li>2013-02-25 - ISSUE-31 - Added a more complete conformance section, motived by SPARQL 1.1 (SS)</li>
 	<li>2013-02-25 - Updating some simple formatting, reorganizing open issues and todos. (SS) </li>
 	<li>2013-02-15 - ISSUE-34 - Aggregration: 5.6.1 and 5.6.2 updated for review. (JA) </li>
 	<li>2013-02-13 - ISSUE-42 - 4.8 Common Properties moved to 
@@ -1253,10 +1240,10 @@
 	<li>2013-02-12 - ISSUE-11 - 4.4.1 Relaxed the MUST ignore dc:modified/creator to MAY (SS) </li>
 	<li>2013-01-16 - ISSUE-25 Updated introduction. 5.2.2 changed to MUST NOT be in multiple containers. Flipped 5.6.1/2 as 
 	first rule leads to 2nd. 5.6.2(was .1) Delete LDPC MUST also delete members. (SS)</li>
-	<li>2013-01-16 - Added new issues ranging from 26-43. Removed closed/deferred issues: 2 & 3 (SS)</li>
+	<li>2013-01-16 - Added new issues ranging from 26-43. Removed closed/deferred issues: 2 &amp; 3 (SS)</li>
 	<li>2012-12-28 - Fixed Typos.  Separated some compound rules like 4.1.5.  Rewording for clarity: 4.1.10, 
 	Text being repeated in several places centralized and cross-linked.  Made printed code output easier to read
-	on black & white printers.  Exposed terms defined in-line under LDPC as Terminology (tentatively).  Removed non-normative
+	on black &amp; white printers.  Exposed terms defined in-line under LDPC as Terminology (tentatively).  Removed non-normative
 	qualifer from section 5.2.  Added "several" editors' to-dos.(JA)</li>
 	<li>2012-11-05 - minor rewording from ISSUE-24</li>
 	<li>2012-11-03 - ISSUE-22, ISSUE-23: changed sections 4.2.3 and 5.4.7. Removed closed issues. (SS)</li>