Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
--- a/ldpatch.html Tue Nov 18 23:57:10 2014 -0500
+++ b/ldpatch.html Wed Nov 19 10:40:22 2014 -0500
@@ -361,7 +361,8 @@
<p>
The <a>Cut</a> operation is used to remove one or more triples from the existing graph, having a matching <a class="internalDFN" href="#grammar-production-subject">subject</a> that corresponds to either an IRI or a previously bound varible.
<pre class='example'>
- @@TODO use UpdateList example .
+Bind ?workLocation <#> /schema:workLocation .
+Cut ?workLocation.
</pre>
</p>
</section>
@@ -468,7 +469,7 @@
</p>
<p>
- Therefore, ambiguous blank nodes are considered a pathological case in the context of Linked Data, and so the fact that they cannot be coped with in LD Patch is deemed acceptable. Furthermore, their presence in a graph does not prevent the other nodes of that graph to be handled by LD Patch.
+ Therefore, ambiguous blank nodes are considered a pathological case in the context of Linked Data, and so the fact that they cannot be coped with in LD Patch is deemed acceptable. Furthermore, their presence in a graph does not prevent the other nodes of that graph to be handled by LD Patch. In fact, all <a href="http://www.w3.org/TR/rdf11-mt/#dfn-lean">non-lean graphs</a> [[!rdf11-mt]] can be considered to be pathological.
</p>
</section>
@@ -487,7 +488,7 @@
@prefix profile: <http://ogp.me/ns/profile#> .
@prefix ex: <http://example.org/vocab#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-<http://example.com/timbl#> a schema:Person ;
+<#> a schema:Person ;
schema:alternateName "TimBL" ;
profile:first_name "Tim" ;
profile:last_name "Berners-Lee" ;
@@ -513,26 +514,26 @@
Content-Type: text/ldpatch
If-Match: "abc123"
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix schema: <http://schema.org/> .
-@prefix profile: <http://ogp.me/ns/profile#> .
-@prefix ex: <http://example.org/vocab#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix schema: <http://schema.org/> .
+@prefix profile: <http://ogp.me/ns/profile#> .
+@prefix ex: <http://example.org/vocab#> .
-Delete { <#> profile:first_name "Tim" } .
+Delete { <#> profile:first_name "Tim" } .
Add {
- <#> profile:first_name "Timothy" ;
- profile:image <https://example.org/timbl.jpg> .
+ <#> profile:first_name "Timothy" ;
+ profile:image <https://example.org/timbl.jpg> .
} .
-Bind ?workLocation <#> /schema:workLocation .
+Bind ?workLocation <#> /schema:workLocation .
Cut ?workLocation.
-UpdateList <#> ex:preferredLanguages 1..2 ( "fr-CH" ) .
+UpdateList <#> ex:preferredLanguages 1..2 ( "fr-CH" ) .
-Bind ?event <#> /schema:attendee[/schema:url = <https://www.w3.org/2012/ldp/wiki/F2F5>] .
+Bind ?event <#> /schema:attendee[/schema:url = <https://www.w3.org/2012/ldp/wiki/F2F5>] .
Add { ?event rdf:type schema:Event } .
-Bind ?ted <http://conferences.ted.com/TED2009/> /^schema:url! .
+Bind ?ted <http://conferences.ted.com/TED2009/> /^schema:url! .
Delete { ?ted schema:startDate "2009-02-04" } .
Add {
?ted schema:location [
@@ -551,25 +552,25 @@
The following is the resulting (patched) document.
</p>
<pre class='example'>
-@prefix schema: <http://schema.org/> .
-@prefix profile: <http://ogp.me/ns/profile#> .
-@prefix ex: <http://example.org/vocab#> .
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-<http://example.com/timbl#> a schema:Person ;
+@prefix schema: <http://schema.org/> .
+@prefix profile: <http://ogp.me/ns/profile#> .
+@prefix ex: <http://example.org/vocab#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<#> a schema:Person ;
schema:alternateName "TimBL" ;
profile:first_name "Timothy" ;
profile:last_name "Berners-Lee" ;
- profile:image <https://example.org/timbl.jpg> ;
+ profile:image <https://example.org/timbl.jpg> ;
schema:attendee _:b1, _:b2 ;
ex:preferredLanguages ( "en" "fr-CH" ).
_:b1 a schema:Event ;
schema:name "F2F5 - Linked Data Platform" ;
- schema:url <https://www.w3.org/2012/ldp/wiki/F2F5> .
+ schema:url <https://www.w3.org/2012/ldp/wiki/F2F5> .
_:b2 a schema:Event ;
schema:name "TED 2009" ;
- schema:url <http://conferences.ted.com/TED2009/> ;
+ schema:url <http://conferences.ted.com/TED2009/> ;
schema:location [
schema:name "Long Beach, California";
schema:geo [ schema:latitude "33.7817" ; schema:longitude "-118.2054" ]