query-6e53fe7b8c3ffbb87a21d91ffc4a1948
Is instance of, but doesn't have property 23:21, 16 October 2020 (UTC)) talk (AntisocialRyan assigned. I'm really unexperienced with the query language and this will help a lot with future queries. (P360)is a list of but don't have the property (Q13406463)Wikimedia list article I need a query to find items that are an instance of : That's more than 140000 items. You will probably need more conditions to reduce the size of the results.AntisocialRyan@
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item
WHERE
{
?item wdt:P31 wd:Q13406463 .
MINUS { ?item wdt:P360 [] . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a1((" "))
c2(["wd:Q13406463"]):::iri
v1 --"wdt:P31"--> c2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P360"--> a1
end