query-dfeb1bdc66e3f3629d76760f9cfcd255
Films with IMDb id published in 2016
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?film ?filmLabel (MIN(?release) AS ?release) ?imdb WHERE {
?film wdt:P345 ?imdb .
?film wdt:P577 ?release FILTER(YEAR(?release)=2016)
SERVICE wikibase:label {bd:serviceParam wikibase:language "de"}
}
GROUP BY ?film ?filmLabel ?imdb
ORDER BY DESC(?release)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?film"):::projected
v3("?imdb"):::projected
v4("?release"):::projected
c7(["de"]):::literal
c5(["bd:serviceParam"]):::iri
f0[["year-from-dateTime(?release) = '2016^^xsd:integer'"]]
f0 --> v4
v2 --"wdt:P345"--> v3
v2 --"wdt:P577"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind2[/"min(?release)"/]
v4 --o bind2
bind2 --as--o v4