What is the {elected office} for {position held} of {John Jay}
WHICH PUBLIC OFFICE DO JOHN JAY HOLD
What public office does John Jay hold?
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:elective_office . resource:John_Jay property:position_held ?y }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q310847> . ?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 . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q17279032> } 
 select distinct ?obj where { wd:Q310847 wdt:P39 ?obj . ?obj wdt:P31 wd:Q17279032 } 
Governor of New York