query-1ac4e56ad8a4ade78f26f80bfcd3c5f3

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