-
Notifications
You must be signed in to change notification settings - Fork 2
GH-284: Align TRIPLE and expression <<( )>> #285
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7824,24 +7824,25 @@ <h5>TRIPLE</h5> | |
<span class="operator"><<(</span> subj pred obj <span class="operator">)>></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>. | ||
|
||
</p> | ||
<p> | ||
As a shorthand notation, the <code>TRIPLE</code> function | ||
can also be written in the form of a | ||
|
Uh oh!
There was an error while loading. Please reload this page.