query-cd034ae8ba3ed73cb46dd248a2e4f737
Mappa dei luoghi di nascita dei filologi di cittadinanza italiana con id SHARE (optional image e coordinate)
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 psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?author ?authorLabel ?image ?birthplace ?SHAREid ?birthplaceLabel ?coord ?lat ?lon
WHERE {
?author wdt:P19 ?birthplace;
wdt:P3987 ?SHAREid ;
wdt:P106 wd:Q13418253;
wdt:P27 wd:Q38.
OPTIONAL {?author wdt:P18 ?image .}
OPTIONAL {?birthplace wdt:P625 ?coord. }
OPTIONAL {
?birthplace p:P625 ?statement.
?statement psv:P625 ?node.
?node wikibase:geoLatitude ?lat.
?node wikibase:geoLongitude ?lon.
}
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;
v3("?SHAREid"):::projected
v1("?author"):::projected
v2("?birthplace"):::projected
v5("?coord"):::projected
v4("?image"):::projected
v8("?lat"):::projected
v9("?lon"):::projected
v7("?node")
v6("?statement")
c6(["wd:Q38"]):::iri
c14(["bd:serviceParam"]):::iri
c16(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q13418253"]):::iri
v1 --"p:direct/P19"--> v2
v1 --"p:direct/P3987"--> v3
v1 --"p:direct/P106"--> c4
v1 --"p:direct/P27"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P18".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P625".-> v5
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:P625".-> v6
v6 --"p:statement/value/P625"--> v7
v7 --"wikibase:geoLatitude"--> v8
v7 --"wikibase:geoLongitude"--> v9
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c14 --"wikibase:language"--> c16
end