<!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>Enhancing Transparency and Compliance in Automated Decision-Making: A Multi-Agent System Approach Using Language Models⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ya Wang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Raja H. Seggoju</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Adrian Paschke</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fraunhofer FOKUS</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Berlin</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Freie Universität Berlin</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>The emergence of large language models has significantly advanced the feasibility of automated problem-solving using agents. However, despite promising results, these systems often function as “black boxes”, raising concerns about their ability to comply with requirements due to opaque decision-making processes. To mitigate these issues, we introduce a multi-agent system powered by language models. This system segments the decisionmaking process into three agent-driven stages: proposing queries, identifying norms, and retrieving facts, while delegating final judgment to a logical reasoner. We evaluated our system in simulated driving scenarios governed by a limited set of trafic regulations. Results indicate that our approach markedly enhances compliance with decision-making accuracy and ofers a more interpretable and traceable method compared to methods that rely solely on language models.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Multi-Agent Systems</kwd>
        <kwd>Large Language Model</kwd>
        <kwd>Ontological Reasoning</kwd>
        <kwd>Rule Compliance</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        The rapid advancement and widespread adoption of Artificial Intelligence (AI) are revolutionizing
various industries and reshaping human society [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. The increasing deployment of robotaxis, such as
Waymo [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] in the United States and Baidu [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] in China, has garnered significant attention. However,
the extensive integration of AI agents into societal frameworks demands rigorous compliance with
established human societal norms [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Consider the specific challenge within autonomous driving [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ],
illustrated in Figure 1 (left). Here, a vehicle encounters a lane blockage with a solid line to the left,
presenting a decision-making dilemma. The vehicle must assess whether and when it is permissible to
cross the solid line to overtake the obstacle, considering the uncertain duration of the blockage. This
scenario requires the AI agent to not only understand the trafic scene and its rules but also to apply these
rules in making legal and reasoned decisions. Recent advancements in language models, particularly
through Reinforcement Learning from Human Feedback [
        <xref ref-type="bibr" rid="ref7 ref8">7, 8</xref>
        ] (RLHF), have significantly improved
AI alignment with human preferences [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. However, these models still face logical inconsistencies
and hallucinations during complex reasoning [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ]. Existing enhancements, including tool usage
and extended contextual interactions with environment [
        <xref ref-type="bibr" rid="ref12 ref13">12, 13</xref>
        ], do not guarantee consistent and
rulecompliant outcomes. Another category of approach, safety assurance, involves verifying AI systems
against predefined specifications after training or deployment [
        <xref ref-type="bibr" rid="ref14 ref15 ref16">14, 15, 16</xref>
        ]. These methods are typically
rule-based, providing a deterministic and transparent process, yet they face limitations in flexibility
and scalability for real world runtime applications. To address this, our proposed system, illustrated in
Figure 1 (right), employs multiple language model powered agents working collaboratively to derive
and verify decisions. These agents actively search for formalized rules and extract relevant facts
from a domain-specific ontology. An integrated logical reasoner within the workflow continuously
      </p>
      <sec id="sec-1-1">
        <title>Rules</title>
      </sec>
      <sec id="sec-1-2">
        <title>Facts</title>
        <p>Actions Observations</p>
      </sec>
      <sec id="sec-1-3">
        <title>Environment</title>
        <p>False</p>
      </sec>
      <sec id="sec-1-4">
        <title>Inference</title>
        <p>True</p>
      </sec>
      <sec id="sec-1-5">
        <title>Decision</title>
        <p>assesses these inputs, ensuring eficient and efective compliance with established rules. Our principal
contributions include:
• A rule-compliant decision-making system: Integrates multiple LLM agents, each specialized
in diferent aspects of the decision-making process from query generation to fact retrieval, thereby
streamlining the logical reasoning workload.
• Evaluation in simulated driving scenarios: Our system outperformed those relying solely on
language models, achieving not only higher decision accuracy but also greater interpretability
and transparency.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. Related Works</title>
      <p>
        Aligning the behavior of automated agents with established norms is crucial for safe deployment in
real-world applications [
        <xref ref-type="bibr" rid="ref17 ref18">17, 18</xref>
        ]. Formal verification, which rigorously checks that systems conform to
predefined specifications, has been extensively researched and implemented across various domains,
ofering significant advantages in interpretability, traceability, and determinism [
        <xref ref-type="bibr" rid="ref19 ref20">19, 20</xref>
        ]. Previous
approaches [
        <xref ref-type="bibr" rid="ref21 ref22">21, 22</xref>
        ] have utilized ontology-based frameworks to verify system behavior against
predeifned rules and queries. More recently, Hanif et al. [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ] introduced an innovative automatic regulatory
framework employing a defeasible deontic logic solver, enabling vehicles to comply with rules through
reasoning over driving conditions and legal contexts. Despite their deterministic and transparent
reasoning processes, these methods are not yet suitable for runtime applications in complex scenarios
that demand a comprehensive understanding of the environment and the ability to eficiently manage
and assess a vast array of rules and facts. Recent advancements in LLMs have significantly enhanced
capabilities for understanding and reasoning over unstructured data [
        <xref ref-type="bibr" rid="ref24 ref25">24, 25</xref>
        ]. Techniques such as
ReAct [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] and RAG [
        <xref ref-type="bibr" rid="ref26 ref27">26, 27</xref>
        ] have been developed to mitigate the problem of hallucination by enhancing
contextual interactions with language models. However, these methods still fall short in terms of
interpretability and robustness, which are crucial for efective rule evaluation. To address this, Pan et
al. [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] integrated LLMs with symbolic solvers, achieving improved accuracy in some specific domains.
Trinh et al.’s AlphaGeometry [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ] utilized LLMs to propose innovative constructs guiding symbolic
solvers in solving Olympiad-level geometry problems. Our work shares a similar idea, leveraging
language models to interpret scenarios, propose actions, and generate context-aware search queries. By
employing ontologies to establish and derive facts and a logical reasoner to verify proposals, our method
creates a more reliable and interpretable framework. This integration facilitates efective navigation of
complex trafic situations, balancing flexibility with precision to ensure compliance with rules.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Preliminaries</title>
      <sec id="sec-3-1">
        <title>3.1. Problem Statement</title>
        <p>We define a scenario by a set T that includes  distinct objects {1, 2, . . . , }. Each object  is
associated with a set of properties P = {1, 2, . . . , }, where  represents the number of properties
each object possesses. An automated agent operating within this scenario can perform actions from a
predefined set A = {1, 2, .., }. These actions are either explicitly or implicitly regulated by a set of
legal norms R. Each rule in R takes the form Φ → Ψ , stipulating that the occurrence of condition Φ
mandates or prohibits the outcome of actions Ψ . The task is to determine a subset of actions  ⊆ A
that, when executed by the agent, complies with all the regulations in R. Specifically, the problem can
be formally expressed as:</p>
        <p>∀(Φ → Ψ) ∈ R, (T |= Φ) ⇒ ( |= Ψ) ,
where |= signifies the satisfaction relation, indicating that if the scenario T satisfies the condition Φ ,
then the chosen actions  must ensure the outcome Ψ , thus adhering to the stipulated legal norms. The
primary challenge in this task is the indirect evaluability of rule conditions based on the available facts.
For instance, a rule for overtaking requires that the oncoming lane be clear, which involves assessing
the number of vehicles visible to the ego vehicle. These essential facts are not directly available from
the properties of objects; they must be inferred using domain-specific knowledge and mathematical
and physical principles. Leveraging the extensive knowledge encoded in large language models can aid
in making rule-compliant decisions. However, this approach risks generating hallucinations, which are
unacceptable in safety-critical tasks. In contrast, traditional rule-based methods are more robust and
deterministic but face significant computational challenges due to the processing of numerous rules,
predicates, predicate arguments, and relevant facts. Therefore, a multi-agent decision-making system
that combines the strengths of both methodologies is needed to enhance the efectiveness, robustness,
and safety of the decision-making process.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Language Model-Based Multi-Agent Collaboration</title>
        <p>
          The concept of “Intelligent Agents” [
          <xref ref-type="bibr" rid="ref29 ref30">29, 30</xref>
          ], developed in the late 20th century, defines autonomous
entities capable of observing and acting upon an environment to achieve goals. This concept spans
various domains, as in robotics, where intelligent agents perceive their environment through sensors and
act through actuators [
          <xref ref-type="bibr" rid="ref31 ref32">31, 32</xref>
          ], and in reinforcement learning, where they aim to maximize cumulative
rewards by taking actions in dynamic environments [
          <xref ref-type="bibr" rid="ref33 ref34">33, 34</xref>
          ]. With the advent of LLMs, LLM agents
have evolved into systems capable of complex reasoning, planning, tool usage, and memory, thereby
solving problems autonomously [
          <xref ref-type="bibr" rid="ref35 ref36">35, 36</xref>
          ]. An LLM functions as the system coordinator, activated via a
prompt template that outlines the agent’s operations and available tools. This setup enables the LLM
to control the workflow and complete tasks eficiently. Each agent can be assigned a specific persona
within the prompt, including information about the agent’s role, personality, social characteristics, and
other demographic data [
          <xref ref-type="bibr" rid="ref37">37</xref>
          ]. Complex tasks often require multiple agents working collaboratively.
Chen et al. proposed ChatDev [
          <xref ref-type="bibr" rid="ref38">38</xref>
          ], which segments the workflow F into sequential phases P, each
comprising multiple subtasks T (see Equation 1). In each subtask, a dual-agent system [
          <xref ref-type="bibr" rid="ref39">39</xref>
          ] collaborates
to derive solutions: one agent acts as the instructor I providing specific requirements, while the other
acts as the assistant A, completing the task by actively asking for additional details over multiple rounds
of .
        </p>
        <p>
          F = ⟨P1, P2, . . . , P||⟩ P = ⟨T1, T2, . . . , T|P|⟩ T =  (⟨I, A⟩) (1)
The limited context length of LLMs often restricts maintaining a complete communication history
among all agents and phases. To address this, agents’ context memories are segmented into short-term
and long-term memory [
          <xref ref-type="bibr" rid="ref40">40</xref>
          ]. Short-term memory sustains dialogue continuity within a single phase,
while long-term memory preserves contextual awareness across diferent phases.
        </p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Normative and World Knowledge Representation</title>
        <p>
          3.3.1. Legal Norms Formalization
Formalizing legal norms is essential for enabling rule-based logical reasoning. However, the inherent
vagueness, abstract expressions, exceptions, and potential conflicts within established norms pose
significant challenges. Westhofen et al. [
          <xref ref-type="bibr" rid="ref41">41</xref>
          ] characterize these challenges as a congruence problem
between legal interpretation and system implementation. Building on legal theory elements, Chitashvili
et al. [
          <xref ref-type="bibr" rid="ref42 ref43">42, 43</xref>
          ] introduce an intuitive normal form structure to represent norms, aimed at facilitating
collaboration between computer scientists and legal experts. They propose a four-dimensional
framework—space , time , subject , and action —to structure legal norms .  defines
where the rule applies.  specifies the duration or activation moments.  indicates who is bound by
the rule.  describes what is obligated, prohibited, or permitted. To adapt this framework to our use
case, we introduce a fifth dimension, exceptions , which represents prioritized exceptional rules that
override standard rules in specific cases, such as crossing a solid line. The validity of this dimension is
dynamically computed based on environmental conditions. We focus mainly on formalizing obligations
and prohibitions, incorporating permissions only when they provide actionable guidance under
exceptional circumstances. Starting with the legal texts, we analyzed and encoded the norms into the
structured formula  ∧  ∧  ∧  → . This formalization into a normal form structure serves
as a pivotal intermediate step. Each dimension incorporates detailed textual descriptions, which not
only simplify the translation of legal norms into specific logical sentences but also facilitate more
eficient searching due to the clarity of this structure.
        </p>
        <p>
          Ontological Representation Ontology is a fundamental method for modeling domain-specific
knowledge, providing a formal and explicit specification of shared conceptualizations that facilitate
consistent and unambiguous knowledge exchange and management [
          <xref ref-type="bibr" rid="ref44 ref45 ref46">44, 45, 46</xref>
          ]. By incorporating
ontologies, LLMs gain access to domain-specific knowledge, significantly enhancing their reliability and
logical reasoning capabilities. Ontology for trafic scene modelling has attracted considerable interest
due to its ability to accurately represent complex real-world situations, support automated reasoning,
and maintain interpretability by humans [
          <xref ref-type="bibr" rid="ref47 ref48 ref49 ref50">47, 48, 49, 50</xref>
          ]. Typically, an ontology is seen as a knowledge
base KB = (TB, AB), where the TBox TB, or Terminological Box, outlines the hierarchical structure
of classes through object and data properties, axioms, and logical constructs [
          <xref ref-type="bibr" rid="ref51">51</xref>
          ]. The ABox AB, or
Assertional Box, contains the specific instances and facts derived from situational knowledge, usually
represented as a graph in RDF [
          <xref ref-type="bibr" rid="ref52">52</xref>
          ]. The development of an efective ontology typically begins with a
review of existing ontologies [
          <xref ref-type="bibr" rid="ref53">53</xref>
          ]. We utilize the OpenX ontology developed by ASAM [
          <xref ref-type="bibr" rid="ref54">54</xref>
          ], which
ofers a robust foundation with widely recognized definitions, properties, and relationships pertinent to
road trafic. We further enrich this base by integrating additional concepts, relationships, and rules
tailored to our specific use cases, thereby extending its applicability and efectiveness in real-world
trafic scenarios.
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Multi-Agent Rule-Compliant Decision-Making System</title>
      <sec id="sec-4-1">
        <title>4.1. Rule-Compliant Decision Making Workflow</title>
        <p>We structure the rule-compliant decision workflow into three agent-driven phases,  =
⟨( ), ( ),  ( )⟩, where each phase handles a single task  , collaboratively aiming to create a
streamlined logic program that consists of queries, facts, and rules for eficient processing by a logical
reasoner. The output from the reasoner provides iterative feedback, ensuring that decisions conform
strictly to established norms. As illustrated in Figure 2 , the initial phase involves two agents that
interpret the trafic scene and suggest an action, such as an overtaking maneuver denoted by the query</p>
        <p>Scene-based
Query Proposing</p>
        <sec id="sec-4-1-1">
          <title>Scene</title>
        </sec>
        <sec id="sec-4-1-2">
          <title>Formalized Rules</title>
        </sec>
        <sec id="sec-4-1-3">
          <title>Memory &amp; Caching</title>
          <p>TBox
ABox</p>
        </sec>
        <sec id="sec-4-1-4">
          <title>Ontology</title>
          <p>(), through mutual communication. The extracted scene features and the proposed query
are then processed in the second phase by a semantic search agent, which identifies applicable rules
for the case from the perspective of a legal expert. These rules are evaluated based on the available
facts; any missing or unknown facts are forwarded to the third phase. In this phase, agents consider
the evaluation context and the predicates of facts to generate SPARQL queries. These queries are
executed on the ontology to retrieve necessary information through reasoning. The logical reasoner
then processes the queries, rules, and facts to produce a decision, which either reenters the loop for
further refinement or stands as the final decision. For more details about our algorithm, we refer to
Appendix A.1.</p>
        </sec>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Data Mapping and Storage</title>
        <p>
          To connect diferent components within a system, we have integrated three distinct types of data streams.
The first type encompasses environmental data sourced from vehicles for environment perception and
communication, such as trafic conditions and road infrastructure. This data is assumed to be accessible
via the Controller Area Network (CAN) from Electronic Control Units (ECUs) within the vehicle. The
second type involves semantic data, which is understandable and executable by ontologies and logical
reasoners. The third type comprises natural language, generated by LLMs to provide instructions or
answers. The environmental data, characterizing a trafic scene as key-value pairs, lacks the semantic
meaning required for direct evaluation of trafic rule predicates, such as hasOncomingTraffic(,  ).
To enable the ontology to infer new facts, such as spatial relationships and object counts, we map the
environmental data to semantic data using the OpenX ontology [
          <xref ref-type="bibr" rid="ref54">54</xref>
          ]. To better suit our requirements,
we reduce its scope and then extend it to maintain its utility while optimizing query performance.
The refined version includes a total of 396 axioms, along with 113 classes, 35 object properties, 6 data
properties, and 2 SWRL rules within the TBox. Specifically, we use the Owlready2 [
          <xref ref-type="bibr" rid="ref55">55</xref>
          ] library to map
environmental data into the ABox, making it accessible for a variety of SPARQL queries. In the first
phase, only some predefined basic facts are available in the ABox. During the rule search and evaluation
in the subsequent phases, more facts and rules are added, providing the rationale for the logical reasoner.
The agents in the first phase are endowed with long-term memory, which allows them to adjust their
strategies for proposing actions. Other agents possess short-term memory, prompting them to specialize
in their own tasks. Generated SPARQL queries and facts are cached, making them accessible to each
agent via its interface to boost system performance.
        </p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Module Implementation</title>
        <p>
          Scene-based Query Generation In the first phase, basic facts are available from the ontology and
represented as a list of predicates that characterize the trafic scene. We employ a dual-agent system to
complete the scene interpretation and action proposal. This system follows an instruction-following
cooperation model, which has been shown to advance the progression of productive communications
and achieve meaningful solutions [
          <xref ref-type="bibr" rid="ref39">39</xref>
          ]. The instructor agent initiates instructions, guiding the discourse
toward the completion of the task, while the assistant agent adheres to these instructions and responds
with appropriate solutions.
        </p>
        <p>
          (, ) = ⟨ → ,  ← ⟩loop
(2)
We prompt the instructor agent to describe the scene based on the available predicates and the feedback
from the solver if available. The assistant agent is then instructed to interpret this scene and propose a
driving action. To reduce communicative hallucination [
          <xref ref-type="bibr" rid="ref38">38</xref>
          ], we encourage the assistant to actively seek
more facts from the instructor before delivering a final response. They engage in a multi-turn dialogue
, working cooperatively until they achieve consensus, ultimately leading to the completion of the
task.
        </p>
        <p>
          Rule Formalization and Search Working closely with legal experts, we gather German
trafifc rules from written legislation, legal precedents, and court decisions. We then analyze these rules and
convert them into a normal form structure [
          <xref ref-type="bibr" rid="ref42">42</xref>
          ] with detailed descriptions across five dimensions. To
translate the rules into executable programs, we represent them in predicate logic, limiting them to a
maximum of two arguments and avoiding explicit quantifiers to maintain simplicity and coherence
(see examples in Appendix A.2). This formalization enables eficient querying within the description
logic-based ontology and ensures reasoning through a Prolog-based solver [
          <xref ref-type="bibr" rid="ref56">56</xref>
          ]. In total, we formalized
25 rules of prohibitions, obligations, and exceptions for our trafic scenarios. Benefiting from the clear
and more implementable representation of the normal form structure, the translation into predicate
logic is semi-automated by prompting a language model with logical syntax and legal terms from the
ontology, followed by a thorough review. The search for related rules is carried out by a semantic
search agent, which maps rules into an embedding space using text embedding models. The agent then
queries the rules based on proposed actions and key features extracted from the trafic scene.
Fact Retrieval SPARQL Query generation connects common-sense knowledge from LLMs
with domain-specific ontology expertise. While other studies and applications [
          <xref ref-type="bibr" rid="ref57 ref58 ref59">57, 58, 59</xref>
          ] have used
LLMs to generate SQL queries by providing syntax, schema, and examples, our approach follows a
similar principle, guiding LLMs step-by-step through SPARQL syntax and structure. In our application,
we explored using rule context and ontology segments for query generation. We propose three methods
for query generation in predicate evaluation for a rule, each providing a diferent level of flexibility and
contextual information.
        </p>
        <p>1. Zero-Informed: This method focuses on unary predicates, specifically designed for class
hierarchical reasoning, characterized by a invariable and consistent query structure. It generates
queries aimed at searching for instances that belong to the class required by the rule evaluation.
2. Rule-Informed: This method generates queries based on the context of the evaluated rule, which
can be answered by the ontology reasoning. For example, given the context of the rule that states
a solid lane marking on the left that connects to the ego lane and requires generating a query
about the predicate LeftConnectedTo(X, Y), this method would incorporate the information about
X as the ego lane type and Y as the solid line type into the query construction. This method
limits the range of possible answers derived from the ontology.
3. Ontology-Informed: This method targets queries that can not directly inferred from the ontology.</p>
        <p>It incorporates additional ontological information, including comments about the predicate and
available predicates, to construct the query.</p>
        <p>These three query generation methods ofer increased context and flexibility but reduced semantic
correctness. In our work, most queries use the first two methods, while only two queries use the third
(see examples in Appendix B.1).</p>
        <p>
          Logical Reasoning We use Prolog [
          <xref ref-type="bibr" rid="ref56">56</xref>
          ] solver for legal reasoning to verify the proposed
action. Prolog is a declarative language derived from a subset of first-order logic, operating under
the Closed World Assumption (CWA) to maintain decidability. In our pipeline, any facts or rules
not retrieved from prior agents are considered false. The rule compliance of the proposed action is
validated using available information through the Prolog query with backward chaining. Once the
action is deemed consistent, it is added to the knowledge base. Subsequently, other driving actions,
which are regulated by related prohibition and obligation rules, are iteratively queried and derived. As
Prolog doesn’t inherently support deontic logic reasoning for diferent modalities of rules, we devise a
mechanism to manage exceptional rules as a priority when assessing the current scene for possible rule
exceptions. We then assign truth values to the “exception”dimension of corresponding rules. An action
is deemed rule-compliant when it aligns with both prohibition and obligation rules.
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Experiment</title>
      <p>
        Providing explicit rules as extended context in prompts is a common method for managing the behavior
of language models. In contrast, our method restricts its output by employing ontology-based fact
retrieval to evaluate rules via query generation. While agent-based language models [
        <xref ref-type="bibr" rid="ref60">60, 61</xref>
        ] have
demonstrated higher accuracy in decision-making, our experiment aims to assess whether our approach
delivers more accurate, reliable, and traceable rule-compliant decisions compared to rule-prompting
methods.
      </p>
      <sec id="sec-5-1">
        <title>5.1. Dataset</title>
        <p>four classes based on primary actions, where each class encompasses various scenarios. These include
diferences in the number, size, type, location, and speed of vehicles, as well as road markings, trafic
signs, weather conditions, and congestion levels, all of which may influence driving actions. Our data
generation follows principles of flexibility, extensibility, and scalability through random sampling for
variables considering physical and rule constraints, supplemented by thorough manual review. While
our dataset, programmatically configured, may not fully reflect real-world driving complexities, it aims
to test our hypotheses and serve as an example for collaboration between legal experts and computer
scientists in dataset creation.</p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. Baselines and Metrics</title>
        <p>Language models primarily trained on general natural language corpora [62], have limited understanding
of less common key-value data structures. While targeted instructions can help, the results may not
always be reliable. To maximize the reasoning potential of our baseline models, we implement a
rule-based approach that programmatically generates narratives for each scenario from key-value pairs,
enabling language models to derive rule-compliant actions from these textual descriptions. We use
Few-shot-CoT [63, 64] as our baseline method, enabling complex reasoning by prompting detailed
intermediate reasoning steps. To guide decision-making, we provide four representative examples that
follow diferent reasoning paths involving trafic rules. For a fair comparison of reasoning abilities,
we exclude the rule search part by specifying applicable trafic rules as natural language text in the
baseline models and as logical forms in our method. We use GPT-3.5-Turbo and GPT-4o as language
models for both methods. To evaluate the accuracy of derived actions, we use precision  , recall , and
the  1 score as our metrics in each scenario. A True Positive is counted when both the predicate and
its argument are correctly predicted. Subsequently, we calculate the average and standard deviation for
each metric across all classes and methods.</p>
      </sec>
      <sec id="sec-5-3">
        <title>5.3. Results</title>
        <p>As presented in Table 1, our method, NeSy-LAD (Neuro-Symbolic Legal Guidely Automated
Decisionmaking System), outperforms the Few-shot-CoT baseline models across GPT-3.5 and GPT-4o, with
significant gains in precision, recall, and F1 Score. The NeSy-LAD with GPT-4o achieved the best
performance, exhibiting a 13.75% increase in precision, a 7.25% increase in recall, and a 10.54% increase
in F1 score compared to the Few-shot-CoT with GPT-4o. Remarkably, even when utilizing GPT-3.5,
NeSy-LAD still outperforms the Few-shot-CoT with GPT-4o by 0.75%, which indicates that integrating
ontology-based fact retrieval with a symbolic solver ofers a significant advantage over the approach
directly prompting rules for the decision-making. GPT-4o generally outperforms GPT-3.5 across both
methods. Notably, in the Few-shot-CoT approach, GPT-4o demonstrates a recall that is 12.5% higher
than the GPT-3.5 implementation.</p>
        <p>To explore the performance of these two methods across various scenario categories, we plotted
the average F1 scores for both in Figure 4 (left). Our method demonstrates higher F1 scores in the
“Wait”, “Pass”, and “MakeUTurn” classes, with the exception of the “Overtake” class. The Few-shot-CoT
approach tends to favor the “Overtake” action to escape these challenging scenarios, whereas our
method relies more on the rule evaluation. Particularly, in the “Wait” and “Pass” classes, which involve
a higher number of rules and predicates (Figure 4, left), our method achieved very high F1 scores.
including both semantic and syntactic inaccuracies. Semantic errors are more common, largely due to
the misuse of the rule context and available predicates from the ontology for query generation. The
errors in the Few-shot-CoT approach arise from several sources: omitted trafic rules, inconsistencies
between the reasoning process and conclusions, and an inability to accurately capture the semantic
meaning of the rules. For example, the action ”Wait” is mostly regulated implicitly by the prohibition
of ”Overtake” or ”MakeUTurn” in trafic rules, which Few-shot-CoT may not capture. With respect
to interpretable and traceable reasoning, our approach provides detailed insights into evaluated rules
and generated queries for unary and binary predicates (Figure 4, right), ofering a more reliable and
trustworthy process than Few-shot CoT.</p>
      </sec>
      <sec id="sec-5-4">
        <title>5.4. Discussion</title>
        <p>As demonstrated in our experiments, compared to providing rules as the context to language models,
our method, which segments the decision process into three agent-driven phases and delegates the
ifnal reasoning to a symbolic logical reasoner, exhibits significant advantages in rule-compliant decison
making accuracy, transparency, and interpretability. Despite these achievements, we acknowledge
certain limitations in our experiment and approach. First, we tested only a limited set of rules and
predicates, which may not fully represent the language model’s query generation capabilities. To scale
the approach, future work should explore more eficient mechanisms that utilize various contexts or
consider fine-tuning the model for SPARQL query generation. Secondly, our system is heavily dependent
on formalized rules in an executable format. However, we argue that legislation regarding automated
agents should address both implementability for systems and interpretability for humans, which calls
for collaboration between computer scientists and legal experts. This lays the groundwork for the safe
and lawful deployment of agents in real-world applications. Our LAD system integrates trafic rules
explicitly into a symbolic solver, providing an interpretable and traceable decision-making process
for humans. This setup allows for flexible and rapid rule updates as regulations evolve. Additionally,
our system’s modular design allows diferent modules to be replaced with varying techniques. For
instance, the ontology query part can be replaced with knowledge graph embeddings, and the symbolic
solver can be substituted with a neural-based reasoner. Though our system was originally designed for
decision-making in autonomous driving, it can be adapted to other domains requiring scene recognition
and rule compliance. In conclusion, our approach provides a scalable and adaptable framework that can
serve as a foundational solution for a wide range of applications, enabling reliable and interpretable
rule-compliant decision making in diverse contexts.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>In this paper, we present a framework that combines language model agents with a symbolic logical
reasoner for rule-compliant decision-making in autonomous driving. Our approach regulates automated
agents with formalized rules, providing an adaptable solution for safer and more interpretable automated
decision-making. Despite its efectiveness in trafic scenarios, our system has limitations when dealing
with complex rules and probabilistic reasoning. Future work should explore more implementable rule
formats and develop more scalable query methods.</p>
    </sec>
    <sec id="sec-7">
      <title>Declaration on Generative AI</title>
      <p>During the preparation of this work, the author(s) used GPT-4o in order to: Grammar and spelling
check. After using this tool, the author(s) reviewed and edited the content as needed and take(s) full
responsibility for the publication’s content.
et al., Metagpt: Meta programming for multi-agent collaborative framework, arXiv preprint
arXiv:2308.00352 (2023).
[61] Z. Ma, Y. Mei, Z. Su, Understanding the benefits and challenges of using large language model-based
conversational agents for mental well-being support, in: AMIA Annual Symposium Proceedings,
volume 2023, American Medical Informatics Association, 2023, p. 1105.
[62] J. Achiam, S. Adler, S. Agarwal, L. Ahmad, I. Akkaya, F. L. Aleman, D. Almeida, J. Altenschmidt,</p>
      <p>S. Altman, S. Anadkat, et al., Gpt-4 technical report, arXiv preprint arXiv:2303.08774 (2023).
[63] S. Min, X. Lyu, A. Holtzman, M. Artetxe, M. Lewis, H. Hajishirzi, L. Zettlemoyer, Rethinking the
role of demonstrations: What makes in-context learning work?, 2022. arXiv:2202.12837.
[64] J. Wei, X. Wang, D. Schuurmans, M. Bosma, F. Xia, E. Chi, Q. V. Le, D. Zhou, et al., Chain-of-thought
prompting elicits reasoning in large language models, Advances in neural information processing
systems 35 (2022) 24824–24837.</p>
      <p>◁ Mapping data into ABox
◁ Build knowledge base with rule sets ready for query</p>
      <p>◁ Retrieve basic available facts
◁ Iterate N trials for LLM primary action proposal
◁ Output candidate action and scene features</p>
      <p>◁ Search for all related rules
◁ Identify rule predicates absent from facts</p>
      <p>◁ Generate queries for absent predicates
◁ Retrieve new facts with ontology reasoning
◁ Verify action consistency via backwards chaining</p>
    </sec>
    <sec id="sec-8">
      <title>A. Appendix A</title>
      <sec id="sec-8-1">
        <title>A.1. Rule-Compliant Decision-Making Algorithm</title>
        <p>We propose the Rule-Compliant Decision-Making Algorithm, which combines multiple language models
with a symbolic solver to derive rule-compliant actions. As presented in Algorithm 1, it takes as input
a TBox  , a scene  represented by key-value pairs, a set of formalized rules together with their
corresponding logical representations , and possible actions . It outputs primary  and secondary
 actions that comply with the corresponding rules  and . The process begins by mapping data to
an ABox . Together with the formalized rules, this forms a knowledge base , which is then
ready for querying. Basic facts about the current scene are then extracted from this knowledge base. In
the first loop of N trials, the language model agents   collaboratively proposes a primary action ˆ
and identifies relevant scene features ˆ based on the blockage of the front vehicle. It then searches for
all rules related to the proposed action and the identified features. In the second loop, for each relevant
rule ˆ, the algorithm evaluates which rule predicates are not currently supported by the available facts.
For each absent predicate, the language model generates queries, which are used to retrieve new facts
from the knowledge base through ontology reasoning. Upon identifying a candidate primary action ˆ,
the symbolic solver  verifies the action’s consistency with the rules through backward chaining. If
the action is found to be compliant, the loop terminates, marking the action as the primary compliant
action. If not, the process iterates, updating the prompts for the language model agents to refine the
action proposal. After determining the primary action, the algorithm employs the symbolic solver to
derive secondary actions that are compliant with the rules. Our algorithm reduces the workload for the
symbolic solver by suggesting candidate actions, pinpointing the most relevant rules, and extracting
the necessary facts though context-based query generation. This approach significantly narrows the
search space for rule evaluation, while ofering more interpretable and traceable results compared to
purely language-based models.</p>
      </sec>
      <sec id="sec-8-2">
        <title>A.2. Trafic Rule Formalization</title>
        <p>We begin by collecting trafic regulations from various sources, then analyze these rules and convert
them into a normal form structure with detailed descriptions across five dimensions. At last, we employ
large language models as tools to help formalize the rules in predicate logic. In total, we’ve formalized
25 rules, with examples shown as follows.
{
"id": 5,
"R": "Motorcycle(X), Overtake(X)",
"T": "None",
"S": "Driver(J)",
"E": "None",
"Q": "KeepSafeLateralDistance(1.50)",
"condition": "driver overtaking a motorcycle",
"consequence": "maintain a minimum lateral distance of 1.5 meters"
},
{
},
{
"id": 11,
"R": "TrafficLight(X), Red(Y), hasColor(X, Y), Vehicle(V), inFrontOf(V, J)",
"T": "None",
"S": "Driver(J)",
"E": "None",
"Q": "Overtake(V), !Pass(V), !MakeUTurn(V)",
"condition": "driver approaching a red traffic Light",
"consequence": "must not overtake, pass or make a U-turn"
"id": 18,
"R": "EgoLane(G), SolidWhiteLine(Y), LeftConnectedTo(G, Y), Vehicle(X), Inoperative(X), OnComingLane(Z),</p>
        <p>InFrontof(X, J), !hasOncomingVehicle(J, W), Vehicle(W), block(X, G)",
"T": "None",
"S": "Driver(J)",
"E": "None",
"Q": "Overtake(X), Cross(Y), LaneChangeTo(Z)",
"condition": "obstacle or stationary vehicle on road partially blocking the ego lane with solid white line,
not predictable when cleared",
"consequence": "permitted to cross the solid white line and use oncoming lane for overtaking, if safe and no
oncoming traffic"</p>
      </sec>
      <sec id="sec-8-3">
        <title>B.1. Examples of Context-Based Query Generation</title>
        <p>Zero-informed method. This method rarely uses any context for query generation. It primarily focuses
on the evaluation of unary predicates, involving class hierarchical reasoning, which generated less
diverse query structures. For example (see Figure 5), when evaluating the predicate AdverseWeather(Y)
within a rule, this method generates a SPARQL query to the ontology, which retrieves the answer w0
because the facts indicate that the weather is snow, which is defined as adverse weather in the ontology.</p>
        <p>LM Generated SPARQL Queries
AdverseWeather(Y)
PREFIX : &lt;http://www.semanticweb.org/&gt;
SELECT ?y
WHERE {?y a/rdfs:subClassOf*
:AdverseWeather .}</p>
        <p>Rule-informed method. This method generates queries based on the context of the rules being
evaluated, which can be answered by ontology reasoning, as illustrated in Figure 6. Given a rule
under evaluation, the language model uses predicates such as Vehicle(X), Vehicle(Y), EgoVehicle(X),
OnComingLane(Z), locatedOn(Y, Z), and InFrontOf(Y, X) within the rule to construct a detailed query for
the InFrontOf predicate. It reduces the number of instances retrieved from the ontology.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J. J.</given-names>
            <surname>Bryson</surname>
          </string-name>
          ,
          <article-title>The future of ai's impact on society</article-title>
          , MIT Technology Review (
          <year>2024</year>
          ). URL: https: //www.technologyreview.com/
          <year>2019</year>
          /12/18/102365/the-future
          <article-title>-of-ais-impact-on-society/</article-title>
          , accessed:
          <fpage>2024</fpage>
          -07-20.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Karsten</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. M.</given-names>
            <surname>West</surname>
          </string-name>
          ,
          <article-title>How artificial intelligence is transforming the world</article-title>
          ,
          <source>Brookings</source>
          (
          <year>2024</year>
          ). URL: https://www.brookings.edu/articles/how-artificial
          <article-title>-intelligence-is-</article-title>
          <string-name>
            <surname>transforming-</surname>
          </string-name>
          the-world/, accessed:
          <fpage>2024</fpage>
          -07-20.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>BBC</given-names>
            <surname>Newsround</surname>
          </string-name>
          ,
          <article-title>Robotaxis: Driverless cars arriving in us cities</article-title>
          ,
          <source>BBC Newsround</source>
          (
          <year>2024</year>
          ). URL: https://www.bbc.co.uk/newsround/68777656, accessed:
          <fpage>20</fpage>
          -
          <lpage>July</lpage>
          -
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>CNN</given-names>
            <surname>,</surname>
          </string-name>
          <article-title>China's baidu apollo go robotaxi</article-title>
          ,
          <source>CNN</source>
          (
          <year>2024</year>
          ). URL: https://edition.cnn.com/
          <year>2024</year>
          /07/18/ cars/china-baidu
          <article-title>-apollo-go-robotaxi-anxiety-intl-hnk/index</article-title>
          .html, accessed:
          <fpage>20</fpage>
          -
          <lpage>July</lpage>
          -
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>V.</given-names>
            <surname>Conitzer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Sinnott-Armstrong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. S.</given-names>
            <surname>Borg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Deng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kramer</surname>
          </string-name>
          ,
          <article-title>Moral decision making frameworks for artificial intelligence</article-title>
          ,
          <source>in: Proceedings of the AAAI Conference on Artificial Intelligence</source>
          , volume
          <volume>31</volume>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Grabowski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Paschke</surname>
          </string-name>
          ,
          <article-title>An ontology-based model for handling rule exceptions in trafic scenes</article-title>
          ,
          <source>in: Proceedings of the International Workshop on AI Compliance Mechanism (WAICOM</source>
          <year>2022</year>
          ),
          <year>2022</year>
          , pp.
          <fpage>87</fpage>
          -
          <lpage>100</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Jones</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Ndousse</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Askell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chen</surname>
          </string-name>
          , N. DasSarma,
          <string-name>
            <given-names>D.</given-names>
            <surname>Drain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Fort</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Ganguli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Henighan</surname>
          </string-name>
          , et al.,
          <article-title>Training a helpful and harmless assistant with reinforcement learning from human feedback</article-title>
          ,
          <source>arXiv preprint arXiv:2204.05862</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>P. F.</given-names>
            <surname>Christiano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Leike</surname>
          </string-name>
          , T. Brown, M. Martic,
          <string-name>
            <given-names>S.</given-names>
            <surname>Legg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Amodei</surname>
          </string-name>
          ,
          <article-title>Deep reinforcement learning from human preferences</article-title>
          ,
          <source>Advances in neural information processing systems</source>
          <volume>30</volume>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <article-title>[9] OpenAI, Gpt-4v(ision) system card</article-title>
          , https://cdn.openai.com/papers/GPTV_System_Card.pdf,
          <year>2023</year>
          . Accessed:
          <fpage>2023</fpage>
          -07-21.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>B.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , J. Biswas,
          <string-name>
            <given-names>P.</given-names>
            <surname>Stone</surname>
          </string-name>
          , Llm+ p:
          <article-title>Empowering large language models with optimal planning proficiency</article-title>
          ,
          <source>arXiv preprint arXiv:2304.11477</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>L.</given-names>
            <surname>Pan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Albalak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          , LOGIC-LM:
          <article-title>Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning, Findings of the Association for Computational Linguistics: EMNLP</article-title>
          <year>2023</year>
          (
          <year>2023</year>
          )
          <fpage>3806</fpage>
          -
          <lpage>3824</lpage>
          . doi:
          <volume>10</volume>
          .18653/v1/
          <year>2023</year>
          .findings-emnlp.
          <volume>248</volume>
          . arXiv:
          <volume>2305</volume>
          .
          <fpage>12295</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>B.</given-names>
            <surname>Paranjape</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Lundberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hajishirzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zettlemoyer</surname>
          </string-name>
          , M. T. Ribeiro, Art:
          <article-title>Automatic multi-step reasoning and tool-use for large language models</article-title>
          ,
          <source>arXiv preprint arXiv:2303.09014</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>S.</given-names>
            <surname>Yao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Du</surname>
          </string-name>
          , I. Shafran,
          <string-name>
            <given-names>K.</given-names>
            <surname>Narasimhan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Cao</surname>
          </string-name>
          , React:
          <article-title>Synergizing reasoning and acting in language models</article-title>
          ,
          <source>arXiv preprint arXiv:2210.03629</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>H.</given-names>
            <surname>Bhuiyan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Governatori</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rakotonirainy</surname>
          </string-name>
          ,
          <article-title>Trafic rules compliance checking of automated vehicle maneuvers</article-title>
          ,
          <source>Artificial Intelligence and Law</source>
          <volume>32</volume>
          (
          <year>2024</year>
          )
          <fpage>1</fpage>
          -
          <lpage>56</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>L.</given-names>
            <surname>Dennis</surname>
          </string-name>
          , M. Fisher, M. Slavkovik,
          <string-name>
            <given-names>M.</given-names>
            <surname>Webster</surname>
          </string-name>
          ,
          <article-title>Formal verification of ethical choices in autonomous systems</article-title>
          ,
          <source>Robotics and Autonomous Systems</source>
          <volume>77</volume>
          (
          <year>2016</year>
          )
          <fpage>1</fpage>
          -
          <lpage>14</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>B.</given-names>
            <surname>Mermet</surname>
          </string-name>
          , G. Simon,
          <article-title>Formal verication of ethical properties in multiagent systems</article-title>
          ,
          <source>in: 1st Workshop on Ethics in the Design of Intelligent Agents</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>M. L. Kubica</surname>
          </string-name>
          , Autonomous vehicles and liability law,
          <source>The American Journal of Comparative Law</source>
          <volume>70</volume>
          (
          <year>2022</year>
          )
          <fpage>i39</fpage>
          -
          <lpage>i69</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>H.</given-names>
            <surname>Prakken</surname>
          </string-name>
          ,
          <article-title>On the problem of making autonomous vehicles conform to trafic law</article-title>
          ,
          <source>Artificial Intelligence and Law</source>
          <volume>25</volume>
          (
          <year>2017</year>
          )
          <fpage>341</fpage>
          -
          <lpage>363</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>P.</given-names>
            <surname>Pauwels</surname>
          </string-name>
          ,
          <string-name>
            <surname>S. Zhang,</surname>
          </string-name>
          <article-title>Semantic rule-checking for regulation compliance checking: an overview of strategies and approaches</article-title>
          , in: 32rd
          <source>international CIB W78 conference</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Gan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Luo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Xing</surname>
          </string-name>
          ,
          <article-title>Ontology-based framework for building environmental monitoring and compliance checking under bim environment</article-title>
          ,
          <source>Building and Environment</source>
          <volume>141</volume>
          (
          <year>2018</year>
          )
          <fpage>127</fpage>
          -
          <lpage>142</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>P.</given-names>
            <surname>Morignot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Nashashibi</surname>
          </string-name>
          ,
          <article-title>An ontology-based approach to relax trafic regulation for autonomous vehicle assistance</article-title>
          ,
          <source>IASTED Multiconferences - Proceedings of the IASTED International Conference on Artificial Intelligence and Applications</source>
          ,
          <string-name>
            <surname>AIA</surname>
          </string-name>
          <year>2013</year>
          (
          <year>2013</year>
          )
          <fpage>122</fpage>
          -
          <lpage>129</lpage>
          . doi:
          <volume>10</volume>
          .2316/P.
          <year>2013</year>
          .
          <volume>793</volume>
          -
          <fpage>024</fpage>
          . arXiv:
          <volume>1212</volume>
          .
          <fpage>0768</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>D.</given-names>
            <surname>Guo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Onstein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. D.</given-names>
            <surname>La Rosa</surname>
          </string-name>
          ,
          <article-title>A semantic approach for automated rule compliance checking in construction industry</article-title>
          ,
          <source>IEEE Access 9</source>
          (
          <year>2021</year>
          )
          <fpage>129648</fpage>
          -
          <lpage>129660</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>H.</given-names>
            <surname>Bhuiyan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Governatori</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rakotonirainy</surname>
          </string-name>
          ,
          <article-title>Validation of autonomous vehicle overtaking under queensland road rules</article-title>
          ,
          <source>Proceedings of the 6th International Joint Conference on Rules and Reasoning</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>J.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <surname>K. C.-C. Chang</surname>
          </string-name>
          ,
          <article-title>Towards reasoning in large language models: A survey</article-title>
          ,
          <source>arXiv preprint arXiv:2212.10403</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>W. X.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Tang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Hou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Min</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Dong</surname>
          </string-name>
          , et al.,
          <article-title>A survey of large language models</article-title>
          ,
          <source>arXiv preprint arXiv:2303.18223</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>P.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Perez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Piktus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Petroni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Karpukhin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Goyal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Küttler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lewis</surname>
          </string-name>
          , W.-t. Yih,
          <string-name>
            <given-names>T.</given-names>
            <surname>Rocktäschel</surname>
          </string-name>
          , et al.,
          <article-title>Retrieval-augmented generation for knowledge-intensive nlp tasks</article-title>
          ,
          <source>Advances in Neural Information Processing Systems</source>
          <volume>33</volume>
          (
          <year>2020</year>
          )
          <fpage>9459</fpage>
          -
          <lpage>9474</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xiong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Jia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Dai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <article-title>Retrieval-augmented generation for large language models: A survey</article-title>
          ,
          <source>arXiv preprint arXiv:2312.10997</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>T. H.</given-names>
            <surname>Trinh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q. V.</given-names>
            <surname>Le</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Luong</surname>
          </string-name>
          ,
          <article-title>Solving olympiad geometry without human demonstrations</article-title>
          ,
          <source>Nature</source>
          <volume>625</volume>
          (
          <year>2024</year>
          )
          <fpage>476</fpage>
          -
          <lpage>482</lpage>
          . doi:
          <volume>10</volume>
          .1038/s41586-023-06747-5.
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <surname>K. M. Tolle</surname>
          </string-name>
          , Intelligent Agents,
          <string-name>
            <surname>Springer</surname>
            <given-names>US</given-names>
          </string-name>
          , Boston, MA,
          <year>1997</year>
          , pp.
          <fpage>275</fpage>
          -
          <lpage>290</lpage>
          . URL: https://doi.org/ 10.1007/978-1-
          <fpage>4615</fpage>
          -5915-3_
          <fpage>23</fpage>
          . doi:
          <volume>10</volume>
          .1007/978-1-
          <fpage>4615</fpage>
          -5915-3_
          <fpage>23</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>M.</given-names>
            <surname>Wooldridge</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. R.</given-names>
            <surname>Jennings</surname>
          </string-name>
          ,
          <article-title>Intelligent agents: Theory and practice, The knowledge engineering review 10 (</article-title>
          <year>1995</year>
          )
          <fpage>115</fpage>
          -
          <lpage>152</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31] L.
          <string-name>
            <surname>-J. Lin</surname>
          </string-name>
          ,
          <article-title>Reinforcement learning for robots using neural networks</article-title>
          , Carnegie Mellon University,
          <year>1992</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [32]
          <string-name>
            <given-names>S. J.</given-names>
            <surname>Russell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Norvig</surname>
          </string-name>
          , E. Davis,
          <article-title>Artificial intelligence: a modern approach</article-title>
          ,
          <source>Prentice Hall series in artificial intelligence</source>
          , 3rd ed ed.,
          <string-name>
            <surname>Prentice</surname>
            <given-names>Hall</given-names>
          </string-name>
          , Upper Saddle River,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          [33]
          <string-name>
            <given-names>L. P.</given-names>
            <surname>Kaelbling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. L.</given-names>
            <surname>Littman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. W.</given-names>
            <surname>Moore</surname>
          </string-name>
          ,
          <article-title>Reinforcement learning: A survey</article-title>
          ,
          <source>Journal of artificial intelligence research 4</source>
          (
          <year>1996</year>
          )
          <fpage>237</fpage>
          -
          <lpage>285</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          [34]
          <string-name>
            <given-names>R. S.</given-names>
            <surname>Sutton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. G.</given-names>
            <surname>Barto</surname>
          </string-name>
          ,
          <article-title>Reinforcement learning: An introduction</article-title>
          , MIT press,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          [35]
          <string-name>
            <given-names>J.</given-names>
            <surname>Ruan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Bao</surname>
          </string-name>
          , G. Du,
          <string-name>
            <given-names>S.</given-names>
            <surname>Shi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Mao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zeng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <article-title>TPTU: Large Language Model-based AI Agents for Task Planning</article-title>
          and
          <string-name>
            <given-names>Tool</given-names>
            <surname>Usage</surname>
          </string-name>
          ,
          <year>2023</year>
          . doi:
          <volume>10</volume>
          .48550/ ARXIV.2308.03427, version Number:
          <volume>3</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          [36]
          <string-name>
            <surname>Significant</surname>
            <given-names>Gravitas</given-names>
          </string-name>
          , AutoGPT, ???? URL: https://github.com/Significant-Gravitas/AutoGPT.
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          [37]
          <string-name>
            <given-names>L.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Ma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Feng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Tang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lin</surname>
          </string-name>
          , et al.,
          <article-title>A survey on large language model based autonomous agents</article-title>
          ,
          <source>Frontiers of Computer Science</source>
          <volume>18</volume>
          (
          <year>2024</year>
          )
          <fpage>186345</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          [38]
          <string-name>
            <given-names>C.</given-names>
            <surname>Qian</surname>
          </string-name>
          , W. Liu, H. Liu,
          <string-name>
            <given-names>N.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Dang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Su</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Cong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Liu</surname>
          </string-name>
          , M. Sun,
          <source>ChatDev: Communicative Agents for Software Development</source>
          ,
          <year>2024</year>
          . URL: http: //arxiv.org/abs/2307.07924, arXiv:
          <fpage>2307</fpage>
          .07924 [cs].
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          [39]
          <string-name>
            <given-names>G.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hammoud</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Itani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Khizbullin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Ghanem</surname>
          </string-name>
          ,
          <article-title>Camel: Communicative agents for" mind" exploration of large language model society</article-title>
          ,
          <source>Advances in Neural Information Processing Systems</source>
          <volume>36</volume>
          (
          <year>2023</year>
          )
          <fpage>51991</fpage>
          -
          <lpage>52008</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          [40]
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Tian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Tao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Su</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Lu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          , et al.,
          <article-title>Ghost in the minecraft: Generally capable agents for open-world environments via large language models with text-based knowledge and memory</article-title>
          ,
          <source>arXiv preprint arXiv:2305.17144</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          [41]
          <string-name>
            <given-names>L.</given-names>
            <surname>Westhofen</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Stierand</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. S.</given-names>
            <surname>Becker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Möhlmann</surname>
          </string-name>
          , W. Hagemann,
          <article-title>Towards a congruent interpretation of trafic rules for automated driving-experiences and challenges,</article-title>
          <year>2022</year>
          , pp.
          <fpage>8</fpage>
          -
          <lpage>21</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          [42]
          <string-name>
            <given-names>M.</given-names>
            <surname>Chitashvili</surname>
          </string-name>
          , M. Hermann,
          <string-name>
            <given-names>D.</given-names>
            <surname>Sasdelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Wüst</surname>
          </string-name>
          ,
          <article-title>A Normal Form for Representing Legal Norms and its Visualisation Through Normative Diagrams</article-title>
          ,
          <source>Proceedings of the 19th International Conference on Artificial Inteligence and Law</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          [43]
          <string-name>
            <given-names>D.</given-names>
            <surname>Sasdelli</surname>
          </string-name>
          , A. T. G. Trivisonno,
          <article-title>Normative diagrams as a tool for representing legal systems, The Review of Socionetwork Strategies (</article-title>
          <year>2023</year>
          )
          <fpage>217</fpage>
          -
          <lpage>231</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref44">
        <mixed-citation>
          [44]
          <article-title>A translation approach to portable ontology specifications, Knowledge Acquisition 5 (</article-title>
          <year>1993</year>
          )
          <fpage>199</fpage>
          -
          <lpage>220</lpage>
          . doi:https://doi.org/10.1006/knac.
          <year>1993</year>
          .
          <volume>1008</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref45">
        <mixed-citation>
          [45]
          <string-name>
            <given-names>N.</given-names>
            <surname>Guarino</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Oberle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Staab</surname>
          </string-name>
          ,
          <article-title>What is an ontology?</article-title>
          , Handbook on ontologies (
          <year>2009</year>
          )
          <fpage>1</fpage>
          -
          <lpage>17</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref46">
        <mixed-citation>
          [46]
          <string-name>
            <given-names>S.</given-names>
            <surname>Staab</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Studer</surname>
          </string-name>
          , Handbook on ontologies, Springer Science &amp; Business
          <string-name>
            <surname>Media</surname>
          </string-name>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref47">
        <mixed-citation>
          [47]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hülsen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Zöllner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Weiss</surname>
          </string-name>
          ,
          <article-title>Trafic intersection situation description ontology for advanced driver assistance</article-title>
          ,
          <source>in: 2011 IEEE Intelligent Vehicles Symposium (IV)</source>
          , IEEE,
          <year>2011</year>
          , pp.
          <fpage>993</fpage>
          -
          <lpage>999</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref48">
        <mixed-citation>
          [48]
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Mohammad</surname>
          </string-name>
          , I. Kaloskampis,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Hicks</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Setchi</surname>
          </string-name>
          ,
          <article-title>Ontology-based framework for risk assessment in road scenes using videos</article-title>
          ,
          <source>Procedia Computer Science</source>
          <volume>60</volume>
          (
          <year>2015</year>
          )
          <fpage>1532</fpage>
          -
          <lpage>1541</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref49">
        <mixed-citation>
          [49]
          <string-name>
            <given-names>M.</given-names>
            <surname>Scholtes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Westhofen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. R.</given-names>
            <surname>Turner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lotto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Schuldes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Weber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Wagener</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Neurohr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. H.</given-names>
            <surname>Bollmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Körtke</surname>
          </string-name>
          , et al.,
          <article-title>6-layer model for a structured description and categorization of urban trafic and environment</article-title>
          ,
          <source>IEEE Access 9</source>
          (
          <year>2021</year>
          )
          <fpage>59131</fpage>
          -
          <lpage>59147</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref50">
        <mixed-citation>
          [50]
          <string-name>
            <given-names>L.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Ichise</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Sasaki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Yoshikawa</surname>
          </string-name>
          ,
          <article-title>Fast decision making using ontology-based knowledge base</article-title>
          ,
          <source>in: 2016 IEEE Intelligent Vehicles Symposium (IV)</source>
          , IEEE,
          <year>2016</year>
          , pp.
          <fpage>173</fpage>
          -
          <lpage>178</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref51">
        <mixed-citation>
          [51]
          <string-name>
            <surname>G. De Giacomo</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Lenzerini</surname>
          </string-name>
          , et al.,
          <article-title>Tbox and abox reasoning in expressive description logics</article-title>
          .,
          <source>KR</source>
          <volume>96</volume>
          (
          <year>1996</year>
          )
          <fpage>10</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref52">
        <mixed-citation>
          [52]
          <string-name>
            <surname>W3C</surname>
            <given-names>RDF</given-names>
          </string-name>
          &amp; SPARQL Working Group,
          <article-title>Rdf 1.2 concepts and abstract syntax (resource description framework</article-title>
          ), https://www.w3.org/TR/rdf12-concepts/,
          <year>2025</year>
          .
          <article-title>Working Draft (last updated July 2025), RDF 1.2 suite.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref53">
        <mixed-citation>
          [53]
          <string-name>
            <given-names>N.</given-names>
            <surname>Noy</surname>
          </string-name>
          , Ontology development 101:
          <article-title>A guide to creating your first ontology</article-title>
          ,
          <year>2001</year>
          . URL: https: //api.semanticscholar.org/CorpusID:500106.
        </mixed-citation>
      </ref>
      <ref id="ref54">
        <mixed-citation>
          [54]
          <string-name>
            <given-names>J.</given-names>
            <surname>Tao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. L.</given-names>
            <surname>GMBH</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. F.</given-names>
            <surname>Informatik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>AI</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. C.</given-names>
            <surname>Research</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Software</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. S.</given-names>
            <surname>GmbH</surname>
          </string-name>
          , et al.,
          <source>ASAM OpenX Ontology User Guide</source>
          ,
          <year>2021</year>
          . URL: https://www.asam.net/standards/asam-openxontology/.
        </mixed-citation>
      </ref>
      <ref id="ref55">
        <mixed-citation>
          [55]
          <string-name>
            <surname>J.-B. Lamy</surname>
          </string-name>
          , Owlready:
          <article-title>Ontology-oriented programming in python with automatic classification and high level constructs for biomedical ontologies</article-title>
          ,
          <source>Artificial intelligence in medicine 80</source>
          (
          <year>2017</year>
          )
          <fpage>11</fpage>
          -
          <lpage>28</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref56">
        <mixed-citation>
          [56]
          <string-name>
            <given-names>J.</given-names>
            <surname>Wielemaker</surname>
          </string-name>
          ,
          <article-title>Swi-prolog: A comprehensive prolog implementation</article-title>
          , https://github.com/ SWI-Prolog/swipl-devel,
          <year>2024</year>
          . Accessed: April 21,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref57">
        <mixed-citation>
          [57]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Gu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Fan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Tang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Cao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Jia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Madden</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Du</surname>
          </string-name>
          ,
          <article-title>Few-shot text-to-sql translation using structure and content prompt learning</article-title>
          ,
          <source>Proceedings of the ACM on Management of Data</source>
          <volume>1</volume>
          (
          <year>2023</year>
          )
          <fpage>1</fpage>
          -
          <lpage>28</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref58">
        <mixed-citation>
          [58]
          <string-name>
            <given-names>R.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. O.</given-names>
            <surname>Arik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Nakhost</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Dai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sinha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Yin</surname>
          </string-name>
          , T. Pfister, Sql-palm:
          <article-title>Improved large language modeladaptation for text-to-sql</article-title>
          ,
          <source>arXiv preprint arXiv:2306.00739</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref59">
        <mixed-citation>
          [59]
          <string-name>
            <given-names>Q.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , J. Dong,
          <string-name>
            <given-names>H.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <article-title>Structure guided large language model for sql generation</article-title>
          ,
          <source>arXiv preprint arXiv:2402.13284</source>
          (
          <year>2024</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref60">
        <mixed-citation>
          [60]
          <string-name>
            <given-names>S.</given-names>
            <surname>Hong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zheng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chen</surname>
          </string-name>
          , Y. Cheng, J.
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>S. K. S.</given-names>
          </string-name>
          <string-name>
            <surname>Yau</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Zhou</surname>
          </string-name>
          ,
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>