query-fcf6066d035375a570786b90d4ef750e
Caves with description in different languages
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 ?descPL ?descRU ?descUK ?descMK ?descCS ?descSR ?descSL ?descLA ?descES ?descEO ?descRO ?descIT ?descFR ?descPT ?descJA ?descZH ?descKO ?descVI ?descDE ?descNO ?descFI ?descNL ?descSV WHERE {
?item (wdt:P31/wdt:P279*) wd:Q35509.
OPTIONAL {?item schema:description ?descEN FILTER( LANG( ?descEN ) = 'en' ) .}
OPTIONAL {?item schema:description ?descBG FILTER( LANG( ?descBG ) = 'bg' ) .}
OPTIONAL {?item schema:description ?descPL FILTER( LANG( ?descPL ) = 'pl' ) .}
OPTIONAL {?item schema:description ?descRU FILTER( LANG( ?descRU ) = 'ru' ) .}
OPTIONAL {?item schema:description ?descUK FILTER( LANG( ?descUK ) = 'uk' ) .}
OPTIONAL {?item schema:description ?descMK FILTER( LANG( ?descMK ) = 'mk' ) .}
OPTIONAL {?item schema:description ?descCS FILTER( LANG( ?descCS ) = 'cs' ) .}
OPTIONAL {?item schema:description ?descSR FILTER( LANG( ?descSR ) = 'sr' ) .}
OPTIONAL {?item schema:description ?descSL FILTER( LANG( ?descSL ) = 'sl' ) .}
OPTIONAL {?item schema:description ?descLA FILTER( LANG( ?descLA ) = 'la' ) .}
OPTIONAL {?item schema:description ?descES FILTER( LANG( ?descES ) = 'es' ) .}
OPTIONAL {?item schema:description ?descEO FILTER( LANG( ?descEO ) = 'eo' ) .}
OPTIONAL {?item schema:description ?descRO FILTER( LANG( ?descRO ) = 'ro' ) .}
OPTIONAL {?item schema:description ?descIT FILTER( LANG( ?descIT ) = 'it' ) .}
OPTIONAL {?item schema:description ?descFR FILTER( LANG( ?descFR ) = 'fr' ) .}
OPTIONAL {?item schema:description ?descPT FILTER( LANG( ?descPT ) = 'pt' ) .}
OPTIONAL {?item schema:description ?descJA FILTER( LANG( ?descJA ) = 'ja' ) .}
OPTIONAL {?item schema:description ?descZH FILTER( LANG( ?descZH ) = 'zh' ) .}
OPTIONAL {?item schema:description ?descKO FILTER( LANG( ?descKO ) = 'ko' ) .}
OPTIONAL {?item schema:description ?descVI FILTER( LANG( ?descVI ) = 'vi' ) .}
OPTIONAL {?item schema:description ?descDE FILTER( LANG( ?descDE ) = 'de' ) .}
OPTIONAL {?item schema:description ?descNO FILTER( LANG( ?descNO ) = 'no' ) .}
OPTIONAL {?item schema:description ?descFI FILTER( LANG( ?descFI ) = 'fi' ) .}
OPTIONAL {?item schema:description ?descNL FILTER( LANG( ?descNL ) = 'nl' ) .}
OPTIONAL {?item schema:description ?descSV FILTER( LANG( ?descSV ) = 'sv' ) .}
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;
v25("?descBG"):::projected
v20("?descCS"):::projected
v6("?descDE"):::projected
v26("?descEN"):::projected
v15("?descEO"):::projected
v16("?descES"):::projected
v4("?descFI"):::projected
v12("?descFR"):::projected
v13("?descIT"):::projected
v10("?descJA"):::projected
v8("?descKO"):::projected
v17("?descLA"):::projected
v21("?descMK"):::projected
v3("?descNL"):::projected
v5("?descNO"):::projected
v24("?descPL"):::projected
v11("?descPT"):::projected
v14("?descRO"):::projected
v23("?descRU"):::projected
v18("?descSL"):::projected
v19("?descSR"):::projected
v2("?descSV"):::projected
v22("?descUK"):::projected
v7("?descVI"):::projected
v9("?descZH"):::projected
v27("?item"):::projected
v1("?itemLabel"):::projected
a1((" "))
c28(["wd:Q35509"]):::iri
c31(["bd:serviceParam"]):::iri
c33(["#91;AUTO_LANGUAGE#93;"]):::literal
v27 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c28
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v26
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v25
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v24
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v23
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v22
end
subgraph optional5["(optional)"]
style optional5 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v21
end
subgraph optional6["(optional)"]
style optional6 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v20
end
subgraph optional7["(optional)"]
style optional7 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v19
end
subgraph optional8["(optional)"]
style optional8 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v18
end
subgraph optional9["(optional)"]
style optional9 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v17
end
subgraph optional10["(optional)"]
style optional10 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v16
end
subgraph optional11["(optional)"]
style optional11 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v15
end
subgraph optional12["(optional)"]
style optional12 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v14
end
subgraph optional13["(optional)"]
style optional13 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v13
end
subgraph optional14["(optional)"]
style optional14 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v12
end
subgraph optional15["(optional)"]
style optional15 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v11
end
subgraph optional16["(optional)"]
style optional16 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v10
end
subgraph optional17["(optional)"]
style optional17 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v9
end
subgraph optional18["(optional)"]
style optional18 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v8
end
subgraph optional19["(optional)"]
style optional19 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v7
end
subgraph optional20["(optional)"]
style optional20 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v6
end
subgraph optional21["(optional)"]
style optional21 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v5
end
subgraph optional22["(optional)"]
style optional22 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v4
end
subgraph optional23["(optional)"]
style optional23 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v3
end
subgraph optional24["(optional)"]
style optional24 fill:#bbf,stroke-dasharray: 5 5;
v27 -."schema:description".-> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c31 --"wikibase:language"--> c33
end