This program takes in a knowledge graph as input and outputs it in Resource Description Framework (RDF) format.
Custom RDF schema can be found under the resources folder.
Helpful Documentation:
https://rdflib.readthedocs.io/en/stable/
https://docs.stardog.com/tutorials/rdf-graph-data-model
Install dependencies:
pip3 install rdflib
Setup and run rutvik05's IE Pipeline:
https://github.com/rutvik5/knowledge-graph
Insert knowledge-graph-name.csv into data folder. Run Program.
python3 construct_rdf.py
Run unit tests:
python3 unit_tests.py