Skip to content

Commit

Permalink
Drop solid:target as a patch requirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVerborgh committed Nov 10, 2021
1 parent f293c39 commit 7ac7b38
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ <h4 property="schema:name">Modifying Resources Using N3 Patches</h4>
<p>An <em>N3 Patch</em> is a document in the <em>Notation3 (N3)</em> format [<cite><a class="bibref" href="#bib-notation3">N3</a></cite>], identified by the MIME type <code>text/n3</code>, conforming to the following structural constraints:</p>

<ul>
<li>The patch document can contain patch resources identified by a triple <code>?patch solid:patches ?target</code>, in which <code>?patch</code> is a freely chosen identifier for a patch resource and <code>?target</code> is the URI of the RDF document to be modified.</li>
<li>The patch document can contain patch resources identified by a URI <code>?patch</code> which can be chosen freely.</li>
<li>A patch resource contains at most one triple of the form <code>?patch solid:deletes ?deletions</code>.</li>
<li>A patch resource contains at most one triple of the form <code>?patch solid:inserts ?insertions</code>.</li>
<li>A patch resource contains at most one triple of the form <code>?patch solid:where ?conditions</code>.</li>
Expand All @@ -736,8 +736,7 @@ <h4 property="schema:name">Modifying Resources Using N3 Patches</h4>
<p>While other specifications might provide a structure and interpretation for a wider class of N3 Patch documents, the present specification only governs the application of N3 Patch documents that additionally adhere to the following structural constraints:</p>

<ul>
<li>The patch document contains exactly one patch resource.</li>
<li>The <code>?target</code> is an exact match with the request URI.</li>
<li>The patch document contains exactly one patch resource, identified by one or more of the triple patterns described above, which should all share the same <code>?patch</code> subject.</li>
<li>The patch resource may optionally contain one triple of the form <code>?patch solid:matchingStrategy solid:SingleMatch</code>.</li>
<li>The <code>?insertions</code> and <code>?deletions</code> formulae may only contain variables that also occur in the <code>?conditions</code> formula.</li>
<li>The patch document does not contain any other triples.</li>
Expand Down

0 comments on commit 7ac7b38

Please sign in to comment.