Coder Social home page Coder Social logo

bible_databases's Introduction

Bible Versions and Cross-Reference Databases: mysql, sqlite, xml, csv, json, txt, md.

https://scrollmapper.github.io/

Here you will find the following bible versions in sql, sqlite, xml, csv, json, txt, and md format:

  • King James Version (KJV)
  • American Standard-ASV1901 (ASV)
  • Bible in Basic English (BBE)
  • World English Bible (WEB)
  • Young's Literal Translation (YLT)

All included Bible translations are in the public domain.

Please let me know if any verses/text were inaccurately transferred in conversion.

Looking for deuterocanonical / apocryphal books? Find them here: https://github.com/scrollmapper/bible_databases_deuterocanonical

Summary:

  • bible-mysql.sql (MySQL) is the main database and most feature-oriented due to contributions from developers. It is suggested you use that for most things, or at least convert the information from it.
  • cross_references-mysql.sql (MySQL) is the cross-reference table. It has been separated to become an optional feature. This is converted from the project at http://www.openbible.info/labs/cross-references/.
  • bible-sqlite.db (SQLite) is converted from bible-mysql.sql using mysql2sqlite. (includes cross-references too).
  • cross_references.txt is the source cross-reference file obtained from http://www.openbible.info/labs/cross-references/

Verse ID System:

Each verse is accessed by a unique key, the combination of the BOOK+CHAPTER+VERSE id.

Example:

Genesis 1:1 (Genesis chapter 1, verse 1) = 01001001 (01 001 001)

Exodus 2:3 (Exodus chapter 2, verse 3) = 02002003 (02 002 003)

The verse-id system is used for faster, simplified queries. For instance:

01001001 - 02001005 would capture all verses between Genesis 1:1 through Exodus 1:5.

Written simply:

SELECT * FROM bible.t_asv WHERE id BETWEEN 01001001 AND 02001005

Coordinating Tables

There is also a number-to-book key (key_english table), a cross-reference list (cross_reference table), and a bible key containing meta information about the included translations (bible_version_key table). See below SQL table layout. These tables work together providing you a great basis for a bible-reading and cross-referencing app. In addition, each book is marked with a particular genre, mapping in the number-to-genre key (key_genre_english table) and common abbreviations for each book can be looked up in the abbreviations list (key_abbreviations_english table).

While its expected that your programs would use the verse-id system, book #, chapter #, and verse # columns have been included in the bible versions tables.

A Valuable Cross-Reference Table

A very special and valuable addition to these databases is the extensive cross-reference table. It was created from the project at http://www.openbible.info/labs/cross-references/. See .txt version included from http://www.openbible.info website. Its extremely useful in bible study for discovering related scriptures. For any given verse, you simply query vid (verse id), and a list of rows will be returned. Each of those rows has a rank (r) for relevance, start-verse (sv), and end verse (ev) if there is one.

Basic Web Interaction

The web folder contains two php files. Edit the first few lines of index.php to match your server's settings. Place these in a folder on your webserver.

