What is {position held} of {John C. Calhoun} that is {series ordinal} is {16} ?
Which position did John C. Calhoun hold in Series Ordinal when he was 16?
What position did John C. Calhoun hold in Series Ordinal when he was 16?
SELECT ?o WHERE { FILTER ( ?e = 16 ) . resource:John_C._Calhoun property:position_held ?t . ?t property:series_ordinal ?e . ?t property:position_held ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q207191> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P1545> <16>
} 

SELECT ?obj WHERE { wd:Q207191 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1545 ?x filter(contains(?x , '16')) }