question: How were the madaris funded during the medieval period ?
answer: through a religious endowment
turker_answer: The madaris were funded through a religious endowment during the medieval period .
rule-based: The madaris were funded during the medieval period through a religious endowment .