Question: What is the religious affiliation of Jami, that has a Q48460 of 297?
Paraphrase: What is Jami's religious affiliation, which has a 297 Q48460?
SPARQL (Wikidata): SELECT ?answer WHERE { wd:Q312458 wdt:P140 ?answer . ?answer wdt:P1036 ?x FILTER(contains(?x , '297'))}
Answer: Islam