query-c9868a134677cd12c98ae2486d394878
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?dummydate WHERE {
?item wdt:P21 wd:Q6581072 .
?item wdt:P570 ?dummydate
FILTER(SUBSTR(STR(?dummydate),1,6) = 'Mar 25') .
OPTIONAL {
?wiki0 <http://schema.org/about> ?item .
FILTER(SUBSTR(STR(?wiki0),1,24) = 'https://en.wikipedia.org') .
}
FILTER(bound(?wiki0))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?dummydate"):::projected
v3("?item"):::projected
v1("?wiki0")
c7(["wd:Q6581072"]):::iri
f0[["bound(?wiki0)"]]
f0 --> v1
f1[["substring(str(?dummydate),'1^^xsd:integer','6^^xsd:integer') = 'Mar 25'"]]
f1 --> v2
v3 --"wdt:P21"--> c7
v3 --"wdt:P570"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -.http://schema.org/about.-> v3
end