SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Moses> <http://dbpedia.org/ontology/relative> ?x . ?x <http://dbpedia.org/ontology/veneratedIn> ?uri . }
Relatives of Moses used to follow which religions?
SELECT DISTINCT ?w WHERE { resource:Moses property:relative ?g . ?g property:venerated_in ?w . }
Christianity, Judaism, Islam
The religions where relatives of Moses were venerated are [Christianity, Judaism, Islam].
The religions in which the relatives of the dead were worshipped were [Christianity, Judaism, Islam].