State and explain the functional roles of world scripture with varied examples.

World scripture serves several functional roles in different contexts. Some of these roles include:

1. Religious text: Many world scriptures are considered sacred texts by religious communities. They serve as authoritative sources of religious teachings, moral guidance, and spiritual inspiration. For example, the Quran is the holy scripture of Islam, considered by Muslims as the word of God as revealed to the Prophet Muhammad.

2. Historical record: World scriptures often provide historical accounts and narratives of important events and figures in the religious history of a particular community or region. For instance, the Bible contains narratives about the creation of the world, the life of Jesus Christ, and the establishment of Christianity.

3. Ritual guide: World scriptures often contain instructions for performing religious rituals and ceremonies. They outline the rituals, prayers, and customs that followers are expected to observe. For example, the Vedas, the oldest scriptures of Hinduism, contain hymns and rituals for performing sacrifices and prayers.

4. Legal code and ethical guidance: Some world scriptures also provide a legal framework and ethical guidelines for followers. They outline moral principles and rules of conduct to ensure an ethical and virtuous life. For instance, the Bible contains the Ten Commandments, which serve as a moral code for Christians.

5. Philosophical and theological exploration: World scriptures often delve into complex philosophical and theological questions, exploring the nature of reality, the purpose of life, and the relationship between humans and the divine. For example, the Dhammapada, a collection of Buddhist verses, explores various aspects of human existence and offers guidance on living a virtuous life.

6. Inspiration for art and literature: World scriptures have inspired countless works of art, literature, and music. They provide themes, symbols, and stories that artists and writers draw upon to create their own interpretations and expressions. For example, Dante's "Divine Comedy" draws heavily on Christian concepts and themes from the Bible.

Overall, world scriptures play diverse functional roles, depending on the religious, cultural, and social contexts in which they are used. They serve as religious texts, historical records, guides for rituals and ethics, sources of philosophical exploration, and inspiration for artistic creations.