[ldpatch] fix examples ldpatch
authorAlexandre Bertails <alexandre@bertails.org>
Sat, 26 Jul 2014 17:16:36 -0400
branchldpatch
changeset 724 61bde2a38b3e
parent 703 d272f5f55195
child 725 f3c7fa4881b7
[ldpatch] fix examples
ldpatch.html
--- a/ldpatch.html	Wed Jul 09 20:47:15 2014 -0400
+++ b/ldpatch.html	Sat Jul 26 17:16:36 2014 -0400
@@ -195,8 +195,8 @@
 @prefix schema: &lt;http://schema.org/&gt; .
 @prefix profile: &lt;http://ogp.me/ns/profile#&gt; .
 @prefix ex: &lt;http://example.org/vocab#&gt; .
-
-&lt;http://example.org/timbl#&gt; a schema:Person ;
+@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
+&lt;http://example.com/timbl#&gt; a schema:Person ;
   schema:alternateName "TimBL" ;
   profile:first_name "Tim" ;
   profile:last_name "Berners-Lee" ;
@@ -204,13 +204,12 @@
   schema:attendee _:b1, _:b2 ;
   ex:preferredLanguages ( "en" "fr" ).
 
-_:b1  ;
-  schema:name "F2F5 - Linked Data Platform" ;
+_:b1 schema:name "F2F5 - Linked Data Platform" ;
   schema:url &lt;https://www.w3.org/2012/ldp/wiki/F2F5&gt; .
 
 _:b2 a schema:Event ;
   schema:name "TED 2009" ;
-  schema:startDate "2009-02-04" .
+  schema:startDate "2009-02-04" ;
   schema:url &lt;http://conferences.ted.com/TED2009/&gt; .
       </pre>
       <p>
@@ -224,16 +223,16 @@
 If-Match: "abc123"
 
 @prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
-@prefix schema: &lt;http://schema.org&gt; .
+@prefix schema: &lt;http://schema.org/&gt; .
 @prefix profile: &lt;http://ogp.me/ns/profile#&gt; .
 @prefix ex: &lt;http://example.org/vocab#&gt; .
 
 Delete &lt;#&gt; profile:first_name "Tim" .
 Add    &lt;#&gt; profile:first_name "Timothy" .
 
-UpdateList &lt;#&gt; ex:preferredLanguages 1>2 ( "fr-CH" ) .
+UpdateList &lt;#&gt; ex:preferredLanguages 1&gt;2 ( "fr-CH" ) .
 
-Bind ?event &lt;#&gt; /schema:attendee[/schema:url = &lt;http://conferences.ted.com/TED2009/&gt;]  .
+Bind ?event &lt;#&gt; /schema:attendee[/schema:url = &lt;https://www.w3.org/2012/ldp/wiki/F2F5&gt;]  .
 Add ?event rdf:type schema:Event .
 
 Bind ?ted &lt;http://conferences.ted.com/TED2009/&gt; /-schema:url! .
@@ -255,7 +254,7 @@
 @prefix profile: &lt;http://ogp.me/ns/profile#&gt; .
 @prefix ex: &lt;http://example.org/vocab#&gt; .
 
-&lt;http://example.org/timbl#&gt; a schema:Person ;
+&lt;http://example.com/timbl#&gt; a schema:Person ;
   schema:alternateName "TimBL" ;
   profile:first_name "Timothy" ;
   profile:last_name "Berners-Lee" ;
@@ -263,7 +262,7 @@
   schema:attendee _:b1, _:b2 ;
   ex:preferredLanguages ( "en" "fr-CH" ).
 
-_:b1  ;
+_:b1 a schema:Event ;
   schema:name "F2F5 - Linked Data Platform" ;
   schema:url &lt;https://www.w3.org/2012/ldp/wiki/F2F5&gt; .
 
@@ -272,7 +271,7 @@
   schema:url &lt;http://conferences.ted.com/TED2009/&gt; ;
   schema:location [
     schema:name "Long Beach, California";
-    schema:geo [ schema:latitude "33.7817" ; schema:longitude "-118.2054" ] .
+    schema:geo [ schema:latitude "33.7817" ; schema:longitude "-118.2054" ]
   ] .
       </pre>