Addressing John's comments 1, changing all host names to example.org
authorNandana Mihindukulasooriya <nandana.cse@gmail.com>
Mon, 02 Jun 2014 16:54:04 +0200
changeset 631 154ac3cdaff9
parent 630 6572d5865a89
child 633 e89b28e3ce42
Addressing John's comments 1, changing all host names to example.org
ldp-primer/bc_after_bin.txt
ldp-primer/bc_after_del.txt
ldp-primer/bccreate.txt
ldp-primer/bcget_res.txt
ldp-primer/create_cr_req.txt
ldp-primer/create_cr_s1.txt
ldp-primer/create_cr_s2.txt
ldp-primer/create_cr_s3.txt
ldp-primer/foafupdate.txt
ldp-primer/getbc_res.txt
ldp-primer/ldp-primer.html
--- a/ldp-primer/bc_after_bin.txt	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/bc_after_bin.txt	Mon Jun 02 16:54:04 2014 +0200
@@ -1,16 +1,16 @@
 @prefix dcterms: <http://purl.org/dc/terms/>.
 @prefix ldp: <http://www.w3.org/ns/ldp#>.
   
-<http://data.example.org/alice/> a ldp:Container, ldp:BasicContainer;
+<http://example.org/alice/> a ldp:Container, ldp:BasicContainer;
    dcterms:title 'Alice’s data storage on the Web' ;
-   ldp:contains <http://data.example.org/alice/foaf> , <http://data.example.org/alice/avatar> . 
+   ldp:contains <http://example.org/alice/foaf> , <http://example.org/alice/avatar> . 
 
 ---
   
 {
   "@context": "https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp-primer/context.json",
-  "@id": "http://data.example.org/alice/",
+  "@id": "http://example.org/alice/",
   "@type": [ "ldp:Container", "ldp:BasicContainer"],
   "dcterms:title": "Alice’s data storage on the Web",
-  "ldp:contains": [{ "@id": "http://data.example.org/alice/foaf" }, { "@id": "http://data.example.org/alice/avatar" } ]
+  "ldp:contains": [{ "@id": "http://example.org/alice/foaf" }, { "@id": "http://example.org/alice/avatar" } ]
 }
\ No newline at end of file
--- a/ldp-primer/bc_after_del.txt	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/bc_after_del.txt	Mon Jun 02 16:54:04 2014 +0200
@@ -1,16 +1,16 @@
 @prefix dcterms: <http://purl.org/dc/terms/>.
 @prefix ldp: <http://www.w3.org/ns/ldp#>.
   
-<http://data.example.org/alice/> a ldp:Container, ldp:BasicContainer;
+<http://example.org/alice/> a ldp:Container, ldp:BasicContainer;
    dcterms:title 'Alice’s data storage on the Web' ;
-   ldp:contains <http://data.example.org/alice/foaf> . 
+   ldp:contains <http://example.org/alice/foaf> . 
 
 ---
   
 {
   "@context": "https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp-primer/context.json",
-  "@id": "http://data.example.org/alice/",
+  "@id": "http://example.org/alice/",
   "@type": [ "ldp:Container", "ldp:BasicContainer"],
   "dcterms:title": "Alice’s data storage on the Web",
-  "ldp:contains": { "@id": "http://data.example.org/alice/foaf" }
+  "ldp:contains": { "@id": "http://example.org/alice/foaf" }
 }
\ No newline at end of file
--- a/ldp-primer/bccreate.txt	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/bccreate.txt	Mon Jun 02 16:54:04 2014 +0200
@@ -1,5 +1,5 @@
 POST /alice/ HTTP/1.1
-Host: data.example.org
+Host: example.org
 Slug: foaf
 Content-Type: text/turtle
 
@@ -16,7 +16,7 @@
 ---
 
 POST /alice/ HTTP/1.1
-Host: data.example.org
+Host: example.org
 Slug: foaf
 Content-Type: application/ld+json
 
--- a/ldp-primer/bcget_res.txt	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/bcget_res.txt	Mon Jun 02 16:54:04 2014 +0200
@@ -7,9 +7,9 @@
 @prefix dcterms: <http://purl.org/dc/terms/>.
 @prefix ldp: <http://www.w3.org/ns/ldp#>.
   
-<http://data.example.org/alice/> a ldp:Container, ldp:BasicContainer;
+<http://example.org/alice/> a ldp:Container, ldp:BasicContainer;
    dcterms:title 'Alice’s data storage on the Web' ;
-   ldp:contains <http://data.example.org/alice/foaf> . 
+   ldp:contains <http://example.org/alice/foaf> . 
 
 ---
 
