This repository has the code, input data, and draft results for HRAlit construction. Final versions of the HRAlit atlas are published to https://lod.humanatlas.io/graph/hra-lit.
To run the construction algorithm, you will need the following installed:
- A unix-like environment (Linux, WSL2 / Ubuntu For Windows, or Mac (untested))
- Node.js v18+
- psql (
postgresql-client
in Ubuntu's package manager) - Java 11 (for blazegraph-runner)
- Docker (optional)
- Install node dependencies via
npm ci
, which also installs blazegraph-runner intonode_modules/.bin
for querying and reports. - Install
psql
. In Ubuntu, you can runsudo apt install postgresql-client
.
Each HRAlit version is defined in a subdirectory of the input-data directory by version. A config.sh file is used to configure the sources and settings for the HRAlit construction workflow.
To start a workflow run, check the constants.sh to ensure it's including the right config.sh for your version. Then run ./logged-run.sh which will run the whole workflow and place a log.txt file in the correct subdirectory of output-data.
Script | Description |
---|---|
00-setup-environment.sh | Additional environment setup (installs blazegraph-runner ) |
... | ... |
Data is compiled to output-data/$VERSION.