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://qlever.dev/api/wikidata \
--query - \
--format csv \
--to female-persons
Failure0.28 s
Response bytes
female-persons/
├── ro-crate-metadata.json
└── query.rq
Failure
endpoint returned HTTP 502 Bad Gateway
{
"@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://qlever.dev/api/wikidata",
"@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": 0.279529315
},
{
"@id": "#error",
"@type": "Thing",
"description": "endpoint returned HTTP 502 Bad Gateway"
},
{
"@id": "./",
"@type": "Dataset",
"additionalProperty": [
{
"@id": "#retrieval-duration"
}
],
"datePublished": "2026-10-30T18:26:57.051420588+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://qlever.dev/api/wikidata"
}
},
{
"@id": "#retrieval",
"@type": "CreateAction",
"actionStatus": {
"@id": "http://schema.org/FailedActionStatus"
},
"agent": {
"@id": "https://vitrify.iolanta.tech"
},
"description": "HTTP 502; Accept: text/csv",
"endTime": "2026-10-30T18:26:57.051420588+00:00",
"error": {
"@id": "#error"
},
"identifier": "https://qlever.dev/api/wikidata",
"instrument": {
"@id": "https://vitrify.iolanta.tech"
},
"object": [
{
"@id": "https://qlever.dev/api/wikidata"
},
{
"@id": "query.rq"
}
],
"startTime": "2026-10-30T18:26:56.764820429+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