Question: What are the main beliefs of the religion that has Ali as a figure?
Answer(s):
answer: Mahdi
answer: Tawhid
answer: Prophets in Islam
answer: Predestination in Islam
answer: Entering Heaven alive
answer: Monotheism
answer: Islamic view of angels
answer: Qiyamah
answer: Sharia
answer: Masih ad-Dajjal
answer: Islamic holy books
answer: God in Islam
answer: Ṭūbā

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.notable_figures ns:m.024c1p . 
?c ns:religion.religion.beliefs ?x .
}