query-e2b7f33125f8f78932723887208bd7d0
PropertiesRinggold ID (P3500)developer (P178)instance of (P31)subclass of (P279)readable file format (P1072)writable file format (P1073)
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 ?software ?softwareLabel WHERE {
?item wdt:P3500 ?value.
?software wdt:P178 ?item.
?software (wdt:P31/wdt:P279*) wd:Q166142.
MINUS { ?software (wdt:P31/wdt:P279*) wd:Q7889. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
FILTER(NOT EXISTS { ?software wdt:P1072 ?rff. })
FILTER(NOT EXISTS { ?software wdt:P1073 ?wff. })
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?item"):::projected
v3("?rff")
v1("?software"):::projected
v5("?value")
v2("?wff")
a1((" "))
a2((" "))
c10(["bd:serviceParam"]):::iri
c7(["wd:Q166142"]):::iri
c8(["wd:Q7889"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P1073"--> e0v2
e0v1("?software"):::projected
e0v2("?wff"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P1073"--> v2
f1[["not "]]
subgraph f1e1["Exists Clause"]
e1v1 --"wdt:P1072"--> e1v2
e1v2("?rff"):::projected
e1v1("?software"):::projected
end
f1--EXISTS--> f1e1
f1 --> v1
f1 --> c2
f1 --> v3
v1 --"wdt:P1072"--> v3
v4 --"wdt:P3500"--> v5
v1 --"wdt:P178"--> v4
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c7
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> a2
a2 --"wdt:P279"--> c8
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end