Get another language on Wikipedia page

Task: We have a Wikipedia page, and you need to get the same page address in Russian.

I know the Semantic Web solution - use a simple query on DbPedia, but I'm curious if there are traditional solutions. I asked the same question at semanticoverflow.com , where Toby Inkster suggested parsing http://en.wikipedia.org/wiki/Colugo?action=raw (there are links to other languages โ€‹โ€‹below), but this method is too inefficient. Are there other ways, or is DbPedia the only real option?

+3
source share
1 answer

Wikipedia has an extensive API that can provide language link information among others. In this particular case you are looking api.php?action=query&prop=langlinks&titles=.... See here for an example .

+4
source

Source: https://habr.com/ru/post/1774072/


All Articles