// return (Value[][]) results.toArray(new Value[0][0]);
}
private static Value[][] doTupleQuery(RepositoryConnection con, String query) throws RepositoryException, MalformedQueryException, QueryEvaluationException {
TupleQuery resultsTable = con.prepareTupleQuery(QueryLanguage.SPARQL, query);
TupleQueryResult bindings = resultsTable.evaluate();
Vector<Value[]> results = new Vector<Value[]>();
for (int row = 0; bindings.hasNext(); row++) {
// System.out.println("RESULT " + (row + 1) + ": ");
BindingSet pairs = bindings.next();