Skip to content
Open
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
32 changes: 17 additions & 15 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7824,24 +7824,26 @@ <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>.
Any other
<a data-cite="RDF12-CONCEPTS#dfn-symmetric-rdf-triple">symmetric RDF triples</a>
will be omitted from the result.
</p>
<p>
As a shorthand notation, the <code>TRIPLE</code> function
can also be written in the form of a
Expand Down
Loading