Different kinds of query produce different types of results, so a qe.execSparql() couldn't work directly, some kind of switching/wrapping is needed.
The way Fuseki does this is around: org.openjena.fuseki.servlets.SPARQL_Query Cheers, Danny. -- http://danny.ayers.name
