pattern.add(Triple.create(Node.createVariable("s"), Node.createURI("http://example.org/value"), Node.createVariable("o")));
rels = translate(pattern, "optimizer/filtertests.n3");
NodeRelation intvalue = search("table2", "intvalue", rels);
Expr subject = new E_IsLiteral(new ExprVar("s"));
Expr object = new E_IsLiteral(new ExprVar("o"));
assertEquals("ISLITERAL(literal) should be TRUE", Expression.TRUE, TransformExprToSQLApplyer.convert(object, label));
assertEquals("ISLITERAL(literal@lang) should be TRUE", Expression.TRUE, TransformExprToSQLApplyer.convert(object, label_en));
assertEquals("ISLITERAL(uri) should be FALSE", Expression.FALSE, TransformExprToSQLApplyer.convert(subject, label));
assertEquals("ISLITERAL(intvalue) should be TRUE", Expression.TRUE, TransformExprToSQLApplyer.convert(object, intvalue));