From 952b6129cd07962f21709b3e9324ad51a8fb53bf Mon Sep 17 00:00:00 2001 From: Andy Seaborne Date: Thu, 11 Sep 2025 16:24:51 +0100 Subject: [PATCH 1/3] GH-284: Align TRIPLE and expression <<( )>> --- spec/index.html | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/spec/index.html b/spec/index.html index 5a5887d9..c0203fa2 100644 --- a/spec/index.html +++ b/spec/index.html @@ -7824,24 +7824,25 @@
TRIPLE
<<( subj pred obj )>>

- If the 3-tuple (subj, + Create a triple term from + RDF terms + subj, pred, - obj) - is an RDF triple - (that is, subj is an - IRI or - blank node; - pred is an - IRI; - and obj is an - IRI, - triple term, - blank node or - literal) - the function returns a triple term with these three elements. + and obj, + where the predicate is + IRI. Otherwise, the function raises an error.

- +

+ This allows triples to be + symmetric RDF triples + as corresponding to SPARQL triple patterns. + The graph result from a + CONSTRUCT query form + allows RDF triples, and not + their germalization to + symmetric RDF triples. +

As a shorthand notation, the TRIPLE function can also be written in the form of a From b330f2eace38213393edb1c0784d68a4d4a0733d Mon Sep 17 00:00:00 2001 From: Andy Seaborne Date: Thu, 11 Sep 2025 20:16:47 +0100 Subject: [PATCH 2/3] Update spec/index.html Co-authored-by: Ruben Taelman --- spec/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/index.html b/spec/index.html index c0203fa2..bfb129f1 100644 --- a/spec/index.html +++ b/spec/index.html @@ -7840,7 +7840,7 @@

TRIPLE
The graph result from a CONSTRUCT query form allows RDF triples, and not - their germalization to + their generalization to symmetric RDF triples.

From 11780fa0cbe7ac88d8e4601576b449beadd3b62a Mon Sep 17 00:00:00 2001 From: Andy Seaborne Date: Thu, 11 Sep 2025 20:20:23 +0100 Subject: [PATCH 3/3] CONSTRUCT omits symmetric-only triples --- spec/index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spec/index.html b/spec/index.html index bfb129f1..26ab7ff8 100644 --- a/spec/index.html +++ b/spec/index.html @@ -7839,9 +7839,10 @@

TRIPLE
as corresponding to SPARQL triple patterns. The graph result from a CONSTRUCT query form - allows RDF triples, and not - their generalization to - symmetric RDF triples. + allows RDF triples. + Any other + symmetric RDF triples + will be omitted from the result.

As a shorthand notation, the TRIPLE function