query-304c37ba631c31c144916aa960e8fb00
All events that occured on 09/11 any year SELECT ?item ?itemLabel WHERE { ?item wdt:P585 ?date . filter (day(?date) = 9) filter (month(?date) = 11) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
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#>
#All events that occured on 09/11 any year
SELECT ?item ?itemLabel
WHERE
{
?item wdt:P585 ?date .
filter (day(?date) = 9) filter (month(?date) = 11)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?date")
v2("?item"):::projected
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["month-from-dateTime(?date) = '11^^xsd:integer'"]]
f0 --> v1
f1[["day-from-dateTime(?date) = '9^^xsd:integer'"]]
f1 --> v1
v2 --"wdt:P585"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end