Did {Grover_Cleveland} {position held} {President of the United States} and {Governor of New York} ?
Did Grover Cleveland serve as both Governor of New York and President of the United States?
Was Grover Cleveland President of the US and Governer of New york
ASK WHERE { resource:Grover_Cleveland property:position_held resource:Governor_of_New_York . resource:Grover_Cleveland property:position_held resource:President_of_the_United_States }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q35171> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q11696>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q35171> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2347975>. } 
ASK WHERE { wd:Q35171 wdt:P39 wd:Q11696 . wd:Q35171 wdt:P39 wd:Q2347975 }