query-32779b6e053c3cda6eb9b5fa55f5010d

rq turtle/ttl

Propertiescountry of citizenship (P27)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 ?developer ?developerLabel WHERE {
  {
    SELECT ?developer WHERE 
    {
      ?developer wdt:P27 wd:Q30
    }
  }
  ?item wdt:P31/wdt:P279* wd:Q9143.
  ?item wdt:P178 ?developer.
  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("?developer"):::projected v2("?item"):::projected a1((" ")) c8(["bd:serviceParam"]):::iri c5(["wd:Q9143"]):::iri c2(["wd:Q30"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P27"--> c2 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 v2 --"wdt:P178"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end