query-a8d0e765e3e566fbbf657d2d05bf8387
TODO
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription ?countryLabel ?image ?genderLabel ?dob ?dod ?place_of_birthLabel ?native_languageLabel ?field_of_workLabel ?award_receivedLabel
WHERE
{
?item wdt:P31 wd:Q5.
optional {?item wdt:P17 ?country.}
optional {?item wdt:P18 ?image.}
optional {?item wdt:P21 ?gender.}
optional {?item wdt:P569 ?dob.}
optional {?item wdt:P570 ?dod.}
optional {?item wdt:P19 ?place_of_birth.}
optional {?item wdt:P103 ?native_language.}
optional {?item wdt:P101 ?field_of_work.}
?award_received ^wdt:P166 ?item.
values ?award_received {wd:Q184253}
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;
v11("?award_received")
v2("?country")
v5("?dob"):::projected
v6("?dod"):::projected
v9("?field_of_work")
v4("?gender")
v3("?image"):::projected
v1("?item"):::projected
v8("?native_language")
v7("?place_of_birth")
c13(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c15(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P31"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P17".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P21".-> v4
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P569".-> v5
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P570".-> v6
end
subgraph optional5["(optional)"]
style optional5 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P19".-> v7
end
subgraph optional6["(optional)"]
style optional6 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P103".-> v8
end
subgraph optional7["(optional)"]
style optional7 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P101".-> v9
end
v1 --"wdt:P166"--> v11
bind0[/VALUES ?award_received/]
bind0-->v11
bind00(["wd:Q184253"])
bind00 --> bind0
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c13 --"wikibase:language"--> c15
end