I had tried a second, slightly more complicated ChatGPT request for a Wikidata query but posted the wrong one. This one adds an ordering condition. Note ChatGPT's comment on the difference between this and the previous one.