Question: What was the sixth position that Samuel Pepys held?
Paraphrase: Was was Samuel Pepys sixth position?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q106143 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1545 ?x filter(contains(?x , '6')) }