Project using DSE Graph db, served over a Play Framework API, to chart biblical and extrabiblical intertextuality
Intertextuality Graph, a project using DSE Graph db, served over a Play Framework API, to chart biblical and extrabiblical intertextuality. Use case is as an aid in researching and presenting intertextual connections.
If you need to use a db password or change from localhost DSE instance:
cp scripts/config/.env.sample scripts/config/.env
For the first time this project is being ran on a box (in development)
./scripts/setup.sh
./scripts/startup/start-every-compose.sh
Then start gatsby and Play app
TODO add notes here…for now just go to those directories and follow their instructions
# load books, chs, and verses (vertices)
# NOTE should be idempotent, so just run again if it messes up in the middle.
./etl-tools/scripts/import-theographic-data.sh
# wait until complete. The next script will need the books, chapters, and verses all loaded in before running.
# HOWEVER script will not stop itself, it should give a "finished." message, but you'll need to Ctrl+c yourself. TODO fix that
##############################
# Option #1: Treasury of Scripture Knowledge Data
##############################
# Then, when import-theographic-data.sh is finished, load some edges
./etl-tools/scripts/import-tsk-data.sh
##############################
# Option #2: NA-28 Allusions and Quotations
##############################
# 1) make sure play api is up and running
# 2) Make the CSV if haven't already (see instructions in https://github.com/RyanQuey/intertextuality-graph/tree/master/etl-tools/raw-data-files/nestle-aland/na-28-loci-citati-vel-allegati
# 3) Then, send the csv over.
curl -XPOST http://localhost:9000/upload-csv
DSE Studio is set up to start in a docker container. It will be started when you run the start-every-compose.sh
script. You can view it at http://localhost:9091.
dse
instead of 127.0.0.1
, since dse is running over docker, and dse
is the name given in the the docker-compose.yml file. No credential changes are required by default.Add some starter notebooks by uploading the tarballs from intertextuality-graph/notebooks/dse-studio
.
Now find the notebook in the notebook index, and you can start playing around with the graph using Gremlin and CQL.
TODO fill this out more
cd ./etl-tools/
./scripts/sbt/sbt.sh compile
Tyndale House’s STEPBible Data. See their site for their license. Using especially TOTHT - Tyndale OT Hebrew Tagged text
and TANTT - Tyndale Amalgamated NT Tagged texts
, but might soon (or have already??) branched out to others as well.
https://github.com/tyndale/STEPBible-Data#data-format
see ./etl-scripts/db/README.md
This is a submodule, so to use initially, you’ll have to do something like:
git submodule update --init --recursive
1) Make the changes in the data utils code
2) You will want to change the version in the data-utils-for-java dir, so that other services recognize that the code has changed.
data-utils-for-java/README.md
under “Versioning”
./data-utils-for-java/scripts/install-data-utils-jar.sh
4) If the changes are being reflected:
If all else fails, consider nuking the repo and trying again
cd ../
rm -rf intertextuality-graph
git clone https://github.com/RyanQuey/intertextuality-graph.git
cd intertextuality-graph/
./scripts/setup.sh
TODO if this happens often enough, create a script for nuking.
sys.exit(0)
to close processesFor related works that help to provide ideas and inspiration for this project, see also: