Did {Batman} {partner} {Diana Prince}?
Were DIana Prince and Batman partners?
Was Batman partner Diana Prince?
ASK WHERE { resource:Batman property:unmarried_partner resource:Diana_Prince }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2695156> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P451> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q5271277>. } 
ASK WHERE { wd:Q2695156 wdt:P451 wd:Q5271277 }