Welcome to the home of the LXS DB to KG application.
We have split the application into three parts:
- Frontend - A Next.js application that is built using React and Typescript and Material UI.
- Backend - A python application that is responsible for converting a db to a knowledge graph.
- External - We have included the database in here and a few examples for ontologies.
To get started, you will need to install the dependencies for the project in each of the folders. You can do this by running the following commands:
# Navigate to the frontend folder
cd frontend
# Install the dependencies
pnpm install
# Start the application
pnpm dev
# Navigate to the backend folder
cd backend
# Navigate to the app folder
cd app
# Install the dependencies
pip install -r requirements.txt
# Start the application
python app.py
# Navigate to the db folder
cd db
# Navigate to the database folder
cd database
# Start the database
docker compose up
# Navigate to the db folder
cd db
# Navigate to the examples folder
cd examples
# Host the examples
python3 -m http.server 8001
Here is an example of an ontology that you can use:
https://raw.githubusercontent.com/owlcs/pizza-ontology/master/pizza.owl