query-3f489cae4ae4d94d154aa3b17b81bceb
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 ?statusLabel WHERE {
?film wdt:P31 wd:Q11424 ;
wdt:P577 ?date .
OPTIONAL {?film wdt:P1552 ?status .}
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")
v2("?film"):::projected
v3("?status")
c8(["bd:serviceParam"]):::iri
c10(["en"]):::literal
c4(["wd:Q11424"]):::iri
f0[["'1983-01-01^^xsd:date' <= ?date?date < s1984-01-01^^<http://www.w3.org/2001/XMLSchema#dat>'"]]
f0 --> v1
v2 --"wdt:P31"--> c4
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;
c8 --"wikibase:language"--> c10
end