Female Nobel laureates
This query returns female Nobel laureates from Wikidata across all prize categories, including Economic Sciences, with laureate labels, prize labels, and prize years, ordered from newest to oldest.
printf '%s' 'PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?person ?personLabel ?prizeLabel ?year WHERE {
{
SELECT DISTINCT ?prize WHERE {
{ ?prize wdt:P279* wd:Q7191 . } # Nobel Prize
UNION
{ BIND(wd:Q47170 AS ?prize) } # Economic Sciences
}
}
?person p:P166 [
ps:P166 ?prize ;
pq:P585 ?awardDate
] ;
wdt:P21 wd:Q6581072 . # sex or gender: female
BIND(YEAR(?awardDate) AS ?year)
?person rdfs:label ?personLabel .
FILTER(LANG(?personLabel) = "en")
?prize rdfs:label ?prizeLabel .
FILTER(LANG(?prizeLabel) = "en")
}
ORDER BY DESC(?year) ?person
' |
vitrify sparql --endpoint https://query.wikidata.org/sparql \
--query - \
--format csv \
--to female-persons
Failure65.12 s
Response bytes
female-persons/
├── ro-crate-metadata.json
└── query.rq
Failure
endpoint returned HTTP 504 Gateway Timeout
{
"@context": "https://w3id.org/ro/crate/1.3/context",
"@graph": [
{
"@id": "ro-crate-metadata.json",
"@type": "CreativeWork",
"about": {
"@id": "./"
},
"conformsTo": {
"@id": "https://w3id.org/ro/crate/1.3"
}
},
{
"@id": "query.rq",
"@type": "File",
"contentSize": "846",
"encodingFormat": "application/sparql-query",
"sha256": "7ea24b882eefba2fc137234c1768935fe41a76098e9bc2fa56e02c592babab44"
},
{
"@id": "https://query.wikidata.org/sparql",
"@type": "Organization"
},
{
"@id": "https://vitrify.iolanta.tech",
"@type": "SoftwareApplication",
"name": "Vitrify",
"url": "https://vitrify.iolanta.tech",
"version": "0.1.3"
},
{
"@id": "#retrieval-duration",
"@type": "PropertyValue",
"name": "Retrieval duration",
"propertyID": "retrieval-duration",
"unitCode": "SEC",
"value": 65.119256085
},
{
"@id": "#error",
"@type": "Thing",
"description": "endpoint returned HTTP 504 Gateway Timeout"
},
{
"@id": "./",
"@type": "Dataset",
"additionalProperty": [
{
"@id": "#retrieval-duration"
}
],
"datePublished": "2026-10-31T11:20:21.948799218+00:00",
"description": "SPARQL retrieval recorded by Vitrify.",
"hasPart": [
{
"@id": "query.rq"
}
],
"license": "No license asserted by Vitrify; consult the source endpoint's terms of use.",
"name": "SPARQL retrieval",
"publisher": {
"@id": "https://query.wikidata.org/sparql"
}
},
{
"@id": "#retrieval",
"@type": "CreateAction",
"actionStatus": {
"@id": "http://schema.org/FailedActionStatus"
},
"agent": {
"@id": "https://vitrify.iolanta.tech"
},
"description": "HTTP 504; Accept: text/csv",
"endTime": "2026-10-31T11:20:21.948799218+00:00",
"error": {
"@id": "#error"
},
"identifier": "https://query.wikidata.org/sparql",
"instrument": {
"@id": "https://vitrify.iolanta.tech"
},
"object": [
{
"@id": "https://query.wikidata.org/sparql"
},
{
"@id": "query.rq"
}
],
"startTime": "2026-10-31T11:19:16.827560660+00:00"
}
]
}
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?person ?personLabel ?prizeLabel ?year WHERE {
{
SELECT DISTINCT ?prize WHERE {
{ ?prize wdt:P279* wd:Q7191 . } # Nobel Prize
UNION
{ BIND(wd:Q47170 AS ?prize) } # Economic Sciences
}
}
?person p:P166 [
ps:P166 ?prize ;
pq:P585 ?awardDate
] ;
wdt:P21 wd:Q6581072 . # sex or gender: female
BIND(YEAR(?awardDate) AS ?year)
?person rdfs:label ?personLabel .
FILTER(LANG(?personLabel) = "en")
?prize rdfs:label ?prizeLabel .
FILTER(LANG(?prizeLabel) = "en")
}
ORDER BY DESC(?year) ?person