Did {Lucifer} {said to be the same as} {Priapus}?
Is Priapus the same person as Lucifer?
Is Lucifer the same as Priapus?
ASK WHERE { resource:Lucifer property:said_to_be_the_same_as resource:Priapus }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q185498> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P460> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q206878>. } 
ASK WHERE { wd:Q185498 wdt:P460 wd:Q206878 }