query-44479ec25cdb28fd5e1fb0feb7ea6524

rq turtle/ttl

Propertiesinstance of (P31)subclass of (P279)

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 ?store ?storeLabel

WHERE {

  {?store wdt:P31/wdt:P279* wd:Q5227308 }
  UNION {?store wdt:P31/wdt:P279* wd:Q22692845.}
  UNION {?store wdt:P31/wdt:P279* wd:Q5281480.}
  UNION {?store wdt:P31/wdt:P279* wd:Q212805.}
  UNION {?store wdt:P31/wdt:P279* wd:Q5570651.}     
  UNION {?store wdt:P31/wdt:P279* wd:Q7689673.} 
  UNION {?store wdt:P31/wdt:P279* wd:Q4117139.}  
  SERVICE wikibase:label {
        bd:serviceParam wikibase:language "en" .

}
  }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?store"):::projected a1((" ")) a2((" ")) a3((" ")) a4((" ")) a5((" ")) a6((" ")) a7((" ")) c7(["wd:Q5570651"]):::iri c3(["wd:Q5227308"]):::iri c4(["wd:Q22692845"]):::iri c8(["wd:Q7689673"]):::iri c13(["en"]):::literal c9(["wd:Q4117139"]):::iri c11(["bd:serviceParam"]):::iri c5(["wd:Q5281480"]):::iri c6(["wd:Q212805"]):::iri subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; subgraph union4[" Union "] subgraph union4l[" "] style union4l fill:#abf,stroke-dasharray: 3 3; subgraph union5[" Union "] subgraph union5l[" "] style union5l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> a7 a7 --"wdt:P279"--> c9 end subgraph union5r[" "] style union5r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> a6 a6 --"wdt:P279"--> c8 end union5r <== or ==> union5l end end subgraph union4r[" "] style union4r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> a5 a5 --"wdt:P279"--> c7 end union4r <== or ==> union4l end end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> a4 a4 --"wdt:P279"--> c6 end union3r <== or ==> union3l end end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> a3 a3 --"wdt:P279"--> c5 end union2r <== or ==> union2l end end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> a2 a2 --"wdt:P279"--> c4 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 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end