如何强制 virtuoso sparql endpoint return 完整答案?

How to force virtuoso sparql endpoint return full answer?

我想查询DBpedia 并使用Virtuoso。在一些结果太多的查询中,它 returns 只是结果的一部分。例如,在下面的查询中,缺少谓词 http://dbpedia.org/ontology/birthplace。有没有办法从 Virtuoso 或任何其他端点获得所有结果?

SELECT DISTINCT ( ?p   AS  ?outEdge ) 
                ( ?q   AS  ?inEdge  ) 
                ( ?px  AS  ?dest    ) 
                ( ?qx  AS  ?source  ) 
 WHERE  {
          { <http://dbpedia.org/resource/England>  ?p  ?px  . } 
          UNION
          { ?qx  ?q  <http://dbpedia.org/resource/England>  . } 
        }

I want to query DBPeida and use virtuoso. In some queries which their results are too much it returns only part of the results for example in the below query the predicate http://dbpedia.org/ontology/birthplace is missing. Is there anyway to get all results either from virtuoso or any other endpoint ?

虽然我没有在您的问题中发现任何恶意或恶意,但您实际上是在询问如何规避 DBpedia 对有意和无意拒绝服务攻击的防御。内部限制有助于确保任何特定查询不会消耗太多资源。从 SPARQL 查询中获取所有结果的正确方法是使用 limitoffsetorder by,并使用多个查询。例如,

#-- get first 10 results
select ... where ...
order by ?name
limit 10 offset 0

#-- get next 10 results
select ... where ...
order by ?name
limit 10 offset 10

#-- get more resuls
select ... where ...
order by ?name
limit 10 offset 20