<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>AI-SQUARE: Knowledge Graphs for Requirements-driven Software Staging Management</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>David Mosquera</string-name>
          <email>mosq@zhaw.ch</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marcela Ruiz</string-name>
          <email>ruiz@zhaw.ch</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Olivier Mann</string-name>
          <email>olivier.mann@swiss-digital-network.ch</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Makram Hanin</string-name>
          <email>makram.hanin@swiss-digital-network.ch</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Swiss Digital Network</institution>
          ,
          <addr-line>Auf der Mauer 1, Zurich 8001</addr-line>
          ,
          <country country="CH">Switzerland</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Zürich University of Applied Sciences</institution>
          ,
          <addr-line>Gertrudstrasse 15, Winterthur 8400</addr-line>
          ,
          <country country="CH">Switzerland</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Context and motivation. In today's fast-paced software development, stakeholders expect frequent deployments that incorporate the newest requirements and needed adaptations. Such fast pace poses significant pressure on site reliability engineers (SRE), who ensure software quality while managing transitions through stages (testing, development, or production stages). Problem. The primary challenge SRE face is the amount of ubiquitous data ranging from requirements to test results (often) interconnected from the diferent software development phases (requirements elicitation, development, testing, and deployment) that requires efective analysis to inform staging decisions. Solution. This challenge has motivated us to establish the AI-SQUARE innovation project; in which we envision the creation of an intelligent end-to-end software staging support platform for decision making and feedback. We propose to leverage the use of knowledge graphs to analyse data from various sources and facilitate quality analysis of aggregated data. Results and conclusions. In this poster &amp; tool paper, we share our progress on designing the knowledge graph that supports the AI-SQUARE platform, enhancing intelligent agents and supporting site reliability engineers during software staging. We share our vision and open challenges in implementing and evaluating our knowledge graph.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Knowledge Graphs</kwd>
        <kwd>Software Staging and Quality</kwd>
        <kwd>AI-SQUARE</kwd>
        <kwd>Requirements Analysis</kwd>
        <kwd>Continuous Deployment</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction and Motivation</title>
      <p>Nowadays, software stakeholders are used to receiving new versions of their software with a fastening
frequency. Behind the scenes, the trend towards more and faster releases stresses software quality
assurance. Especially site reliability engineers—i.e., the role in charge of assuring software quality in
continuous integration/continuous deployment pipelines (CICD)—face challenges to guarantee the
software quality, the alignment with the software requirements, and its software staging through the
development, testing, and production stages.</p>
      <p>
        In CICD pipelines, staging represents the decision on how software goes from diferent environments