@@ -21,8 +21,8 @@
   
 {
   "@context": "https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp-primer/context.json",
-  "@id": "http://data.example.org/alice/",
+  "@id": "http://example.org/alice/",
   "@type": [ "ldp:Container", "ldp:BasicContainer"],
   "dcterms:title": "Alice’s data storage on the Web",
-  "ldp:contains": { "@id": "http://data.example.org/alice/foaf" }
+  "ldp:contains": { "@id": "http://example.org/alice/foaf" }
 }
\ No newline at end of file
--- a/ldp-primer/create_cr_req.txt	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/create_cr_req.txt	Mon Jun 02 16:54:04 2014 +0200
@@ -1,5 +1,5 @@
 POST alice/ HTTP/1.1
-Host: data.example.org
+Host: example.org
 Content-Type: text/turtle
 Link: <http://www.w3.org/ns/ldp/BasicContainer>; rel='type'
 Slug: photos
@@ -10,7 +10,7 @@
    
 ---
 POST alice/ HTTP/1.1
-Host: data.example.org
+Host: example.org
 Content-Type: application/ld+json
 Link: <http://www.w3.org/ns/ldp/BasicContainer>; rel='type'
 Slug: photos
--- a/ldp-primer/create_cr_s1.txt	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/create_cr_s1.txt	Mon Jun 02 16:54:04 2014 +0200
@@ -1,13 +1,13 @@
-<http://data.example.org/alice/> a ldp:Container, ldp:BasicContainer ;
+<http://example.org/alice/> a ldp:Container, ldp:BasicContainer ;
     dcterms:title "Alice’s data storage on the Web" ;
-    ldp:contains <http://data.example.org/alice/foaf> .
+    ldp:contains <http://example.org/alice/foaf> .
     
 ---
 
 {
   "@context": "https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp-primer/context.json",
-  "@id": "http://data.example.org/alice/",
+  "@id": "http://example.org/alice/",
   "@type": [ "ldp:Container", "ldp:BasicContainer"],
   "dcterms:title": "Alice’s data storage on the Web",
-  "ldp:contains": { "@id": "http://data.example.org/alice/foaf" }
+  "ldp:contains": { "@id": "http://example.org/alice/foaf" }
 }
\ No newline at end of file
--- a/ldp-primer/create_cr_s2.txt	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/create_cr_s2.txt	Mon Jun 02 16:54:04 2014 +0200
@@ -1,15 +1,15 @@
-<http://data.example.org/alice/> a ldp:Container, ldp:BasicContainer ;
+<http://example.org/alice/> a ldp:Container, ldp:BasicContainer ;
     dcterms:title "Alice’s data storage on the Web";
-    ldp:contains <http://data.example.org/alice/foaf> , <http://data.example.org/alice/photos/> .
+    ldp:contains <http://example.org/alice/foaf> , <http://example.org/alice/photos/> .
     
 ---
 {
   "@context": "https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp-primer/context.json",
-  "@id": "http://data.example.org/alice/",
+  "@id": "http://example.org/alice/",
   "@type": [ ldp:Container, ldp:BasicContainer ],
   "dcterms:title": "Alice’s data storage on the Web",
   "ldp:contains": [
-     { "@id": "http://data.example.org/alice/foaf" },
-     { "@id": "http://data.example.org/alice/photos/" }
+     { "@id": "http://example.org/alice/foaf" },
+     { "@id": "http://example.org/alice/photos/" }
    ]
 }
\ No newline at end of file
--- a/ldp-primer/create_cr_s3.txt	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/create_cr_s3.txt	Mon Jun 02 16:54:04 2014 +0200
@@ -1,4 +1,4 @@
-<http://data.example.org/alice/photos/> a ldp:Container, ldp:BasicContainer;
+<http://example.org/alice/photos/> a ldp:Container, ldp:BasicContainer;
   dcterms:title "Photos of Alice" ;
   dcterms:description "This container will contain photos of Alice." .  
    
--- a/ldp-primer/foafupdate.txt	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/foafupdate.txt	Mon Jun 02 16:54:04 2014 +0200
@@ -1,5 +1,5 @@
 PUT /alice/foaf HTTP/1.1
-Host: data.example.org
+Host: example.org
 If-Match: W/&quot;123454321&quot;
 Content-Type: text/turtle
 
@@ -12,7 +12,7 @@
 
 &lt;#me&gt; a foaf:Person;
     foaf:name &quot;Alice Smith&quot;  ;
-    foaf:img &lt;http://data.example.org/alice/avatar&gt; .
+    foaf:img &lt;http://example.org/alice/avatar&gt; .
       
 ---
 
@@ -24,7 +24,7 @@
     "@id": "#me",
     "@type": "foaf:Person",
     "foaf:name" : "Alice Smith",
-    "foaf:img" : { "@id": "http://data.example.org/alice/avatar" }
+    "foaf:img" : { "@id": "http://example.org/alice/avatar" }
   },
   "dcterms:title": "Alice’s FOAF file"
 }
