5

I'm trying to get hold of the Wikidata inter-language links, i.e. a file listing all of the articles and which articles they are linked to in other languages.

( http://www.wikidata.org/wiki/Wikidata:Glossary#Sitelink )

It seems like this should exist, and such a file seems available in the Wikidata data dumps: http://dumps.wikimedia.org/wikidatawiki/

I would have thought the one I want is "...langlinks.sql.gz", which is described as "Wiki interlanguage link records." That file is only 32 KB though, and the SQL file only produces a few thousand lines.

What am I not understanding? Is it possible to get a list of these links?

5

The official Wikidata dumps are still in a very early stage.

At the moment, you might find these processed files helpful, especially the one that ends with links.ttl.gz (currently http://semanticweb.org/RDF/Wikidata/turtle-20130801-links.ttl.gz), which is a Turtle file that provides the inter-language links extracted from the Wikidata dump.

The export scripts are available on GitHub, and you might also find the corresponding announcement on the mailing list interesting.

Please also have a look at the related question How can I download the complete Wikidata database?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.