diff --git a/spec/index.html b/spec/index.html index 272e758..faf5844 100644 --- a/spec/index.html +++ b/spec/index.html @@ -7926,7 +7926,6 @@
TZ
-

Functions on Triple Terms

@@ -7956,17 +7955,26 @@
TRIPLE
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 triple term expression - using <<( and )>>. There is a - syntax limitation to this shorthand form: the three elements of - 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. + using <<( and )>>. There are + syntax limitations to this shorthand form: +

+ +

+ The function form, TRIPLE, can be used with arbitrary expressions.

               VERSION "1.2"
@@ -8051,7 +8059,6 @@ 
isTRIPLE

-

Hash Functions

@@ -12109,7 +12116,7 @@

Grammar

[123]   TripleTermDataSubject   ::=   - iri | RDFLiteral | NumericLiteral | BooleanLiteral | TripleTermData + iri @@ -12214,7 +12221,7 @@

Grammar

[138]   ExprTripleTermSubject   ::=   - iri | RDFLiteral | NumericLiteral | BooleanLiteral | Var | ExprTripleTerm + iri | Var diff --git a/spec/sparql.bnf b/spec/sparql.bnf index d24d335..8b085e9 100644 --- a/spec/sparql.bnf +++ b/spec/sparql.bnf @@ -120,7 +120,7 @@ TripleTerm ::= '<<(' TripleTermSubject Verb TripleTermObject ')>> TripleTermSubject ::= Var | iri | RDFLiteral | NumericLiteral | BooleanLiteral | BlankNode | TripleTerm TripleTermObject ::= Var | iri | RDFLiteral | NumericLiteral | BooleanLiteral | BlankNode | TripleTerm TripleTermData ::= '<<(' TripleTermDataSubject ( iri | 'a' ) TripleTermDataObject ')>>' -TripleTermDataSubject ::= iri | RDFLiteral | NumericLiteral | BooleanLiteral | TripleTermData +TripleTermDataSubject ::= iri TripleTermDataObject ::= iri | RDFLiteral | NumericLiteral | BooleanLiteral | TripleTermData VarOrIri ::= Var | iri Var ::= VAR1 | VAR2 @@ -138,7 +138,7 @@ UnaryExpression ::= '!' UnaryExpression | PrimaryExpression PrimaryExpression ::= BrackettedExpression | BuiltInCall | iriOrFunction | RDFLiteral | NumericLiteral | BooleanLiteral | Var | ExprTripleTerm ExprTripleTerm ::= '<<(' ExprTripleTermSubject Verb ExprTripleTermObject ')>>' -ExprTripleTermSubject ::= iri | RDFLiteral | NumericLiteral | BooleanLiteral | Var | ExprTripleTerm +ExprTripleTermSubject ::= iri | Var ExprTripleTermObject ::= iri | RDFLiteral | NumericLiteral | BooleanLiteral | Var | ExprTripleTerm BrackettedExpression ::= '(' Expression ')' BuiltInCall ::= Aggregate