query-2c1445bf795b30d82adf1f93e390bd4b
Taiwanese badminton player without Chinese label
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription
WHERE
{
?item wdt:P1532 wd:Q216923. # 體育代表國: 中華台北
?item wdt:P106 wd:Q13141064. # 職業: 羽毛球運動員
OPTIONAL {
?item rdfs:label ?emptyOtherLanguageLabel .
FILTER( LANG(?emptyOtherLanguageLabel) = "zh" ) .
}
FILTER(!BOUND(?emptyOtherLanguageLabel))
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # 取得你的语言的标签,如无则取英文
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?emptyOtherLanguageLabel")
v2("?item"):::projected
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c5(["wd:Q13141064"]):::iri
c3(["wd:Q216923"]):::iri
f0[["not bound(?emptyOtherLanguageLabel)"]]
f0 --> v1
v2 --"wdt:P1532"--> c3
v2 --"wdt:P106"--> c5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."rdfs:label".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end