OntoSage: Intelligent Human-Building Smartbot for Semantic Smart Building Question Answering
Smart buildings remain heterogeneous across sensing infrastructure, metadata quality, legacy protocols, and analytics requirements, hindering reusable human–building natural language interfaces. We present OntoSage, a modular framework for ontologically grounded question answering (QA) and fulfillment of analytic intents over smart building data. The framework (i) leverages Brick Schema-based RDF model with reasoning capabilities, (ii) translates natural language (NL) questions into executable SPARQL via a fine-tuned seq2seq model (T5-Base), and (iii) orchestrates portable analytics microservices that operate on time-series sensor data referenced through ontology-linked UUIDs. A summarization component (open-weights Mistral-7B, zero-shot) converts structured SPARQL/SQL/analytic outputs into concise stakeholder-aware responses without requiring task-specific fine-tuning. We categorize QA complexity into four reasoning classes and report component-level execution metrics supporting these categories. To address portability, we formalize a lightweight adaptation workflow (ontology ingestion $$\rightarrow $$ entity enrichment for NLU $$\rightarrow $$ NL2SPARQL validity checks $$\rightarrow $$ analytics binding) designed to minimize per-building retraining. Reproducibility is enabled through public source code, synthetic and ontology-derived datasets, Docker/Compose service descriptors, and documented supporting scripts “( https://github.com/suhasdevmane/OntoBot )”. The developers’ documentation is publicly accessible “( https://ontosage-docs.github.io )”.
Authors
- Omer Rana (ORCID: https://orcid.org/0000-0003-3597-2646)
- Charith Perera (ORCID: https://orcid.org/0000-0002-0190-3346)
- Suhas Devmane
Institutions
- Cardiff University (GB)
- University of Wales (GB)
Publication Details
- Journal
- World Wide Web
- Published
- 2026-01-20
- DOI
- https://doi.org/10.1007/s11280-026-01403-0
- Primary Topic
- Multimodal Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- GCHQ
- Cardiff University
- Engineering and Physical Sciences Research Council