what is the {series ordinal} for {Chester A. Arthur} has {position held} as {Vice President of the United States} ?
In the order of Vice Presidents, which number was Chester A. Arthur?
Chester A. Arthur was which number Vice President of the United States?
SELECT ?g WHERE { ?d property:series_ordinal ?g . resource:Chester_A._Arthur property:position_held ?d . ?d property:position_held resource:Vice_President_of_the_United_States }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q35498> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q11699> .
?statement <http://www.wikidata.org/entity/P1545> ?value. 
} 

SELECT ?value WHERE { wd:Q35498 p:P39 ?s . ?s ps:P39 wd:Q11699 . ?s pq:P1545 ?value}