Thank you for your quick answer.

I have a local DBpedia Live Mirror configured to avoid this kind of
timeout and I'm getting equivalent results.
Also, I've made a full scan of the results and the numbers are the same.

These following queries make me wonder if there is something wrong:

PREFIX dbpedia-owl:<http://dbpedia.org/ontology/>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT COUNT(DISTINCT *)
FROM <http://dbpedia.org>
WHERE {
?entity rdf:type yago:Person100007846.
?entity rdf:type dbpedia-owl:Person.
}

Results:
http://dbpedia.org/sparql: #902428
http://live.dbpedia.org/sparql: #541107


This one must be executed in WikiData SPARQL endpoint https://query.wikidata.org

SELECT (COUNT(?entity) AS ?number_of_people)
WHERE {
  ?entity wdt:P31 wd:Q5.
}

Results:
https://query.wikidata.org: #3254187


I am getting what appears to be a more realistic number of results in
WikiData than in DBpedia.

Any suggestion about what is happening?

Regards,

J


On 10 September 2016 at 23:43, Krzysztof Węcel
<krzysztof.we...@gmail.com> wrote:
> I guess it is caused by internal time-out for query calculation. But it
> is only a guess based on my work with Virtuoso server in another project.
>
>
>
> Best regards,
> Krzysztof
>
>
>
> On 2016-09-10 22:55, Jordi Palá wrote:
>> Hi,
>>
>> Executing the following SPARQL query I am receiving a huge difference
>> in the number of results:
>>
>> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
>> PREFIX dbpedia-owl:<http://dbpedia.org/ontology/>
>> SELECT COUNT (DISTINCT ?uri)
>> FROM <http://dbpedia.org>
>> WHERE {
>>     ?uri rdf:type dbpedia-owl:Person.
>> }
>>
>> The counts for each endpoint are:
>> http://dbpedia.org/sparql: #1760734
>> http://live.dbpedia.org/sparql: #936709
>>
>> Why such a great difference?
>>
>> Best regards,
>>
>> J
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> DBpedia-developers mailing list
>> DBpedia-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>>
>

------------------------------------------------------------------------------
_______________________________________________
DBpedia-developers mailing list
DBpedia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers

Reply via email to