query-338e8d067e01ba5b55094d56bb26de15
People alive after 2012, who received a Nobel prize, with ORCID iD, if any SELECT ?person ?personLabel ?ORCID ?award ?awardLabel ?ddate WHERE { ?person wdt:P166 ?award. ?person wdt:P31 wd:Q5. ?award wdt:P279* ?type. ?type wdt:P31 wd:Q7191. OPTIONAL { ?person wdt:P496 ?ORCID. } OPTIONAL { ?person wdt:P570 ?ddate. FILTER(?ddate > "2012-01-01T00:00:00Z"^^xsd:dateTime) } SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } }
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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#>
#People alive after 2012, who received a Nobel prize, with ORCID iD, if any
SELECT ?person ?personLabel ?ORCID ?award ?awardLabel ?ddate WHERE
{
?person wdt:P166 ?award.
?person wdt:P31 wd:Q5.
?award wdt:P279* ?type.
?type wdt:P31 wd:Q7191.
OPTIONAL { ?person wdt:P496 ?ORCID. }
OPTIONAL { ?person wdt:P570 ?ddate.
FILTER(?ddate > "2012-01-01T00:00:00Z"^^xsd:dateTime) }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?ORCID"):::projected
v3("?award"):::projected
v1("?ddate"):::projected
v2("?person"):::projected
v4("?type")
c10(["bd:serviceParam"]):::iri
c4(["wd:Q5"]):::iri
c12(["en"]):::literal
c6(["wd:Q7191"]):::iri
v2 --"wdt:P166"--> v3
v2 --"wdt:P31"--> c4
v3 --"wdt:P279"--> v4
v4 --"wdt:P31"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P496".-> v5
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P570".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end