BASE <...>
XPath: //BaseDecl
Production: BaseDecl
differentiated by use of production BaseDecl.
PREFIX : <...>
XPath: //Prologue/PrefixDecl/PNAME_NS[text()=':'
Production: PrefixDecl
differentiated by use of production PrefixDecl.
PREFIX foo: <...>
XPath: //Prologue/PrefixDecl/PNAME_NS[text()!=':'
Production: PrefixDecl
differentiated by use of production PrefixDecl.
PREFIX foo: <...> PREFIX bar: <...>
XPath: //Prologue[count(PrefixDecl) > 1]
Production: PrefixDecl
differentiated by use of production PrefixDecl.
SELECT DISTINCT ?x
XPath: //SelectQuery[yacker:implicit-terminal[text()='DISTINCT'] and Var]
Production: SelectQuery
differentiated by:
SELECT DISTINCT *
Production: SelectQuery
differentiated by use of production SelectQuery.
SELECT ?x
XPath: //SelectQuery[not(yacker:implicit-terminal[text()='DISTINCT']) and Var]
Production: SelectQuery
differentiated by:
SELECT *
Production: SelectQuery
differentiated by:
SELECT $x ?y
XPath: //SelectQuery[count(Var) > 1]
Production: SelectQuery
differentiated by:
FROM <...>
XPath: //DefaultGraphClause
Production: DefaultGraphClause
differentiated by use of production DefaultGraphClause.
FROM <...> FROM <...>
XPath: //SelectQuery[count(DatasetClause/DefaultGraphClause) > 1]
Production: DefaultGraphClause
differentiated by use of production DefaultGraphClause.
FROM NAMED <...>
XPath: //NamedGraphClause
Production: NamedGraphClause
differentiated by:
FROM NAMED <...> FROM NAMED <...>
XPath: //SelectQuery[count(DatasetClause/NamedGraphClause) > 1]
Production: NamedGraphClause
differentiated by:
UNION { ... }
XPath: //GroupOrUnionGraphPattern/yacker:implicit-terminal[text()='UNION']
Production: GroupOrUnionGraphPattern
differentiated by use of production GroupOrUnionGraphPattern.
OPTIONAL { ... }
XPath: //OptionalGraphPattern
Production: OptionalGraphPattern
differentiated by use of production OptionalGraphPattern.
GRAPH ?x { ... }
XPath: //GraphGraphPattern
Production: GraphGraphPattern
differentiated by use of production GraphGraphPattern.
WHERE { ... }
XPath: //WhereClause/yacker:implicit-terminal[text()='WHERE']
Production: WhereClause
differentiated by:
WHERE^H^H^H { ... }
XPath: //WhereClause[count(yacker:implicit-terminal[text()='WHERE']) = 0]
Production: WhereClause
differentiated by:
{}
XPath: //GroupGraphPattern[not(TriplesBlock) and not(GraphPatternNotTriples)]
Production: GraphPatternElement
differentiated by:
{ ?s ?p ?o ... }
Production: GraphPatternElement
differentiated by:
{ ... ?s ?p ?o . }
Production: GraphPatternElement
differentiated by:
{ ... ?s ?p ?o1, ?o2 ... }
XPath: //TriplesSameSubject/PropertyListNotEmpty[count(Verb)=1 and ObjectList[count(Object)>1]
Production: GraphPatternElement
differentiated by:
{ ... ?s ?p1 ?o1 ; ?p2 ?o2 ... }
XPath: //TriplesSameSubject/PropertyListNotEmpty[count(Verb)>1 and ObjectList[count(Object)=1]
Production: GraphPatternElement
differentiated by:
{ ... ?s1 ?p1 ?o1 . ?s2 ?p2 ?o2 ... }
XPath: //TriplesBlock/TriplesBlock
Production: GraphPatternElement
differentiated by:
prefix:
XPath: //PrefixedName/PNAME_NS
Production: PrefixedName
differentiated by:
:localName
XPath: //PrefixedName/PNAME_LN[starts-with(text(), ':')]
Production: PrefixedName
differentiated by:
prefix:localName
XPath: //PrefixedName/PNAME_LN[not(starts-with(text(), ':'))]
Production: PrefixedName
differentiated by:
?s ?p 'asdf'
XPath: //String/STRING_LITERAL1
Production: String
differentiated by:
?s ?p asdf
XPath: //String/STRING_LITERAL2
Production: String
differentiated by:
?s ?p '''asdf'''
XPath: //String/STRING_LITERAL_LONG1
Production: String
differentiated by:
?s ?p asdf
XPath: //String/STRING_LITERAL_LONG2
Production: String
differentiated by:
?s ?p 'chat'
XPath: //RDFLiteral[count(LANGTAG)=0]
Production: GraphTerm
differentiated by:
?s ?p 'chat'@fr-fr
XPath: //RDFLiteral[count(LANGTAG)=0]
Production: GraphTerm
differentiated by:
?s ?p '123'^^xsd:integer
XPath: //RDFLiteral/IRIref
Production: GraphTerm
differentiated by:
?s ?p 5
XPath: //NumericLiteralUnsigned/INTEGER
Production: NumericLiteral
differentiated by:
?s ?p 8.3
XPath: //NumericLiteralUnsigned/DECIMAL
Production: NumericLiteral
differentiated by:
?s ?p 8.3E0
XPath: //NumericLiteralUnsigned/DOUBLE
Production: NumericLiteral
differentiated by:
?s ?p +5
XPath: //NumericLiteralPositive
Production: GraphTerm
differentiated by:
?s ?p -5
XPath: //NumericLiteralNegative
Production: GraphTerm
differentiated by:
?s ?p true
XPath: //BooleanLiteral/yacker:implicit-terminal[translate(text(), 'TRUE', 'true')='true']
Production: GraphTerm
differentiated by:
?s ?p false
XPath: //BooleanLiteral/yacker:implicit-terminal[translate(text(), 'FALSE', 'false')='false']
Production: GraphTerm
differentiated by:
... _:a ...
XPath: //BLANK_NODE_LABEL
Production: BlankNode
differentiated by:
?s ?p ()
XPath: //GraphTerm/NIL
Production: Collection
differentiated by:
?s ?p (1)
XPath: //Collection[count(GraphNode)=1]
Production: Collection
differentiated by:
?s ?p (1 2)
XPath: //Collection[count(GraphNode)>1]
Production: Collection
differentiated by:
[ ?p2 ?o2 ]
XPath: //BlankNodePropertyList
Production: BlankNodePropertyList
differentiated by:
?s a ?o
XPath: //Verb/yacker:implicit-terminal[text()='a']
Production: Verb
differentiated by:
FILTER STR(?x)
XPath: BuiltInCall/yacker:implicit-terminal[text()='STR']
Production: BuiltInCall
differentiated by:
FILTER LANG(?x)
XPath: BuiltInCall/yacker:implicit-terminal[text()='LANG']
Production: BuiltInCall
differentiated by:
FILTER LANGMATCHES(?x)
XPath: BuiltInCall/yacker:implicit-terminal[text()='LANGMATCHES']
Production: BuiltInCall
differentiated by:
FILTER DATATYPE(?x)
XPath: BuiltInCall/yacker:implicit-terminal[text()='DATATYPE']
Production: BuiltInCall
differentiated by:
FILTER BOUND(?x)
XPath: BuiltInCall/yacker:implicit-terminal[text()='BOUND']
Production: BuiltInCall
differentiated by:
FILTER SAMETERM(?x)
XPath: BuiltInCall/yacker:implicit-terminal[text()='SAMETERM']
Production: BuiltInCall
differentiated by:
FILTER ISIRI(?x)
XPath: BuiltInCall/yacker:implicit-terminal[text()='ISIRI']
Production: BuiltInCall
differentiated by:
FILTER ISBLANK(?x)
XPath: BuiltInCall/yacker:implicit-terminal[text()='ISBLANK']
Production: BuiltInCall
differentiated by:
FILTER ISLITERAL(?x)
XPath: BuiltInCall/yacker:implicit-terminal[text()='ISLITERAL']
Production: BuiltInCall
differentiated by:
FILTER REGEX(?x, 'asdf')
XPath: //RegexExpression[count(Expression)=2]
Production: RegexExpression
differentiated by:
FILTER REGEX(?x, 'asdf', 'i')
XPath: //RegexExpression[count(Expression)=3]
Production: RegexExpression
differentiated by:
?x = <...>
XPath: //IRIrefOrFunction
Production: IRIrefOrFunction
differentiated by:
xsd:string(?x)
XPath: //IRIref/PrefixedName/PNAME_LN[text()='xsd:string']
Production: IRIrefOrFunction
differentiated by:
xsd:float(?x)
XPath: //IRIref/PrefixedName/PNAME_LN[text()='xsd:float']
Production: IRIrefOrFunction
differentiated by:
xsd:double(?x)
XPath: //IRIref/PrefixedName/PNAME_LN[text()='xsd:double']
Production: IRIrefOrFunction
differentiated by:
xsd:decimal(?x)
XPath: //IRIref/PrefixedName/PNAME_LN[text()='xsd:decimal']
Production: IRIrefOrFunction
differentiated by:
xsd:integer(?x)
XPath: //IRIref/PrefixedName/PNAME_LN[text()='xsd:integer']
Production: fIRIrefOrFunction
differentiated by:
xsd:datetime(?x)
XPath: //IRIref/PrefixedName/PNAME_LN[text()='xsd:datetime']
Production: IRIrefOrFunction
differentiated by:
xsd:boolean(?x)
XPath: //IRIref/PrefixedName/PNAME_LN[text()='xsd:boolean']
Production: IRIrefOrFunction
differentiated by:
A || B
XPath: //ConditionalOrExpression[count(ConditionalAndExpression)>1]
Production: @@@
differentiated by use of production @@@.
A && B
XPath: //ConditionalAndExpression[count(ValueLogical)>1]
Production: @@@
differentiated by use of production @@@.
A = B
XPath: //RelationalExpression/yacker:implicit-terminal[text()='EQUAL']
Production: @@@
differentiated by use of production @@@.
A != B
XPath: //RelationalExpression/yacker:implicit-terminal[text()='NEQUAL']
Production: @@@
differentiated by use of production @@@.
A < B
XPath: //RelationalExpression/yacker:implicit-terminal[text()='LT']
Production: @@@
differentiated by use of production @@@.
A > B
XPath: //RelationalExpression/yacker:implicit-terminal[text()='GT']
Production: @@@
differentiated by use of production @@@.
A <= B
XPath: //RelationalExpression/yacker:implicit-terminal[text()='LE']
Production: @@@
differentiated by use of production @@@.
A >= B
XPath: //RelationalExpression/yacker:implicit-terminal[text()='GE']
Production: @@@
differentiated by use of production @@@.
A + B
XPath: //AdditiveExpression[count(MultiplicativeExpression)>1]
Production: @@@
differentiated by use of production @@@.
A * B
XPath: //MultiplicativeExpression[count(UnaryExpression)>1]
Production: @@@
differentiated by use of production @@@.
!A
XPath: //UnaryExpression/yacker:implicit-terminal[text()='NOT']
Production: @@@
differentiated by use of production @@@.
A + B
XPath: //UnaryExpression/yacker:implicit-terminal[text()='PLUS']
Production: @@@
differentiated by use of production @@@.
A - B
XPath: //UnaryExpression/yacker:implicit-terminal[text()='MINUS']
Production: @@@
differentiated by use of production @@@.
FILTER (... (...) ...)
XPath: //PrimaryExpression/BrackettedExpression
Production: @@@
differentiated by use of production @@@.
FILTER (... STR(?x) ...)
XPath: //PrimaryExpression/BuiltInCall
Production: @@@
differentiated by use of production @@@.
FILTER (... <x> ...)
XPath: //PrimaryExpression/IRIrefOrFunction[IRIref and not(ArgList)]
Production: @@@
differentiated by use of production @@@.
FILTER (... <x>(...) ...)
XPath: //PrimaryExpression/IRIrefOrFunction[IRIref and ArgList]
Production: @@@
differentiated by use of production @@@.
FILTER (... 'asdf' ...)
XPath: //PrimaryExpression/RDFLiteral
Production: @@@
differentiated by use of production @@@.
FILTER (... 123 ...)
XPath: //PrimaryExpression/NumericLiteral
Production: @@@
differentiated by use of production @@@.
FILTER (... true ...)
XPath: //PrimaryExpression/BooleanLiteral
Production: @@@
differentiated by use of production @@@.
FILTER (... ?x ...)
XPath: //PrimaryExpression/Var
Production: @@@
differentiated by use of production @@@.
ORDER BY ?x
XPath: //OrderClause[count(OrderCondition) = 1]
Production: OrderClause
differentiated by use of production OrderClause.
ORDER BY ?x ?y
XPath: //OrderClause[count(OrderCondition) > 1]
Production: OrderClause
differentiated by use of production OrderClause.
no ASC or DESC
XPath: //OrderCondition[not(yacker:implicit-terminal)]
Production: OrderCondition
differentiated by:
ORDER BY ASC ...
XPath: //OrderCondition/yacker:implicit-terminal[text()='ASC']
Production: OrderCondition
differentiated by:
ORDER BY DESC ...
XPath: //OrderCondition/yacker:implicit-terminal[text()='ASC']
Production: OrderCondition
differentiated by:
ORDER BY (?x+?y)
XPath: //OrderCondition/Constraint/BracketedExpression
Production: OrderCondition
differentiated by:
ORDER BY STR(?x)
XPath: //OrderCondition/Constraint/BuiltInCall
Production: OrderCondition
differentiated by:
ORDER BY xsd:integer(?x)
XPath: //OrderCondition/Constraint/FunctionCall
Production: OrderCondition
differentiated by:
ORDER BY ?x
XPath: //OrderCondition/Var
Production: OrderCondition
differentiated by:
LIMIT 5
XPath: //LimitOffsetClauses[LimitClause and not(OffsetClause)]
Production: LimitOffsetClauses
differentiated by:
LIMIT 5 OFFSET 3
XPath: //LimitOffsetClauses[LimitClause and OffsetClause[position()=1]]
Production: LimitOffsetClauses
differentiated by:
OFFSET 3
XPath: //LimitOffsetClauses[OffsetClause and not(LimitClause)]
Production: LimitOffsetClauses
differentiated by:
OFFSET 3 LIMIT 5
XPath: //LimitOffsetClauses[OffsetClause and LimitClause[position()=0]]
Production: LimitOffsetClauses
differentiated by:
=> TRUE
XPath: //AskQuery
Production: AskQuery
differentiated by use of production AskQuery.
=> FALSE
XPath: //AskQuery
Production: AskQuery
differentiated by use of production AskQuery.
CONSTRUCT { :s :p ?o }
XPath: //ConstructQuery
Production: ConstructQuery
differentiated by:
CONSTRUCT { :s :p ?known }
XPath: //ConstructTriples
Production: ConstructTriples
differentiated by use of production ConstructTriples.
CONSTRUCT { :s :p ?unknown }
XPath: //ConstructTriples
Production: ConstructTriples
differentiated by use of production ConstructTriples.