LinguaLibre
Difference between revisions of "Speakers"
(to allow translating the column title) |
m |
||
Line 10: | Line 10: | ||
#extra:{"type": "wikibase-item", "filter":"Q4", "label": "P4", "multiple": true} ?locutor prop:P4 entity:[EXTRA] . | #extra:{"type": "wikibase-item", "filter":"Q4", "label": "P4", "multiple": true} ?locutor prop:P4 entity:[EXTRA] . | ||
− | |||
?locutor prop:P14 ?location . | ?locutor prop:P14 ?location . | ||
BIND(uri(concat("http://www.wikidata.org/entity/", IF( isBLANK(?location), 'Q2', ?location ))) as ?locationItem). | BIND(uri(concat("http://www.wikidata.org/entity/", IF( isBLANK(?location), 'Q2', ?location ))) as ?locationItem). | ||
Line 18: | Line 17: | ||
?locationItem rdfs:label ?place . | ?locationItem rdfs:label ?place . | ||
FILTER (LANG(?place) = "[AUTO_LANGUAGE]") . | FILTER (LANG(?place) = "[AUTO_LANGUAGE]") . | ||
− | } | + | } |
− | + | SERVICE wikibase:label { | |
− | |||
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | ||
} | } | ||
} | } | ||
</query></translate> | </query></translate> |