Did {Bernie_Sanders} {spouse} {Jane O'Meara Sanders}?
Was Jane O'Meara Sanders married to Bernie Sanders?
Was Bernie Sanders married to Jane O'Meara Sanders?
ASK WHERE { resource:Bernie_Sanders property:spouse resource:Jane_O'Meara_Sanders }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q359442> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q20165782>. } 
ASK WHERE { wd:Q359442 wdt:P26 wd:Q20165782 }