Sample code to use knowledge graphs to represent dialogue
This repository contains Jupyter notebooks that showcase how to turn dialogue into an RDF graph representation.
-
This repository uses Python >= 3.8 . Be sure to run in a virtual python environment (e.g. conda, venv, mkvirtualenv, etc.). For example:
conda create --name ekg-tutorial python=3.8 conda activate ekg-tutorial
-
You need to download and run GraphDB Free. Please create a repository called
sandbox
.
-
In the root directory of this repo run
pip install -r requirements.txt python -m ipykernel install --name=ekg-tutorial
You may run any of the notebooks by launching the Jupyter Notebook interface:
jupyter notebook
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.
See LICENSE
for more information.