Hi I had a short conversation with Stas earlier about this, but thought I'd continue the conversation on the group for general interest.
In the wikidata JSON dumps, I noticed that Redirects are inlined. For example:
Q6703218 https://www.wikidata.org/w/index.php?title=Q6703218&redirect=no redirects to Q24836918 https://www.wikidata.org/wiki/Q24836918. However, I do not see this information in the json. The Redirect reference has been inlined:
https://www.wikidata.org/wiki/Special:EntityData/Q24836918.json https://www.wikidata.org/wiki/Special:EntityData/Q6703218.json
There is a owl:sameAs annotation when I use the SPAQRL query: SPARQL: Q6703218 https://query.wikidata.org/#SELECT%20%2a%20%7Bwd%3AQ6703218%20%3Fx%20%3Fy%7D
When using JSON dumps, how can I tell a redirected entity from the JSON dumps
Thanks Praveen
Am 12.12.2016 um 20:53 schrieb Praveen Balaji:
When using JSON dumps, how can I tell a redirected entity from the JSON dumps
If you look at the ID of the entity you get when you ask for https://www.wikidata.org/wiki/Special:EntityData/Q6703218.json, you will notice that it does not have the ID you requested. This way, you know that you have been redirected.