query-e41435b9136b33ebaa1993bffabf0c86

rq turtle/ttl

: This query if I understood request correctly: Epìdosis@ 17:27, 1 January 2022 (UTC)) talk (Tagishsimon and so we'd get zero results. Sorry to be pedantic and/or sorry that I've not understood. --smallest statement count is 4 ref, or a P5731 and one other statements with a P813 ref) ... but for P5731 items, the (P813)retrieved with a (P5731)Angelicum ID and no other properties" (which I take to be, no other statements) then we're looking for an item that has 1 or 2 statements total (i.e. a (P813)retrieved : could you clarify your specification, pls. If "one statement having a reference containing only Epìdosis@(ec) maybe this:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prv: <http://www.wikidata.org/prop/reference/value/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
SELECT ?item ?id ?property ?statement ?retrieved
WHERE
{
  # VALUES ?item { wd:Q107331778 }

  ?item wdt:P5731 ?id .
  ?item ?property ?statement . 
  ?property  ^ wikibase:claim [] .
  ?statement prov:wasDerivedFrom ?b .
  ?b pr:P813 ?retrieved . 
  FILTER NOT EXISTS { ?b ?other [] . FILTER( ?other != pr:P813 && ?other != prv:P813 ) }
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?b") v4("?id"):::projected v3("?item"):::projected v1("?other") v5("?property"):::projected v7("?retrieved"):::projected v6("?statement"):::projected a2((" ")) a1((" ")) f0[["not "]] subgraph f0e0["Exists Clause"] e0f0[["?other != 'pr:P813'?other != 'pr:value/P813'"]] e0f0 --> e0v1 e0v2 -->e0v1--> e0a1 e0v2("?b"):::projected e0v1("?other"):::projected e0a1((" ")):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> v2 f0 --> a1 f1[["?other != 'pr:P813'?other != 'pr:value/P813'"]] f1 --> v1 v2 -->v1--> a1 v3 --"wdt:P5731"--> v4 v3 -->v5--> v6 a2 --"wikibase:claim"--> v5 v6 --"prov:wasDerivedFrom"--> v2 v2 --"pr:P813"--> v7