The references search box can be multiple comma separated values. (i.e. John 3:16, Rom 3:23, 1 Jn 1:9, Romans 10:9-10) You can also directly link to a verse by altering the URI: [http://localhost/index.php?b=John 3:16, Rom 3:23, 1 Jn 1:9, Romans 10:9-10](http://localhost/index.php?b=John 3:16, Rom 3:23, 1 Jn 1:9, Romans 10:9-10)


SQL Database Layout:

bible_version_key

Field Type Null Key Default Extra
id int(3) unsigned zerofill NO PRI auto_increment
table text NO Corresponding Bible version table name.
abbreviation text NO Bible version abbreviation.
language text NO Language translation.
version text NO Version name.
info_text text NO Extra info.
info_url text NO Wiki info or similar URL
publisher text NO Who published.
copyright text NO Copyright
copyright_info text NO More info on copyright.

cross_reference

Field Type Null Key Default Extra
vid int(8) unsigned zerofill NO MUL VERSE ID
r int(11) NO RANK
sv int(8) unsigned zerofill NO START VERSE
ev int(8) unsigned zerofill NO END VERSE

key_english

Field Type Null Key Default Extra
b int(11) NO PRI Book #
n text NO Book Name
t VARCHAR(2) NO Testament (OT or NT)
g tinyint(3) NO Genre ID

key_abbreviations_english

Field Type Null Key Default Extra
id smallint(5) NO PRI Abbreviation ID
a VARCHAR(255) NO Abbreviation
b smallint(5) NO Book ID this is refers to
p tinyint(1) NO 0 If this is the desired abbreviation

key_genre_english

Field Type Null Key Default Extra
g tinyint(3) NO PRI Genre ID
n VARCHAR(255) NO Genre name

t_(version abbreviation)

Field Type Null Key Default Extra
id int(8) unsigned zerofill NO PRI Verse ID
b int(11) NO Book
c int(11) NO Chapter
v int(11) NO Verse
t text NO Text

LICENSE:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

bible_databases's People

Contributors

aaronshenhao avatar adivated avatar airistotal avatar andrewwippler avatar dansiemens avatar gonzigonz avatar jmainguy avatar micahlyle avatar nishat0045 avatar paulbrownmagic avatar perlun avatar scrollmapper avatar thesnarky1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bible_databases's Issues

Static bible

Hey, excellent work putting all this together. I want to build a fast lean static site Bible for personal use. Do you mind I essentially extract the written text out of your files?

MySQL cross reference script contains duplicates

The cross_reference-mysql.sql contains duplicates of each record. I discovered the issue when I loaded the script in MySQL and found twice the number of records then in the sqlite version. I ran the following distinct query to confirm if each record had been duplicated:
select count(*) from (select distinct vid, sv from cross_reference) a;

I initially raised the concern in my pull request #10 and another user PaulBrownMagic verified the finding against the original source file by using the following bash command:
sort cross_references.txt | uniq | wc -l

I would have happily supplied a fix by now but I'm not familiar with MySQL. I'm happy to fix if anybody has some tips.

t_kjv sqlite3 db has errors

3 John 1:15
[]

There should not be a "3 John 1:15", chapter (and book coincadentally), end after 1:14.

sqlite> select * from t_kjv where b is 64;
64001001|64|1|1|The elder unto the wellbeloved Gaius, whom I love in the truth.
64001002|64|1|2|Beloved, I wish above all things that thou mayest prosper and be in health, even as thy soul prospereth.
64001003|64|1|3|For I rejoiced greatly, when the brethren came and testified of the truth that is in thee, even as thou walkest in the truth.
64001004|64|1|4|I have no greater joy than to hear that my children walk in truth.
64001005|64|1|5|Beloved, thou doest faithfully whatsoever thou doest to the brethren, and to strangers;
64001006|64|1|6|Which have borne witness of thy charity before the church: whom if thou bring forward on their journey after a godly sort, thou shalt do well:
64001007|64|1|7|Because that for his name's sake they went forth, taking nothing of the Gentiles.
64001008|64|1|8|We therefore ought to receive such, that we might be fellowhelpers to the truth.
64001009|64|1|9|I wrote unto the church: but Diotrephes, who loveth to have the preeminence among them, receiveth us not.
64001010|64|1|10|Wherefore, if I come, I will remember his deeds which he doeth, prating against us with malicious words: and not content therewith, neither doth he himself receive the brethren, and forbiddeth them that would, and casteth them out of the church.
64001011|64|1|11|Beloved, follow not that which is evil, but that which is good. He that doeth good is of God: but he that doeth evil hath not seen God.
64001012|64|1|12|Demetrius hath good report of all men, and of the truth itself: yea, and we also bear record; and ye know that our record is true.
64001013|64|1|13|I had many things to write, but I will not with ink and pen write unto thee:
64001014|64|1|14|But I trust I shall shortly see thee, and we shall speak face to face. Peace be to thee. Our friends salute thee. Greet the friends by name.
64001015|64|1|15|[]

t_wbt version has errors

in sqlite at a minimum, the version has errors. A quick few I found while investigating another issue. Genesis 42-43 has the wrong number of verses.

Some verses have an escaped verse number in them. Example

Genesis 42:38
  And he said, My son shall not go down with you; for his brother is dead, and he is left alone: if mischief shall befall him by the way in which ye go, then will ye bring down my gray hairs with sorrow to the grave.

Genesis 42:39
  \\43:1\\And the famine was severe in the land.

Genesis 42 should only have 38 verses. Seems to be an issue with some of the translations and how they were generated.

Should backticks and single-quotes be replaced by square brackets?

Current

A combination of a backtick ` and a single-quote ' is used to enclose "in-addition-to" expressions.

Discussion

As brought up in the discussion in #56 (comment), in all the available database formats(csv, json, md, mssql, sql, tsql, txt, xml), it appears that a combination of a backtick ` and a single-quote ' (e.g. It is a `very' sunny day) is used as the equivalent of square brackets normally used in writing (e.g. It is a [very] sunny day) to enclose "in-addition-to" expressions. Compare:

