query-024c92537e7b3100ee3eb2f7a9331aa8

rq turtle/ttl

TODO

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
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 DISTINCT ?item ?rfcid WHERE {
  ?item p:P31 ?statement0.
  ?statement0 ps:P31 wd:Q212971.
  ?item p:P50 ?statement1.
  ?statement1 (ps:P50) _:anyValueP50 filter not exists { ?statement1 pq:P1932 _:anyValueP1932}
  ?item wdt:P892 ?rfcid.
}
ORDER BY xsd:integer(?rfcid)
LIMIT 1000
OFFSET 0

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v1("?rfcid"):::projected v4("?statement0") v2("?statement1") a2((" ")) a1((" ")) c4(["wd:Q212971"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"p:qualifier/P1932"--> e0a1 e0v1("?statement1"):::projected e0a1((" ")):::projected end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> a1 v2 --"p:qualifier/P1932"--> a1 v3 --"p:P31"--> v4 v4 --"p:statement/P31"--> c4 v3 --"p:P50"--> v2 v2 --"p:statement/P50"--> a2 v3 --"p:direct/P892"--> v1