On 27/02/11 20:08, Rob Stewart wrote:
Hi Danny,

Thanks. Do you mean that I can use the SPARQL_Query class to do this
in the same way?

Yes - it's a servlet - you probably want the SPARQL_QueryDataset concrete class (you'll have to register the dataset for the store).


I don't need fuseki to expose a HTTP endpoint, as I
can use Tomcat for that. I've had a look at the SPARQL_Query class,
but there's not obvious method to execute a SPARQL query, which
returns a Jena Model, like the ARQ APIs do.

SELECT and ASK don't return a model unless you want to encode the result set/boolean as a model using the (semi-official) vocabulary. That is a rather different issue.


Is there an example of the SPARQL_Query class in use within a Java application?

QueryExecUtils

You can ask a Query object what kind of query it is.

        Andy

Reply via email to