Skip to content
Open
Changes from 1 commit
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
31 changes: 16 additions & 15 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7824,24 +7824,25 @@ <h5>TRIPLE</h5>
<span class="operator">&lt;&lt;(</span> subj pred obj <span class="operator">)&gt;&gt;</span>
</pre>
<p>
If the 3-tuple (<code style="color:black">subj</code>,
Create a <a data-cite="RDF12-CONCEPTS#dfn-triple-term">triple term</a> from
<a data-cite="RDF12-CONCEPTS#dfn-rdf-term">RDF terms</a>
<code style="color:black">subj</code>,
<code style="color:black">pred</code>,
<code style="color:black">obj</code>)
is an <a data-cite="RDF12-CONCEPTS#dfn-rdf-triple">RDF triple</a>
(that is, <code style="color:black">subj</code> is an
<a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a> or
<a data-cite="RDF12-CONCEPTS#dfn-blank-node">blank node</a>;
<code style="color:black">pred</code> is an
<a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>;
and <code style="color:black">obj</code> is an
<a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>,
<a data-cite="RDF12-CONCEPTS#dfn-triple-term">triple term</a>,
<a data-cite="RDF12-CONCEPTS#dfn-blank-node">blank node</a> or
<a data-cite="RDF12-CONCEPTS#dfn-literal">literal</a>)
the function returns a triple term with these three elements.
and <code style="color:black">obj</code>,
where the predicate is
<a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>.
Otherwise, the function raises an error.
</p>

<p class="note">
This allows triples to be
<a data-cite="RDF12-CONCEPTS#dfn-symmetric-rdf-triple">symmetric RDF triples</a>
as corresponding to <a href="#sparqlTriplePatterns">SPARQL triple patterns</a>.
The graph result from a
<a href="#constructGraph">CONSTRUCT</a> query form
allows <a data-cite="RDF12-CONCEPTS#dfn-rdf-triple">RDF triples</a>, and not
their germalization to
<a data-cite="RDF12-CONCEPTS#dfn-symmetric-rdf-triple">symmetric RDF triples</a>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe state that the generalized triples are discarded by CONSTRUCT? The sentence sounded a bit weird to me, stating the issue but not telling what is the expected behavior.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea.

</p>
<p>
As a shorthand notation, the <code>TRIPLE</code> function
can also be written in the form of a
Expand Down
Loading