query-1f1223ac959b8748c0cc9d36ce622631
day items lacking it
Use at
- https://query.wikidata.org/sparql
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 ?item ?itemLabel ?itemDescription
{
BIND( wd:Q51224536 as ?ed)
?item wdt:P31 wd:Q47150325 .
?item wdt:P585 ?date .
?ed wdt:P585 ?date .
FILTER NOT EXISTS { ?item wdt:P31 ?ed }
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;
v3("?date")
v3("?ed")
v1("?item"):::projected
c5(["bd:serviceParam"]):::iri
c2(["wd:Q47150325"]):::iri
c7(["en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P31"--> e0v2
e0v2("?ed"):::projected
e0v1("?item"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v3
v1 --"wdt:P31"--> v3
bind1[/"'wd:Q51224536'"/]
bind1 --as--o v3
v1 --"wdt:P31"--> c2
v1 --"wdt:P585"--> v3
v3 --"wdt:P585"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end