query-8b71f8dccff27f9128f621bb0ba0c8d2

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wdno: <http://www.wikidata.org/prop/novalue/>
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 ?value ?id WHERE {
  ?item p:P3216 ?statement; wdt:P8958 ?id .
   FILTER NOT EXISTS { ?statement pq:P7367 ?qualif . } 
   FILTER NOT EXISTS { ?statement a wdno:P7367 . }
   ?statement ps:P3216 ?value
} LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?id"):::projected v3("?item"):::projected v2("?qualif") v1("?statement") v5("?value"):::projected c2(["p:novalue/P7367"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"a"--> e0c2 e0v1("?statement"):::projected e0c2(["p:novalue/P7367"]):::iri end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> c2 v1 --"a"--> c2 f1[["not "]] subgraph f1e1["Exists Clause"] e1v1 --"p:qualifier/P7367"--> e1v2 e1v2("?qualif"):::projected e1v1("?statement"):::projected end f1--EXISTS--> f1e1 f1 --> v1 f1 --> c3 f1 --> v2 v1 --"p:qualifier/P7367"--> v2 v3 --"p:P3216"--> v1 v3 --"p:direct/P8958"--> v4 v1 --"p:statement/P3216"--> v5