Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for compound triples in reified triples #70

Merged
merged 3 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -842,10 +842,9 @@ <h3>Reifying Triples</h3>
<p>A <a>reifying triple</a> is represented using the
<a href="#grammar-production-reifiedTriple"><code>reifiedTriple</code></a> production
starting with <a href="#cp-double-lt"><code>&lt;&lt;</code></a>,
followed by either a <a href="#grammar-production-subject"><code>subject</code></a>
or <a href="#grammar-production-reifiedTriple"><code>reifiedTriple</code></a>,
followed by a <a href="#grammar-production-rtSubject"><code>rtSubject</code></a>,
a <a href="#grammar-production-predicate"><code>predicate</code></a>, and
a <a href="#grammar-production-ttObject"><code>ttObject</code></a>,
a <a href="#grammar-production-rtObject"><code>rtObject</code></a>,
followed by an optional <a href="#grammar-production-reifier"><code>reifier</code></a>,
composed of a <a href="#cp-tilde"><code title="tilde">~</code></a>
followed by an optional <a href="#grammar-production-iri"><code>iri</code></a> production
Expand Down Expand Up @@ -1726,9 +1725,10 @@ <h3>Parser State</h3>
<li id="curSubject"><a data-cite="RDF12-CONCEPTS#dfn-rdf-term">RDF Term</a> |curSubject|
— The |curSubject| is bound to the
<a href="#grammar-production-subject"><code>subject</code></a>,
<a href="#grammar-production-rtSubject"><code>rtSubject</code></a>,
<a href="#grammar-production-ttSubject"><code>ttSubject</code></a>,
<a href="#grammar-production-blankNodePropertyList"><code>blankNodePropertyList</code></a>,
<a href="#grammar-production-collection"><code>collection</code></a>,
<a href="#grammar-production-tripleTerm"><code>tripleTerm</code></a>, and
<a href="#grammar-production-collection"><code>collection</code></a>,and
<a href="#grammar-production-annotationBlock"><code>annotationBlock</code></a>
productions.</li>

Expand All @@ -1744,7 +1744,8 @@ <h3>Parser State</h3>
</li>
<li id="curObject"><a data-cite="RDF12-CONCEPTS#dfn-rdf-term">RDF Term</a> |curObject| —
The |curObject| is bound to the
<a href="#grammar-production-object"><code>object</code></a> and
<a href="#grammar-production-object"><code>object</code></a>,
<a href="#grammar-production-ttObject"><code>rtObject</code></a>, and
<a href="#grammar-production-ttObject"><code>ttObject</code></a> productions.</li>
<li id="curReifier"><a data-cite="RDF12-CONCEPTS#dfn-rdf-term">RDF Term</a> |curReifier| —
The |curReifier| is bound to the
Expand Down Expand Up @@ -1853,9 +1854,9 @@ <h4 id="reifiedTriple" style="padding-bottom:0; margin-bottom:0;"><span>Reified
records the |curTripleTerm|.
A new <a href="#grammar-production-tripleTerm"><code>tripleTerm</code></a> instance |curTripleTerm|
is created using the
<a href="#grammar-production-subject"><code>subject</code></a>,
<a href="#grammar-production-rtSubject"><code>rtSubject</code></a>,
<a href="#grammar-production-verb"><code>verb</code></a>, and
<a href="#grammar-production-object"><code>object</code></a> productions.
<a href="#grammar-production-rtObject"><code>rtObject</code></a> productions.

Finishing the <a href="#grammar-production-reifiedTriple"><code>reifiedTriple</code></a> production,
if the |curReifier| is not set, it is assigned a fresh RDF <a data-cite="RDF12-CONCEPTS#dfn-blank-node">blank node</a>;
Expand Down
Loading
Loading