query-895d890fa93cc5d4ddcc96735552adc0
URLs of Wikipedia in all languagesThis query provides an alternative to scraping the Wikipedia.org portal page and various lists/tables of Wikipedias that are out there.
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?sitelink
WHERE
{
BIND(wd:Q52 AS ?wikipedia)
?sitelink schema:about ?wikipedia .
FILTER REGEX(STR(?sitelink), ".wikipedia.org/wiki/") .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?sitelink"):::projected
v2("?wikipedia")
f0[["regex(str(?sitelink),'.wikipedia.org/wiki/')"]]
f0 --> v1
bind1[/"'wd:Q52'"/]
bind1 --as--o v2
v1 --"schema:about"--> v2