Download the pre-uploaded databases:
- Go to the project's repository on GitHub: link to repository
- Navigate to the "Databases" folder.
- Download the desired database files.
This database contains a comprehensive collection of texts from the Pali Canon, along with their translations and related metadata. Below is a guide on how to navigate and use this database effectively.
The database consists of five main tables:
- Authors
- Languages
- TextInfo
- LeafLineage
- Translations
This table contains information about the authors of the translations.
author_uid
: Unique identifier for each authorauthor_short
: Short name or abbreviation for the authorauthor_fullname
: Full name of the author
This table lists the languages used in the database.
lang
: Language codelang_name
: Full name of the language
This table contains metadata about each text in the Pali Canon.
uid
: Unique identifier for each textparent_uid
: Identifier of the parent text (for hierarchical organization)blurb
: Brief description of the textoriginal_title
: Title in the original languagetranslated_title
: Translated titleacronym
: Acronym or short code for the textdifficulty
: Indicates the difficulty level of the textbasket
: Specifies which basket of the Pali Canon the text belongs toroot_lang_name
: Name of the original languageroot_lang
: Code of the original languagetype
: Type or category of the text
This table shows the lineage or hierarchy of texts.
uid
: Unique identifier of the text (corresponds to TextInfo.uid)lineage
: Represents the hierarchical path of the text
This table contains the actual translations of the texts.
id
: Unique identifier for each translationuid
: Identifier of the original text (corresponds to TextInfo.uid)lang
: Language code of the translationlang_name
: Full name of the translation languageauthor_uid
: Identifier of the translator (corresponds to Authors.author_uid)file_path
: Path to the translation filetext
: The translated text content
To navigate and query the database effectively, consider the following approaches:
-
Finding a specific text: Use the
TextInfo
table to search byuid
,original_title
, ortranslated_title
. -
Exploring the canon structure: Use the
LeafLineage
table in conjunction withTextInfo
to understand the hierarchical organization of texts. -
Retrieving translations: Join the
Translations
table withTextInfo
to get translations for specific texts. -
Finding works by a specific author: Use the
Authors
table joined withTranslations
to find all translations by a particular author. -
Exploring texts by difficulty or type: Query the
TextInfo
table using thedifficulty
ortype
fields to find texts of a particular category or complexity level.
Example SQL query to get all translations of a specific text:
SELECT t.text, t.lang_name, a.author_fullname
FROM Translations t
JOIN TextInfo ti ON t.uid = ti.uid
JOIN Authors a ON t.author_uid = a.author_uid
WHERE ti.original_title = 'Your Text Title Here';
This structure allows for flexible navigation and querying of the Pali Canon texts, their translations, and associated metadata.