Is there a specific reason for using this backtick and single-quote syntax for those expressions? Or should square brackets be used instead?

Primary abbreviation bit is True for the actual name of the book

In the table key_abbreviations_english, the p column is set to 1 for the actual name of the book. The extended property for that column reads: "Whether an abbreviation is the primary one for the book".

The extended property should probably be changed or the p bit should be set to 0 for the actual name of the book.

I'm willing to do the change, I just want to know which change to make!

BBE Version Psalm chapter intro showing as verse 1

Thanks all to everyone who has contributed to this project! I'm in the process of implementing this in randombible.org.

Something I have noticed in using this database on the BBE version is that the chapter intro to some of the Psalms is labeled as verse 1. This offsets all the other verses in the chapter so that the real verse 1 is showing up as verse 2 and so on. I have compensated for this in my own programming, but it seems like it should be handled at the database level. Perhaps the intro could have a verse 0 label? Just a thought.

Error in the php code

Hello,
I tried these databases in the WAMP server locally. I had created a new database. uploaded the entire database and entered the credentials in index.php. When i try to load the index.php file, it is showing the following error. I need your help in solving this issue. I'm attaching a screenshot for your reference.

untitled

Thanks and regards
Pradeep Augustine

Is this project active?

Hi all.

I want to help, but I want to know if this project is active. Is this project active?

Story titles

In the bibles that I have there are titles for the different stories, for example: the parable of the farmer, the first account of creation, God calls Samuel, etc.

Were there any thought to include these somewhere?

title

not an issue at all.
I want to create my own database. maybe using json or sql.
Is there any solution to show pericopes (titles) in there? thankyou

Cannot access bible_databases container mariadb

I am unable to connect to the bible_databases container with instructions. Please help!

Running docker-compose up returns

