query-851f5db41645e47d2995035b7f16d431
PropertiesOpenCorporates ID (P1320)developer (P178)instance of (P31)subclass of (P279)
Use at
- https://query.wikidata.org/sparql
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 ?value ?software ?softwareLabel
WHERE
{
?item wdt:P1320 ?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"):::projected
a1((" "))
a2((" "))
c5(["wd:Q7397"]):::iri
c8(["bd:serviceParam"]):::iri
c6(["wd:Q7889"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P1320"--> 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