Manuscript Offprint

arXiv:2609.11569

Enabling Knowledge Graph Understanding at Scale with the EXplore Your Graphs ENgine (EXYGEN)

Harshdeep Singh, Yurui Zhu, Giovanni Colavizza, Matteo Romanello

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Enabling Knowledge Graph Understanding at Scale with the EXplore Your Graphs ENgin (EXYGEN)

Harshdeep Singh 1^{1}, Yurui Zhu 1^{1}, Giovanni Colavizza 1^{1} and Matteo Romanello 1,∗^{1,*}

1^{1}Odoma Ltd.

Abstract

We present EXYGEN (EXplore Your Graphs ENgin), a framework for knowledge graph understanding that enables conversational access to knowledge graphs (KGs) at scale. We address two questions in sequence.

First, how effectively can LLMs perform text-to-SPARQL generation given only automatically derived structured metadata and small graph samples, rather than task-specific fine-tuning? We integrate VoID descriptions and ShEx schemas into a retrieval-augmented generation (RAG) pipeline and ablate KG-derived context on the SciQA benchmark. Our best configuration—combining ShEx schemas, retrieved triples, and example question-query pairs—reaches an exact match of 0.419 on execution results without any LLM fine-tuning. We further find that lexical metrics such as F1 poorly predict query correctness, and that larger general-purpose LLMs can outperform smaller code-specialized ones once given sufficient context.

Second, having validated the method, we ask how to generate the structured metadata it relies on from very large KGs, where the SPARQL queries required to generate KG metadata become computationally intractable. We introduce a predicate-coverage-aware parallel graph sampling strategy that preserves structural diversity while remaining computationally tractable. On OpenCitations Meta and GESIS, it retains high predicate coverage with minimal triple loss and reduces metadata-generation runtime by over 80×; on ORKG, whose fine-grained ontology makes full-graph generation infeasible rather than merely slow, sampling is not just faster but the only tractable path to obtain complete metadata.

Together, these results show that structured schema context and lightweight prompting can substantially reduce reliance on fine-tuning for scalable conversational access to knowledge graphs, though closing the remaining gap to fully fine-tuned approaches will likely require reducing dependence on curated question-query exemplars—whether through synthetic exemplar generation or an iterative, execution-feedback-driven approach—and validating these findings beyond a single benchmark.

References (24)