HeriKGQA: Grounded Knowledge-Graph Question Answering over Cultural Heritage Sensor Data
Lingxiao Kong, Vasileios Arampatzakis, Vasileios Sevetlidis, George Pavlidis, Zeyd Boukhers
Abstract
Cultural heritage sites are increasingly monitored by sensor networks, but querying their data requires database expertise. Large Language Models (LLMs) offer a natural-language interface, yet over raw sensor records they lose track of which sensor, site, and time each value belongs to, and silently miscompute. We present HeriKGQA, a knowledge-graph question-answering method that confines the LLM to interpreting questions and phrasing answers, leaving computation to SPARQL and deterministic code. Questions are parsed into intents constrained by a heritage ontology aligning W3C SOSA/SSN with CIDOC-CRM, compiled into SPARQL, and answered from query results and temporal, spatial, and anomaly facts derived by a grounding layer, with error correction guarding each LLM step. On 500 questions over real data from five heritage sites, HeriKGQA reaches 99.0% accuracy, 18.2 points above the strongest of three baselines using the same LLM and receiving the same anomaly rules and answer conventions, with comparable answer quality while running almost four times faster. Without grounding, accuracy drops by 12.2 points and on anomaly questions from 99% to 66%. We report lessons from development and live deployment.
Create a lesson
Related papers
Rethinking Full-Weight LoRA with Domain and Task Adapter Scaling for Question Answering over Portuguese Well Drilling Reports
Shared title terminology · Luan B. Guerra, Diogo M. Paes, Marcelo N. Grimberg et al.
TableRoute: Capability-Aware Routing for Scalable Table Question Answering
Shared title terminology · Yuxiang Wang, Junhao Gan, Jianzhong Qi
FinVeriQA: Financial Research Agents for Question Answering: Routing, Retrieval, MCP Tool Use, and Provenance-Aware Evidence Verification
Shared title terminology · Meenakshi Rajpurohit, Anna Phan, Ravikumar Komandur Narayanan et al.
AutoOntic: Automatic Ontology Induction from Text for Knowledge Graph Construction
Shared title terminology · Alla Chepurova, Aydar Bulatov, Mikhail Burtsev et al.
WaXup: Weight Averaging of Experts as Data Augmentation for Robust Introspection
Shared title terminology · Marc Boëlle, Lucas Dixon, Alexandre Ramé
STAGE: Spatio-Temporal Augmented Graph Expansion for Weakly Supervised Cross-Tweet Event Causality Discovery
Shared title terminology · Hieu Minh Duong, Todd Gary, Eugene Levin et al.