|
Hi, I'm using JENA TDB Joseki in my work. I need to query multiple datasets and I know that the SPARQL 1.1 allow it, but when I submit any query nothing is returned. Someone can help me please. I read all FAQs about federated query and none is the same problem. This is my code: / * To change this template, choose Tools | Templates * and open the template in the editor. / package src; import com.hp.hpl.jena.query.Query; import com.hp.hpl.jena.query.QueryExecution; import com.hp.hpl.jena.query.QueryExecutionFactory; import com.hp.hpl.jena.query.QueryFactory; import com.hp.hpl.jena.query.ResultSet; import com.hp.hpl.jena.query.ResultSetFormatter; / * @author nusa / public class FederatedQuery {
} } |
|
You will need Fuseki, which replaces Joseki. If you are using Fuseki: the query endpoint will, if configured correctly, be http://127.0.0.1:2020/dblp/query -- note the /query on the end
|
|
Joseki doesn't support federated queries (or Fuseki for that case). Jena, doesn't to my knowledge, include a federated SPARQL query processor on the client and is dependent on support from the SPARQL endpoint itself. Fuseki does support SERVICE. Thats good to know. Is that everything from SPARQL Fed. Made the assumption based on http://jena.apache.org/documentation/serving_data/index.html |

