Hey Andra,

it seems like at least the first example was a normal ranked statement and got converted to a deprecated one only recently. [1] In theory, that change should have been made on the query service as well but maybe there are issues with changing ranks and only new ranks are added without removing the old ones.

Best regards
Bene

[1] https://www.wikidata.org/w/index.php?title=Q7234435&diff=275081442&oldid=274352546

Am 23.11.2015 um 16:20 schrieb Andra Waagmeester:
When checking the quality of  the latest bot edits on disease terms I am seeing some strange results from the WDQS.
The numbers of statements with rank Normal and rank Deprecated don't add up, to the number added from the original source. 

When I ran the following query: 

PREFIX wd: <http://www.wikidata.org/entity/
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wikibase: <http://wikiba.se/ontology#>

SELECT DISTINCT ?diseases ?doid WHERE {
   ?diseases p:P699 ?doid .
   ?doid wikibase:rank wikibase:NormalRank .
   ?doid wikibase:rank wikibase:DeprecatedRank .
}

I did expect no result, since it returns statements with both rank normal, as rank deprecated. However, I got 2041 tuples [1].

Andra

[1] http://tinyurl.com/pgre6gh 



_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata