Package org.aksw.jena_sparql_api.algebra.transform
package org.aksw.jena_sparql_api.algebra.transform
-
ClassDescriptionN-way disjunction.Substitution strategy for constants in SPARQL graph patterns.Given extend(subOp, ?Transform OpAssign to OpExtend.A transformer that adds SERVICE invalid input: '<'cache:env://REMOTE> { } blocksTransformsTurn a join of unions into a union of joins.A transformer that evaluates every op whose sub ops are all
OpTableinstances to anotherOpTableinstance.Transformer that rewritesTransform GROUP([count(distinct *) AS ?.Transform expressions to property functions.Given a table extract all variables that map to the same constant to a bind block: Given: VALUES (?Transform OpFilter(false, subOp) to OpTable(empty)Join(LeftJoin(A, B), C) -> LeftJoin(Join(A, C), B) - if all vars of C shared with B are also shared with ATransform an expression of LeftJoin( LeftJoin(bl, br, be), ar, ae) with the expression e and ae TRUE to LeftJoinSet(bl, ar, br) Further: LeftJoinSet(X, LeftJoin(l, r, e)) becomes: LeftJoinSet(l, X, r)project(project(op, varsA), varsB) -> project(op, VarsB) Assumes that the op expression is valid, such that only the variables of the outer most projection need to be retained.ReplaceGRAPH X { }.Note: TransformRedundantProjectionRemoval seems to be the better choice.Pulls up Extend over joins and distinct join(extend(?Pull filters up so that they may be distributed over a join Example: Join( Filter({_?TransformMergeBGPS only works if the operands of a join are BGPS.Given filter expressions of form ?Transformation that pushes slices further down and into service clauses.Remove filters in patterns such as OpFilter(OpExtend(constant AS ?