diff --git a/spec/index.html b/spec/index.html index b7643400..a383602c 100644 --- a/spec/index.html +++ b/spec/index.html @@ -10462,6 +10462,12 @@
DISTINCT keyword
in a function call.a, or a variable),
+ and not for other path expressions.
+ [56] ReifiedTripleBlockReifiedTriple PropertyList[57] ReifiedTripleBlockPathReifiedTriple PropertyListPath[58] GraphPatternNotTriplesGroupOrUnionGraphPattern | OptionalGraphPattern | MinusGraphPattern | GraphGraphPattern | ServiceGraphPattern | Filter | Bind | InlineData[57] [59] OptionalGraphPattern'OPTIONAL' GroupGraphPattern[58] [60] GraphGraphPattern'GRAPH' VarOrIri GroupGraphPattern[59] [61] ServiceGraphPattern'SERVICE' 'SILENT'? VarOrIri GroupGraphPattern[60] [62] Bind'BIND' '(' Expression 'AS' Var ')'[61] [63] InlineData'VALUES' DataBlock[62] [64] DataBlockInlineDataOneVar | InlineDataFull[63] [65] InlineDataOneVarVar '{' DataBlockValue* '}'[64] [66] InlineDataFull( NIL | '(' Var* ')' ) '{' ( '(' DataBlockValue* ')' | NIL )* '}'[65] [67] DataBlockValueiri | RDFLiteral | NumericLiteral | BooleanLiteral | 'UNDEF' | QuotedTripleDatairi | RDFLiteral | NumericLiteral | BooleanLiteral | 'UNDEF' | TripleTermData[66] [68] Reifier'~' VarOrReifierId?[69] ReifierData'~' ReifierId?[70] ReifierIdiri | BlankNode[71] VarOrReifierIdVar | ReifierId[72] MinusGraphPattern'MINUS' GroupGraphPattern[67] [73] GroupOrUnionGraphPatternGroupGraphPattern ( 'UNION' GroupGraphPattern )*[68] [74] Filter'FILTER' Constraint[69] [75] ConstraintBrackettedExpression | BuiltInCall | FunctionCall[70] [76] FunctionCalliri ArgList[71] [77] ArgListNIL | '(' 'DISTINCT'? Expression ( ',' Expression )* ')' [72] [78] ExpressionListNIL | '(' Expression ( ',' Expression )* ')' [73] [79] ConstructTemplate'{' ConstructTriples? '}'[74] [80] ConstructTriplesTriplesSameSubject ( '.' ConstructTriples? )?[75] [81] TriplesSameSubjectVarOrTerm PropertyListNotEmpty | TriplesNode PropertyListVarOrTerm PropertyListNotEmpty | TriplesNode PropertyList | ReifiedTripleBlock[76] [82] PropertyListPropertyListNotEmpty?[77] [83] PropertyListNotEmptyVerb ObjectList ( ';' ( Verb ObjectList )? )*[78] [84] VerbVarOrIri | 'a'[79] [85] ObjectListObject ( ',' Object )*[80] [86] ObjectGraphNode Annotation[81] [87] TriplesSameSubjectPathVarOrTerm PropertyListPathNotEmpty | TriplesNodePath PropertyListPathVarOrTerm PropertyListPathNotEmpty | TriplesNodePath PropertyListPath | ReifiedTripleBlockPath[82] [88] PropertyListPathPropertyListPathNotEmpty?[83] [89] PropertyListPathNotEmpty( VerbPath | VerbSimple ) ObjectListPath ( ';' ( ( VerbPath | VerbSimple ) ObjectListPath )? )*[84] [90] VerbPathPath[85] [91] VerbSimpleVar[86] [92] ObjectListPathObjectPath ( ',' ObjectPath )*[87] [93] ObjectPathGraphNodePath AnnotationPath[88] [94] PathPathAlternative[89] [95] PathAlternativePathSequence ( '|' PathSequence )*[90] [96] PathSequencePathEltOrInverse ( '/' PathEltOrInverse )*[91] [97] PathEltPathPrimary PathMod?[92] [98] PathEltOrInversePathElt | '^' PathElt[93] [99] PathMod'?' | '*' | '+'[94] [100] PathPrimaryiri | 'a' | '!' PathNegatedPropertySet | '(' Path ')' [95] [101] PathNegatedPropertySetPathOneInPropertySet | '(' ( PathOneInPropertySet ( '|' PathOneInPropertySet )* )? ')' [96] [102] PathOneInPropertySetiri | 'a' | '^' ( iri | 'a' ) [97] [103] IntegerINTEGER[98] [104] TriplesNodeCollection | BlankNodePropertyList[99] [105] BlankNodePropertyList'[' PropertyListNotEmpty ']'[100] [106] TriplesNodePathCollectionPath | BlankNodePropertyListPath[101] [107] BlankNodePropertyListPath'[' PropertyListPathNotEmpty ']'[102] [108] Collection'(' GraphNode+ ')'[103] [109] CollectionPath'(' GraphNodePath+ ')'[104] [110] AnnotationPath( '{|' PropertyListPathNotEmpty '|}' )?( Reifier | AnnotationBlockPath )*[105] [111] AnnotationBlockPath'{|' PropertyListPathNotEmpty '|}'[112] Annotation( '{|' PropertyListNotEmpty '|}' )?( Reifier | AnnotationBlock )*[106] [113] AnnotationBlock'{|' PropertyListNotEmpty '|}'[114] GraphNodeVarOrTerm | TriplesNodeVarOrTerm | TriplesNode | ReifiedTriple[107] [115] GraphNodePathVarOrTerm | TriplesNodePathVarOrTerm | TriplesNodePath | ReifiedTriple[108] [116] VarOrTermVar | iri | RDFLiteral | NumericLiteral | BooleanLiteral | BlankNode | NIL | QuotedTripleVar | iri | RDFLiteral | NumericLiteral | BooleanLiteral | BlankNode | NIL | TripleTerm[109] QuotedTriple[117] ReifiedTriple'<<' VarOrTerm Verb VarOrTerm '>>''<<' VarOrTerm Verb VarOrTerm Reifier? '>>'[110] QuotedTripleData[118] ReifiedTripleData'<<' DataValueTerm ( iri | 'a' ) DataValueTerm '>>''<<' DataValueTerm ( iri | 'a' ) DataValueTerm ReifierData? '>>'[111] [119] TripleTerm'<<(' VarOrTerm Verb VarOrTerm ')>>'[120] TripleTermData'<<(' DataValueTerm ( iri | 'a' ) DataValueTerm ')>>'[121] DataValueTermiri | RDFLiteral | NumericLiteral | BooleanLiteral | QuotedTripleDatairi | RDFLiteral | NumericLiteral | BooleanLiteral | TripleTermData[112] [122] VarOrIriVar | iri[113] [123] VarVAR1 | VAR2[114] [124] ExpressionConditionalOrExpression[115] [125] ConditionalOrExpressionConditionalAndExpression ( '||' ConditionalAndExpression )*[116] [126] ConditionalAndExpressionValueLogical ( '&&' ValueLogical )*[117] [127] ValueLogicalRelationalExpression[118] [128] RelationalExpressionNumericExpression ( '=' NumericExpression | '!=' NumericExpression | '<' NumericExpression | '>' NumericExpression | '<=' NumericExpression | '>=' NumericExpression | 'IN' ExpressionList | 'NOT' 'IN' ExpressionList )?[119] [129] NumericExpressionAdditiveExpression[120] [130] AdditiveExpressionMultiplicativeExpression ( '+' MultiplicativeExpression | '-' MultiplicativeExpression | ( NumericLiteralPositive | NumericLiteralNegative ) ( ( '*' UnaryExpression ) | ( '/' UnaryExpression ) )* )*[121] [131] MultiplicativeExpressionUnaryExpression ( '*' UnaryExpression | '/' UnaryExpression )*[122] [132] UnaryExpression '!' PrimaryExpression
| '+' PrimaryExpression
| '-' PrimaryExpression
| PrimaryExpression[123] [133] PrimaryExpressionBrackettedExpression | BuiltInCall | iriOrFunction | RDFLiteral | NumericLiteral | BooleanLiteral | Var | ExprQuotedTripleBrackettedExpression | BuiltInCall | iriOrFunction | RDFLiteral | NumericLiteral | BooleanLiteral | Var | ExprTripleTerm[124] [134] ExprVarOrTermiri | RDFLiteral | NumericLiteral | BooleanLiteral | Var | ExprQuotedTripleiri | RDFLiteral | NumericLiteral | BooleanLiteral | Var | ExprTripleTerm[125] ExprQuotedTriple[135] ExprTripleTerm'<<' ExprVarOrTerm Verb ExprVarOrTerm '>>''<<(' ExprVarOrTerm Verb ExprVarOrTerm ')>>'[126] [136] BrackettedExpression'(' Expression ')'[127] [137] BuiltInCall Aggregate
| 'STR' '(' Expression ')'
| 'LANG' '(' Expression ')'
| 'LANGMATCHES' '(' Expression ',' Expression ')'
| 'DATATYPE' '(' Expression ')'
| 'BOUND' '(' Var ')'
| 'IRI' '(' Expression ')'
| 'URI' '(' Expression ')'
| 'BNODE' ( '(' Expression ')' | NIL )
| 'RAND' NIL
| 'ABS' '(' Expression ')'
| 'CEIL' '(' Expression ')'
| 'FLOOR' '(' Expression ')'
| 'ROUND' '(' Expression ')'
| 'CONCAT' ExpressionList
| SubstringExpression
| 'STRLEN' '(' Expression ')'
| StrReplaceExpression
| 'UCASE' '(' Expression ')'
| 'LCASE' '(' Expression ')'
| 'ENCODE_FOR_URI' '(' Expression ')'
| 'CONTAINS' '(' Expression ',' Expression ')'
| 'STRSTARTS' '(' Expression ',' Expression ')'
| 'STRENDS' '(' Expression ',' Expression ')'
| 'STRBEFORE' '(' Expression ',' Expression ')'
| 'STRAFTER' '(' Expression ',' Expression ')'
| 'YEAR' '(' Expression ')'
| 'MONTH' '(' Expression ')'
| 'DAY' '(' Expression ')'
| 'HOURS' '(' Expression ')'
| 'MINUTES' '(' Expression ')'
| 'SECONDS' '(' Expression ')'
| 'TIMEZONE' '(' Expression ')'
| 'TZ' '(' Expression ')'
| 'NOW' NIL
| 'UUID' NIL
| 'STRUUID' NIL
| 'MD5' '(' Expression ')'
| 'SHA1' '(' Expression ')'
| 'SHA256' '(' Expression ')'
| 'SHA384' '(' Expression ')'
| 'SHA512' '(' Expression ')'
| 'COALESCE' ExpressionList
| 'IF' '(' Expression ',' Expression ',' Expression ')'
| 'STRLANG' '(' Expression ',' Expression ')'
| 'STRDT' '(' Expression ',' Expression ')'
| 'sameTerm' '(' Expression ',' Expression ')'
| 'isIRI' '(' Expression ')'
| 'isURI' '(' Expression ')'
| 'isBLANK' '(' Expression ')'
| 'isLITERAL' '(' Expression ')'
| 'isNUMERIC' '(' Expression ')'
| RegexExpression
| ExistsFunc
| NotExistsFunc
| 'isTRIPLE' '(' Expression ')'
| 'TRIPLE' '(' Expression ',' Expression ',' Expression ')'
| 'SUBJECT' '(' Expression ')'
| 'PREDICATE' '(' Expression ')'
| 'OBJECT' '(' Expression ')'[128] [138] RegexExpression'REGEX' '(' Expression ',' Expression ( ',' Expression )? ')'[129] [139] SubstringExpression'SUBSTR' '(' Expression ',' Expression ( ',' Expression )? ')'[130] [140] StrReplaceExpression'REPLACE' '(' Expression ',' Expression ',' Expression ( ',' Expression )? ')'[131] [141] ExistsFunc'EXISTS' GroupGraphPattern[132] [142] NotExistsFunc'NOT' 'EXISTS' GroupGraphPattern[133] [143] Aggregate 'COUNT' '(' 'DISTINCT'? ( '*' | Expression ) ')'
| 'SUM' '(' 'DISTINCT'? Expression ')'
| 'MIN' '(' 'DISTINCT'? Expression ')'
| 'MAX' '(' 'DISTINCT'? Expression ')'
| 'AVG' '(' 'DISTINCT'? Expression ')'
| 'SAMPLE' '(' 'DISTINCT'? Expression ')'
| 'GROUP_CONCAT' '(' 'DISTINCT'? Expression ( ';' 'SEPARATOR' '=' String )? ')' [134] [144] iriOrFunctioniri ArgList?[135] [145] RDFLiteralString ( LANGTAG | ( '^^' iri ) )?[136] [146] NumericLiteralNumericLiteralUnsigned | NumericLiteralPositive | NumericLiteralNegative[137] [147] NumericLiteralUnsignedINTEGER | DECIMAL | DOUBLE[138] [148] NumericLiteralPositiveINTEGER_POSITIVE | DECIMAL_POSITIVE | DOUBLE_POSITIVE[139] [149] NumericLiteralNegativeINTEGER_NEGATIVE | DECIMAL_NEGATIVE | DOUBLE_NEGATIVE[140] [150] BooleanLiteral'true' | 'false'[141] [151] StringSTRING_LITERAL1 | STRING_LITERAL2 | STRING_LITERAL_LONG1 | STRING_LITERAL_LONG2[142] [152] iriIRIREF | PrefixedName[143] [153] PrefixedNamePNAME_LN | PNAME_NS[144] [154] BlankNodeBLANK_NODE_LABEL | ANON[145] |
+ [155] |
IRIREF |
::= | '<' ([^<>"{}|^`\]-[#x00-#x20])* '>' |
[146] |
+ [156] |
PNAME_NS |
::= | PN_PREFIX? ':' |
[147] |
+ [157] |
PNAME_LN |
::= | PNAME_NS PN_LOCAL |
[148] |
+ [158] |
BLANK_NODE_LABEL |
::= | '_:' ( PN_CHARS_U | [0-9] ) ((PN_CHARS|'.')* PN_CHARS)? |
[149] |
+ [159] |
VAR1 |
::= | '?' VARNAME |
[150] |
+ [160] |
VAR2 |
::= | '$' VARNAME |
[151] |
+ [161] |
LANGTAG |
::= | '@' [a-zA-Z]+ ('-' [a-zA-Z0-9]+)* |
[152] |
+ [162] |
INTEGER |
::= | [0-9]+ |
[153] |
+ [163] |
DECIMAL |
::= | [0-9]* '.' [0-9]+ |
[154] |
+ [164] |
DOUBLE |
::= | [0-9]+ '.' [0-9]* EXPONENT | '.' ([0-9])+ EXPONENT | ([0-9])+ EXPONENT |
[155] |
+ [165] |
INTEGER_POSITIVE |
::= | '+' INTEGER |
[156] |
+ [166] |
DECIMAL_POSITIVE |
::= | '+' DECIMAL |
[157] |
+ [167] |
DOUBLE_POSITIVE |
::= | '+' DOUBLE |
[158] |
+ [168] |
INTEGER_NEGATIVE |
::= | '-' INTEGER |
[159] |
+ [169] |
DECIMAL_NEGATIVE |
::= | '-' DECIMAL |
[160] |
+ [170] |
DOUBLE_NEGATIVE |
::= | '-' DOUBLE |
[161] |
+ [171] |
EXPONENT |
::= | [eE] [+-]? [0-9]+ |
[162] |
+ [172] |
STRING_LITERAL1 |
::= | "'" ( ([^#x27#x5C#xA#xD]) | ECHAR )* "'" |
[163] |
+ [173] |
STRING_LITERAL2 |
::= | '"' ( ([^#x22#x5C#xA#xD]) | ECHAR )* '"' |
[164] |
+ [174] |
STRING_LITERAL_LONG1 |
::= | "'''" ( ( "'" | "''" )? ( [^'\] | ECHAR ) )* "'''" |
[165] |
+ [175] |
STRING_LITERAL_LONG2 |
::= | '"""' ( ( '"' | '""' )? ( [^"\] | ECHAR ) )* '"""' |
[166] |
+ [176] |
ECHAR |
::= | '\' [tbnrf\"'] |
[167] |
+ [177] |
NIL |
::= | '(' WS* ')' |
[168] |
+ [178] |
WS |
::= | #x20 | #x9 | #xD | #xA |
[169] |
+ [179] |
ANON |
::= | '[' WS* ']' |
[170] |
+ [180] |
PN_CHARS_BASE |
::= | [A-Z] | [a-z] | [#x00C0-#x00D6] | [#x00D8-#x00F6] | [#x00F8-#x02FF] | [#x0370-#x037D] | [#x037F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF] |
[171] |
+ [181] |
PN_CHARS_U |
::= | PN_CHARS_BASE | '_' |
[172] |
+ [182] |
VARNAME |
::= | ( PN_CHARS_U | [0-9] ) ( PN_CHARS_U | [0-9] | #x00B7 | [#x0300-#x036F] | [#x203F-#x2040] )* |
[173] |
+ [183] |
PN_CHARS |
::= | PN_CHARS_U | '-' | [0-9] | #x00B7 | [#x0300-#x036F] | [#x203F-#x2040] |
[174] |
+ [184] |
PN_PREFIX |
::= | PN_CHARS_BASE ((PN_CHARS|'.')* PN_CHARS)? |
[175] |
+ [185] |
PN_LOCAL |
::= | (PN_CHARS_U | ':' | [0-9] | PLX ) ((PN_CHARS | '.' | ':' | PLX)* (PN_CHARS | ':' | PLX) )? |
[176] |
+ [186] |
PLX |
::= | PERCENT | PN_LOCAL_ESC |
[177] |
+ [187] |
PERCENT |
::= | '%' HEX HEX |
[178] |
+ [188] |
HEX |
::= | [0-9] | [A-F] | [a-f] |
[179] |
+ [189] |
PN_LOCAL_ESC |
::= | '\' ( '_' | '~' | '.' | '-' | '!' | '$' | '&' | "'" | '(' | ')' | '*' | '+' | ',' | ';' | '=' | '/' | '?' | '#' | '@' | '%' ) |
@@ -11811,7 +11887,8 @@