geof3D: SPARQL geometric functions for co-designing buildings
Semantic Web technologies are increasingly used in the architecture, engineering, and construction (AEC) industry, yet the Resource Description Framework (RDF) and its query language, SPARQL, still lack native support for 3D geometry. Existing approaches either reduce geometry to 2D, rely on external spatial databases, or require processing workflows outside the semantic layer. This paper introduces geof3D, an extension to SPARQL that enables 3D geometric computation directly inside RDF triple stores. The framework is grounded in a formal function space derived from Architectural Geometry and provides typed operators for measurement, spatial predicates, constructive solid modeling, and affine transformations. These functions are implemented as SPARQL built-ins in RDF4J, supported by an execution backend that uses Java-based processing together with SFCGAL, a robust computational geometry engine accessed through the Java Native Interface (JNI). The system supports operations including geometric validation, Boolean solids, 3D spatial queries, and shape transformations without leaving the RDF environment. We evaluate geof3D using real building models from the Large-Scale Construction Robotics Laboratory and show that the framework supports spatial alignment, clash detection, and algorithmic modeling entirely through RDF-native queries. The evaluation examines both expressiveness and implementation performance, combining in-browser benchmarking with direct JNI measurements and comparative testing against a PostGIS configuration to assess performance, scalability, and geometric fidelity. All code, queries, datasets, and benchmarks are openly released. This work shows that SPARQL can serve not only as a semantic query language but also as a computational interface for 3D co-design, enabling integrated, interoperable, and geometry-aware workflows for building information management. • Introduced SPARQL functions for 3D geometry operations in AEC co-design workflows. • Presented a signature-based framework for developing geometric query functions. • Demonstrated the real-world feasibility of integrating 3D geometry into SPARQL workflows. • Included performance metrics and comparison with PostGIS.
Authors
- Thomas Wortmann (ORCID: https://orcid.org/0000-0002-5604-1624)
- Steffen Staab (ORCID: https://orcid.org/0000-0002-0780-4154)
- Ali Nakhaee
- Anthony A. Arrascue
- Diellza Elshani
- Daniel Hernandez
Institutions
- University of Stuttgart (DE)
- TransTissue (Germany) (DE)
- University of Southampton (GB)
Publication Details
- Journal
- Advanced Engineering Informatics
- Published
- 2025-12-24
- DOI
- https://doi.org/10.1016/j.aei.2025.104261
- Primary Topic
- 3D Surveying and Cultural Heritage
- Type
- article
- Field-Weighted Citation Impact
- 0.00