@@ -7406,44 +7406,43 @@ <h5>TZ</h5>
7406
7406
</section>
7407
7407
7408
7408
<!-- QT -->
7409
- <section id="func-quoted-triples ">
7410
- <h4>Functions on Quoted Triples </h4>
7409
+ <section id="func-triple-terms ">
7410
+ <h4>Functions on Triple Terms </h4>
7411
7411
<section id="func-triple">
7412
7412
<h5>TRIPLE</h5>
7413
7413
<pre class="prototype nohighlight">
7414
- <span class="return">quoted triple</span> <span class="operator">TRIPLE</span> (<span class="type RDFterm">RDF term</span> <span class="name">subj</span>, <span class="type RDFterm">RDF term</span> <span class="name">pred</span>, <span class="type RDFterm">RDF term</span> <span
7414
+ <span class="return">triple term </span> <span class="operator">TRIPLE</span> (<span class="type RDFterm">RDF term</span> <span class="name">subj</span>, <span class="type RDFterm">RDF term</span> <span class="name">pred</span>, <span class="type RDFterm">RDF term</span> <span
7415
7415
class="name">obj</span>)
7416
7416
</pre>
7417
7417
<pre class="query nohighlight">
7418
- <span class="operator"><<</span> subj pred obj <span class="operator">>></span>
7418
+ <span class="operator"><<( </span> subj pred obj <span class="operator">) >></span>
7419
7419
</pre>
7420
7420
<p>
7421
7421
If the 3-tuple (<code style="color:black">subj</code>,
7422
7422
<code style="color:black">pred</code>,
7423
7423
<code style="color:black">obj</code>)
7424
7424
is an <a data-cite="RDF12-CONCEPTS#dfn-rdf-triple">RDF triple</a>
7425
7425
(that is, <code style="color:black">subj</code> is an
7426
- <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>,
7427
- <a data-cite="RDF12-CONCEPTS#dfn-quoted-triple">quoted triple</a> or
7426
+ <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a> or
7428
7427
<a data-cite="RDF12-CONCEPTS#dfn-blank-node">blank node</a>;
7429
7428
<code style="color:black">pred</code> is an
7430
7429
<a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>;
7431
7430
and <code style="color:black">obj</code> is an
7432
7431
<a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>,
7433
- <a data-cite="RDF12-CONCEPTS#dfn-quoted- triple">quoted triple</a>,
7432
+ <a data-cite="RDF12-CONCEPTS#dfn-triple-term"> triple term </a>,
7434
7433
<a data-cite="RDF12-CONCEPTS#dfn-blank-node">blank node</a> or
7435
7434
<a data-cite="RDF12-CONCEPTS#dfn-literal">literal</a>)
7436
- the function returns a quoted triple with these three elements.
7435
+ the function returns a triple term with these three elements.
7437
7436
Otherwise, the function raises an error.
7438
7437
</p>
7439
7438
7440
7439
<p>
7441
7440
As a shorthand notation, the <code>TRIPLE</code> function
7442
7441
can also be written in the form of a
7443
- <a href="#rExprQuotedTriple">quoted triple expression</a>
7444
- using <code><<</code> and <code>>></code>. There is a
7442
+ <a href="#rExprQuotedTriple">triple term expression</a>
7443
+ using <code><<( </code> and <code>) >></code>. There is a
7445
7444
syntax limitation to this shorthand form: the three elements of
7446
- the quoted triple expression can only be variables and directly
7445
+ the triple term expression can only be variables and directly
7447
7446
written RDF terms, not arbitrary expressions.
7448
7447
In contrast, the function form, <code>TRIPLE</code>,
7449
7448
can be used with arbitrary expressions.
@@ -7452,7 +7451,7 @@ <h5>TRIPLE</h5>
7452
7451
PREFIX : <http://example/>
7453
7452
SELECT ?s ?date {
7454
7453
?s ?p ?o
7455
- BIND( << ?s ?p ?o >> AS ?qt )
7454
+ BIND( <<( ?s ?p ?o ) >> AS ?qt )
7456
7455
?qt :tripleAdded ?date
7457
7456
}
7458
7457
</pre>
@@ -7468,45 +7467,45 @@ <h5>TRIPLE</h5>
7468
7467
7469
7468
<section id="func-subject">
7470
7469
<h5>SUBJECT</h5>
7471
- <pre class="prototype nohighlight"><span class="return">RDF term</span> <span class="operator">SUBJECT</span> (<span class="type RDFterm">quoted triple</span> <span class="name">quoted- triple</span>)</pre>
7470
+ <pre class="prototype nohighlight"><span class="return">RDF term</span> <span class="operator">SUBJECT</span> (<span class="type RDFterm">triple term </span> <span class="name">triple-term </span>)</pre>
7472
7471
<p>
7473
7472
If the argument is a
7474
- <a data-cite="RDF12-CONCEPTS#dfn-quoted- triple">quoted triple</a>,
7473
+ <a data-cite="RDF12-CONCEPTS#dfn-triple-term"> triple term </a>,
7475
7474
the function returns the
7476
7475
<a data-cite="RDF12-CONCEPTS#dfn-subject">subject</a>
7477
- of the quoted triple.
7476
+ of the triple term .
7478
7477
If the argument is not a
7479
- <a data-cite="RDF12-CONCEPTS#dfn-quoted- triple">quoted triple</a>,
7478
+ <a data-cite="RDF12-CONCEPTS#dfn-triple-term"> triple term </a>,
7480
7479
an error is raised.
7481
7480
</p>
7482
7481
</section>
7483
7482
7484
7483
<section id="func-predicate">
7485
7484
<h5>PREDICATE</h5>
7486
- <pre class="prototype nohighlight"><span class="return">RDF term</span> <span class="operator">PREDICATE</span> (<span class="type RDFterm">quoted triple</span> <span class="name">quoted- triple</span>)</pre>
7485
+ <pre class="prototype nohighlight"><span class="return">RDF term</span> <span class="operator">PREDICATE</span> (<span class="type RDFterm">triple term </span> <span class="name">triple-term </span>)</pre>
7487
7486
<p>
7488
7487
If the argument is a
7489
- <a data-cite="RDF12-CONCEPTS#dfn-quoted- triple">quoted triple</a>,
7488
+ <a data-cite="RDF12-CONCEPTS#dfn-triple-term"> triple term </a>,
7490
7489
the function returns the
7491
7490
<a data-cite="RDF12-CONCEPTS#dfn-predicate">predicate</a>
7492
- of the quoted triple.
7491
+ of the triple term .
7493
7492
If the argument is not a
7494
- <a data-cite="RDF12-CONCEPTS#dfn-quoted- triple">quoted triple</a>,
7493
+ <a data-cite="RDF12-CONCEPTS#dfn-triple-term"> triple term </a>,
7495
7494
an error is raised.
7496
7495
</p>
7497
7496
</section>
7498
7497
7499
7498
<section id="func-object">
7500
7499
<h5>OBJECT</h5>
7501
- <pre class="prototype nohighlight"><span class="return">RDF term</span> <span class="operator">OBJECT</span> (<span class="type RDFterm">quoted triple</span> <span class="name">quoted- triple</span>)</pre>
7500
+ <pre class="prototype nohighlight"><span class="return">RDF term</span> <span class="operator">OBJECT</span> (<span class="type RDFterm">triple term </span> <span class="name">triple-term </span>)</pre>
7502
7501
<p>
7503
7502
If the argument is a
7504
- <a data-cite="RDF12-CONCEPTS#dfn-quoted- triple">quoted triple</a>,
7503
+ <a data-cite="RDF12-CONCEPTS#dfn-triple-term"> triple term </a>,
7505
7504
the function returns the
7506
7505
<a data-cite="RDF12-CONCEPTS#dfn-object">object</a>
7507
- of the quoted triple.
7506
+ of the triple term .
7508
7507
If the argument is not a
7509
- <a data-cite="RDF12-CONCEPTS#dfn-quoted- triple">quoted triple</a>,
7508
+ <a data-cite="RDF12-CONCEPTS#dfn-triple-term"> triple term </a>,
7510
7509
an error is raised.
7511
7510
</p>
7512
7511
</section>
@@ -7515,7 +7514,7 @@ <h5>OBJECT</h5>
7515
7514
<h5>isTRIPLE</h5>
7516
7515
<pre class="prototype nohighlight"><span class="return">xsd:boolean</span> <span class="operator">isTRIPLE</span> (<span class="type RDFterm">RDF term</span> <span class="name">term</span>)</pre>
7517
7516
<p>
7518
- If the argument is a <a data-cite="RDF12-CONCEPTS#dfn-quoted- triple">quoted triple</a>,
7517
+ If the argument is a <a data-cite="RDF12-CONCEPTS#dfn-triple-term"> triple term </a>,
7519
7518
the function returns true.
7520
7519
If the argument is any other kind of
7521
7520
<a data-cite="RDF12-CONCEPTS#dfn-rdf-term">RDF term</a>,
@@ -11806,10 +11805,10 @@ <h2>Changes between SPARQL 1.1 Query Language and SPARQL 1.2 Query Language</h2>
11806
11805
Normative changes:
11807
11806
<ul>
11808
11807
<li>Remove concepts of plain and simple literals, in favor of explicit mentions of xsd:string</li>
11809
- <li>Update grammar for quoted triples and triple functions in <a href="#sparqlGrammar" class="sectionRef"></a></li>
11808
+ <li>Update grammar for triple terms and triple functions in <a href="#sparqlGrammar" class="sectionRef"></a></li>
11810
11809
<li>Migrate XML Schema references to 1.1</li>
11811
11810
<li>Update references to XPath from 2.0 to 3.1</li>
11812
- <li>Add functions on quoted triples to <a href="#func-quoted-triples " class="sectionRef"></a></li>
11811
+ <li>Add functions on triple terms to <a href="#func-triple-terms " class="sectionRef"></a></li>
11813
11812
</ul>
11814
11813
</li>
11815
11814
<li>
0 commit comments