Skip to content

a search engine which provides Visual analysis of Hadith Isnad tree

License

Notifications You must be signed in to change notification settings

islamAndAi/hadith

 
 

Repository files navigation

The Hadith Visual Search Engine

Welcome to Hadith Visual Search Engine, a search engine which provides Visual analysis of Hadith Isnad tree (Narration routes) highlighting narrators and narrator grades. The engine also provides the ability to search for Isnad patterns.

The Hadith is Narration of sayings and actions of the prophet. In its classic form, a hadith has two parts — the sequence of reporting individuals who have transmitted the report (the isnad), and the actual sayings of the prophet/companion (the matn). Hadith books are collections of hadiths written in the classic forms.

The Hadith Sankey Diagram

Sankey Diagram example

The Sanad Pattern Search

The Narrator Grade Classification

Current Release Features

  • Sankey Diagram

  • Visulaize Sankey diagram of Hadiths of any rawi in bukhari

  • Rotate sankey, view top down

  • Sankey Diagram weights represent number of hadiths between any 2 rawis'

  • Narrator Nodes

  • Narrators are color coded to highlight grade of narration with grade legend

  • On node hover: rawi details

  • Sanad Query

  • Sanad Search (squence of rawi's)

  • Query Error Handling messages

  • Interactive: Route Link Tooltip

  • Populate Hadiths in Link in a table tooltip

  • Click on any hadith to retrieve all related hadith in the same Takhreeg group (mutaba'at & shuhood)

  • Hadith Retrieval

  • filter by top K number of narrators (reduce size)

  • Filter Hadiths by book

  • UI Design

  • semi-responsivness

  • dark theme

  • System Details

  • Completely Static Website

  • No Server, No Database

  • Entirely runs on the browser

  • Documentation

  • readme formatting

The Development and Data

Purely developed using HTML, Bootstrap and JavaScript. Visualization library in use, is Google Chart's Sankey. Only needs a browser to run!For research purposes only, data Sets are scraped from: ...

Development Libraries:
Development Challenges:
  • Scraping
  • Parse CSV
  • Cycle detection
  • Query Grammer

Available Data

18,800+ Narrators

ID | Name | Grade(source: Tah'theeb Al-Tah'theeb by Ibn Hajar)

7,200 Ahadeeth :Bukhari (other 34 books to be scraped later)

ID | Title | Hadith Span | Asaneed (Comma separated) | Hadith XML

Use Case Examples

What I would like to be able to do with this tool?

About

a search engine which provides Visual analysis of Hadith Isnad tree

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 36.4%
  • Jupyter Notebook 27.2%
  • HTML 27.1%
  • CSS 7.4%
  • Cypher 1.9%