RdbmsValue o = vf.asRdbmsValue(obj, pred);
RdbmsResource[] c = vf.asRdbmsResource(ctxs);
flush();
SqlQueryBuilder query = buildSelectQuery(s, p, o, includeInferred, c);
if (query == null)
return new EmptyRdbmsStatementIteration();
List<?> parameters = query.findParameters(new ArrayList<Object>());
PreparedStatement stmt = conn.prepareStatement(query.toString());
try {
for (int i = 0, n = parameters.size(); i < n; i++) {
stmt.setObject(i + 1, parameters.get(i));