0
我想使用jena進行分頁。我用這個查詢:如何在jena中使用子查詢進行分頁?
select distinct (?outEdge) (?inEdge) (?dest) (?source) { select distinct (?p as ?outEdge) (?q as ?inEdge) (?px as ?dest) (?qx as ?source) { { <http://dbpedia.org/resource/Japan> ?p ?px . } union { ?qx ?q <http://dbpedia.org/resource/Japan> . } } order by ?p } offset 0 limit 10000
但是這個查詢適用於在線DBpedia的端點(Viruoso),但在耶拿出現此錯誤:
com.hp.hpl.jena.query.QueryParseException: Encountered " ")" ") "" at line 1, column 585.