Class CanonicalizeNpsByProjectionTransform

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

public final class CanonicalizeNpsByProjectionTransform extends BaseTransform
Canonicalize orientation of bare negated property set path triples ("!(...)") using SELECT projection order when available: prefer the endpoint that appears earlier in the projection list as the subject. If only one endpoint appears in the projection, prefer that endpoint as subject. Do not flip when either endpoint is an internal _anon_path_* bridge var. Path text is inverted member-wise when flipped to preserve semantics.