query-5f2f5aa25a430b3baa9c14ccf6eebe29
Grafo Mineralogisti con di SHARE no it.wiki con SHARE Cat id che hanno lavorato in Università italianeGrafo botanici
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Graph
SELECT ?item ?itemLabel ?yearofbirth ?yearofdeath ?image ?employer ?employerLabel
WHERE
{
?item wdt:P106 wd:Q13416354 .
?item wdt:P3987 ?idSHARE .
?item wdt:P569 ?dateofbirth .
OPTIONAL {?item wdt:P570 ?dateofdeath .}
OPTIONAL {?item wdt:P18 ?image .}
OPTIONAL {?item wdt:P108 ?employer .}
BIND(YEAR(?dateofbirth) AS ?yearofbirth)
BIND(YEAR(?dateofdeath) AS ?yearofdeath)
OPTIONAL { ?sitelink schema:about ?item . ?sitelink schema:inLanguage "it" }
FILTER (!BOUND(?sitelink))
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;
v4("?dateofbirth")
v5("?dateofdeath")
v7("?employer"):::projected
v3("?idSHARE")
v6("?image"):::projected
v2("?item"):::projected
v1("?sitelink")
v8("?yearofbirth"):::projected
v9("?yearofdeath"):::projected
c10(["it"]):::literal
c12(["bd:serviceParam"]):::iri
c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q13416354"]):::iri
f0[["not bound(?sitelink)"]]
f0 --> v1
v2 --"wdt:P106"--> c2
v2 --"wdt:P3987"--> v3
v2 --"wdt:P569"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P570".-> v5
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P18".-> v6
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P108".-> v7
end
bind1[/"year-from-dateTime(?dateofbirth)"/]
v4 --o bind1
bind1 --as--o v8
bind2[/"year-from-dateTime(?dateofdeath)"/]
v5 --o bind2
bind2 --as--o v9
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v1 -."schema:about".-> v2
v1 --"schema:inLanguage"--> c10
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end