buffer.append(RCMD).append(SPACE);
buffer.append("SELECT DISTINCT ?p ?o").append(SPACE);
buffer.append("FROM ").append(RICORDO).append(SPACE);
buffer.append("WHERE { <").append(variableName).append("> ?p ?o . FILTER regex(str(?p), \"biology\")} ");
VirtuosoQueryExecution vqe = VirtuosoQueryExecutionFactory.create (buffer.toString(), graph);
return vqe.execSelect();
}
public void insertAnnotString(String variableName, String property, String annotValue){
StringBuffer buffer = new StringBuffer();
buffer.append("INSERT INTO GRAPH ").append(RICORDO).append(SPACE);