<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
    <teiHeader>
        <fileDesc>
            <titleStmt>
                <title type="full">
                    <title type="main">Graph representation and network analysis as a comparative tool: a case study in comparative religion</title>
                    <title type="sub"/>
                </title>
                <author>
                    <persName>
                        <surname>Lynch</surname>
                        <forename>Jonah</forename>
                    </persName>
                    <affiliation>IIMAS, Italy; University of Pavia</affiliation>
                    <email>jonahlynch@iimas.org</email>
                </author>
            </titleStmt>
            <editionStmt>
                <edition>
                    <date>2021-09-01T12:58:42.718967644</date>
                </edition>
            </editionStmt>
            <publicationStmt>
                <publisher>Elisabeth Burr, University of Leipzig</publisher>
                <address>
                    <addrLine>Beethovenstr. 15</addrLine>
                    <addrLine>04107 Leipzig</addrLine>
                    <addrLine>Germany</addrLine>
                    <addrLine>Elisabeth Burr</addrLine>
                </address>
            </publicationStmt>
            <sourceDesc>
                <p>Converted from an OASIS Open Document</p>
            </sourceDesc>
        </fileDesc>
        <encodingDesc>
            <appInfo>
                <application ident="DHCONVALIDATOR" version="1.22">
                    <label>DHConvalidator</label>
                </application>
            </appInfo>
        </encodingDesc>
        <profileDesc>
            <textClass>
                <keywords scheme="ConfTool" n="category">
                    <term>Paper</term>
                </keywords>
                <keywords scheme="ConfTool" n="subcategory">
                    <term>Short Paper</term>
                </keywords>
                <keywords scheme="ConfTool" n="keywords">
                    <term>network analysis</term>
                    <term>history</term>
                    <term>mesopotamia</term>
                    <term>religion</term>
                </keywords>
                <keywords scheme="ConfTool" n="topics">
                    <term>Discovering</term>
                    <term>Programming</term>
                    <term>Writing</term>
                    <term>Network Analysis</term>
                    <term>Structural Analysis</term>
                    <term>Visualization</term>
                    <term>Modeling</term>
                    <term>Theorizing</term>
                    <term>Organizing</term>
                    <term>Communicating</term>
                    <term>Publishing</term>
                    <term>Meta: Teaching/Learning</term>
                    <term>Computers</term>
                    <term>DigitalHumanities</term>
                    <term>Visualisation</term>
                    <term>Language</term>
                    <term>Methods</term>
                    <term>ResearchProcess</term>
                    <term>not applicable</term>
                    <term>English</term>
                </keywords>
            </textClass>
        </profileDesc>
    </teiHeader>
    <text>
        <body>
            <div type="div1">
                <head>Introduction</head>
                <p>This paper presents a case study of graph representation and network analysis applied to a comparison between Mesopotamian polytheism and Biblical monotheism.</p>
                <p>Scholars in religious studies have been attempting to define “comparative religion” for over a century. The difficulties associated with this endeavor are present not only in religious studies, but also more generally in any comparison of cultures: linguistic imprecision, the pitfalls of essentialist thought and the risk of intellectual colonialism are three of the most important. In an attempt to sidestep these difficulties, I present the beginnings of a methodology for comparing two religious experiences through graph representation and network analysis. </p>
            </div>
            <div type="div1">
                <head>The Context</head>
                <p>It has been pointed out that comparison takes place using the categories of the
                    observer—and can misrepresent what an observed group actually thinks about
                        itself.<note xml:id="ftn1" place="foot" n="1">The longstanding debate about
                        the word “religion” is a salient example.</note> Some scholars therefore
                    interpret religious and cultural structures fundamentally as an expression of
                    power, and emphasize considerations about colonialism, imperialism, and
                    “platonizing” categories of thought that can distort and misrepresent the
                    cultures under examination. This critique sometimes implies that the groups
                    under examination see each other as competitors in a zero-sum power struggle.
                    Perhaps in reaction to the ugliness of such a struggle, other scholars emphasize
                    an irenic approach in which each culture is seen only in its own terms, without
                    comparison to other cultures, in order to avoid suggesting that one be
                    considered “better” than another. In my view, both of these positions fall short
                    of the goals of understanding, respecting, and esteeming one another. </p>
                <p>In a recent book, Corinne Dempsey summarizes the complaint against a comparative
                    approach. It “conjures and imposes abstracted categories that too often erase
                    culturally embedded distinctions and realities” (Dempsey 2012: 5).<note
                        xml:id="ftn2" place="foot" n="2">She continues: “Likewise, critics of
                        religion often note how religious systems impose on adherents spiritualizing
                        abstractions that deflect and neglect material needs and realities. As both
                        sets of critics have it, scholarly comparison and religion, imposed from
                        above, easily lend themselves to imperialistic structures of oppression.” On
                        page 7, she writes that “a core critique of comparativism today is of
                        intellectual imperialism, a process that imposes universal categories that
                        distort or disregard locally embedded meanings and differences.” She claims
                        that her book was not intended as a defense of comparativism, and rather
                        that it was the very dynamic of encountering new realities and attempting to
                        “translate” the contents of other people’s experience into her own language
                        that led her to affirm the comparative approach as an “interactive adventure
                        that is never complete, perpetually enticing those who engage into further
                        exploration and discovery.” p. 19. </note> She recasts the problem: perhaps
                    it is “not whether we should compare but, in comparing, how we can do so
                    transparently and responsibly. How do we choose among infinitely available
                    points of comparison such that the process advances rather than predetermines or
                    undermines our knowledge of religious phenomena?” (Dempsey 2012: 4)<note
                        xml:id="ftn3" place="foot" n="3">Dempsey maintains that “the key to
                        maintaining productive exchanges between scholar and subject, helping to
                        deflect comparativism’s imperialistic potential, is the resolve to take
                        seriously the religious experiences and expressions of those we study.
                        Although this may seem an obvious suggestion, it appears that the current
                        emphasis religion scholarship tends to place on power dynamics is precisely
                        capable of diminishing this resolve, creating barriers between students of
                        religion and the communities they study.” p. 10</note>
                </p>
                <p>I agree with Dempsey that it is possible, and even necessary, to carry out a
                    comparative study of religions.<note xml:id="ftn4" place="foot" n="4">Such
                        comparison cannot escape categorization, because human experience forms
                        patterns in the brain and is expressed in patterns of language. It would be
                        interesting to explore the relevance of these issues in a further
                        study.</note> But it must be a <hi rend="italic">continuous</hi>
                    “adventure”, to use Dempsey’s word, a continuous hermeneutic circle, in which
                    new information updates the information that is already available, and
                    provisional conclusions are ever improved. </p>
            </div>
            <div type="div1">
                <head>Apples to Oranges?</head>
                <p>In order to compare anything, it is necessary to find an element that can be compared. If such an element can be found, apples can indeed be compared to oranges. </p>
                <p>Part of my recent research has focused on comparing ancient Mesopotamian religion
                    to the religion of the Bible.<note xml:id="ftn5" place="foot" n="5">See
                        4banks.net.</note> In the course of that work, I have often wondered how it
                    would be possible to test our historical conclusions through computational
                    tools, as well as through the tools of the historian and the archaeologist. This
                    question led me to apply NLP tools to the study of ancient texts.<note
                        xml:id="ftn6" place="foot" n="6">In the background is my research on a
                        linguistic metaphor that was used by some major figures in the study of
                        Mesopotamia to describe the gods of that culture: transitivity and
                        intransitivity. Using NLP dependency parsing, I examined the validity of the
                        transitivity metaphor as it applies to Mesopotamian and Biblical relations
                        between humans and divinities. Other metrics, like keyness, were also
                        calculated and interpreted. See
                        <ref target="https://4banks.net/Mes-Rel/temi/transitivity.htm">https://4banks.net/Mes-Rel/temi/transitivity.htm</ref></note> The results of that
                    exploration were interesting, but the complexities of natural language, the
                    lacunae of the texts, and the imprecisions of the available computational tools
                    conspired to make my conclusions fuzzier than I had hoped. </p>
                <p>I began to wonder if a graph representation of the experiences described in ancient texts could be used as an invariant element to permit comparison. By shifting the emphasis from the definitions of the “essences” that are represented by nodes (gods, God, etc.) to the relations between nodes, perhaps new light could be shed on the essential characteristics of religions. Then, perhaps those characteristics would permit comparison between religions. Graph representations offer three particularly useful features to this end: they encode relations, not just “essences”; they are natively capable of continuously incorporating new data; and some of their characteristics are encoded in their very shape. It is this topology that principally concerns us here. </p>
            </div>
            <div type="div1">
                <head>Procedure</head>
                <p>The first task was to choose a corpus. I settled on the Shuila prayers<note
                        xml:id="ftn7" place="foot" n="7">Alan Lenzi, who has studied these prayers
                        extensively and maintains a website archive of all the extant shuila
                        prayers, writes that they are “liturgical ritual-prayers that were directed
                        to the high deities of the Mesopotamian pantheon such as Marduk, Shamash,
                        and Ishtar, among others. A ritual official (i.e., an exorcist) recited
                        these prayers to assist a troubled client, often a Babylonian or Assyrian
                        king. The exorcist would read the prayer aloud and the (presumably
                        illiterate) client would repeat the words after him.” See <ref
                            target="http://www.shuilas.org/">http://www.shuilas.org/</ref>
                    </note> in Mesopotamia, and the Psalms in the Bible. This choice was determined
                    by the broad consensus among scholars that the two corpora are roughly similar
                    in size and intent, and supported by the fact that they have been studied
                    comparatively for over one hundred years.<note xml:id="ftn8" place="foot" n="8"
                        >On his site shuilas.org, Alan Lenzi writes: “Comparatively inclined
                        scholars in various fields of Religious Studies have used shuila-prayers to
                        shed light on other religious corpora. For example, biblical scholars have
                        been making comparative observations between the biblical psalms and the
                        shuila-prayers in terms of both form and content since the late nineteenth
                        century (Zernecke in Lenzi 2011, 61-68; → <ref
                            target="http://www.worldcat.org/oclc/872410762"
                            >http://www.worldcat.org/oclc/872410762</ref>; → <ref
                            target="https://www.sbl-site.org/assets/pdfs/pubs/9781589835962_OA.pdf"
                            >https://www.sbl-site.org/assets/pdfs/pubs/9781589835962_OA.pdf</ref>).”
                    </note> It also derives from the need to limit the size of the corpus in a
                    “proof of concept” such as the present paper. To this end I chose a very small
                    subset to begin with: four Shuila prayers dealing with lunar eclipses, and four
                        Psalms.<note xml:id="ftn9" place="foot" n="9">Specifically: prayers with
                        CDLI numbers 259033, 393721, 393771, and 393796 on Lenzi’s site shuilas.org.
                        The prayers, with original cuneiform text as a photo, complete with
                        transcription and translation, can be found by replacing the number in the
                        URL: <ref target="http://shuilas.org/P398671.html"
                            >http://shuilas.org/P398671.html</ref>. The Psalms do not deal with
                        lunar eclipses, so for a random first test corpus I simply used the last two
                        digits of the Shuila prayers as references. Thus the psalms encoded are
                        numbers 33, 21, 71, and 96 in the numbering of the Revised Standard Version
                        (RSV). All prayers and psalms were encoded according to their English
                        translations as available on shuilas.org and in the RSV. </note> The use of
                    few texts also permits easy comprehension of the images in this printed article.
                    Future work will examine a larger corpus. </p>
                <p>Instead of creating an automatic process through NLP tools, I manually encoded the relations expressed in those texts as a directed graph, using the Cypher language and Neo4j database management software. The Cypher language permits an ASCII-art representation of nodes and edges, as well as a multilayered tagging and properties structure to encode each node and relation with rich data. The first few lines of the encoding is below:</p>
                
                    <figure>
                        <graphic url="Pictures/2580f5274feb509c85789b898fb55127.png"/>
                    </figure>
                <p>By encoding the texts in this way, they could be visualized using the Neo4j software. The four Mesopotamian texts result in the following image:</p>
                
                    <figure>
                        <graphic url="Pictures/7e7b9522f79e6702660962d7c9810caf.png"/>
                    </figure>
                <p>The lunar eclipse, represented in green as part of the natural world, is at the center of three “fear” relationships with human persons (in purple) who are praying using the text of the prayers. Some of them are named, some are generic clients of the clerical structures in Mesopotamia. The persons are also connected to several named divinities (in gold) through relations such as PRAISES, REQUESTS_LIFE, and OFFERS_INCENSE. Some divinities are named in the prayers, but not specifically addressed: these float unconnected to the graph.</p>
                <p>In a similar fashion, the four Psalms can be encoded and represented as follows:</p>
                
                    <figure>
                        <graphic url="Pictures/ae8385143e603729dc77afdc9c6374ac.png"/>
                    </figure>
                <p>Here, the one God of the Bible, YHWH, is represented at the center of the graph, recipient of relations from the humans such as TRUSTS, REQUESTS_LIFE, and THANKS. YHWH also acts directly on the humans, GIVES_LIFE to some and DESTROYS others. The natural world appears, though not with the importance it has in the Mesopotamian texts.</p>
                <p>While this schematic representation is a far cry from the poetic character of the original texts, it does to some extent describe both religions in terms that their own adherents would recognize. The structures encoded in Cypher are a direct translation of the entities and relations present in the religious texts used. While this structural translation is certainly an impoverishment of those texts (the numerous 
                    <hi rend="italic">captatio benevolentiae</hi> are not encoded, for instance, and the vibrant and various humanity of the Psalms and the anguished opacity of the Shuila prayers hardly appears), the content that can be thus encoded does express some of the essential characteristics of each religion in so far as it expresses the direct relations between humans, divinities, and the natural world. 
                </p>
            </div>
            <div type="div1">
                <head>Comparison</head>
                <p>We set out to compare two religions through the identification of a structural “signature” characteristic of each experience. The two graphs presented above were encoded in a single database, and do not touch simply because none of their current nodes are identical. It would be expected that if a large number of texts were encoded, this might no longer be the case. At the current stage of encoding, the two graphs can be compared intuitively by collecting the three types of nodes (divinities, humans, and natural world) in three locations. An example of such a comparison, with Mesopotamia represented on the right and the Bible on the left, is below:</p>
                
                    <figure>
                        <graphic url="Pictures/7fcb24b12a142f2c8e518a8f0ae3e7be.png"/>
                    </figure>
                
                <p>With only four fairly random prayers to represent each religion, the conclusions
                    that can be drawn should be taken with more than a grain of salt. Yet even at
                    this very low resolution, we can already see a few significant differences.
                    While there is a large pantheon forming on the right (Mesopotamia), only one God
                    is on the left (Bible). More importantly, and beyond mere numeric differences,
                    the relations between humans and gods is unidirectional in the case of
                    Mesopotamia, and bidirectional in the case of the Bible. Futhermore, measuring
                    centrality shows that in the case of Mesopotamia, humans are more central,
                    whereas YHWH is more central in the Bible. With a larger graph based on more
                    texts, network analysis would permit more numerous and robust conclusions to be
                        drawn.<note xml:id="ftn10" place="foot" n="10">It seems that Fitz John
                        Porter Poole dreamed of something like this comparison in his seminal
                        article of 1986, but it was not yet possible with the technology of the
                        day.</note>
                </p>
            </div>
            <div type="div1">
                <head>Conclusion</head>
                <p>Within the limitations of the data I have thus far encoded, one can see distinctly different structures in polytheism and monotheism as expressed in a small collection of the sacred texts of Mesopotamia and the Biblical people. This fact is already relevant to the discussion in the field. For instance, it tends to support the conclusions reached by G. Buccellati in his comparative study (Buccellati 2012).
                    On the opposite spectrum, this work tends to critique the conclusions of M. Smith, who proposed that there is not a difference of kind but rather of degree between Mesopotamian polytheism and Biblical monotheism (Smith 2003). With more data, it might be possible to reach even more interesting conclusions. For example, this method could be applied to study the origins and goals of political structures and the institution of the temple. 
                </p>
                <p>Having been encoded as a graph, two religions or spiritualities can be compared by comparing their structures. Since the topology of two networks can be compared independently of the content represented by the network, this method may point toward a way to compare and contrast even those human experiences that are fraught with histories of struggle and misunderstanding.</p>
            </div>
        </body>
        <back>
            <div type="bibliogr">
                <listBibl>
                    <head>Bibliography</head>
                    <bibl>
                        <hi rend="bold">Annus, Amar</hi> (2010): <hi rend="italic">Divination and
                            Interpretation of Signs in the Ancient World</hi>. Chicago: University
                        of Chicago Press. </bibl>
                    <bibl>
                        <hi rend="bold">Bianchi, Ugo</hi> (1985): “Current Methodological Issues in
                        the History of Religions”, in: <hi rend="italic">The History of
                            Religions</hi>. London: Macmillan Publishing Company. </bibl>
                    <bibl>
                        <hi rend="bold">Brandes, Ulrike</hi> / <hi rend="bold"> Erlebach,
                            Thomas</hi> (2005): <hi rend="italic">Network Analysis: Methodological
                            Foundations</hi>. Heidelberg: Springer-Verlag. </bibl>
                    <bibl>
                        <hi rend="bold">Buccellati, Giorgio</hi> (2012): <hi rend="italic">Quando in
                            alto i cieli</hi>. Milano: Jaca Book. </bibl>
                    <bibl>
                        <hi rend="bold">Buccellati, Giorgio</hi> (2014): “The threefold “invention”
                        of time: transcendental, transcendent, trans-temporal”, in: <hi
                            rend="italic">Euresis Journal </hi>7: 69-85. </bibl>
                    <bibl>
                        <hi rend="bold">Decosimo, David</hi> (2018): “For big comparison: Why the
                        arguments against comparing entire religious traditions fail”, in: <hi
                            rend="italic">Religion Compass</hi> 28 May 2018 DOI: <ref
                            target="https://doi.org/10.1111/rec3.12265"
                            >https://doi.org/10.1111/rec3.12265</ref> [3.09.2021]. </bibl>
                    <bibl>
                        <hi rend="bold">Dempsey, Corinne</hi> (2011): <hi rend="italic">Bringing the
                            Sacred Down to Earth</hi>. Adventures in Comparative Religion. Oxford:
                        Oxford University Press. </bibl>
                    <bibl>
                        <hi rend="bold">Doan, AnHai</hi> / <hi rend="bold"> Halevy, Alon</hi> / <hi
                            rend="bold"> Ives, Zachary</hi> (2012): <hi rend="italic">Principles of
                            Data Integration</hi>. Burlington, Mass.: Morgan Kaufmann.</bibl>
                    <bibl>
                        <hi rend="bold">Düring, Martin</hi> (2015): "From Hermeneutics to Data to
                        Networks: Data Extraction and Network Visualization of Historical Sources",
                        in: <hi rend="italic">The Programming Historian</hi> 4 DOI: <ref
                            target="https://doi.org/10.46430/phen0044"
                            >https://doi.org/10.46430/phen0044</ref> [3.09.2021]. </bibl>
                    <bibl>
                        <hi rend="bold">Eliade, Mircea</hi> (1958): <hi rend="italic"> Patterns in
                            Comparative Religion</hi>. Sheed and Ward. </bibl>
                    <bibl>
                        <hi rend="bold">Frankfort, Henri</hi> (1946): <hi rend="italic">The
                            Intellectual Adventure of Ancient Man</hi>. Chicago: University of
                        Chicago Press. </bibl>
                    <bibl>
                        <hi rend="bold">Frazer, James</hi> (2004): <hi rend="italic">The Golden
                            Bough</hi>. Edinburgh: Canongate. </bibl>
                    <bibl>
                        <hi rend="bold">Gothóni, René</hi> (2005): <hi rend="italic">How to do
                            comparative religion</hi>. Three ways, many goals. Berlin: De Gruyter. </bibl>
                    <bibl>
                        <hi rend="bold">Jacobsen, Thorkild</hi> (1976): <hi rend="italic">Treasures
                            of Darkness</hi>.  A History of Mesopotamian Religion. New Haven: Yale
                        University Press. </bibl>
                    <bibl>
                        <hi rend="bold">Karuza, Elizabeth</hi> / <hi rend="bold"> Thompson-Schill,
                            Sharon</hi> / <hi rend="bold"> Bassett Danielle</hi> (2016): “Local
                        Patterns to Global Architectures: Influences of Network Topology on Human
                        Learning”, in:  <hi rend="italic">Trends Cogn Sci</hi> 20, 8: 629-640 DOI:
                        10.1016/j.tics.2016.06.003 [3.09.2021]. </bibl>
                    <bibl>
                        <hi rend="bold">Lemercier, Clair</hi> (2015): “Formal network methods in
                        history: why and how?”, in: <hi rend="italic">Social Networks, Political
                            Institutions, and Rural Societies</hi>. Turnhout: Brepols 281-310. </bibl>
                    <bibl>
                        <hi rend="bold">Martin, Luther</hi> (1996): "The New Comparativism in the
                        Study of Religion: A Symposium", in: <hi rend="italic">Method and Theory in
                            the Study of Religion</hi> 8, 1: 1–49. <hi rend="italic"> </hi>
                    </bibl>
                    <bibl>
                        <hi rend="bold">McGillivray, Barbara</hi> (2020): “Digital Humanities and
                        Natural Language Processing: ‘Je t’aime… Moi non plus’”, in: <hi
                            rend="italic">Digital Humanities Quarterly</hi> 14, 2. </bibl>
                    <bibl>
                        <hi rend="bold">Metz, Cade</hi> (2016): “One Genius’ Lonely Crusade to Teach
                        a Computer Common Sense”, in: <hi rend="italic">Wired</hi> 24 March. </bibl>
                    <bibl>
                        <hi rend="bold">Oppenheim, A. Leo</hi> (1964): <hi rend="italic">Ancient
                            Mesopotamia: Portrait of a Dead Civilization</hi>. Chicago: University
                        of Chicago Press. </bibl>
                    <bibl>
                        <hi rend="bold">Poole, Fitz</hi> (1986): "Metaphors and Maps: Towards
                        Comparison in the Anthropology of Religion", in: <hi rend="italic">Journal
                            of the American Academy of Religion</hi> 54: 411–457. </bibl>
                    <bibl>
                        <hi rend="bold">Robinson, Ian</hi> / <hi rend="bold">Webber, Jim</hi> / <hi
                            rend="bold"> Eifrem, Emil</hi> (2015): <hi rend="italic">Graph
                            Databases</hi>. Sebastopol: O’Reilly Media. </bibl>
                    <bibl>
                        <hi rend="bold">Sharpe, Eric</hi> (1986): <hi rend="italic">Comparative
                            Religion: A History</hi>. Illinois: Open Court. </bibl>
                    <bibl>
                        <hi rend="bold">Smith, Mark</hi> (2003): <hi rend="italic">The Origins of
                            Biblical Monotheism</hi>. Oxford: Oxford University Press. </bibl>
                    <bibl>
                        <hi rend="bold">Xu, Jun-Ming</hi> (2002): <hi rend="italic">Topological
                            Structure and Analysis of Interconnecting Networks</hi>. Heidelberg:
                        Springer. </bibl>
                </listBibl>
            </div>
        </back>
    </text>
</TEI>
