Analyzing References in Bible’s Verses Using Complex Networks With Pandas and Gephi

Eduardo Sarmento
Dec 18, 2020 · 4 min read
Image for post
Image for post
Photo by Brett Jordan from Pexels

Introduction

The Bible is the world’s best-selling and most widely distributed book. Its name comes from the Koine Greek “Ta Biblia”, which means “the books”. It’s a collection of 66 books written by around 40 authors over approximately 1,500 years.

The Data

The cross references data are from OpenBible.info. However, we started with an adapted version from ScrollMapper’s repository, which is a MySQL file that contains one table:

Image for post
Image for post
Format of cross_reference table
Image for post
Image for post
Reference with interval
Image for post
Image for post
Reference expanded in multiple rows
Image for post
Image for post
Final format of the dataset

Method

After pre-processing our data, we ended up with a dataset that has 612.591 rows. When we opened it on Gephi, our graphs were too polluted, so we had the idea to filter the rows by rank. Thus, we chose to only keep the rows that had a rank of 10 or higher, which gave us a dataset with 5.527 rows. That way our data was smaller and more reliable.

Image for post
Image for post

Results

The result shown in Gephi is a Complex Network. The size of the node is proportional to the number of times it is referenced. Also, in this graph, we only plotted instances in which the degree of the node was equal or higher than 3.

Collaboration

This article was made with CARMEM STEFANIE and JOÃO VITOR.
Conceptualization:
Eduardo;
Development: Carmem;
Introduction: Eduardo;
Methodology: João & Carmem;
Results: João;

References

OpenBible.info
https://www.openbible.info/labs/cross-references/

The Startup

Medium's largest active publication, followed by +773K people. Follow to join our community.

Eduardo Sarmento

Written by

IT Student & Software Developer | LinkedIn: https://www.linkedin.com/in/edu-sarmento/

The Startup

Medium's largest active publication, followed by +773K people. Follow to join our community.

Eduardo Sarmento

Written by

IT Student & Software Developer | LinkedIn: https://www.linkedin.com/in/edu-sarmento/

The Startup

Medium's largest active publication, followed by +773K people. Follow to join our community.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store