query-e020187ea9af4713508dd4ed0782e445

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?p { 
  VALUES ?p { # in fact there can be more than 30,000 items
    wd:Q30385394 wd:Q30359318 # two statements P577 (now)
    wd:Q21030593 wd:Q21045381 # exact one statement P577
    wd:Q1305037               # without statement P577
  } 
  ?p wdt:P577 []
} GROUP BY ?p HAVING (COUNT(*) = 1)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?_anon_42b5416610844a34809f33a099ae9de179319") v1("?p"):::projected a2((" ")) a1((" ")) f0[[" = '1^^xsd:integer'"]] f0 --> a1 bind1[/VALUES ?p/] bind1-->v1 bind10(["wd:Q30385394"]) bind10 --> bind1 bind11(["wd:Q30359318"]) bind11 --> bind1 bind12(["wd:Q21030593"]) bind12 --> bind1 bind13(["wd:Q21045381"]) bind13 --> bind1 bind14(["wd:Q1305037"]) bind14 --> bind1 v1 --"wdt:P577"--> a2 bind3[/"count(*)"/] bind3 --as--o v2