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
Subclasses of BaseTransform in org.eclipse.rdf4j.queryrender.sparql.ir.util.transformModifier and TypeClassDescriptionfinal classRecognize 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 classForm 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 classWithin GRAPH bodies, normalize local triple/path shapes by fusing adjacent PT/SP/PT patterns and performing conservative tail joins.final classApply path-related transforms repeatedly until the WHERE block reaches a textual fixed point.final classFuse 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 classPreserve or lightly canonicalize the orientation of bare negated property set triples.final classNormalize 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 classCanonicalize orientation of bare negated property set path triples ("!final classPreserve UNION branch order while optionally normalizing inside each branch.final classMerge consecutive GRAPH blocks that reference the same graph term into a single GRAPH with a concatenated body.final classRemove UNION nodes that have a single branch, effectively inlining their content.final classFuse a path triple with adjacent constant-predicate triples that share its subject (head prefix) or object (tail suffix).classFuse a path triple followed by a UNION of two single-step tail triples into a single path with an alternation tail.final classFuse 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 classLate 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 classFuse 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 classWithin 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 classFuse a UNION whose branches are each a single simple triple (optionally inside the same GRAPH) into a single path alternation: ?final classWhen 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 classRewrite 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 classStabilize 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 classInside GRAPH bodies, lift the scope marker from a path-generated UNION (branches all non-scoped) to the containing BGP.final classMerge adjacent VALUES blocks under provably-safe conditions: - Identical variable lists (same names, same order): conjunction is equivalent to the multiset intersection of rows.final classIf 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 classMerge a simple OPTIONAL body that explicitly targets the same GRAPH as the preceding GRAPH block into that block, i.e., GRAPH ?final classNormalize FILTER conditions by reconstructing simple NOT IN expressions from top-level conjunctions of inequalities against the same variable, e.g., ( ?final classNormalize members inside negated property sets within path texts for stability.final classRecognize 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 classWithin OPTIONAL bodies, move simple FILTER conditions earlier when all their variables are already available from preceding lines in the same OPTIONAL body.final classSimplify redundant parentheses in textual path expressions for readability and idempotence.final classRemove redundant single-child IrBGP layers inside UNION branches that do not carry new scope.