Uses of Class
org.eclipse.rdf4j.queryrender.sparql.ir.util.transform.BaseTransform

Packages that use BaseTransform
  • Uses of BaseTransform in org.eclipse.rdf4j.queryrender.sparql.ir.util.transform

    Modifier and Type
    Class
    Description
    final class 
    Recognize RDF collection encodings (rdf:first/rdf:rest/... rdf:nil) headed by an anonymous collection variable and rewrite them to SPARQL collection syntax in text, e.g., ?s ex:list (1 2 3).
    final class 
    Form negated property sets (NPS) from simple shapes involving a predicate variable constrained by NOT IN or a chain of != filters, optionally followed by a constant-predicate tail step that is fused.
    final class 
    Within GRAPH bodies, normalize local triple/path shapes by fusing adjacent PT/SP/PT patterns and performing conservative tail joins.
    final class 
    Apply path-related transforms repeatedly until the WHERE block reaches a textual fixed point.
    final class 
    Fuse simple chains of constant-predicate statement patterns connected by parser-inserted bridge variables into property path triples, and handle a few local path+filter shapes (e.g., basic NPS formation) where safe.
    final class 
    Preserve or lightly canonicalize the orientation of bare negated property set triples.
    final class 
    Normalize grouping of a final tail step like "/foaf:name" so that it appears outside the top-level grouped PT/PT fusion instead of inside the right-hand side group.
    final class 
    Canonicalize orientation of bare negated property set path triples ("!
    final class 
    Preserve UNION branch order while optionally normalizing inside each branch.
    final class 
    Merge consecutive GRAPH blocks that reference the same graph term into a single GRAPH with a concatenated body.
    final class 
    Remove UNION nodes that have a single branch, effectively inlining their content.
    final class 
    Fuse a path triple with adjacent constant-predicate triples that share its subject (head prefix) or object (tail suffix).
    class 
    Fuse a path triple followed by a UNION of two single-step tail triples into a single path with an alternation tail.
    final class 
    Fuse pattern: [PathTriple pre] followed by a UNION with two branches that each represent a tail path from pre.object to a common end variable.
    final class 
    Late transform: inside a SERVICE body, fuse a UNION of two single-branch bare-NPS path triples into a single negated property set path triple combining members.
    final class 
    Fuse a UNION whose branches are each a single bare-NPS path triple (optionally inside the same GRAPH) into a single NPS triple that combines members, preserving forward orientation and inverting members from inverse-oriented branches (using '^') when needed.
    final class 
    Within a UNION, merge a subset of branches that are single IrPathTriple (or GRAPH with single IrPathTriple), share identical endpoints and graph ref, and do not themselves contain alternation or quantifiers.
    final class 
    Fuse a UNION whose branches are each a single simple triple (optionally inside the same GRAPH) into a single path alternation: ?
    final class 
    When a FILTER EXISTS is immediately preceded by a single triple, and the EXISTS body itself contains an explicit grouped block (i.e., its where has a single IrBGP line), wrap the preceding triple and the FILTER together in a group.
    final class 
    Rewrite a UNION whose multiple branches are each a single GRAPH block with the same graph reference into a single GRAPH whose body contains a UNION of the inner branch bodies.
    final class 
    Stabilize rendering for UNION branches that combine a top-level VALUES clause with a negated property set path triple by preserving an extra grouping block around the branch content.
    final class 
    Inside GRAPH bodies, lift the scope marker from a path-generated UNION (branches all non-scoped) to the containing BGP.
    final class 
    Merge adjacent VALUES blocks under provably-safe conditions: - Identical variable lists (same names, same order): conjunction is equivalent to the multiset intersection of rows.
    final class 
    If a GRAPH block is immediately followed by a FILTER with an EXISTS body that itself wraps its content in a GRAPH of the same graph reference, move the FILTER EXISTS inside the preceding GRAPH and unwrap the inner GRAPH wrapper.
    final class 
    Merge a simple OPTIONAL body that explicitly targets the same GRAPH as the preceding GRAPH block into that block, i.e., GRAPH ?
    final class 
    Normalize FILTER conditions by reconstructing simple NOT IN expressions from top-level conjunctions of inequalities against the same variable, e.g., ( ?
    final class 
    Normalize members inside negated property sets within path texts for stability.
    final class 
    Recognize a parsed subselect encoding of a simple zero-or-one property path between two variables and rewrite it to a compact IrPathTriple with a trailing '?'
    final class 
    Within OPTIONAL bodies, move simple FILTER conditions earlier when all their variables are already available from preceding lines in the same OPTIONAL body.
    final class 
    Simplify redundant parentheses in textual path expressions for readability and idempotence.
    final class 
    Remove redundant single-child IrBGP layers inside UNION branches that do not carry new scope.