I would like to query dbpedia for articles in different languages, e.g. Hungarian. Here is an example query: it searches for articles with the name 'Budapest' (capital of Hungary).
PREFIX dbprop: <http://dbpedia.org/property/>
PREFIX db: <http://dbpedia.org/resource/>
SELECT ?article, ?url, ?name WHERE {
?article foaf:isPrimaryTopicOf ?url .
?article foaf:name ?name
FILTER regex(?name, 'Budapest')
}
LIMIT 100
note: the query takes a while to execute because of the regex matching.
There are Wikipedia articles with this name in both English and Hungarian, however the query gives English articles only (all urls are under the en.wikipedia.org domain).
Are articles on other languages indexed in dbpedia?, if so, how can I modify the query to find the Hungarian articles too?
Yes only English literals are in the public endpoint (including abstracts). If you want to query other language abstracts:
If you run into trouble, feel free to ask for assistance.