query-2347acdc3bfabc987df2d18f04dd81be

rq turtle/ttl

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

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#soundtrack albums without a performer
SELECT ?q WHERE {
  ?q wdt:P31 wd:Q4176708.
  MINUS { ?q wdt:P31 ?otherClass. FILTER(?otherClass != wd:Q4176708) }
  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:Q4176708"]):::iri v1 --"wdt:P31"--> c2 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; f1[["?otherClass != 'wd:Q4176708'"]] f1 --> v2 v1 --"wdt:P31"--> v2 end subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P175"--> a1 end