query-7d9a17a1299eae1d74c903ae2e2be0d5
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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#>
SELECT ?film ?filmLabel ?date ?statusLabel WHERE {
?film wdt:P31 wd:Q11424 ;
wdt:P577 ?date .
OPTIONAL {?film wdt:P1552 ?status .}
FILTER(?film=wd:Q202211)
FILTER("1983-01-01"^^xsd:date <= ?date && ?date < "1984-01-01"^^xsd:dat).
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?date"):::projected
v2("?film"):::projected
v3("?status")
c9(["bd:serviceParam"]):::iri
c11(["en"]):::literal
c5(["wd:Q11424"]):::iri
f0[["'1983-01-01^^xsd:date' <= ?date?date < s1984-01-01^^<http://www.w3.org/2001/XMLSchema#dat>'"]]
f0 --> v1
f1[["?film = 'wd:Q202211'"]]
f1 --> v2
v2 --"wdt:P31"--> c5
v2 --"wdt:P577"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P1552".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end