Refine search
@Test public void nondeterministic_functions_06() { String in = StrUtils.strjoinNL ("(filter ( (!= ?x ?s) (= ?x (rand)) )" ," (bgp (?s ?p ?x) (?s1 ?p1 ?x))" ,")") ; String out = StrUtils.strjoinNL ("(filter (= ?x (rand)) " ," (sequence" ," (filter (!= ?x ?s) (bgp (?s ?p ?x)))" ," (bgp (?s1 ?p1 ?x))" ,"))" ) ; test(in,out) ; }
@Test public void orderby_unstable_04() { // Assigned variable used only once can substitute expression for the // later usage of the variable // EXCEPT if the expression is unstable in which case we leave it alone //@formatter:off testNoChangeAggressive(StrUtils.strjoinNL("(project (?y)", " (order (?x)", " (extend (?x (bnode))", " (table unit))))")); //@formatter:on }
@Test public void filter_unstable_01() { // Assigned variable used only once can substitute expression for the // later usage of the variable // EXCEPT if the expression is unstable in which case we leave it alone //@formatter:off testNoChange(StrUtils.strjoinNL("(project (?y)", " (filter (exprlist ?x)", " (extend (?x (rand))", " (table unit))))")); //@formatter:on }
@Test public void filter_unstable_02() { // Assigned variable used only once can substitute expression for the // later usage of the variable // EXCEPT if the expression is unstable in which case we leave it alone //@formatter:off testNoChange(StrUtils.strjoinNL("(project (?y)", " (filter (exprlist ?x)", " (extend (?x (uuid))", " (table unit))))")); //@formatter:on }
@Test public void filter_unstable_03() { // Assigned variable used only once can substitute expression for the // later usage of the variable // EXCEPT if the expression is unstable in which case we leave it alone //@formatter:off testNoChange(StrUtils.strjoinNL("(project (?y)", " (filter (exprlist ?x)", " (extend (?x (struuid))", " (table unit))))")); //@formatter:on }
@Test public void filter_unstable_04() { // Assigned variable used only once can substitute expression for the // later usage of the variable // EXCEPT if the expression is unstable in which case we leave it alone //@formatter:off testNoChange(StrUtils.strjoinNL("(project (?y)", " (filter (exprlist ?x)", " (extend (?x (bnode))", " (table unit))))")); //@formatter:on }
@Test public void orderby_unstable_01() { // Assigned variable used only once can substitute expression for the // later usage of the variable // EXCEPT if the expression is unstable in which case we leave it alone //@formatter:off testNoChangeAggressive(StrUtils.strjoinNL("(project (?y)", " (order (?x)", " (extend (?x (rand))", " (table unit))))")); //@formatter:on }
@Test public void orderby_unstable_02() { // Assigned variable used only once can substitute expression for the // later usage of the variable // EXCEPT if the expression is unstable in which case we leave it alone //@formatter:off testNoChangeAggressive(StrUtils.strjoinNL("(project (?y)", " (order (?x)", " (extend (?x (uuid))", " (table unit))))")); //@formatter:on }
@Test public void orderby_unstable_03() { // Assigned variable used only once can substitute expression for the // later usage of the variable // EXCEPT if the expression is unstable in which case we leave it alone //@formatter:off testNoChangeAggressive(StrUtils.strjoinNL("(project (?y)", " (order (?x)", " (extend (?x (struuid))", " (table unit))))")); //@formatter:on }