public class RX extends Object
There are two entry points.
Function rdfStarTriple(org.apache.jena.sparql.engine.QueryIterator, org.apache.jena.graph.Triple, org.apache.jena.sparql.engine.ExecutionContext) for matching a single triple pattern in a basic
graph pattern that may involve RDF* terms.
Function matchTripleStar(org.apache.jena.sparql.engine.QueryIterator, org.apache.jena.sparql.core.Var, org.apache.jena.graph.Triple, org.apache.jena.sparql.engine.ExecutionContext) for matches a triple term and assigning the
triple matched to a variable. It is used within rdfStarTriple(org.apache.jena.sparql.engine.QueryIterator, org.apache.jena.graph.Triple, org.apache.jena.sparql.engine.ExecutionContext) for nested
triple term and a temporary allocated variable as well can for
FIND(<<...>> AS ?t).
| Constructor and Description |
|---|
RX() |
| Modifier and Type | Method and Description |
|---|---|
static QueryIterator |
matchTripleStar(QueryIterator chain,
Var var,
Triple triple,
ExecutionContext execCxt)
Match a triple pattern (which may have nested triple terms in it).
|
static QueryIterator |
rdfStarTriple(QueryIterator chain,
Triple triple,
ExecutionContext execCxt)
Match a single triple pattern that may involve RDF* terms.
|
public static QueryIterator rdfStarTriple(QueryIterator chain, Triple triple, ExecutionContext execCxt)
matchTripleStar(org.apache.jena.sparql.engine.QueryIterator, org.apache.jena.sparql.core.Var, org.apache.jena.graph.Triple, org.apache.jena.sparql.engine.ExecutionContext) matches a triple term and assigns the triple matched to a variable.
It is used within rdfStarTriple(org.apache.jena.sparql.engine.QueryIterator, org.apache.jena.graph.Triple, org.apache.jena.sparql.engine.ExecutionContext) for nested triple term and a temporary allocated variable
as well can for FIND(<<...>> AS ?t).matchData(org.apache.jena.sparql.engine.QueryIterator, org.apache.jena.graph.Triple, org.apache.jena.sparql.engine.ExecutionContext) which is simply:
new QueryIterTriplePattern(chain, triple, execCxt)}
public static QueryIterator matchTripleStar(QueryIterator chain, Var var, Triple triple, ExecutionContext execCxt)
Licenced under the Apache License, Version 2.0