Hostname: page-component-89b8bd64d-46n74 Total loading time: 0 Render date: 2026-05-07T16:31:08.059Z Has data issue: false hasContentIssue false

Semantic agent framework for automated flood assessment using dynamic knowledge graphs

Published online by Cambridge University Press:  10 May 2024

Markus Hofmeister
Affiliation:
Department of Chemical Engineering and Biotechnology, University of Cambridge, Cambridge, UK Cambridge Centre for Advanced Research and Education in Singapore (CARES), Singapore, Singapore CMCL Innovations, Cambridge, UK
Jiaru Bai
Affiliation:
Department of Chemical Engineering and Biotechnology, University of Cambridge, Cambridge, UK
George Brownbridge
Affiliation:
CMCL Innovations, Cambridge, UK
Sebastian Mosbach
Affiliation:
Department of Chemical Engineering and Biotechnology, University of Cambridge, Cambridge, UK Cambridge Centre for Advanced Research and Education in Singapore (CARES), Singapore, Singapore CMCL Innovations, Cambridge, UK
Kok F. Lee
Affiliation:
Cambridge Centre for Advanced Research and Education in Singapore (CARES), Singapore, Singapore
Feroz Farazi
Affiliation:
Department of Chemical Engineering and Biotechnology, University of Cambridge, Cambridge, UK
Michael Hillman
Affiliation:
CMCL Innovations, Cambridge, UK
Mehal Agarwal
Affiliation:
Cambridge Centre for Advanced Research and Education in Singapore (CARES), Singapore, Singapore
Srishti Ganguly
Affiliation:
Cambridge Centre for Advanced Research and Education in Singapore (CARES), Singapore, Singapore
Jethro Akroyd
Affiliation:
Department of Chemical Engineering and Biotechnology, University of Cambridge, Cambridge, UK Cambridge Centre for Advanced Research and Education in Singapore (CARES), Singapore, Singapore CMCL Innovations, Cambridge, UK
Markus Kraft*
Affiliation:
Department of Chemical Engineering and Biotechnology, University of Cambridge, Cambridge, UK Cambridge Centre for Advanced Research and Education in Singapore (CARES), Singapore, Singapore CMCL Innovations, Cambridge, UK School of Chemistry, Chemical Engineering and Biotechnology, Nanyang Technological University, Singapore, Singapore The Alan Turing Institute, London, UK
*
Corresponding author: Markus Kraft; Email: mk306@cam.ac.uk

Abstract

This article proposes a framework of linked software agents that continuously interact with an underlying knowledge graph to automatically assess the impacts of potential flooding events. It builds on the idea of connected digital twins based on the World Avatar dynamic knowledge graph to create a semantically rich asset of data, knowledge, and computational capabilities accessible to humans, applications, and artificial intelligence. We develop three new ontologies to describe and link environmental measurements and their respective reporting stations, flood events, and their potential impact on population and built infrastructure as well as the built environment of a city itself. These coupled ontologies are deployed to dynamically instantiate near real-time data from multiple fragmented sources into the World Avatar. Sequences of autonomous agents connected via the derived information framework automatically assess consequences of newly instantiated data, such as newly raised flood warnings, and cascade respective updates through the graph to ensure up-to-date insights into the number of people and building stock value at risk. Although we showcase the strength of this technology in the context of flooding, our findings suggest that this system-of-systems approach is a promising solution to build holistic digital twins for various other contexts and use cases to support truly interoperable and smart cities.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2024. Published by Cambridge University Press
Figure 0

Figure 1. The design of the World Avatar dynamic knowledge graph. The World Avatar consists of three principal components: (1) ontological description of relevant domains (i.e., concepts), (2) actual data instantiated based on those ontologies (i.e., instances), and (3) automatable computational agents to operate on the knowledge graph. Image reproduced from Akroyd et al. (2021) under a CC BY 4.0 license.

Figure 1

Figure 2. Chain of derivations. The derived information framework facilitates automatic information cascading in a dynamic KG by capturing dependencies at the instance level, including details about associated agents: Which agent is responsible for computing a specific instance? Which inputs are used in deriving that output? And is that output instance itself potentially input to another derivation? Image reproduced from Bai et al. (2024) under a CC BY 4.0 license.

