Class ApplyPathsTransform

java.lang.Object
org.eclipse.rdf4j.queryrender.sparql.ir.util.transform.BaseTransform
org.eclipse.rdf4j.queryrender.sparql.ir.util.transform.ApplyPathsTransform

public final class ApplyPathsTransform extends BaseTransform
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. Scope and safety: - Only composes across _anon_path_* variables so user-visible bindings remain intact. - Accepts constant-predicate SPs and preserves GRAPH/OPTIONAL/UNION structure via recursion. - Leaves complex cases to later passes (fixed point), keeping this pass easy to reason about.