Wikidata:Synia:language-location-index
Jump to navigation
Jump to search
Synia: Locations for language
[edit]PREFIX target: <http://www.wikidata.org/entity/Q150>
SELECT
?description ?descriptionUrl
?value ?valueUrl
?wikidata ?wikidataUrl
?hangor ?hangorUrl
?ordia ?ordiaUrl
?scholia ?scholiaUrl
WHERE {
{
BIND(1 AS ?order)
BIND("Language" AS ?description)
BIND("#language/" AS ?descriptionUrl)
target: rdfs:label ?value_string .
FILTER (LANG(?value_string) = 'en')
BIND(COALESCE(?value_string, SUBSTR(STR(target:), 32)) AS ?value)
BIND(CONCAT("#language/", SUBSTR(STR(target:), 32)) AS ?valueUrl)
BIND(CONCAT(SUBSTR(STR(target:), 32), " ↗") AS ?wikidata)
BIND(CONCAT("https://www.wikidata.org/wiki/", SUBSTR(STR(target:), 32)) AS ?wikidataUrl)
BIND("Hangor ↗" AS ?hangor)
BIND(CONCAT("https://hangor.toolforge.org/browse/", SUBSTR(STR(target:), 32)) AS ?hangorUrl)
BIND("Ordia ↗" AS ?ordia)
BIND(CONCAT("https://ordia.toolforge.org/language/", SUBSTR(STR(target:), 32)) AS ?ordiaUrl)
BIND("Scholia ↗" AS ?scholia)
BIND(CONCAT("https://scholia.toolforge.org/language/", SUBSTR(STR(target:), 32)) AS ?scholiaUrl)
}
}
ORDER BY ?order
Map of lexemes
[edit]#defaultView:Map
PREFIX target: <http://www.wikidata.org/entity/Q9035>
SELECT
?lexeme ?lemma
?location ?locationLabel
?geo
WHERE {
?lexeme dct:language target: ;
wikibase:lemma ?lemma ;
ontolex:sense / wdt:P5137 ?location .
?location wdt:P625 ?geo .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Map of demonyms
[edit]#defaultView:Map
PREFIX target: <http://www.wikidata.org/entity/Q9035>
SELECT ?lexeme ?lemma ?location ?geo {
?lexeme dct:language target: ;
wikibase:lemma ?lemma ;
ontolex:sense / wdt:P6271 ?location .
?location wdt:P625 ?geo .
}