Figure 2

Figure 3. Schematic of use case implementation. For details see Figures 10, 17, and 20, respectively.

Figure 3

Figure 4. OntoEMS top-level ontology. OntoEMS represents the top-level ontology to represent environmental reporting stations (e.g., measurement stations) and associated readings of environmental observations (including time series values). Further domain knowledge can be incorporated with domain ontologies enriching ontoems:ReportingStation, om:Quantity, and om:Measure. All referenced namespaces are declared in Appendix A.1, with missing explicit namespace declarations referring to ontoems. Newly introduced concepts and relationships are depicted in red, while re-used ones are shown in black.

Figure 4

Figure 5. Example definition of a reported quantity. OntoEMS design requires reported quantities to be subclasses of om:Quantity; exemplarily depicted for rainfall and river level measurements, including references to further ontologies to leverage the power of Linked Data.

Figure 5

Figure 6. Example OntoEMS domain ontology extension. The OntoEMS top-level ontology can be refined to suit needs for more detailed domain representations by elaborating ontoems:ReportingStation, om:Quantity, and om:Measure; exemplarily shown for water-level reporting stations monitoring the water level in rivers. All referenced namespaces are declared in Appendix A.1, with missing explicit namespace declarations referring to ontoems. Newly introduced concepts and relationships are depicted in red, while re-used ones are shown in black.

Figure 6

Figure 7. OntoFlood ontology (extract only). The OntoFlood ontology describes flood events and their (potential) impacts in three stages: (1) actual flood events, (2) flood warnings, and (3) forecasted floods. The ontology has been designed to represent available data from the Environment Agency Real Time flood-monitoring API (Environment Agency, 2021b) and assess built infrastructure as well as population at risk. All referenced namespaces are declared in Appendix A.1, with missing explicit namespace declarations referring to ontoflood.

Figure 7

Figure 8. OntoBuiltEnv ontology part 1 (extract only). The OntoBuiltEnv ontology provides a semantic description for properties (i.e., both buildings and flats), including location and address details as well as information about previous sales transactions and current market value estimates. The ontology has been designed to represent available data from both Energy Performance Certificates (Department for Levelling Up, Housing, and Communities, 2022) and His Majesty’s Land Registry (HM Land Registry, 2022a), while seamlessly integrating with OntoCityGML (Centre Universitaire d’Informatique at University of Geneva, 2012) for the geospatial representation of buildings. All referenced namespaces are declared in Appendix A.1, with missing explicit namespace declarations referring to ontobuiltenv.

Figure 8

Figure 9. OntoBuiltEnv ontology part 2 (extract only). The OntoBuiltEnv ontology provides relevant concepts to represent properties, including their usage classification, major construction components, property type and built form, and energetic characteristics.

Figure 9

Figure 10. Agent Ecosystem. Schematic depiction of all agents involved in the flood assessment use case. Input agents (i.e., all agents in the bottom row of the figure) interact with external data sources to instantiate (or update) data within the KG, while other software agents operate (autonomously) on the instantiated data.

Figure 10

Figure 11. Agent Sequence. Sequence diagram of key agent interactions and dependencies required for the automated flood assessment. While initial data instantiation requires active user input, recurring tasks occur automatically and agents communicate directly via the knowledge graph.

Figure 11

Table 1. Agent overview

Figure 12

Figure 12. Met Office Agent. The Met Office Agent recurringly queries the Met Office DataPoint API (Met Office, 2022) for both latest weather observation and forecast data and instantiates it according to the OntoEMS ontology. This agent also serves as template for other OntoEMS input agents to keep TWA in sync with the physical world.

Figure 13

