query-eddbfc69f122f92406c7bbd162834817

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?point_in_time WHERE {
  {
    SELECT DISTINCT ?item WHERE {
      ?item p:P31 ?statement0.
      ?statement0 ps:P31 wd:Q47150325.
    }
  }
  OPTIONAL { ?item wdt:P585 ?point_in_time. }
  filter not exists {?item rdfs:label ?itemLabel . filter(lang(?itemLabel)="id") }
 # filter not exists {?item schema:description ?itemDescription . filter(lang(?itemDescription)="id") }
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?itemLabel") v4("?point_in_time"):::projected v3("?statement0") c5(["wd:Q47150325"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0f0[["?itemLabel = 'id'"]] e0f0 --> e0v1 e0v2 --"rdfs:label"--> e0v1 e0v2("?item"):::projected e0v1("?itemLabel"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> v2 f0 --> c2 f1[["?itemLabel = 'id'"]] f1 --> v1 v2 --"rdfs:label"--> v1 v2 --"p:P31"--> v3 v3 --"p:statement/P31"--> c5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P585".-> v4 end