Creating network "bible_databases_default" with the default driver
Creating bible_databases_mariadb_1 ... done
Attaching to bible_databases_mariadb_1
mariadb_1  | 2022-04-02 15:14:17+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.15+maria~focal started.
mariadb_1  | 2022-04-02 15:14:17+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mariadb_1  | 2022-04-02 15:14:17+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.15+maria~focal started.
mariadb_1  | 2022-04-02 15:14:17+00:00 [Note] [Entrypoint]: Initializing database files
mariadb_1  |
mariadb_1  |
mariadb_1  | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
mariadb_1  | To do so, start the server, then issue the following command:
mariadb_1  |
mariadb_1  | '/usr/bin/mysql_secure_installation'
mariadb_1  |
mariadb_1  | which will also give you the option of removing the test
mariadb_1  | databases and anonymous user created by default.  This is
mariadb_1  | strongly recommended for production servers.
mariadb_1  |
mariadb_1  | See the MariaDB Knowledgebase at https://mariadb.com/kb
mariadb_1  |
mariadb_1  | Please report any problems at https://mariadb.org/jira
mariadb_1  |
mariadb_1  | The latest information about MariaDB is available at https://mariadb.org/.
mariadb_1  |
mariadb_1  | Consider joining MariaDB's strong and vibrant community:
mariadb_1  | https://mariadb.org/get-involved/
mariadb_1  |
mariadb_1  | 2022-04-02 15:14:18+00:00 [Note] [Entrypoint]: Database files initialized
mariadb_1  | 2022-04-02 15:14:18+00:00 [Note] [Entrypoint]: Starting temporary server
mariadb_1  | 2022-04-02 15:14:18+00:00 [Note] [Entrypoint]: Waiting for server startup
mariadb_1  | 2022-04-02 15:14:18 0 [Note] mysqld (mysqld 10.5.15-MariaDB-1:10.5.15+maria~focal) starting as process 107 ...
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: Uses event mutexes
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: Number of pools: 1
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mariadb_1  | 2022-04-02 15:14:18 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: Using Linux native AIO
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: Completed initialization of buffer pool
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: 128 rollback segments are active.
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mariadb_1  | 2022-04-02 15:14:18 0 [Note] InnoDB: 10.5.15 started; log sequence number 45106; transaction id 20
mariadb_1  | 2022-04-02 15:14:18 0 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1  | 2022-04-02 15:14:18 0 [Warning] 'user' entry 'root@feb11f96208e' ignored in --skip-name-resolve mode.
mariadb_1  | 2022-04-02 15:14:18 0 [Warning] 'proxies_priv' entry '@% root@feb11f96208e' ignored in --skip-name-resolve mode.
mariadb_1  | 2022-04-02 15:14:18 0 [Note] Reading of all Master_info entries succeeded
mariadb_1  | 2022-04-02 15:14:18 0 [Note] Added new Master_info '' to hash table
mariadb_1  | 2022-04-02 15:14:18 0 [Note] mysqld: ready for connections.
mariadb_1  | Version: '10.5.15-MariaDB-1:10.5.15+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
mariadb_1  | 2022-04-02 15:14:19+00:00 [Note] [Entrypoint]: Temporary server started.
mariadb_1  | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
mariadb_1  | Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
mariadb_1  | Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
mariadb_1  | 2022-04-02 15:14:21+00:00 [Note] [Entrypoint]: GENERATED ROOT PASSWORD: s/UT(RH0?|?DR.7BA>x"KPe+BE11zf0d
mariadb_1  | 2022-04-02 15:14:21+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)
mariadb_1  | 2022-04-02 15:14:21+00:00 [Note] [Entrypoint]: Creating database bible
mariadb_1  |
mariadb_1  | 2022-04-02 15:14:21+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/bible_version_key.sql
mariadb_1  |
mariadb_1  |
mariadb_1  | 2022-04-02 15:14:21+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/book_info.sql
mariadb_1  | ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'PRAGMA foreign_keys=OFF' at line 1

I then run sudo /usr/bin/mysql_secure_installation and set a root user password, keep anon users, test databases, and allow remote login.

Then if I run mysql -h 127.0.0.1 -u root -p bible and provide the newly created password I get:

ERROR 1698 (28000): Access denied for user 'root'@'localhost'

If I do not run mysql_secure_installation and use the random root password I get the same error. What am I doing wrong?

bible-sqlite t_wbt has only 54 books (missing 12 books)

The Protestant Bible has 66 books, but bible-sqlite.db is missing a dozen books, including 2 Samuel, Romans, 1 Corinthians etc., from table t_wbt (the Webster Revision of KJV). 12 books from the Old and New Testament are missing from Webster's Revision.

3 John book has an extra empty verse

