URI foo = factory.createURI("http://www.foo.example/foo");
URI bar = factory.createURI("http://www.foo.example/bar");
SailConnection con = store.getConnection();
con.addStatement(foo, RDF.TYPE, bar);
con.commit();
ParsedTupleQuery query = QueryParserUtil.parseTupleQuery(QueryLanguage.SERQL,
"SELECT X, P, Y FROM {X} P {Y}", null);
TupleExpr tupleExpr = query.getTupleExpr();