query-d715368efddbbcdb37324ea6a8b8d2c0
Albums known to be from Israel SELECT ?item ?itemLabel ?performerLabel ?genreLabel ?depth WHERE { ?item (wdt:P31/wdt:P279*) wd:Q482994; wdt:P495 wd:Q801; wikibase:statements ?depth. OPTIONAL { ?item wdt:P175 ?performer. } OPTIONAL { ?item wdt:P136 ?genre. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],he". } }
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#>
# Albums known to be from Israel
SELECT ?item ?itemLabel ?performerLabel ?genreLabel ?depth
WHERE {
?item (wdt:P31/wdt:P279*) wd:Q482994;
wdt:P495 wd:Q801;
wikibase:statements ?depth.
OPTIONAL {
?item wdt:P175 ?performer.
}
OPTIONAL {
?item wdt:P136 ?genre.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],he". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?depth"):::projected
v4("?genre")
v1("?item"):::projected
v3("?performer")
a1((" "))
c10(["bd:serviceParam"]):::iri
c5(["wd:Q801"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,he"]):::literal
c3(["wd:Q482994"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P495"--> c5
v1 --"wikibase:statements"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P175".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P136".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end