Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 639 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 639 Bytes

RDF Construction Model


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

Instructions

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