query-8d25699de825c1c9b94d976ced0e7e08

rq turtle/ttl

Propertiesinstance of (P31)subclass of (P279)developer (P178)ISNI (P213)

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 ?item ?itemLabel 
WHERE 
{ {?item wdt:P31/wdt:P279 wd:Q7397}
 UNION
 { ?item wdt:P31 ?class.
  {?class wdt:P279* wd:Q7397}
  UNION
  {?class wdt:P31 wd:Q17155032}.}
  ?item wdt:P178 ?dev.

  ?dev wdt:P213 ?ISNI.
  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; v4("?ISNI") v2("?class") v3("?dev") v1("?item"):::projected a1((" ")) c4(["wd:Q17155032"]):::iri c3(["wd:Q7397"]):::iri c8(["bd:serviceParam"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> v2 subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c4 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P279"--> c3 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 end union0r <== or ==> union0l end v1 --"wdt:P178"--> v3 v3 --"wdt:P213"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end