as development, testing, or to production—i.e., stages. This decision is based mainly on software quality
data analysed in quality gates (often in a cumulative way from one stage to another) and the experience
of site reliability engineers (see Figure 1). OpenTelemetry initiatives [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] have used observability tools
such as Dynatrace [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], Prometheus [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], and Jaeger [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], among others, serving as a way to extract
software quality data and support site reliability engineers’ decisions on when to transition from one
stage to another. However, some challenges have arisen:
• Software quality assurance data is ubiquitous (data is everywhere): Software requirements,
software test description, regulations, performance metrics, unit test results, application logs, test
logs, and distributed traces, among others, are examples of potential software quality-related
data—a.k.a. data sources—present for analysis on staging decision.
• Software quality assurance data is ubiquitous and (often) relates to each other but is
often not well interconnection: Isolated analysis of a metric, log, or requirement may neglect
the efect on overall software quality. Thus, site reliability engineers must analyse software
quality, considering often implicit relationships and connections among software quality data,
often relying on their intuition.
• Justify a software staging decision: Time to market is critical in software development. If a
staging decision for a software deployment should be aborted, site reliability engineers need to
justify this decision based on observed data and, mainly because of the dificulties to analyse vast
amounts of quality data, on their expertise.
      </p>
      <p>
        Some authors have used taxonomies [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and ontologies to produce toolkits for events and anomalies
analysis. Others have used knowledge graphs [
        <xref ref-type="bibr" rid="ref6">6, 7, 8</xref>
        ] for root cause analysis and anomaly detection
in cloud applications, focusing mainly on microservice applications. Other commercial tools have
supported reliability engineers by providing data-specific analysis, such as correlations between
performance metrics [9]. However, there is still a gap in the solution to providing end-to-end support for
software staging decisions compiling diferent sources of data and quality attributes.
      </p>
      <p>
        This gap has inspired the Swiss Digital Network (SDN) [10] and three research groups in Switzerland
to develop the AI-SQUARE project: an Intelligent Staging Management Platform. The AI-SQUARE
platform aims to support site reliability engineers in deciding where to or when not to transition stages
using intelligent agents. In this poster &amp; tools paper, we share our design (see Section 2) and vision (see
Section 3) of the knowledge graph that supports the AI-SQUARE platform to address the aforementioned
challenges and provide end-to-end staging support (see Figure 2).
2. AI-SQUARE Knowledge Graph Design and OpenTelemetry Example
A knowledge graph is a structured representation of real-world entities and their interrelationships
organized within a directed graph, whose nodes represent entities and edges represent relations
between them [11]. Knowledge graphs have been used in diferent domains to extract facts and
assertions based on cross-domain data, such as Wikidata [12] and DBPedia [13]. This shows how
knowledge graphs can ingest data from various sources and formats, demonstrating their flexibility for
storing interconnected ubiquitous and heterogeneous data from multiple sources. Moreover,
knowledge graphs have been used to support root-cause analysis (RCA) in anomaly detection [
        <xref ref-type="bibr" rid="ref6">6, 7, 8</xref>
        ].
This progress shows that knowledge graphs allow to support decision-making, providing facts and
potential causes when anomalies are detected.
      </p>
      <p>In this Section, we show the progress in designing the AI-SQUARE knowledge graph. To show our
design, we follow the framework for designing and building enterprise knowledge graphs [14]: first
identifying the source of data, then defining the target knowledge graph, and, finally, defining how to
map them. In addition, we exemplify the design by means of the OpenTelemetry [15] running example.</p>
      <p>The OpenTelemetry application has diferent microservices related to an online Astronomy shop.
In our running example, we assume two stages: i) a testing stage and ii) a production (deployment)
stage. The site reliability engineers propose a quality gate to evaluate the transition between testing
and production, evaluating the software performance—specifically, based on the desired response time.
This quality gate data ranges from the expected performance requirement to observability-related data
such as performance metrics and logs.</p>
      <sec id="sec-1-1">
        <title>2.1. Data Sources</title>
        <p>Software quality and staging-related data are distributed into structured and unstructured data. we
name our data source as Resources. Resources represent files with quality data relevant for further
analysis, such as metrics, logs, timestamps, containers, pots, tests, and requirements IDs. Using the
OpenTelemetry example, we extract the following data: the performance requirements (in CSV format),
CPU and memory usage metrics (from Dynatrace), and testing logs of a response time test (from
TestKube). We show an excerpt of the data sources in our running example in Figure 3.</p>
      </sec>
      <sec id="sec-1-2">
        <title>2.2. The Target Knowledge Graph</title>
        <p>The target knowledge graph is a conceptual model (a.k.a. ontology/vocabulary/taxonomy/schema),
which uses the lingua franca of data consumers [14]. As previously mentioned, software staging data is
ubiquitous and (often) interconnected. Staging-related data can come from several phases of the software
development lifecycle, from requirements and development to testing. Thus, our target knowledge graph
for the AI-SQUARE platform must provide a vocabulary (i.e., lingua franca) that adapts, grows, and
evolves over time, considering the diversity and context of software development projects. As an initial
conceptual model, we consider abstract concepts as Stage, Requirement, Test, Observable (Metrics, Logs),
Source, File, and Anomaly. These abstract concepts are the core of the target AI-SQUARE knowledge
graph, allowing the extension of the core vocabulary as needed for each software development project.</p>
        <p>For instance, the OpenTelemetry example has a set of microservices in the context of specific stages,
sources, requirements, and observable types. In Figure 4, we show the tailored target knowledge graph
for the OpenTelemetry example, defining a project-specific vocabulary by extending the core concepts
and instances.</p>
        <p>These concepts are derived from existing schemas and based on observations from practice but are
far from being complete. We acknowledge that further formal alignment (a.k.a. ontology alignment) is
needed to generalize and provide soundness to the target knowledge graph core vocabulary—e.g., with
existing ontologies such as SEPSES [16] or SEON [17]. We discuss this further in Section 3.2.</p>
      </sec>
      <sec id="sec-1-3">
        <title>2.3. Mapping to the Target Knowledge Graph</title>
        <p>Mappings are declarative associations between the data source and the target knowledge graph
