--- a/ldpatch.html Sun Dec 14 12:06:31 2014 -0500
+++ b/ldpatch.html Mon Dec 15 12:13:40 2014 -0500
@@ -557,7 +557,7 @@
<section id="patch-operations">
<h2>Patch Operations</h2>
- <section id="bind-statement">
+ <section id="Bind-statement">
<h2><dfn>Bind</dfn></h2>
<p>
The <a>Bind</a> operation is used to bind an <a class="externalDFN" href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-term">RDF Term</a> to a variable. The process results in the variable being bound to exactly one node. After being bound, the variable can be used in the subsequent statements. Another <a>Bind</a> can override the value of a previously bound variable.
@@ -586,7 +586,7 @@
</section>
- <section id="add-statement">
+ <section id="Add-statement">
<h2><dfn>Add</dfn></h2>
<p>
The <a>Add</a> operation is used to append new RDF triples to the <a>target graph</a>.
@@ -604,20 +604,20 @@
</p>
</section>
- <section id="addNew-statement">
+ <section id="AddNew-statement">
<h2><dfn>AddNew</dfn></h2>
<p>
The <a>AddNew</a> operation is used to append new RDF triples to the <a>target graph</a>. It behaves like <a>Add</a> but unlike its counterpart, <a>AddNew</a> <a href="#addnew-already-existing-triple">fails</a> when trying to add an already existing triple.
</p>
</section>
- <section id="delete-statement">
+ <section id="Delete-statement">
<h2><dfn>Delete</dfn></h2>
<p>
The <a>Delete</a> operation is used to remove RDF triples from the <a>target graph</a>.
</p>
<p>
- It has a single argument: an <a>argument graph</a> <var>g</var>. All triples in <var>g</var> must be removed from the <var>target graph</var>. It <a href="#delete-non-existing-triple">fails</a> if one of those triples does not exist in the <a>target graph</a>. Blank nodes identifiers are allowed in <a>Delete</a> statements but <a href="#blank-node-scoping">they remain scoped to the LD Patch document</a>, so they can only match a blank node previously added by the same LD Patch document.
+ It has a single argument: an <a>argument graph</a> <var>g</var>. All triples in <var>g</var> must be removed from the <var>target graph</var>. It does not fail if one of those triples did not exist in the <a>target graph</a>. Blank nodes identifiers are allowed in <a>Delete</a> statements but <a href="#blank-node-scoping">they remain scoped to the LD Patch document</a>, so they can only match a blank node previously added by the same LD Patch document.
</p>
<pre class='example'>
Delete { <#> profile:first_name "Tim" } .
@@ -627,14 +627,14 @@
</p>
</section>
- <section id="deleteAny-statement">
- <h2><dfn>DeleteAny</dfn></h2>
+ <section id="DeleteExisting-statement">
+ <h2><dfn>DeleteExisting</dfn></h2>
<p>
-The <a>DeleteAny</a> operation is used to remove RDF triples from the <a>target graph</a>. It behaves like <a>Delete</a> but unlike its counterpart, <a>DeleteAny</a> does not fail when trying to delete a non-existing triple.
+The <a>DeleteExisting</a> operation is used to remove RDF triples from the <a>target graph</a>. It behaves like <a>Delete</a> but unlike its counterpart, <a>DeleteExisting</a> <a href="#delete-non-existing-triple">fails</a> when trying to delete a non-existing triple.
</p>
</section>
- <section id="cut-statement">
+ <section id="Cut-statement">
<h2><dfn>Cut</dfn></h2>
<p>
The <a>Cut</a> operation is used to remove one or more triples connected to a specific blank node <var>b</var>. More precisely, it removes all the outgoing arcs for <var>b</var> from the <a>target graph</a>, and does the same recursively for all objects of those triples being blank nodes. Finally, it removes all incoming arcs of <var>b</var>.
@@ -644,7 +644,7 @@
</p>
</section>
- <section id="update-list-statement">
+ <section id="UpdateList-statement">
<h2><dfn>UpdateList</dfn></h2>
<p>
The <a>UpdateList</a> operation is used to update some members of an <a href="http://www.w3.org/TR/rdf-schema/#ch_collectionvocab">RDF collection</a>. It works in a similar way to <a href="https://docs.python.org/3/reference/expressions.html#slicings">slicing in Python</a> or similar languages: it replaces a slice of a list by another list.
@@ -802,7 +802,7 @@
<td>[3]</td>
<td><a href="#grammar-production-statement">statement</a></td>
<td>::=</td>
- <td><a href="#grammar-production-bind">bind</a> | <a href="#grammar-production-add">add</a> | <a href="#grammar-production-delete">delete</a> | <a href="#grammar-production-updateList">updateList</a></td>
+ <td><a href="#grammar-production-bind">bind</a> | <a href="#grammar-production-add">add</a> | <a href="#grammar-production-addNew">addNew</a> | <a href="#grammar-production-delete">delete</a> | <a href="#grammar-production-deleteExisting">deleteExisting</a> | <a href="#grammar-production-cut">cut</a> | <a href="#grammar-production-updateList">updateList</a></td>
</tr>
<tr id="grammar-production-bind">
<td>[4]</td>
@@ -828,11 +828,11 @@
<td>::=</td>
<td>("<code class="grammar-literal">Delete</code>" | "<code class="grammar-literal">D</code>") "<code class="grammar-literal">{</code>" <a href="#grammar-production-graph">graph</a> "<code class="grammar-literal">}</code>" "<code class="grammar-literal">.</code>"</td>
</tr>
-<tr id="grammar-production-deleteAny">
+<tr id="grammar-production-deleteExisting">
<td>[8]</td>
- <td><a href="#grammar-production-deleteAny">deleteAny</a></td>
+ <td><a href="#grammar-production-deleteExisting">deleteExisting</a></td>
<td>::=</td>
- <td>("<code class="grammar-literal">DeleteAny</code>" | "<code class="grammar-literal">DA</code>") "<code class="grammar-literal">{</code>" <a href="#grammar-production-graph">graph</a> "<code class="grammar-literal">}</code>" "<code class="grammar-literal">.</code>"</td>
+ <td>("<code class="grammar-literal">DeleteExisting</code>" | "<code class="grammar-literal">DE</code>") "<code class="grammar-literal">{</code>" <a href="#grammar-production-graph">graph</a> "<code class="grammar-literal">}</code>" "<code class="grammar-literal">.</code>"</td>
</tr>
<tr id="grammar-production-cut">
<td>[9]</td>
@@ -1174,6 +1174,7 @@
</table>
+
</section>
@@ -1350,7 +1351,7 @@
<li>Negative indexes in Path and Slice (<a href="http://www.w3.org/2012/ldp/track/issues/102">ISSUE-102</a> and <a href="http://www.w3.org/2012/ldp/track/issues/104">ISSUE-104</a>)</li>
<li>New section comparing LD Patch with Turtle and SPARQL 1.1</li>
<li>Add and Delete now takes Turtle as argument (<a href="http://www.w3.org/2012/ldp/track/issues/101">ISSUE-101</a>)</li>
- <li>New operations AddNew and DeleteAny (<a href="http://www.w3.org/2012/ldp/track/issues/103">ISSUE-103</a>)</li>
+ <li>New operations AddNew and DeleteExisting (<a href="http://www.w3.org/2012/ldp/track/issues/103">ISSUE-103</a>)</li>
<li>The leading slash for Path expression is now optional (<a href="http://www.w3.org/2012/ldp/track/issues/100">ISSUE-100</a>)</li>
<li>New dedicated Example section</li>
<li>New section for Media Type registration</li>