From 72b9e2cbbb4bd19d81a19068b14f2e6a73b8f8f0 Mon Sep 17 00:00:00 2001
From: Ruben Taelman
If the 3-tuple (TZ
- Functions on Quoted Triples
+ Functions on Triple Terms
TRIPLE
- quoted triple TRIPLE (RDF term subj, RDF term pred, RDF term triple term TRIPLE (RDF term subj, RDF term pred, RDF term obj)
- << subj pred obj >>
+ <<( subj pred obj )>>
subj
,
@@ -7423,27 +7423,26 @@ TRIPLE
obj
)
is an RDF triple
(that is, subj
is an
- IRI,
- quoted triple or
+ IRI or
blank node;
pred
is an
IRI;
and obj
is an
IRI,
- quoted triple,
+ triple term,
blank node or
literal)
- the function returns a quoted triple with these three elements.
+ the function returns a triple term with these three elements.
Otherwise, the function raises an error.
As a shorthand notation, the TRIPLE
function
can also be written in the form of a
- quoted triple expression
- using <<
and >>
. There is a
+ triple term expression
+ using <<(
and )>>
. There is a
syntax limitation to this shorthand form: the three elements of
- the quoted triple expression can only be variables and directly
+ the triple term expression can only be variables and directly
written RDF terms, not arbitrary expressions.
In contrast, the function form, TRIPLE
,
can be used with arbitrary expressions.
@@ -7452,7 +7451,7 @@
RDF term SUBJECT (quoted triple quoted-triple)+
RDF term SUBJECT (triple term triple-term)
If the argument is a - quoted triple, + triple term, the function returns the subject - of the quoted triple. + of the triple term. If the argument is not a - quoted triple, + triple term, an error is raised.
RDF term PREDICATE (quoted triple quoted-triple)+
RDF term PREDICATE (triple term triple-term)
If the argument is a - quoted triple, + triple term, the function returns the predicate - of the quoted triple. + of the triple term. If the argument is not a - quoted triple, + triple term, an error is raised.
RDF term OBJECT (quoted triple quoted-triple)+
RDF term OBJECT (triple term triple-term)
If the argument is a - quoted triple, + triple term, the function returns the object - of the quoted triple. + of the triple term. If the argument is not a - quoted triple, + triple term, an error is raised.
xsd:boolean isTRIPLE (RDF term term)
- If the argument is a quoted triple, + If the argument is a triple term, the function returns true. If the argument is any other kind of RDF term, @@ -11806,10 +11805,10 @@