vocabulary. Having defined a vocabulary for our knowledge graph, we must provide a way to map
the data sources to the target knowledge graph schema. Thus, we use the RDF Mapping language
(RML)—specifically the YAML version, a.k.a. YARRRML [ 18]. RML is a mapping language that expresses
customized mappings from heterogeneous data structures to RDF (Resource Description Framework).
Figure 5 shows an example of a mapping following the YARRRML notation, extracting CPU metric
triplets—i.e., subject + property (p) + object (o)—to build the target knowledge graph.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>3. The AI-SQUARE Knowledge Graph: The Vision</title>
      <p>The AI-SQUARE Knowledge Graph is a work in progress and in constant evolution. Two main data
consumers (a.k.a. knowledge workers) benefit from getting answers to the knowledge questions that
can be asked to the graph: i) intelligent agents and ii) site reliability engineers. In this Section, we
describe how data consumers will benefit, observed challenges and vision for further steps and open
research questions.</p>
      <sec id="sec-2-1">
        <title>3.1. Supporting Intelligent Agents and Site Reliability Engineers</title>
        <p>At the current stage of the AI-SQUARE Knowledge graph, we observe two potential benefits:</p>
        <p>Enhancing intelligent agents with specific and augmented staging data. Some authors have
used knowledge graphs in other domains to find vocabularies, automatically reasoning on formalized
definitions and axioms, analyse multimodal data, agent collaboration, and improve explainability [ 19, 20].
Due to the nature of software staging data, intelligent agents at the AI-SQUARE platform can benefit
from our knowledge graph by querying specific data, and augmenting it for collaboration among them.</p>
        <p>For instance, in the OpenTelemetry example, if an intelligent agent specialises in detecting anomalies
in response time metrics by correlating them with a specific target response time requirement, the
intelligent agent can query the knowledge graph (by using SPARQL, for example) to gather this data
and proceed with the analysis, including augmented data if needed—e.g., other requirements, sources,
or anomalies—providing a context-aware data to the analysis (see Figure 6).</p>
        <p>
          Supporting staging decision and explainability. The AI-SQUARE knowledge graph stores the
dependencies among ubiquitous and interconnected staging data. When anomalies are detected by
humans or intelligent agents, the AI-SQUARE knowledge graph holds the potential to build a causality
graph and explain the occurrence of anomalies to support a staging decision. Some authors [
          <xref ref-type="bibr" rid="ref6">6, 7, 8</xref>
          ] have
used knowledge graphs for root cause analysis and identifying the root of bugs, errors, or exceptions.
We foreseen root cause analysis to complement results from intelligent agents such as large-language
model agents when explaining the staging decision after analysis. This extra graph-based data will
provide site reliability engineers with a tool to verify intelligent agents’ outcomes. For instance, in
our OpenTelemetry example, after intelligent agents analyse the response time, they report anomalies
in a microservice, suggesting site reliability engineers to not stage from the testing to the production
stage. Then, site reliability engineers can benefit from the dependencies stored in our knowledge graph
and root cause analysis to justify and explain this decision, finding, for example, that the anomalies in
response time are due to a specific requirement, microservice, or observable type (see Figure 7).
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>3.2. Challenges, Open Research Questions and Next Steps</title>
        <p>With the current design and implementation of the AI-SQUARE knowledge graph, we have identified
the following challenges and open research questions:</p>
        <p>Can we provide dependency/causality among all ubiquitous data involved in software
staging using the AI-SQUARE knowledge graph? As mentioned in Section 2.2, our target knowledge
graph must evolve, grow, and adapt to specific software development projects, specifically in their
staging process. This implies that the AI-SQUARE knowledge graph requires flexibility to represent
dependencies and causality between ubiquitous data. Therefore, research questions arise: how adaptable
the AI-SQUARE knowledge graph is? Is it feasible to include existing vocabularies/ontologies from
literature? What are the missing core concepts that allow the knowledge graph to be flexible enough to
represent all ubiquitous data? can the AI-SQUARE knowledge graph support finding
dependencies/causalities from earlier software development lifecycle phases till the staging decision—e.g., finding
dependencies from software requirements to staging quality gate results? These questions motivate
further research on the AI-SQUARE Knowledge graph vocabulary.</p>
        <p>Can we measure software staging maturity based on data stored in the AI-SQUARE
