Dear Jena ARQ Community,

I have this SPARQL query:

*select ("abc" AS ?ABC) where {?ind a <http://dbpedia.org/ontology/Animal>}*

Basically this query embeds a literal ("abc") in the head (inside the
SELECT clause). I have looked into the javadoc of Jena ARQ, but it seems
that the class Query (com.hp.hpl.jena.query) doesn't support to represent
constant/literal in head. It seems Jena Query class can only support
variables in the head.

I have searched for the solution as well in Stack Overflow with Jena tag
but I couldn't find any solution of my problem. So, does Jena ARQ,
particularly the class Query, support the representation of the HEAD/SELECT
clause above query? If yes, how can I do that using the library? Thank you
very much in advance.

Kind regards,
Fariz
FU Bolzano - Italy

Reply via email to