This paper introduces a pipeline leveraging Large Language Models (LLMs) to automate the creation and maintenance of rule-based legal ontologies. We also explore the use of the generated legal ontologies to perform legal reasoning in autonomous agents, focusing on traffic rules for Autonomous Vehicles (AVs). The proposed ontology model encodes compliant and non-compliant instances through property restrictions. We present a prototype of the pipeline and its use, discussing the different components and how they can be adapted. Additionally, we discuss the possible use of the system to keep legal ontologies up to date with changes in legislation and case law.
Using LLMs to Create Legal Ontologies for Traffic Rule Compliance
Enrico Francesconi;
2025
Abstract
This paper introduces a pipeline leveraging Large Language Models (LLMs) to automate the creation and maintenance of rule-based legal ontologies. We also explore the use of the generated legal ontologies to perform legal reasoning in autonomous agents, focusing on traffic rules for Autonomous Vehicles (AVs). The proposed ontology model encodes compliant and non-compliant instances through property restrictions. We present a prototype of the pipeline and its use, discussing the different components and how they can be adapted. Additionally, we discuss the possible use of the system to keep legal ontologies up to date with changes in legislation and case law.| File | Dimensione | Formato | |
|---|---|---|---|
|
NLL2FR2025.pdf
accesso aperto
Licenza:
Creative commons
Dimensione
947.75 kB
Formato
Adobe PDF
|
947.75 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


