query-1115d993151cb7ebf5fc73cfd8df3b15
RDF mappingfonti della data di morte con tutti i passaggi da statement a reference al valore
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 ?dmstmnt ?dmrefnode ?dmfonteLabel
WHERE
{
?item wdt:P31 wd:Q5; wdt:P27 wd:Q172579; wdt:P570 ?datamorte.
?item p:P570 ?dm.
?dmstmnt prov:wasDerivedFrom ?dmrefnode.
?dmrefnode 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("?dm")
v6("?dmfonte")
v5("?dmrefnode"):::projected
v4("?dmstmnt"):::projected
v1("?item"):::projected
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
v1 --"p:P570"--> v3
v4 --"prov:wasDerivedFrom"--> v5
v5 --"p:reference/P248"--> v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end