query-ae25ab6e0bba480d8e3155f67e8f3853

rq turtle/ttl

TODO

Use at

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item  WHERE{
  ?item p:P31 ?node .
  ?node ps:P31 wd:Q14839548 .
  OPTIONAL{
    ?node pq:P580 ?startdate .
  }
  FILTER(!bound(?startdate))
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v3("?node") v1("?startdate") c3(["wd:Q14839548"]):::iri f0[["not bound(?startdate)"]] f0 --> v1 v2 --"p:P31"--> v3 v3 --"p:statement/P31"--> c3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:qualifier/P580".-> v1 end