@@ -7406,8 +7406,8 @@ <h5>TZ</h5>
7406
7406
</section>
7407
7407
7408
7408
<!-- QT -->
7409
- <section id="func-triple-terms ">
7410
- <h4>Functions on Triple Terms </h4>
7409
+ <section id="func-reified-triples ">
7410
+ <h4>Functions on Reified Triples </h4>
7411
7411
<section id="func-triple">
7412
7412
<h5>TRIPLE</h5>
7413
7413
<pre class="prototype nohighlight">
@@ -7439,7 +7439,7 @@ <h5>TRIPLE</h5>
7439
7439
<p>
7440
7440
As a shorthand notation, the <code>TRIPLE</code> function
7441
7441
can also be written in the form of a
7442
- <a href="#rExprQuotedTriple ">triple term expression</a>
7442
+ <a href="#rExprTripleTerm ">triple term expression</a>
7443
7443
using <code><<(</code> and <code>)>></code>. There is a
7444
7444
syntax limitation to this shorthand form: the three elements of
7445
7445
the triple term expression can only be variables and directly
@@ -7449,18 +7449,24 @@ <h5>TRIPLE</h5>
7449
7449
</p>
7450
7450
<pre class="query nohighlight">
7451
7451
PREFIX : <http://example/>
7452
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
7453
+
7452
7454
SELECT ?s ?date {
7453
- ?s ?p ?o
7454
- BIND( <<( ?s ?p ?o )>> AS ?qt )
7455
- ?qt :tripleAdded ?date
7455
+ ?s ?p ?o .
7456
+ BIND( <<( ?s ?p ?o )>> AS ?tt )
7457
+ :myreifier rdf:reifies ?tt .
7458
+ :myreifier :tripleAdded ?date .
7456
7459
}
7457
7460
</pre>
7458
7461
<pre class="query nohighlight">
7459
7462
PREFIX : <http://example/>
7463
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
7464
+
7460
7465
SELECT ?s ?date {
7461
- ?s ?p ?o
7462
- BIND( TRIPLE(?s, ?p, ?o) AS ?qt )
7463
- ?qt :tripleAdded ?date
7466
+ ?s ?p ?o .
7467
+ BIND( TRIPLE(?s, ?p, ?o) AS ?tt )
7468
+ :myreifier rdf:reifies ?tt .
7469
+ :myreifier :tripleAdded ?date .
7464
7470
}
7465
7471
</pre>
7466
7472
</section>
@@ -11805,10 +11811,10 @@ <h2>Changes between SPARQL 1.1 Query Language and SPARQL 1.2 Query Language</h2>
11805
11811
Normative changes:
11806
11812
<ul>
11807
11813
<li>Remove concepts of plain and simple literals, in favor of explicit mentions of xsd:string</li>
11808
- <li>Update grammar for triple terms and triple functions in <a href="#sparqlGrammar" class="sectionRef"></a></li>
11814
+ <li>Update grammar for reified triples and triple functions in <a href="#sparqlGrammar" class="sectionRef"></a></li>
11809
11815
<li>Migrate XML Schema references to 1.1</li>
11810
11816
<li>Update references to XPath from 2.0 to 3.1</li>
11811
- <li>Add functions on triple terms to <a href="#func-triple-terms " class="sectionRef"></a></li>
11817
+ <li>Add functions on reified triples to <a href="#func-reified-triples " class="sectionRef"></a></li>
11812
11818
</ul>
11813
11819
</li>
11814
11820
<li>
0 commit comments