\ No newline at end of file
--- a/ldp-primer/getbc_res.txt	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/getbc_res.txt	Mon Jun 02 16:54:04 2014 +0200
@@ -7,7 +7,7 @@
 @prefix dcterms: <http://purl.org/dc/terms/>.
 @prefix ldp: <http://www.w3.org/ns/ldp#>.
 	
-<http://data.example.org/alice/> a ldp:Container, ldp:BasicContainer;
+<http://example.org/alice/> a ldp:Container, ldp:BasicContainer;
   dcterms:title 'Alice’s data storage on the Web' .		
 
 ---
@@ -20,7 +20,7 @@
 	
 {
   "@context": "https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp-primer/context.json",
-  "@id": "http://data.example.org/alice/",
+  "@id": "http://example.org/alice/",
   "@type": [ "ldp:Container", "ldp:BasicContainer"],
   "dcterms:title": "Alice’s data storage on the Web",
 }
\ No newline at end of file
--- a/ldp-primer/ldp-primer.html	Mon Jun 02 15:48:55 2014 +0200
+++ b/ldp-primer/ldp-primer.html	Mon Jun 02 16:54:04 2014 +0200
@@ -437,13 +437,13 @@
     </table>
 
     <p>
-      In this example, we will see how Alice, a user of this system, does read / write management of documents using the LDP protocol. A typical interaction with the system would start with Alice registering as a user. It is likely that registration would be a LDP based interaction, but this aspect is out of scope of this example. A consequence of the registration is allocation of space for the storage of documents, and communication of this URL to the user, e.g. a basic container at http://data.example.org/alice/. This section describes a typical flow of interactions where Alice firsts reads the root document and discovers its affordances. This is followed by subsequent examples of creation, update and delete, and finishes with how the client is able to create nested structure from the containers.  
+      In this example, we will see how Alice, a user of this system, does read / write management of documents using the LDP protocol. A typical interaction with the system would start with Alice registering as a user. It is likely that registration would be a LDP based interaction, but this aspect is out of scope of this example. A consequence of the registration is allocation of space for the storage of documents, and communication of this URL to the user, e.g. a basic container at http://example.org/alice/. This section describes a typical flow of interactions where Alice firsts reads the root document and discovers its affordances. This is followed by subsequent examples of creation, update and delete, and finishes with how the client is able to create nested structure from the containers.  
     </p>
 
     <section id="filelookup">
       <h2>Looking up a basic container (GET on an LDP-BC) </h2>
 
-      <p>First Alice looks up her storage by retrieving the LDP Basic Container assigned to her to hold her documents. Alice's LDP client does this by doing a GET request on the URI, http://data.example.org/alice/. </p>
+      <p>First Alice looks up her storage by retrieving the LDP Basic Container assigned to her to hold her documents. Alice's LDP client does this by doing a GET request on the URI, http://example.org/alice/. </p>
 
       <pre title="Request - basic container retreival" class='example' data-include='getbc.txt' data-oninclude='fixCode'></pre> 
       
@@ -502,7 +502,7 @@
 Link: &lt;http://www.w3.org/ns/ldp#Resource&gt;; rel=&#39;type&#39;
 Content-Length: 0 
    </pre>
-      <p> The response to the create request provides a Link to the newly created resource using the Location header. In this case, the server has honored the hint provided by the Slug header and created the new resource in the URL http://data.example.org </p>
+      <p> The response to the create request provides a Link to the newly created resource using the Location header. In this case, the server has honored the hint provided by the Slug header and created the new resource in the URL http://example.org </p>
       <p>Knowing the URL of the newly created resource, Alice can check the container again to confirm that the container correctly contains the newly created resource.</p>
 
       <pre title="Request - basic container retreival after resource created" class="example">
@@ -525,7 +525,7 @@
 
       <pre title="Request - creating a non-RDF resource" class="example"> 
 POST /alice/ HTTP/1.1
-Host: data.example.org
+Host: example.org
 Slug: avatar
 Link: &lt;http://www.w3.org/ns/ldp#Resource&gt;; rel=&quot;type&quot;
 Content-Type: image/png
@@ -538,7 +538,7 @@
 HTTP/1.1 201 Created
 Location: /alice/avatar
 Link: &lt;http://www.w3.org/ns/ldp#Resource&gt;; rel=&quot;type&quot;
-Link: &lt;http://data.example.org/alice/avatar/meta&gt;; rel=&quot;describedby&quot;
+Link: &lt;http://example.org/alice/avatar/meta&gt;; rel=&quot;describedby&quot;
 Content-Length: 0   
    </pre> 
    
@@ -584,7 +584,7 @@
 
       <pre title="Request - deleting a RDF resource" class="example"> 
 DELETE /alice/avatar HTTP/1.1
-Host: data.example.org
+Host: example.org
 If-Match: W/&quot;123454322&quot;        
    </pre>