Skip to content

docs/imgs/

BioKb-Coconut

BioKb-Coconut (biokb_coconut) is a python package to import Coconut data into a relational database and create RDF triples (turtles) from it. The turtles can be imported into a Neo4J graph database. The package is part of the BioKb family of packages to create and connect biological and medical knowledge bases and graphs.

Components

The package provides different options to run it: from command line, as RESTful API server, as Podman/Docker container, or as Podman/Docker networked containers with Neo4J and a relational database.

Features

biokb_coconut allows to ...

  1. Query Coconut data with SQLAlchemy or raw SQL
  2. Load, query and manage Coconut data with GUIs for knowledge base and graphs (phpMyAdmin, Neo4J Browser)
  3. Query data via a RESTful API (FastAPI) with OpenAPI documentation and interactive Swagger-UI

to provide this biokb_coconut ...

  • imports Coconut data into a relational database
  • creates RDF triples (turtles) from the relational database
  • imports the RDF triples into a Neo4J graph database

Supported databases: SQLite, MariaDB/MySQL, PostgreSQL, Oracle, Microsoft SQL Server, and any other database supported by SQLAlchemy.

Options to run BioKb-Coconut

All biokb packages share the same API and CLI structure. You have different options to run the packages:

  1. from command line (simplest way to get started)
  2. as RESTful API server (can start directly from command line)
  3. as Podman/Docker container (without import into Neo4J, but export of turtles possible)
  4. as Podman/Docker networked containers (with all features) and 3 containers:
  5. high-performance relational databases (PostgreSQL, Oracle, MySQL, ...)
  6. RESTful API (fastAPI) for queries, data import and export
  7. GUI for querying and administration of MySQL over the Web