query-db7e4d9161104829de4cafef0b63e033

rq turtle/ttl

TODO

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 wd:Q571 .
  ?item wdt:P136 wd:Q8261 .
  OPTIONAL { ?item wdt:P50 ?dummy0 }
  FILTER(!bound(?dummy0))
  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("?dummy0") v2("?item"):::projected c7(["bd:serviceParam"]):::iri c4(["wd:Q8261"]):::iri c9(["en"]):::literal c2(["wd:Q571"]):::iri f0[["not bound(?dummy0)"]] f0 --> v1 v2 --"wdt:P31"--> c2 v2 --"wdt:P136"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P50".-> v1 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end