knowledge graph? Some authors have proposed maturity models in DevOps environments to assess their
CICD pipelines’ maturity [21]. Maturity models are extensive bodies of knowledge that require certain
data, stages, processes, and practices to be considered to guarantee a certain maturity level in the
software development process. Considering that the AI-SQUARE knowledge graph stores dependencies
from the software staging and lifecycle, research questions arise: can the dependencies and entities
stored in the AI-SQUARE knowledge graph serve as input to assess the software staging maturity?
What would require a maturity model to assess the staging process? What are the required observables,
stages, requirements, and tests (among other concepts) to be included in software development staging
to assess its maturity? These open research questions motivate further research on how the AI-SQUARE
knowledge graph can be used in maturity assessment for software staging.</p>
        <p>What are the efects for both intelligent agents and site reliability engineers when using
the knowledge graph in the AI-SQUARE platform? The AI-SQUARE knowledge graph currently is
under design and implementation, being actively developed in the context of the AI-SQUARE platform.
Nevertheless, the efect of using or not using the AI-SQUARE knowledge graph to support staging
decisions in the AI-SQUARE platform is still an unaddressed question. Thus, we plan to conduct
empirical eforts—a.k.a., treatment validation cycles in Design Science [ 22]—following empirical methods
such as quasi-experiments, focus groups, and case studies [23] to understand the efect of the
AISQUARE knowledge graph when supporting a staging decision—including efectiveness, eficiency, and
satisfaction [24]. Therefore, we can measure and conclude about how site reliability engineers perform
staging decisions with and without the support of the AI-SQUARE knowledge graph.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>4. Conclusions</title>
      <p>In today’s fast-paced software development market, the demand for rapid and frequent releases poses
significant challenges for site reliability engineers. They are tasked with ensuring software quality
throughout the continuous integration and continuous deployment (CI/CD) pipeline, encompassing
development, testing, and production stages. The complexity of modern software staging pipelines
introduces high volumes of ubiquitous data in all phases of the software development lifecycle, making it
challenging to make a staging decision. This observed complexity from industry has inspired the Swiss
Digital Network and three research institutions to propose the AI-SQUARE platform: an intelligent
decision-support platform for end-to-end software staging management.</p>
      <p>In this poster &amp; tools paper, we shared our progress on designing a knowledge graph that supports
the AI-SQUARE platform. We exemplified our design with the OpenTelemetry example in the context
of staging from the testing environment to production. Moreover, we illustrated and provided our vision
on how the AI-SQUARE knowledge graph can benefit intelligent agents and site reliability engineers
by enhancing the software quality staging data and providing root cause analysis for explainability of
staging decisions.</p>
      <p>The AI-SQUARE knowledge graph is under constant development, which means there are research
and implementation challenges to be addressed. We reflected on the vision steps to answer the research
questions. We expect the AI-SQUARE platform will foster software’s rapid evolution and requirements
validation with continuous deployment while meeting required quality standards.</p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgments</title>
      <p>We sincerely appreciate the valuable contributions of the active members of the AI-SQUARE project.
Their feedback, ideas, and implementations across other layers of the AI-SQUARE platform have been a
valuable contribution to shaping our research. Moreover, we would like to extend our sincere gratitude
to the anonymous reviewers for their valuable insights and constructive feedback. This project is fully
funded by the Innosuisse AI-SQUARE project and the SDN.
[7] H. Wang, Z. Wu, H. Jiang, Y. Huang, J. Wang, S. Kopru, T. Xie, Groot: An event-graph-based
approach for root cause analysis in industrial settings, in: 36th International Conference on
Automated Software Engineering, 2021, p. 419–429.
[8] T. Wang, G. Qi, T. Wu, Kgroot: A knowledge graph-enhanced method for root cause analysis,</p>
      <p>Expert Systems with Applications 255 (2024) 124679.</p>
      <p>[9] Dynatrace, Grail, https://www.dynatrace.com/platform/grail/, 2025. [Accessed 07-02-2025].
