query-1fa13b464c6962a21e62ac9c38479ded

rq turtle/ttl

PropertiesRinggold ID (P3500)developer (P178)instance of (P31)subclass of (P279)

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#>
SELECT DISTINCT ?item ?itemLabel ?software ?softwareLabel
WHERE 
{
  ?item wdt:P3500 ?value .
  ?software wdt:P178 ?item.
  ?software wdt:P31/wdt:P279* wd:Q7397.
  MINUS {?software wdt:P31/wdt:P279* wd:Q7889.}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v3("?software"):::projected v2("?value") a1((" ")) a2((" ")) c5(["wd:Q7397"]):::iri c8(["bd:serviceParam"]):::iri c6(["wd:Q7889"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P3500"--> v2 v3 --"wdt:P178"--> v1 v3 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v3 --"wdt:P31"--> a2 a2 --"wdt:P279"--> c6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end