query-2562cefb0d509b2c3d9e555b7ab03ae2
Propertiessubclass of (P279)developer (P178)operating system (P306)instance of (P31)
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?osLabel
WHERE
{
?item (p:P31/ps:P31/wdt:P279*) wd:Q174989.
?item wdt:P178 wd:Q312.
OPTIONAL {?item wdt:P306 ?os}.
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
v2("?os")
a1((" "))
a2((" "))
c6(["wd:Q312"]):::iri
c9(["bd:serviceParam"]):::iri
c4(["wd:Q174989"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"p:P31"--> a1
a1 --"p:statement/P31"--> a2
a2 --"p:direct/P279"--> c4
v1 --"p:direct/P178"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P306".-> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end