Skip to content

recap-utr/adaptation-knowledge

Repository files navigation

ReCAP Knowledge Graph

The idea of importing the CSV dump is based on a script by Tom Dickinson.

Requirements

  • Docker and docker-compose.
  • Poetry package manager.
  • Python 3.7 or higher (e.g., using pyenv).

Setup

  • Create the folder data with the subfolders neo4j and postgres.
  • Download the ConceptNet assertions and save to ./data.
  • Copy env-example to .env and adjust to your preferences.
  • Run poetry install to create the virtual environment and install the dependencies.
  • Run poetry run python -m knowledge_graph convert to transform the assertions into a format that Neo4j can understand.
  • Run poetry run python -m knowledge_graph import to import the nodes and relationships into Neo4j.
  • Run poetry run python -m knowledge_graph post-process to create indices for the most important attributes.
  • Run docker-compose up to start the services.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages