{"id":770,"date":"2026-11-20T15:40:56","date_gmt":"2026-11-20T21:40:56","guid":{"rendered":"https:\/\/cdrhdev.unl.edu\/log\/?p=770"},"modified":"2026-11-20T16:01:20","modified_gmt":"2026-11-20T22:01:20","slug":"launch-of-tibetan-monastic-networks","status":"publish","type":"post","link":"https:\/\/cdrhdev.unl.edu\/log\/2026\/launch-of-tibetan-monastic-networks\/","title":{"rendered":"Launch of Tibetan Monastic Networks"},"content":{"rendered":"\n<p>My project on Tibetan Monastic Networks, recently published at <a href=\"https:\/\/tibetanmonasticnetworks.unl.edu\">tibetanmonasticnetworks.unl.edu,<\/a> intends to explore the relationships between Tibetan Buddhist religious figures and monasteries and map the social and geographic networks among them. Like many religions, Tibetan Buddhism is divided into traditions (also labeled &#8220;sects&#8221; or &#8220;schools&#8221;), the most prominent of which are Geluk, Kagyu, Sakya and Nyingma, which differ in practice, philosophy, organization, and history. Their political and educational institutions have historically centered on specific monasteries. For instance the Dalai Lama\u2019s Geluk tradition revolved around the institutions of Ganden, Drepung, and Sera, massive monasteries renowned for their intensive scholarly curricula. Prominent religious figures studied, taught, and held leadership positions at monasteries of their own tradition, but they did not only have such &#8220;vertical&#8221; relationships. Religious figures often visited monasteries of different traditions that had a reputation for philosophy or certain ritual practices, so their education and influence might span multiple traditions. Monasteries were also centers of pilgrimage and seats of political influence, connecting broad swathes of Tibetan Buddhism in these ways.<\/p>\n\n\n\n<p><strong>How the project was developed<\/strong><\/p>\n\n\n\n<p>The original idea for this project came about when I was taking a full-stack web development course with Flatiron School, seeking to pivot into technology from a more traditional academic career in Tibetan Buddhist Studies. To complete the course, we did several projects that combined front-end and back-end web development. One project had the requirement that data must be stored in a SQL relational database with two primary tables, joined by a join table. There was an additional requirement that the join table contain semantic data in addition to the linked identifiers. Since I was previously only familiar with join tables that just record connections, this new data structure gave me an idea for a project related to my academic studies. It would explore Tibetan religious figure and Tibetan monasteries, focusing primarily not on the individual figures and monasteries, but on the relationships between them. For each relationship I could record a narrative of what that individual did at the monastery, what role they played (such as student, abbot, or pilgrim), and what tradition of practice or scholarship came out of the connection. The focus on relationships related to a research question I was interested in: are there networks within Tibetan Buddhism that are obscured by scholarship that takes sectarian divisions for granted? The founder of the Dalai Lama&#8217;s Geluk tradition, Tsongkhapa, was educated as Sakya monk, but his biography records that he took teachings in other traditions, visiting their monasteries that were renowned for philosophical learning or tantric ritual. Proponents of the Rim\u00e9 tradition (often translated as nonsectarian) also combined teachings of different traditions. Rim\u00e9 was especially prominent in Eastern Tibet, among lamas of the non-Geluk traditions, at a time when central Tibet was under the Geluk hegemony of the Dalai Lamas. By recording and exploring the connections of prominent figures and prominent monasteries, I intended to discover patterns that similarly transcended sectarian boundaries.<\/p>\n\n\n\n<p><strong>Conversion into a CDRH Orchid\/Datura project<\/strong><\/p>\n\n\n\n<p>The front end of this project, as created for Flatiron School, was originally a Single Page Application (SPA) that relied on Javascript to update the page dynamically without using any other framework. Users could look through the list of monasteries and the list of figures, and could click on a monastery or figure to see all of the relationships. Originally these were just displayed on &#8220;cards&#8221; designed with a Bootstrap layout. The back end of the project was created in Ruby on Rails, not using the CDRH systems but rather a more &#8220;traditional&#8221; Rails setup based on a SQL database. Rather than serving a front end with Rails, the site used the fast-json-api gem to serve a JSON-serialized API that could be queried by the front end. I wanted to convert this project into an Orchid application, that would use the CDRH&#8217;s Elasticsearch-based API and Datura to ingest data. CDRH&#8217;s architecture has many advantages. The API and Elasticsearch can handle large amounts of data systematically, in contrast to the previous ad hoc data entry system. Additionally, Orchid (in combination with the API and Elasticsearch) allows for a more powerful system of search and faceting, providing for more ways to browse the data. It is possible to sort the data by date and religious tradition, and search the full text of each entry. Datura provides a more comprehensive and standardized system of data entry. I converted the JavaScript application into a Rails application with views and controllers, pulling data from the CDRH API instead of the serialized one I had created before. The main part that differed from the original application was the search interface. I considered adding a map but time did not permit me to complete it. I also created a Datura data repository with scripts and overrides indicating how the data is to be ingested. Later on, Erin Kay Chambers created the front end design, with some suggested Buddhist motifs and photos I had taken of Tibetan monasteries. Greg Tunink and Jason Bougger helped me to put the site on the server, while Jason and Tomonori Nagata helped maintain the Baserow server that hosted my data.<\/p>\n\n\n\n<p><strong>Adding data and Baserow<\/strong><\/p>\n\n\n\n<p>The need to change my project&#8217;s data entry system gave me and the CDRH an opportunity to test out systems of data storage. The original data entry system relied on front end HTML forms (the assignment had been to make a standard create, read, update, delete application). I experimented with replicating this system within Orchid, but I decided not to implement this feature for the live site. Direct data entry into Elasticsearch poses significant security challenges and neither the CDRH API nor Elasticsearch (which does not allow lookup of items by internal ID) is not intended to support it. Instead I moved to creating CSVs for Datura, which is designed to handle CSV ingest. Join information can be added using the CDRH API&#8217;s <code>rdf<\/code> fields, which are intended for linked data. Compared with a relational database, CSVs are not a format that can easily handle linked information. I originally constructed the join table by hand, typing in each of the primary keys that were to be linked together. Ingesting the join data into a non-relational database (ES does not have a relational format by default) is not as simple as creating a join table in SQL. I created a script to serialize this information into markdown format so that it could be parsed by the <code>rdf<\/code> fields. But we wanted a more permanent solution with less laborious data entry. Tools such as Airtable and Baserow combine the ease of data entry and storage of CSVs with some features of a relational database, allowing for references to be linked and data to be pulled in from another table. You can also create formulas to combine or serialize data from different columns and tables.<\/p>\n\n\n\n<p>As far as actually entering the data, in the Flatiron School project, I originally included a few dozen monasteries and figures which I chose based on who was most famous, and my personal interests. I had a goal of including 100 monasteries and 100 figures and relationships between them, and expanded this somewhat prior to launch. In an attempt to make the selection less arbitrary, I had a systematic way of adding new figures and monasteries. The sources I used are the Buddhist Digital Resource Center (BDRC), a database of Tibetan texts that includes some biographical information, as well as linked data about relationships (figure-to-figure relationships, such as students and teachers, and figure-to-monastery religions), and the Treasury of Lives, which includes full biographies of many figures and also metadata from BDRC showing relationships for each figure. Treasury of Lives biographies are copyrighted works by scholars but BDRC metadata is freely available under a Creative Commons license. I went through each figure that was already in the database by turn, and chose one additional connected figure to add, generally a teacher or a student of the figure. I added entries related monasteries for each figure in turn, as long as I could find information about the monasteries and it was not already in the database. I filled in some gaps in coverage at the end (such as prominent monasteries or figures that I missed, neglected and more female religious figures and their connections).<\/p>\n\n\n\n<p><strong>Network Analysis<\/strong><\/p>\n\n\n\n<p>One intent of the project was to map the networks of figures and monasteries and run network analysis measures to determine which figures are most central. I used the NetworkX network analysis tool for Python in conjunction with the Neo4j graph database, which provides a format for data storage based on network relationships, including not only the links between items but also the type of relationship, direction, and other attribute. It is possible to use Python scripts to convert spreadsheet data into Neo4j data, and to pull neo4j data and convert it to a NetworkX graph format. The inspiration and documentation for doing this can be found at <a href=\"https:\/\/lasha-dolenjashvili.medium.com\/introduction-to-network-analysis-with-neo4j-auradb-and-python-%EF%B8%8F-d332c6d41f13\">Lasha Dolenjashvili&#8217;s guide to network analysis with Neo4J<\/a>. See the NetworkX site for <a href=\"https:\/\/networkx.org\/documentation\/stable\/reference\/algorithms\/centrality.html\">documentation on centrality measures<\/a> and the other forms of mathematical network analysis that can done. Below can be found the results of running centrality measures such as degree and betweenness centrality on this site&#8217;s data (as ingested into Neo4j), using the NetworkX plugin. My source code can be found <a href=\"https:\/\/github.com\/CDRH\/data_tibetan-monasteries\/blob\/network_analysis\/scripts\/python\/neo4j_network_analysis\/neo4j_analysis.py\">here<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/tibetanmonasticnetworks.unl.edu\/assets\/network1-d27ba90096554dc59f67e6a7903a3f6b56eda458df11af7f730d30758bb246f8.png\" alt=\"a visualization of the graph, centered on Sakya monastery\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/tibetanmonasticnetworks.unl.edu\/assets\/network2-adaadd56451c8b7d19401a7992f2de5d9b0c864c4e4f8a51747e01143ee16f07.png\" alt=\"another visualization of the graph, centered on The First Dzogchen Drubwang, Pema Rigdzin\"\/><\/figure>\n\n\n\n<p>An unique feature of my network analysis is that it made use of a bipartite graph, because figures and monasteries were not connected directly to each other, but there are only connections between figures and monasteries. I attempted to use the &#8220;bipartite&#8221; features in NetworkX when available for the specific centrality measure, although they did not produce significantly different results.<\/p>\n\n\n\n<p><strong>Conclusions<\/strong><\/p>\n\n\n\n<p id=\"block-d14f4f7a-fef0-4964-9d4f-fafd9e08b329\">The results of the network analysis were relatively straightforward and predictable when focusing on monasteries. Monasteries with many direct connections to individual figures did well in centrality measures. The most central monasteries correspond closely with the most famous monasteries in each Tibetan Buddhist tradition (such as Sakya for the Geluk tradition, Dzokchen for the Nyingma tradition), as well as pilgrimage sites revered across the tradition (such as Samye). The visualization of Samye shows this straightforward pattern, as it is at the center of a regular web, with numerous incoming connections.<\/p>\n\n\n\n<p id=\"block-e3b8782a-c4a4-41ea-898d-13ea6b75173b\">The most central figures were more surprising. They did not necessarily correspond to the most famous individuals who were founders of traditions (for instance, Tsongkhapa who founded the Geluk tradition did not score highly). Instead, figures scored highly who had connections to many different monasteries across traditions. Such diverse connections often characterized figures from the nonsectarian Rim\u00e9 movement, and some tantric scholars from the Geluk tradition. However, elite Geluk lamas and scholars tended to have connections within the tradition&#8217;s own monasteries, so did not have high centrality. The pictured visualization is a graph centered on the First Dzogchen Drubwang, Pema Rigdzin, a Rim\u00e9 figure who scored highly in many centrality measures. It shows a less regular pattern, indicating connections to disparate parts of the graph. It is possible that better use of Neo4j&#8217;s Bloom visualization features such as gravity of Neo4j would produce a prettier graph.<\/p>\n\n\n\n<p id=\"block-c8852647-824b-40db-bc96-0a81284f6def\">Using different centrality measures produced broadly similar results, with some subtle differences with the more &#8220;weighted&#8221; centrality measures like Katz or Closeness compared with simple degree centrality (which just counts the number of incoming connections). The Kalachakra traditions of Jonang had few direct connections, but their figures and monasteries were indirectly influential across the tradition. Disconnected portions of the graph (for instance, some figures in Ladakh) received artificially higher closeness centrality scores due to how NetworkX calculates the score.<\/p>\n\n\n\n<p id=\"block-61041d26-94cd-4c76-8e03-0dc1bd4390e8\"><strong>Future Directions<\/strong><\/p>\n\n\n\n<p id=\"block-5a5760ba-8295-41bd-a077-51f8eb9bebe4\">The data set was somewhat arbitrarily limited, as I manually ingested all the data. I intend to expand it in the future to include a fuller set of monasteries and networks from the BDRC database, and run network analysis algorithms to determine the most central monasteries and figures from this more complete sample. It would be nice, if time permits, for me to add photographs of the monasteries, mapping functionality based on the monastery locations, and some information about the current status of these monasteries (many were destroyed in China&#8217;s Cultural Revolution, and some were later rebuilt).<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>My project on Tibetan Monastic Networks, recently published at tibetanmonasticnetworks.unl.edu, intends to explore the relationships between Tibetan Buddhist religious figures and monasteries and map the social and geographic networks among them. Like many religions, Tibetan Buddhism is divided into traditions (also labeled &#8220;sects&#8221; or &#8220;schools&#8221;), the most prominent of which are Geluk, Kagyu, Sakya and&hellip;<\/p>\n <a href=\"https:\/\/cdrhdev.unl.edu\/log\/2026\/launch-of-tibetan-monastic-networks\/\" title=\"Launch of Tibetan Monastic Networks\" class=\"entry-more-link\"><span>Read More<\/span> <span class=\"screen-reader-text\">Launch of Tibetan Monastic Networks<\/span><\/a>","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"Layout":"","footnotes":""},"categories":[1],"tags":[],"class_list":["entry","author-wdewey","post-770","post","type-post","status-publish","format-standard","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/cdrhdev.unl.edu\/log\/wp-json\/wp\/v2\/posts\/770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdrhdev.unl.edu\/log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cdrhdev.unl.edu\/log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cdrhdev.unl.edu\/log\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/cdrhdev.unl.edu\/log\/wp-json\/wp\/v2\/comments?post=770"}],"version-history":[{"count":4,"href":"https:\/\/cdrhdev.unl.edu\/log\/wp-json\/wp\/v2\/posts\/770\/revisions"}],"predecessor-version":[{"id":777,"href":"https:\/\/cdrhdev.unl.edu\/log\/wp-json\/wp\/v2\/posts\/770\/revisions\/777"}],"wp:attachment":[{"href":"https:\/\/cdrhdev.unl.edu\/log\/wp-json\/wp\/v2\/media?parent=770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cdrhdev.unl.edu\/log\/wp-json\/wp\/v2\/categories?post=770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cdrhdev.unl.edu\/log\/wp-json\/wp\/v2\/tags?post=770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}