Figure 13. Flood Warnings Agent. The Flood Warnings Agent recurringly (i.e., every hour) queries the EA Real Time flood-monitoring API (Environment Agency, 2021b) and instantiates current flood alerts and warnings. Newly raised alerts/warnings are instantiated (including the instantiation of associated flood area(s)) and already existing ones are updated. Ceased alerts/warnings are deleted from the KG, while associated areas are kept for future reference. Each instantiated alert or warning receives a derived information markup to connect its derivation instance with all relevant inputs for a flood impact assessment. This markup is either newly instantiated or updated (details in Figure 14). Exemplary pseudocode and SPARQL queries for the sections highlighted in red are provided in Supplementary Materials SI.2 and SI.3.

Figure 14

Figure 14. Flood Assessment Derivation Markup. The Flood Assessment Derivation Markup is a method of the Flood Warnings Agent to connect instantiated flood alert/warning information with corresponding flood assessment derivations. Furthermore, all potentially affected buildings (i.e., buildings located within the flood area polygon) are determined and attached to the derivation instance. Those relationships are required to specify the input instances for each flood assessment and allow the Flood Assessment Agent (see Figure 15) to automatically detect any outdated information and trigger a re-evalution of potential impacts when they are accessed.

Figure 15

Figure 15. Flood Assessment Agent. The Flood Assessment Agent uses the DIF to assess potential impacts of (anticipated) floods with regards to (1) number of people at risk, (2) number of buildings at risk, and (3) estimated building stock value at risk. The agent is implemented as asynchronous derivation agent which monitors the instantiated information within a specified triple store namespace at predefined frequency. Pure input instances required to evaluate the impacts of a flood warning are marked up as part of the instantiation of new flood alerts and warnings (see Figure 13). A more detailed pseudocode example for the section highlighted in red is provided in Supplementary Material SI.2.

Figure 16

Figure 16. Derivation markup for PropertyValueEstimation. The estimated market value of any property depends on (i.e., isDerivedFrom) the FloorArea and latest available TransactionRecord of the property as well as the AveragePricePerSqm and the PropertyPriceIndex of the associated postal code and administrative district, respectively (details in Figure SI.6 in the Supplementary Material). As the AveragePricePerSqm is a derived quantity itself, there are two potential scenarios as detailed in (a,b).

Figure 17

Figure 17. Flood assessment markup (instantiated). The potential impacts of a flood alert or warning (i.e., number of people, buildings, and total property value at risk) isDerivedFrom the FloodAlertOrWarning instance itself as well as all Buildings and respective PropertyValueEstimations within the associated flood area. Depending on the status of the property value estimation derivation, a new flood assessment can trigger a cascade of up to three derivation agents in sequence: Flood Assessment Agent requiring input instances to be updated by the Property Value Estimation Agent, which in turn relies on outputs of the Average Square Meter Price Agent.

Figure 18

Figure 18. Building instantiation workflow. The instantiation currently still requires some manual steps, that is, geospatial processing using QGIS and FME. After instantiating the buildings using the Building Importer Agent, also the Thematic Surface Discovery and UPRN agents need to be invoked manually to ensure that geospatially represented buildings have UPRNs attached (if available). Further building data instantiation (i.e., EPC Agent, Property Sales Agent) happens automatically once the respective agents are deployed.

Figure 19

Figure 19. Consolidated visualization. A built-in Visualization Framework provides a uniform interface to retrieve and visualize data from TWA. It creates an aligned visualization of previously isolated data sources side by side to foster fact-based decision-making and enable insights across domains.

Figure 20

Figure 20. Automated flood assessment. The automated re-evaluation of potential flood impacts is depicted for two subsequent assessments of the same flood alert with a simulated property price index hike of +20% in between. (a) Depicts the initial assessment of properties at risk. During a subsequent evaluation by the Flood Assessment Agent, the updated PropertyPriceIndex is identified by the framework, triggering an update of all PropertyValueEstimations before computing the impact estimate. Corresponding changes to the overall property value at risk are shown in (b). Property market value changes can be seen from updated colors of individual buildings (very mildly though) or easier from the side panel in aggregated form.

Supplementary material: File

Hofmeister et al. supplementary material

Hofmeister et al. supplementary material
Download Hofmeister et al. supplementary material(File)
File 13.2 MB
Submit a response

Comments

No Comments have been published for this article.