You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

KJV Cambridge Paragraph Bible Dataset

The King James Version (KJV) Cambridge Paragraph Bible, a structured verse-level dataset of the complete KJV Bible including the Apocrypha/Deuterocanonical books.

Dataset Description

This dataset contains the complete KJV Cambridge Paragraph Bible with:

  • ~31,000+ verses across 66+ books (including Apocrypha)
  • Structured verse-level data with book, chapter, and verse identifiers
  • Plain text verse content
  • Book metadata including abbreviations and full names

Features

Feature Type Description
verse_id string Canonical OSIS verse identifier (e.g., Gen.1.1).
book_id string Canonical OSIS book ID (e.g., Gen, Matt).
book_name string Canonical short book name (e.g., Genesis).
book_name_long string Canonical long-form book name when defined.
chapter int32 Chapter number.
verse int32 Verse number.
text string The verse text.
reference string Human-readable reference (e.g., Genesis 1).

Usage

from datasets import load_from_disk

# Load dataset
dataset = load_from_disk("engkjvcpb-dataset")

# Look up a specific verse
matches = dataset.filter(lambda x: x["verse_id"] == "GEN.1.1")
if len(matches) > 0:
    print(matches[0]["text"])
    # "In the beginning God created the heaven and the earth."

# Get all verses in a chapter
genesis_1 = dataset.filter(lambda x: x["book_id"] == "GEN" and x["chapter"] == 1)
for v in genesis_1:
    print(f"{v['verse']}: {v['text']}")

# Search for verses containing a word
matches = dataset.filter(lambda x: "faith" in x["text"].lower())
print(f"Found {len(matches)} verses mentioning 'faith'")

# Get all books
import set
books = set(dataset["book_name"])
print(f"Books in dataset: {len(books)}")

# Get all verses from a specific book
psalms = dataset.filter(lambda x: x["book_id"] == "PSA")
print(f"Psalms has {len(psalms)} verses")

Example Entry

{
  "verse_id": "GEN.1.1",
  "book_id": "GEN",
  "book_name": "Genesis",
  "book_name_long": "The First Book of Moses, called Genesis",
  "chapter": 1,
  "verse": 1,
  "text": "In the beginning God created the heaven and the earth.",
  "reference": "Genesis 1"
}

Data Structure

The source data is organized as:

  • books.json — Book-level metadata (names, abbreviations, chapter lists)
  • chapters/*.json — Chapter-level files containing verse arrays

Each chapter JSON file contains:

  • Chapter-level metadata (id, reference, copyright)
  • An array of verse rows with id, text, and verse number

About the KJV

The King James Version (KJV), also known as the Authorized Version, was first published in 1611 under the sponsorship of King James I of England. The Cambridge Paragraph Bible is a scholarly edition that restores the original text and punctuation.

The KJV text is in the public domain.

Attribution

This dataset is derived from the KJV Cambridge Paragraph Bible text.

Source Data

  • Bible: King James Version — Cambridge Paragraph Bible
  • Bible ID: 55212e3cf5d04d49-01

License

This dataset is released under CC0 1.0 (Public Domain).

Citation

If you use this dataset, please cite:

@misc{engkjvcpb-dataset,
  title={KJV Cambridge Paragraph Bible Dataset},
  year={2025},
  note={King James Version, Cambridge Paragraph Bible edition}
}

Related Resources

Downloads last month
236