[10] SDN, Swiss Digital Network home page, https://swiss-digital-network.ch/, 2025. [Accessed
07-022025].
[11] H. Paulheim, Knowledge graph refinement: A survey of approaches and evaluation methods,</p>
      <p>Semantic Web 8 (2016) 489–508.
[12] D. Vrandečić, M. Krötzsch, Wikidata: a free collaborative knowledgebase, Commun. ACM. 57
(2014) 78–85.
[13] S. Auer, C. Bizer, G. Kobilarov, J. Lehmann, R. Cyganiak, Z. Ives, DBpedia: A nucleus for a web of
open data, in: The Semantic Web. ISWC ASWC, 2007, pp. 722–735.
[14] J. Sequeda, O. Lassila, Designing Enterprise Knowledge Graphs, Springer International Publishing,
2021, p. 19–44.
[15] OpenTelemetry, Astronomy Shop Demo Application, https://github.com/open-telemetry/
opentelemetry-demo, 2025. [Accessed 07-02-2025].
[16] E. Kiesling, A. Ekelhart, K. Kurniawan, F. Ekaputra, The sepses knowledge graph: An integrated
resource for cybersecurity, in: The Semantic Web. ISWC, 2019, pp. 198–214.
[17] M. Würsch, G. Ghezzi, M. Hert, G. Reif, H. C. Gall, Seon: a pyramid of ontologies for software
evolution and its applications, Computing 94 (2012) 857–885.
[18] P. Heyvaert, B. De Meester, A. Dimou, R. Verborgh, Declarative Rules for Linked Data Generation
at your Fingertips!, in: Proceedings of the 15th ESWC: Posters and Demos, 2018, p. 213–217.
[19] R. Hoehndorf, P. N. Schofield, G. V. Gkoutos, The role of ontologies in biological and biomedical
research: a functional perspective, Briefings in Bioinformatics 16 (2015) 1069–1080.
[20] I. Tiddi, S. Schlobach, Knowledge graphs as tools for explainable machine learning: A survey,</p>
      <p>Artificial Intelligence 302 (2022) 103627.
[21] M. Zarour*, N. Alhammad, M. Alenezi, K. Alsarayrah, A research on devops maturity models,</p>
      <p>International Journal of Recent Technology and Engineering (IJRTE) 8 (2019) 4854–4862.
[22] R. J. Wieringa, Design Science Methodology for Information Systems and Software Engineering,</p>
      <p>Springer Berlin Heidelberg, 2014.
[23] C. Wohlin, P. Runeson, M. Hst, M. C. Ohlsson, B. Regnell, A. Wessln, Experimentation in Software</p>
      <p>Engineering, SpringerLink, 2012.
[24] D. L. Moody, The method evaluation model: A theoretical model for validating information
systems design methods, in: ECIS, 2003, pp. 79–96.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1] OpenTelemetry, Documentation, https://opentelemetry.io/docs/,
          <year>2024</year>
          . [Accessed 07-
          <fpage>02</fpage>
          -2025].
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Dynatrace</surname>
          </string-name>
          , Documentation, https://docs.dynatrace.com/docs,
          <year>2025</year>
          . [Accessed 07-
          <fpage>02</fpage>
          -2025].
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Prometheus</surname>
          </string-name>
          , Overview, https://prometheus.io/docs,
          <year>2025</year>
          . [Accessed 07-
          <fpage>02</fpage>
          -2025].
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Jaeger</surname>
          </string-name>
          , Documentation, https://www.jaegertracing.io/docs/1.18/,
          <year>2025</year>
          . [Accessed 07-
          <fpage>02</fpage>
          -2025].
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>I.</given-names>
            <surname>Kumara</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Quattrocchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Tamburri</surname>
          </string-name>
          , W.-J. Van Den Heuvel,
          <article-title>Quality assurance of heterogeneous applications: The SODALITE approach</article-title>
          ,
          <source>in: Advances in Service-Oriented and Cloud Computing</source>
          ,
          <year>2021</year>
          , p.
          <fpage>173</fpage>
          -
          <lpage>178</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Qiu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Du</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Yin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.-L.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Qian</surname>
          </string-name>
          ,
          <article-title>A causality mining and knowledge graph based method of root cause diagnosis for performance anomaly in cloud applications</article-title>
          ,
          <source>Applied Sciences</source>
          <volume>10</volume>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>