The sql files contain an extra empty verse for 3 John, which makes the chapter with 15 verses instead of 14 and the total Bible verses 31,103 instead of 31,102

The insert is
(64001015,64,1,15,'[]'),

Trouble importing different translations into Bible on Librem 5 linux mobile phone

Using Bible v0.1.3 on the Librem 5 (Pureos Byzantium 5.18.0-1). The file browsing facility in the application cannot see the downloaded translation (NKJV.SQLite3) when I navigate to the folder /home/purism that contains the file (Any Bible Fomat selected, in Preferences). In fact, the application cannot seen any file at all when I choose "Any File" from the drop-down menu.

Typo

There is a typo in the book of 2 Kings 19:7 Behold, I will send a blast upon him, and he shall hear a rumor, and shall return to his own land; and I will cause him to fall by the sword in his own land.

The word rumor here should be rumour as I have checked several different sources, as well as my printed version KJV.

The insert is (12019007, 12, 19, 7, 'Behold, I will send a blast upon him, and he shall hear a rumor, and shall return to his own land; and I will cause him to fall by the sword in his own land.'),

JSON files not complete

Hi, I pulled the repository and ran a computation on a JSON file, only to find that it was only through Genesis 2 or so.

Are you planning on uploading the full JSON files and/or do you have them? I can help generate them if not :)

Apocrypha books maybe? (Not a real issue.)

Would it be possible to see other versions of the bible added into the databases in the future? Like KJVA, or 1611 KJV, or simply just the apocrypha in its own database?

3 John 1:15 (KJV) — Blank?

Book: 3 John (ID: 64)
Chapter: 1
Verse: 15

It's just a pair of brackets. I'm not a bible expert, but that seemed unusual to me. I figured that I should report it.

https://raw.githubusercontent.com/scrollmapper/bible_databases/master/csv/t_kjv.csv
64001015,64,1,15,[]

I'm not sure if this is intentionally blank, something is missing on 15, or if verses 14 and 15 got combined.

I'm thinking it's the latter, because here's the BBE version...

https://raw.githubusercontent.com/scrollmapper/bible_databases/master/csv/t_bbe.csv
64001014,64,1,14,"But I am hoping to see you in a short time, and to have talk with you face to face." 64001015,64,1,15,May you have peace. Your friends here send you their love. Give my love to our friends by name.

I noticed that the verse on 15 is not enclosed with quotes.

Can we use KJV version in UK

Thank you for providing us these databases.

We are planning to use KJV version in our application that is used globally. We found that KJV is licensed in UK, do you have any idea if we need to restrict users in UK.

The ZEROFILL attribute is deprecated

According to MySQL documentation the ZEROFILL attribute is deprecated.

What is the impact on the MySQL tables? Since all translation tables use zerofill for its ID column I suspect it will no longer work in newer versions.
I couldn't find any topic regarding this issue. Is this being addressed by anyone?

NASB

First of all, this is the coolest thing in the entire world, kudos for doing this.

Second, how would I go about requesting/contributing NASB?

Issue at verse 1043001 in BBE version

Hi,
I found a issue in BBE version. The verse in Genesis 43:01, should be "Now the land was in bitter need of food." instead it is "And when the grain which they had got in Egypt was all used up, their father said to them, Go again and get us a little food."

May be due to this issue, Genesis 43: 34 is not present in the database. And there are multiple verses missing in BBE version.

But, I was wondering how the total count is still 31102.

Random Verses

needing some advice please , using php , want to display random verses from the bible book there is 66 books and 1,189 chapter and 31,102 verses in total , we would like to use the numbers based on the numbers 3, 7, 12, and 40 when randomly showing until the script stopped , so we will have a start and stop button and each time should start at a random place totally different and follow the numbers pattern we want and mark the verses until we click the stop button to display the verse that is stopped at ...

