Question: What is series ordinal of Mars that is inner planet ?
Paraphrase: What Mars series ordinal is an inner planet?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q111 p:P1545 ?s . ?s ps:P1545 ?obj . ?s pq:P642 wd:Q3504248 }