query-58e101236155d33568ec7516f3bdb702
Archivio Storico Ricordi multiple references Epìdosis: Request date: 1 January 2020, byLink to discussions justifying the request...Task descriptionGiven the following query:
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item
WHERE {
?item wdt:P8290 ?asr .
?item p:P569 ?statement.
?reference1 pr:P248 wd:Q3621644.
?reference2 pr:P248 wd:Q3621644.
?statement prov:wasDerivedFrom ?reference1.
?statement prov:wasDerivedFrom ?reference2.
FILTER (?reference1 != ?reference2)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?asr")
v3("?item"):::projected
v1("?reference1")
v2("?reference2")
v5("?statement")
c4(["wd:Q3621644"]):::iri
f0[["?reference1 != ?reference2"]]
f0 --> v1
f0 --> v2
v3 --"p:direct/P8290"--> v4
v3 --"p:P569"--> v5
v1 --"p:reference/P248"--> c4
v2 --"p:reference/P248"--> c4
v5 --"prov:wasDerivedFrom"--> v1
v5 --"prov:wasDerivedFrom"--> v2