query-bf370ebbd529f15a12341c6f6ed5c17c

rq turtle/ttl

Propertieshas use (P366)instance of (P31)subclass of (P279)developer (P178)

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 ?dev ?devLabel
WHERE 
{
  ?item wdt:P366 wd:Q632897.
  ?item wdt:P31/wdt:P279* wd:Q7397.
  OPTIONAL {?item wdt:P178 ?dev. }
  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; v2("?dev"):::projected v1("?item"):::projected a1((" ")) c5(["wd:Q7397"]):::iri c2(["wd:Q632897"]):::iri c8(["bd:serviceParam"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P366"--> c2 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P178".-> v2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end