Dear all,
Standard way of filtering labels and calling SERVICE returns different number of results. Is it normal?
For example, I would like to get all places in Germany. If I filter language using rdfs:label I got 14346 results [1]. However, when I use SERVICE wikibase:label I got 37991 results [2].
Am I missing something?
The rdfs:label plus FILTER version is missing all results that don’t have an English label. Use OPTIONAL to fix that: [3], 37991 results, just like your second query.
Regards, Lucas
[3]: https://query.wikidata.org/#SELECT%20%3Fplace%20%3Flabel%20WHERE%20%0A%7B%0A...
On 03.09.2016 16:35, Ali Ismayilov wrote:
Dear all,
Standard way of filtering labels and calling SERVICE returns different number of results. Is it normal?
For example, I would like to get all places in Germany. If I filter language using rdfs:label I got 14346 results [1]. However, when I use SERVICE wikibase:label I got 37991 results [2].
Am I missing something?
-- Best regards, Ali Ismayilov
[1]
[2]
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata