json-ld messages - maybe
authorRoger Menday <roger.menday@uk.fujitsu.com>
Mon, 05 Aug 2013 22:35:11 +0100
changeset 251 2e8c2fcfd7a7
parent 250 6278282623ce
child 252 e1f7ffe2c197
json-ld messages - maybe
ldp-primer/attachments_post_req.ttl
ldp-primer/attachments_post_res.ttl
ldp-primer/attachments_s1.ttl
ldp-primer/attachments_s2.ttl
ldp-primer/bug_create_req.ttl
ldp-primer/bug_create_res.ttl
ldp-primer/bug_create_s1.ttl
ldp-primer/bug_create_s2.ttl
ldp-primer/bug_look_up_resp.ttl
ldp-primer/bug_update_req.ttl
ldp-primer/ldpc_ex.ttl
ldp-primer/ldpc_ex_m.ttl
ldp-primer/ldpc_ex_non_ldpr.ttl
ldp-primer/ldpr_ex.ttl
ldp-primer/product_create_req.ttl
ldp-primer/product_create_res.ttl
ldp-primer/product_create_s1.ttl
ldp-primer/product_create_s2.ttl
ldp-primer/product_create_s3.ttl
ldp-primer/product_lookup.ttl
ldp-primer/product_lookup_resp.ttl
--- a/ldp-primer/attachments_post_req.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-POST /Bug1/attachments/ HTTP/1.1
-Host: example.org
-Content-Type: image/png
-Slug: login-page.png
-Content-Length: 1254
-
-#### binary data ##### 
\ No newline at end of file
--- a/ldp-primer/attachments_post_res.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-HTTP/1.1 201 Created
-Location: /Bug1/attachments/login-page.png
-Link: </Bug1/attachments/attachment1>; rel="meta"
-Content-Length: 0
\ No newline at end of file
--- a/ldp-primer/attachments_s1.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-</app/product1/bug3/attachments/> a ldp:Container;
-    dcterms:title "A container that tracks bugs of Product A" ;
-    ldp:membershipSubject <>;
-    ldp:membershipPredicate bt:hasAttachment;
-    ldp:membershipObject ldp:MemberSubject .
\ No newline at end of file
--- a/ldp-primer/attachments_s2.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-</app/product1/bug3/attachments/> a ldp:Container;
-    dcterms:title "A container that tracks bugs of Product A" ;
-    ldp:membershipSubject <>;
-    ldp:membershipPredicate bt:hasAttachment;
-    ldp:membershipObject ldp:MemberSubject;
-    bt:hasAttachment <login-page.png> . 
\ No newline at end of file
--- a/ldp-primer/bug_create_req.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-POST /app/product1 HTTP/1.1
-Host: example.org
-Content-Type: text/turtle
- 
-<> a bt:Bug;
-     dcterms:title "Product A crashes when shutting down.";
-     dcterms:creator </app/users/johndoe> . 
\ No newline at end of file
--- a/ldp-primer/bug_create_res.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-HTTP/1.1 201 Created
-Location: /app/BugTracker/ProductA/Bug1
-Content-Length: 0 
\ No newline at end of file
--- a/ldp-primer/bug_create_s1.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<http://example.org/app/BugTracker/ProductA> a ldp:Container, bt:Product;
-    dcterms:title "A container that tracks bugs of Product A" ;
-    bt:hasbug </app/product1/bug3> ;
-    bt:hasbug </app/product1/bug4> ;
-	bt:hasbug </app/product1/bug67> .
\ No newline at end of file
--- a/ldp-primer/bug_create_s2.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-</app/product1/bug67> a bt:Bug;
-     dcterms:title "Product A crashes when shutting down.";
-     dcterms:creator </app/users/johndoe>;
-     dcterms:created "2013-05-05T10:00"^^xsd:dateTime;
-     bt:isInState "New" .
\ No newline at end of file
--- a/ldp-primer/bug_look_up_resp.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-HTTP/1.1 200 OK 
-Content-Type: text/turtle
-Link: <http://www.w3.org/ns/ldp/Resource>; rel="type"
-ETag: W/"123456789"
-
- </app/product1/bug3> a bt:Bug;
-      dcterms:title "Product A crashes when shutting down.";
-      dcterms:creator </app/users/johndoe>;
-      dcterms:created "2013-05-05T10:00"^^xsd:dateTime
-      bt:isInState "New" .
--- a/ldp-primer/bug_update_req.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-PUT /app/product1/bug3 HTTP/1.1
-Host: example.org
-Content-Type: text/turtle
-If-Match: W/"123456789"
-
- </app/product1/bug3> a bt:Bug;
-      dcterms:title "Product 1 crashes when shutting down.";
-      dcterms:creator </app/users/johndoe>;
-      dcterms:created "2013-05-05T10:00"^^xsd:dateTime;
-      bt:isInState "InProgress";
-      bt:relatedBug </app/product1/bug4> . 
--- a/ldp-primer/ldpc_ex.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-@prefix dc:   <http://purl.org/dc/terms/> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-@prefix ldp:  <http://www.w3.org/ns/ldp#> .
-
-<http://id.nandana.org/friends/> a foaf:Group, ldp:Container;
-	dc:title "Friends of Nandana";
-	ldp:membershipSubject <>;
-	ldp:membershipPredicate foaf:member ;
-	ldp:membershipObject ldp:MemberSubject;	
-	foaf:member <roger>, <raul>, <bob>, <alice>, <joe> .
-
----
-
-{ 'edwedew': 'edwde' }
\ No newline at end of file
--- a/ldp-primer/ldpc_ex_m.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-@prefix dc:   <http://purl.org/dc/terms/> .
-@prefix owl: <http://www.w3.org/2002/07/owl#> .
-
-<http://id.nandana.org/friends/roger> a foaf:Person;
-    owl:sameAs <http://www.linkedin.com/in/yadnem> ;
-    foaf:name "Roger Menday" ;
-    foaf:workplaceHomepage <http://www.fujitsu.com/uk/> .
\ No newline at end of file
--- a/ldp-primer/ldpc_ex_non_ldpr.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-@prefix dc:   <http://purl.org/dc/terms/> .
-@prefix ldp:  <http://www.w3.org/ns/ldp#> .
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
-
-<http://id.nandana.org/photos/> a ldp:Container;
-	dc:title "Photos of Nandana";
-	ldp:membershipSubject <>;
-	ldp:membershipPredicate rdf:member ;
-	ldp:membershipObject ldp:MemberSubject;	
-	rdf:member <sunset.png>, <beach.png>, <park.jpeg> .
\ No newline at end of file
--- a/ldp-primer/ldpr_ex.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-@prefix dc: <http://purl.org/dc/terms/> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-
-<http://id.nandana.org/card> a foaf:PersonalProfileDocument;
-    foaf:primaryTopic <http://id.nandana.org/card#me> ;
-    dc:title "Nandana's FOAF file" .
-    
-<http://id.nandana.org/card#me> a foaf:Person;
-    foaf:name "Nandana Mihindukulasooriya" ;
-    foaf:workplaceHomepage <http://www.oeg-upm.net/> ;
-    foaf:based_near <http://dbpedia.org/resource/Madrid> . 
-
----
-
-{ xxxxdfvfvfvdfv }
\ No newline at end of file
--- a/ldp-primer/product_create_req.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-POST /app/BugTracker HTTP/1.1
-Host: example.org
-Content-Type: text/turtle
-Slug: ProductA
- 
-<> a ldp:Container, bt:Product;
-   dcterms:title "Product A" ; 
-   dcterms:description "A container that tracks bugs of Product A" .  
\ No newline at end of file
--- a/ldp-primer/product_create_res.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-HTTP/1.1 201 Created
-Location: http://example.org/app/BugTracker/ProductA
-Content-Length: 0 
\ No newline at end of file
--- a/ldp-primer/product_create_s1.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-</app/> a ldp:Container, bt:BugTracker ;
-    ldp:membershipPredicate bt:tracksProject .
-    bt:tracksProject </app/product1> .
\ No newline at end of file
--- a/ldp-primer/product_create_s2.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
- </app/> a ldp:Container, bt:BugTracker;
-    bt:tracksProject </app/Product1/> ;
-    bt:tracksProject </app/Product2/> .
\ No newline at end of file
--- a/ldp-primer/product_create_s3.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
- </app/Product2> a ldp:Container, bt:Product;
-   dcterms:title "Product A" ; 
-   dcterms:description "A container that tracks bugs of Product A" .  
\ No newline at end of file
--- a/ldp-primer/product_lookup.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-HTTP/1.1 200 OK 
-Content-Type: text/turtlecharset=UTF-8
-Link: <http://www.w3.org/ns/ldp/Resource>; rel="type"
-Link: <?nonMemberProperties>;rel="http://www.w3.org/ns/ldp#nonMemberResource"
-ETag: W/"123456789"
-
-</app/product1> a bt:Product, ldp:Container;
-      ldp:membershipPredicate bt:hasbug ;
-      dcterms:title "Product 1" ;
-      bt:hasbug </app/product1/bug3> ;
-      bt:hasbug </app/product1/bug4> .
--- a/ldp-primer/product_lookup_resp.ttl	Mon Aug 05 22:30:00 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-HTTP/1.1 200 OK 
-Content-Type: text/turtle; charset=UTF-8
-Link: <http://www.w3.org/ns/ldp/Resource>; rel="type"
-ETag: W/"123456789"
-
-</app/product1> a bt:Product, ldp:Container;
-    ldp:membershipSubject <>;
-    ldp:membershipPredicate bt:hasbug;
-    ldp:membershipObject ldp:MemberSubject;	
-    dcterms:title "Product 1";
-    bt:hasbug </app/product1/bug3>;
-    bt:hasbug </app/product1/bug4> .