Question: Who are the gods of the religion whose founding figure is Muhammad?
Answer(s):
answer: Ramdev Pir
answer: God
answer: Allah

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:religion.religion.founding_figures ns:m.04s9n . 
?c ns:religion.religion.deities ?x .
}