,
Paulo Jorge Teixeira Matos
,
Ramon Gallinad Corti
,
Ramon Vilanova Arbos
,
Maria João Varanda Pereira
Creative Commons Attribution 4.0 International license
Maintaining user interfaces for data-intensive applications is costly because interface code is tightly coupled to the underlying domain model: any change to an operation or data schema forces manual updates across multiple layers of the software stack. We present OntologyToUI, a framework that treats ontologies written in OWL (Web Ontology Language)/RDF (Resource Description Framework) as a Domain-Specific Language (DSL) for user-interface specification. Five modular base ontologies (schema-level definitions of abstract classes and properties, with no domain-specific instances) define the metamodel, covering communication technologies, external code references, data metadata, business operations, and User Interface (UI) element types. Domain-specific view ontologies, written in Turtle, instantiate the OntologyToUI-UserInterface ontology to declare UI elements. A generic React-based rendering engine interprets view ontologies at runtime through SPARQL (SPARQL Protocol and RDF Query Language) queries and a configuration-driven dispatch table, mapping element types to components without any domain-specific logic. We validate the framework through two case studies developed in the scope of the Smart_LEM project [{Smart_LEM Consortium}, 2022]: a Local Electricity Market management platform, where eleven views were created with zero application-code changes; and a real-time Internet of Things (IoT) dashboard that introduces a new Message Queuing Telemetry Transport (MQTT)-subscribed element type, demonstrating the framework’s extensibility.
@InProceedings{dacosta_et_al:OASIcs.SLATE.2026.14,
author = {da Costa, Daniel Theisges and Costa, J\'{u}lio and Matos, Paulo Jorge Teixeira and Corti, Ramon Gallinad and Vilanova Arbos, Ramon and Pereira, Maria Jo\~{a}o Varanda},
title = {{An OWL/RDF Ontology for Declarative User Interface Generation}},
booktitle = {15th Symposium on Languages, Applications and Technologies (SLATE 2026)},
pages = {14:1--14:11},
series = {Open Access Series in Informatics (OASIcs)},
ISBN = {978-3-95977-440-6},
ISSN = {2190-6807},
year = {2026},
volume = {144},
editor = {Batista, Fernando and Ribeiro, Eug\'{e}nio and Ribeiro, Ricardo and Santos, Andr\'{e} L.},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.SLATE.2026.14},
URN = {urn:nbn:de:0030-drops-267120},
doi = {10.4230/OASIcs.SLATE.2026.14},
annote = {Keywords: OWL, RDF, domain-specific language, user interface generation, model-driven engineering, React, SPARQL, MQTT}
}
archived version
archived version