query-db5903fb8a0eedd1a0b6aee870012c5d

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
select ?group ?num_item ?num_value where {
  ?group wdt:P1164 ?num_value . 
  optional { 
    ?num_item wdt:P1181 ?num_value . 
    ?num_item wdt:P31 wd:Q21199 . 
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?group"):::projected v3("?num_item"):::projected v2("?num_value"):::projected c4(["wd:Q21199"]):::iri v1 --"wdt:P1164"--> v2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P1181".-> v2 v3 --"wdt:P31"--> c4 end