query-ca37170dd67d6ff7afec0cb8f9ad1d53

rq turtle/ttl

Alloys (does not include intermetallic compounds in general), "fictional material" excluded SELECT DISTINCT ?item WHERE { ?item wdt:P31/wdt:P279 wd:Q37756 . MINUS {?item wdt:P31/wdt:P279 wd:Q15053464 .} SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}

Use at

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#>
#Alloys (does not include intermetallic compounds in general), "fictional material" excluded
SELECT DISTINCT ?item
WHERE
  {
    ?item wdt:P31/wdt:P279* wd:Q37756 .
    MINUS {?item wdt:P31/wdt:P279* wd:Q15053464 .}
   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; v1("?item"):::projected a1((" ")) a2((" ")) c6(["bd:serviceParam"]):::iri c8(["en"]):::literal c3(["wd:Q37756"]):::iri c4(["wd:Q15053464"]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P31"--> a2 a2 --"wdt:P279"--> c4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end