Did {William_Henry_Harrison} {position held} {Governor of Indiana} and {United States senator} ?
Was William Henry Harrison both a United States senator and Governor of Indiana?
Did William Henry Harrison hold the offices of Governor of Indiana and United States senator?
ASK WHERE { resource:William_Henry_Harrison property:position_held resource:Governor_of_Indiana . resource:William_Henry_Harrison property:position_held resource:United States senator }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11869> . ?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/Q16147601>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11869> . ?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/Q13217683>. } 
ASK WHERE { wd:Q11869 wdt:P39 wd:Q16147601 . wd:Q11869 wdt:P39 wd:Q13217683 }