Did {Napoleon} {religion} {humanism}?
Is it true that Napoleon's religion was humanism?
Was humanism Napoleon"s religion?
ASK WHERE { resource:Napoleon property:religion resource:humanism }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q517> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P140> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q46158>. } 
ASK WHERE { wd:Q517 wdt:P140 wd:Q46158 }