Question: What number President of Indonesia was Megawati Sukarnoputri?
Paraphrase: Megawati Sukarnoputri was what number President of Indonesia?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q76179 p:P39 ?s . ?s ps:P39 wd:Q11755916 . ?s pq:P1545 ?value}