Did {Edward_Snowden} {occupation} {J. Edgar Hoover}?
Did Edward Snowden and J. Edgar Hoover ever work together?
Did Edward Snowden work with J. Edgar Hoover?
ASK WHERE { resource:Edward_Snowden property:occupation resource:J._Edgar_Hoover }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q13424289> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q210435>. } 
ASK WHERE { wd:Q13424289 wdt:P106 wd:Q210435 }