query-8e4b8d081c6351f43515b067132268f4
Actors of movies released in Germany in 2015 without IMDb id
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 p: <http://www.wikidata.org/prop/>
PREFIX v: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT DISTINCT ?cast ?castLabel ?filmLabel ?film ?typeLabel WHERE {
?film wdt:P31/wdt:P279* wd:Q11424 .
?film wdt:P31 ?type .
?film p:P577 ?release_statement .
?release_statement v:P577 ?release . FILTER(year(?release)=2015) .
?release_statement pq:P291 wd:Q183 .
?film wdt:P161 ?cast FILTER NOT EXISTS { ?cast wdt:P345 ?imdb }
SERVICE wikibase:label {
bd:serviceParam wikibase:language "de" .
}
} ORDER BY ?typeLabel ?filmLabel ?cast
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?cast"):::projected
v6("?film"):::projected
v2("?filmLabel"):::projected
v4("?imdb")
v5("?release")
v8("?release_statement")
v7("?type")
v1("?typeLabel"):::projected
a1((" "))
c14(["de"]):::literal
c12(["bd:serviceParam"]):::iri
c9(["wd:Q183"]):::iri
c5(["wd:Q11424"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:direct/P345"--> e0v2
e0v1("?cast"):::projected
e0v2("?imdb"):::projected
end
f0--EXISTS--> f0e0
f0 --> v3
f0 --> c1
f0 --> v4
v3 --"p:direct/P345"--> v4
f1[["year-from-dateTime(?release) = '2015^^xsd:integer'"]]
f1 --> v5
v6 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c5
v6 --"p:direct/P31"--> v7
v6 --"p:P577"--> v8
v8 --"p:statement/P577"--> v5
v8 --"p:qualifier/P291"--> c9
v6 --"p:direct/P161"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end