query-69ffaeb4300e88e1c9939422a9a1f5b9
TODO
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 bd: <http://www.bigdata.com/rdf#>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?item ?itemLabel ?descEN ?descBG ?descRU ?descSV ?descES ?descEO ?descFR ?descJA ?descZH ?descDE WHERE {
?item (wdt:P31/wdt:P279*) wd:Q35509.
?item wdt:P17 wd:Q219.
OPTIONAL {?item schema:description ?descEN. FILTER((LANG(?descEN)) = "en") }
OPTIONAL {?item schema:description ?descBG. FILTER((LANG(?descBG)) = "bg") }
OPTIONAL {?item schema:description ?descRU. FILTER((LANG(?descRU)) = "ru") }
OPTIONAL {?item schema:description ?descSV. FILTER((LANG(?descSV)) = 'sv') }
OPTIONAL {?item schema:description ?descES. FILTER((LANG(?descES)) = "es") }
OPTIONAL {?item schema:description ?descEO. FILTER((LANG(?descEO)) = "eo") }
OPTIONAL {?item schema:description ?descFR. FILTER((LANG(?descFR)) = "fr") }
OPTIONAL {?item schema:description ?descJA. FILTER((LANG(?descJA)) = "ja") }
OPTIONAL {?item schema:description ?descZH. FILTER((LANG(?descZH)) = "zh") }
OPTIONAL {?item schema:description ?descDE. FILTER((LANG(?descDE)) = "de") }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v10("?descBG"):::projected
v2("?descDE"):::projected
v11("?descEN"):::projected
v6("?descEO"):::projected
v7("?descES"):::projected
v5("?descFR"):::projected
v4("?descJA"):::projected
v9("?descRU"):::projected
v8("?descSV"):::projected
v3("?descZH"):::projected
v12("?item"):::projected
v1("?itemLabel"):::projected
a1((" "))
c13(["wd:Q35509"]):::iri
c18(["bd:serviceParam"]):::iri
c15(["wd:Q219"]):::iri
c20(["#91;AUTO_LANGUAGE#93;"]):::literal
v12 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c13
v12 --"wdt:P17"--> c15
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v12 -."schema:description".-> v11
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v12 -."schema:description".-> v10
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v12 -."schema:description".-> v9
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v12 -."schema:description".-> v8
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v12 -."schema:description".-> v7
end
subgraph optional5["(optional)"]
style optional5 fill:#bbf,stroke-dasharray: 5 5;
v12 -."schema:description".-> v6
end
subgraph optional6["(optional)"]
style optional6 fill:#bbf,stroke-dasharray: 5 5;
v12 -."schema:description".-> v5
end
subgraph optional7["(optional)"]
style optional7 fill:#bbf,stroke-dasharray: 5 5;
v12 -."schema:description".-> v4
end
subgraph optional8["(optional)"]
style optional8 fill:#bbf,stroke-dasharray: 5 5;
v12 -."schema:description".-> v3
end
subgraph optional9["(optional)"]
style optional9 fill:#bbf,stroke-dasharray: 5 5;
v12 -."schema:description".-> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c18 --"wikibase:language"--> c20
end