Currently the KG-LLM module only injects semantically related triples into the prompt via chromaDB. To ask questions about the data, we need to generate SPARQL queries that can be executed against the triplestore.
Objective: Add SPARQL generation capability.
Requirements:
[ ] Use existing injection method to retrieve relevant portions of the ontology / schema to be used in the query.
This is because the ontology will often be too large to fit in the prompt.
[ ] Generate SPARQL queries
[ ] Improve using few CoT and/or few shots if needed
Currently the KG-LLM module only injects semantically related triples into the prompt via chromaDB. To ask questions about the data, we need to generate SPARQL queries that can be executed against the triplestore.
Objective: Add SPARQL generation capability.
Requirements: