query-a8fe9d2f0a9a5edd40706b454b2a701b

rq turtle/ttl

music singles without a performer SELECT ?q WHERE { ?q wdt:P31 wd:Q134556. MINUS { ?q wdt:P31 ?otherClass. FILTER(?otherClass != wd:Q134556) } MINUS { ?q wdt:P175 []. } }

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#music singles without a performer
SELECT ?q WHERE {
  ?q wdt:P31 wd:Q134556.
  MINUS { ?q wdt:P31 ?otherClass. FILTER(?otherClass != wd:Q134556) }
  MINUS { ?q wdt:P175 []. }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?otherClass") v1("?q"):::projected a1((" ")) c2(["wd:Q134556"]):::iri v1 --"wdt:P31"--> c2 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; f1[["?otherClass != 'wd:Q134556'"]] f1 --> v2 v1 --"wdt:P31"--> v2 end subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P175"--> a1 end