You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Great project. I've been trying to extract the links to Wikipedias, and am guessing that this info should be in the wikipedia_links files, but is missing.
According to this example, WikiBase JSON, there should be info such as:
{
"sitelinks": {
"afwiki": {
"site": "afwiki",
"title": "New York Stad",
"badges": []
},
"frwiki": {
"site": "frwiki",
"title": "New York City",
"badges": []
},
"nlwiki": {
"site": "nlwiki",
"title": "New York City",
"badges": [
"Q17437796"
]
}
}
This info is displayed in the Wikipedia section of a WikiData page.
However, the wikipedia_links files only contain this data:
qid: the QID of the entity
wiki_title: link to corresponding wikipedia entity
Ex:
{"qid":"Q23","wiki_title":"George Washington"}
So, there is no reference to the language of the wikipedia.
Is there any chance of Wikipedia sitelinks getting added to a future version?
The text was updated successfully, but these errors were encountered:
Hi! Thanks for flagging this. Just so I understand correctly, you'd like if the wikipedia_links objects contained the following data:
qid: the QID of the entity
wiki_title: link to corresponding wikipedia entity
language: language of wikipedia article
Apologies if I'm misunderstanding. If it's easier, the portion of code which creates the wikipedia objects can be found here–feel free to make a PR and I can merge it ASAP!
Hi! Great project. I've been trying to extract the links to Wikipedias, and am guessing that this info should be in the wikipedia_links files, but is missing.
According to this example, WikiBase JSON, there should be info such as:
This info is displayed in the
Wikipedia
section of a WikiData page.However, the
wikipedia_links
files only contain this data:Ex:
So, there is no reference to the language of the wikipedia.
Is there any chance of Wikipedia sitelinks getting added to a future version?
The text was updated successfully, but these errors were encountered: