I have the information from several authors in a table. In this table, a column contains the wiki-id for each author. I want to use the wiki-ids to get further information, such as gender, place of birth, place of death, etc. My plan is to use a Python script to loop over the table and run for each author a SPARQL query, get their data and add it to the table.
The problem is that I don't know how to query "get information from author that has wiki-id QXXXX". For example, let us take the author Almudena Grandes (Wiki-id Q274348, https://www.wikidata.org/wiki/Q274348). How do I make a SPARQL query that get her gender, place and date of birth?
I have been writing other queries about Spanish authors, like this: https://w.wiki/468x