query-c5774f6bb2365b9fee5ebc51dc9e6a28

rq turtle/ttl

All Grandmasters with qualifierI would like to have a query which gives me all the chess grandmaster that have a qualifier, but the qualifier "imported from" shall be ignored (so it does not matter for the query if they have this qualifier). To reformulate, if a grandmaster statement has only the "imported from" qualifier, it shall not be found. I know that I can get all grandmaster with

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item WHERE { ?item wdt:P2962 wd:Q105269 .}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected c2(["wd:Q105269"]):::iri v1 --"wdt:P2962"--> c2