Did {Rajneesh} {occupation} {artist} and {guru} ?
An artist, guru and a leader; was that Rajneesh?
Was Rajneesh a leader, artist, and guru?
ASK WHERE { resource:Rajneesh property:occupation resource:artist . resource:Rajneesh property:occupation resource:guru }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q148285> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q483501>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q148285> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q484260>. } 
ASK WHERE { wd:Q148285 wdt:P106 wd:Q483501 . wd:Q148285 wdt:P106 wd:Q484260 }