Did {Petra} {twinned administrative body} {Mada'in Saleh} and {Leskovac} ?
Did the administrative body in Mada'in Saleh and Leskovac include Petra?
Was Petra an administrative body in Mada'in Saleh and Leskovac?
ASK WHERE { resource:Petra property:twinned_administrative_body resource:Leskovac . resource:Petra property:twinned_administrative_body resource:Hegra }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5788> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q27356>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5788> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q192606>. } 
ASK WHERE { wd:Q5788 wdt:P190 wd:Q27356 . wd:Q5788 wdt:P190 wd:Q192606 }