connect.py
: DefinesGraph
class which manages connection to Neo4j Graph Databasedataset.py
: DefinesGraphDataset
class, building onGraph
, to provide functions for loading data
add_inconsistency_synthea.py
: Add controlled inconsistencies to Synthea Datasetdataset_synthea.py
: Queries for Synthea Datasetload_synthea.py
: Load a dataset
graph.py
: Extendsnetworkx.DiGraph
to definePropertyGraph
class,inconsistency.py
: Find inconsistencies and store them in a pickle withPropertyGraph
formatencoding.py
: Provides functions for computing text representations of a PGllm.py
: Provides functions for connecting to LLMs and asking questions and getting answersmachine_repair.py
: Ask LLM to repair the graphresponse_statistics.py
: Prepare response statistics
- Load dataset using
python3 load_synthea.py
- Find inconsistencies using
python3 inconsistency.py
- Control repair parameters in
machine_repair.py
- Query LLMs for graph repair using
python3 machine_repair.py
- Prepare response statistics (generating tables, plots) using
python3 response_statistics.py
This project is licensed under the terms of the GNU General Public License v3.0. See the LICENSE file for details.