what we would like it to happen is that on when someone clicks on Start it would use the numbers we would like it to go through the verses until user clicks to stop it again and it would show the verse that is stopped at , so if there is 7 users or more running the script the same time they should all get different results from different books etc etc but based on same wanted base numbers hope that make sense

any help will be great thank you in Jesus name,

God Bless "Jesus Loves You" "For I know the plans I have for you,” declares the Lord, “plans to prosper you and not to harm you, plans to give you hope and a future." Jeremiah 29:11

Paragraphs

Are paragraphs / sections for each translation available anywhere?

How to Add Additional Bible to SQLite DB

Hi, this is such a wonderful work. Thank you lots for this. I have questions. I want to add another King James Bible to the SQLite db, but this one will have these two added features:

  1. All italicized words (words that were added by the translators to help the reader) will be marked by something like <i>word here</i>.
  2. Words of Jesus (Red Letters) will be marked by something like <span class="jw">Jesus words</span>.

I already have an sql db that I have cleaned up the verses which already are marked as above. So this is my request: Can you share the SQLite code you used to insert the verse-id (system) so that I can stick with exactly this system? I am not too familiar with SQLite, in fact this is the first time I will be using it, but I know SQL generally fairly well.

In addition to this, I want to add a couple of other public domain bibles (such as the Catholic Public Domain Version) and have it here maintained by you. Alternatively if this is very complicated, could I send you the databases of these two versions (KJB Red Letter Edition and CPDV) for you to add to the entire database? I think having it added to the entire DB will be helpful for others who may want to develop applications that could leverage the markup for the Red Letter Editions and the other versions (i.e. the CPDV).

Differences between mssql and tsql

  1. In the Readme file can you please list the differences between mssql and tsql.
  2. Also adding that the SQL section targets MySQL will be beneficial for new users

BBE chapter/verse markers are off

I wrote a script to pull translations and add tags around them for importing to Logos Bible Software, but I ran into some issues in the BBE translation.

The first error is Ge 42:39, "Now the land was in bitter need of food." The issue is that Ge 42:39 doesn't exist, chapter 42 ends at verse 38, and that verse is 43:1, so all of chapter 43 is off by 1 verse.

The same is true of Le 5, where this BBE translation has verses 20-26, when in reality, there are only 19 verses in chapter 5. The same number skipping happed there too. BBE Le 6:1 is actually Le 6:8.

I didn't look into each of these errors, but I suspect the errors are consistent in nature. Here is the full list of errors.

[Warning] Unrecognized milestone Bible:Ge 42:39
[Warning] Unrecognized milestone Bible:Le 5:20
[Warning] Unrecognized milestone Bible:Le 5:21
[Warning] Unrecognized milestone Bible:Le 5:22
[Warning] Unrecognized milestone Bible:Le 5:23
[Warning] Unrecognized milestone Bible:Le 5:24
[Warning] Unrecognized milestone Bible:Le 5:25
[Warning] Unrecognized milestone Bible:Le 5:26
[Warning] Unrecognized milestone Bible:Nu 30:17
[Warning] Unrecognized milestone Bible:1S 24:23
[Warning] Unrecognized milestone Bible:Job 39:31
[Warning] Unrecognized milestone Bible:Job 39:32
[Warning] Unrecognized milestone Bible:Job 39:33
[Warning] Unrecognized milestone Bible:Job 39:34
[Warning] Unrecognized milestone Bible:Job 39:35
[Warning] Unrecognized milestone Bible:Job 39:36
[Warning] Unrecognized milestone Bible:Job 39:37
[Warning] Unrecognized milestone Bible:Job 39:38
[Warning] Unrecognized milestone Bible:Job 40:25
[Warning] Unrecognized milestone Bible:Job 40:26
[Warning] Unrecognized milestone Bible:Job 40:27
[Warning] Unrecognized milestone Bible:Job 40:28
[Warning] Unrecognized milestone Bible:Ec 4:17
[Warning] Unrecognized milestone Bible:Da 6:29
[Warning] Unrecognized milestone Bible:Ho 12:15
[Warning] Unrecognized milestone Bible:Ho 14:10
[Warning] Unrecognized milestone Bible:Joe 3:22
[Warning] Unrecognized milestone Bible:Joe 3:23
[Warning] Unrecognized milestone Bible:Joe 3:24
[Warning] Unrecognized milestone Bible:Joe 3:25
[Warning] Unrecognized milestone Bible:Joe 3:26
[Warning] Unrecognized milestone Bible:Jon 2:11
[Warning] Unrecognized milestone Bible:Mic 4:14
[Warning] Unrecognized milestone Bible:Na 2:14
[Warning] Unrecognized milestone Bible:Zec 2:14
[Warning] Unrecognized milestone Bible:Zec 2:15
[Warning] Unrecognized milestone Bible:Zec 2:16
[Warning] Unrecognized milestone Bible:Zec 2:17

