LinguaLibre
Difference between revisions of "Speakers"
Line 14: | Line 14: | ||
?locutor prop:P14 ?location . | ?locutor prop:P14 ?location . | ||
− | BIND(uri(concat("http://www.wikidata.org/entity/", ?location)) as ?locationItem). | + | BIND(uri(concat("http://www.wikidata.org/entity/", IF( isBLANK(?location), 'Q2', ?location ))) as ?locationItem). |
SERVICE <https://query.wikidata.org/sparql> { | SERVICE <https://query.wikidata.org/sparql> { | ||
#extra:{"type":"wikidata", "label":"P14"} ?locationItem wdt:P131*/wdt:P131? wd:[EXTRA] . | #extra:{"type":"wikidata", "label":"P14"} ?locationItem wdt:P131*/wdt:P131? wd:[EXTRA] . | ||
?locationItem rdfs:label ?place . | ?locationItem rdfs:label ?place . | ||
− | FILTER (LANG(?place) = " | + | FILTER (LANG(?place) = "[AUTO_LANGUAGE]") . |
} | } | ||
SERVICE wikibase:label { | SERVICE wikibase:label { | ||
− | bd:serviceParam wikibase:language " | + | bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . |
} | } | ||
} | } | ||
</query> | </query> |
Revision as of 08:23, 21 May 2018
During the beta, data shown here are refresh only once a day.