query-3ae55d630e36cd420310e4f894049f4b
No Freebase and no dewiki article
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/>
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:P646 ?imdb } .
OPTIONAL { ?article schema:about ?cast . ?article schema:inLanguage "de" } FILTER(!bound(?article))
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;
v4("?article")
v3("?cast"):::projected
v7("?film"):::projected
v2("?filmLabel"):::projected
v5("?imdb")
v6("?release")
v9("?release_statement")
v8("?type")
v1("?typeLabel"):::projected
a1((" "))
c13(["de"]):::literal
c15(["bd:serviceParam"]):::iri
c9(["wd:Q183"]):::iri
c5(["wd:Q11424"]):::iri
f0[["not bound(?article)"]]
f0 --> v4
f1[["not "]]
subgraph f1e0["Exists Clause"]
e0v1 --"p:direct/P646"--> e0v2
e0v1("?cast"):::projected
e0v2("?imdb"):::projected
end
f1--EXISTS--> f1e0
f1 --> v3
f1 --> c1
f1 --> v5
v3 --"p:direct/P646"--> v5
f2[["year-from-dateTime(?release) = '2015^^xsd:integer'"]]
f2 --> v6
v7 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c5
v7 --"p:direct/P31"--> v8
v7 --"p:P577"--> v9
v9 --"p:statement/P577"--> v6
v9 --"p:qualifier/P291"--> c9
v7 --"p:direct/P161"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v4 -."schema:about".-> v3
v4 --"schema:inLanguage"--> c13
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c15 --"wikibase:language"--> c13
end