Source of truth

as a developer, I must assume the source is true when working with it. However, (and not a sleight against scrollmapper, this is a great project and providing good value) there are errors in all the sources contained in this repo. (typos that is, Gods word is infallible).

I think we need a single source of truth, and then to add code for outputting it into the different formats, mysql, sqlite, md, txt, then as errors are found, we can update that conversion code. I personally believe https://crosswire.org/sword/modules/ModDisp.jsp?modType=Bibles has the best online sources of translations, and should be used as the source that the other formats in this repo are created from, however, I would love to see other peoples opinions.

The schema provided by this repo is fantastic, I believe we just need to work together to get the translations as consistent as we can.

Thank you for providing this repo and community.

Text highligting

Hi

Is there any way to indicate or mark which versus were spoken by Christ so red color can be applied to the text?

Also, is there a way to add additional translations to the sqlite database in the same format?

Thanks

UI support for omitting the chapter number of single chapter books?

Users searching for xrefs in one of the single chapter books may wish to enter the reference without the chapter number. These five books are:

  • Obadiah
  • Philemon
  • 2 John
  • 3 John
  • Jude

Does the UI permit entering (e.g.) Phlm.16 instead of Phlm.1.16 ?

cf. This form is commonly found in Biblical literature.

Unique key is actually not unique in t_wbt.csv

Hello,

Thanks for sharing these versions with us, i'm glad they're available this way.

Unfortunately i had a SQL Violations importing t_wbt.csv in my application. The unique verse-id '23064001' doesn't seem to be unique at all ;-)

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '23064001' for key 'PRIMARY'

Kind regards,

Mark Huijser

Getting Error

I don't know why I have the error below. Please, Can you help?
Warning: mysqli_stmt::bind_param(): invalid object or resource mysqli_stmt in bible_to_sql.php on line 10

Warning: mysqli_stmt::execute(): invalid object or resource mysqli_stmt in bible_to_sql.php on line 11

Warning: mysqli_stmt::get_result(): invalid object or resource mysqli_stmt in bible_to_sql.php on line 12

Fatal error: Call to a member function fetch_array() on a non-object in bible_to_sql.php on line 13

The current version of bible-mysql.sql has issues

Hello,
The current version of bible-mysql.sql has issues importing in the bible_databases-master folder. Problem may exist in other locations. I've tried it on two different platforms with the same issues:


Error

Static analysis:

2 errors were found during analysis.

1. Unexpected beginning of statement. (near "phpMyAdmin" at position 0)
2. Unrecognized statement type. (near "SQL" at position 11)

SQL query:

phpMyAdmin SQL Dump -- version 4.1.14 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Feb 09, 2016 at 01:36 AM -- Server version: 5.6.17 -- PHP Version: 5.5.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net

-- Host: ' at line 1

Password required to open in SQLite

This is the message when i am trying to open a file in SQLite:

"Please enter the key used to encrypt the database. If any of the other settings were altered for this database file you need to provide this information as well."

what to do here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.