query-5ea400d2155e0df81f4fc5de55ff5f44
Created by User:Gnoeee
Malayalam films released in the year 2019
SELECT ?film ?filmLabel ?publication_date WHERE { ?film wdt:P31 wd:Q11424. ?film wdt:P364 wd:Q36236. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } OPTIONAL { ?film wdt:P577 ?publication_date. } FILTER (year(xsd:dateTime(?publication_date)) = 2019) } ORDER BY (?publication_date)
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#>
# Created by User:Gnoeee
# Malayalam films released in the year 2019
SELECT ?film ?filmLabel ?publication_date WHERE {
?film wdt:P31 wd:Q11424.
?film wdt:P364 wd:Q36236.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?film wdt:P577 ?publication_date. }
FILTER (year(xsd:dateTime(?publication_date)) = 2019)
}
ORDER BY (?publication_date)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?film"):::projected
v1("?publication_date"):::projected
c5(["wd:Q36236"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q11424"]):::iri
f0[["year-from-dateTime(http://www.w3.org/2001/XMLSchema#dateTime(?publication_date)) = '2019^^xsd:integer'"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v2 --"wdt:P364"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P577".-> v1
end