3 Replies Latest reply on Jan 27, 2012 4:50 PM by alwu-Oracle

    Retrieve triples accessed by Jena Arq

      Hey Folks,

      I have a doubt of implementation. Does anyone know if there is any function to retrieve the triples that are accessed by a query using the Jena ARQ? For example, in the query:

      SELECT? city,? latd
      FROM <http://dbpedia.org>
      WHERE {
      ? city <http://dbpedia.org/property/subdivisionName> <http://dbpedia.org/resource/Brazil>.
      ? city <http://dbpedia.org/property/latd>? latd.

      When I run QueryExecutionFactory. sparqlService (serviceURI, query). execSelect () I can return the values for the variables ?city and ?latd, but I'm interested in all triples corresponding to the result, i.e. the URIs that are not variables too. Does anyone know any function in the Jena ARQ that can give me this information?

      Vinicius P. Freire