query-4115770facbff9c95fe01829d5de4a45
compattato
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
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/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?datamorte ?dmfonteLabel
WHERE
{
?item wdt:P31 wd:Q5; wdt:P27 wd:Q172579; wdt:P570 ?datamorte.
?item p:P570 [prov:wasDerivedFrom [pr:P248 ?dmfonte]].
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?datamorte"):::projected
v3("?dmfonte")
v1("?item"):::projected
a2((" "))
a1((" "))
c10(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c4(["wd:Q172579"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"p:direct/P31"--> c2
v1 --"p:direct/P27"--> c4
v1 --"p:direct/P570"--> v2
a1 --"p:reference/P248"--> v3
a2 --"prov:wasDerivedFrom"--> a1
v1 --"p:P570"--> a2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end