Paolo answered this question on 18th August.

Resending unchanged isn't going to get another answer especially as you haven't given details of the query string or the data.

Please provide a complete, minimal example.

        Andy

On 29/08/11 09:30, Jérôme wrote:
Hello,

I am a new Jena/Joseki user and i would like to get matching string
positions in order to highligth them.
Queries are LARQ queries.

Here the client side code:

Query query = QueryFactory.create(queryString) ;
QueryExecution qExec = QueryExecutionFactory.sparqlService(url, query);
ResultSet set = qExec.execSelect();
String xml = ResultSetFormatter.asXMLString(set) ;
qExec.close();

I probably have to use an other way than the sparqlService method. I
know that positions are available with Lucene, but how to recover this
information with the Jena API ?

What is the a simple way to do that?

Thanks.

Jerome.

Reply via email to