Metraipolis › archive › dc_61988c1e30a6
Structured Four-Stage Legal Translation: From Natural-Language Traffic Rules to PROLOG — arXiv:2609.20334
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.20334
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-10T03:21:59.791Z
- SHA-256 of the archived text
ab533f353a4778b342132db9853832f7af4fbbd02e3d39fff074a7a8738b9ace- Stable URL of this page
https://metraipolis.com/documento/dc_61988c1e30a6
How to cite
Structured Four-Stage Legal Translation: From Natural-Language Traffic Rules to PROLOG — arXiv:2609.20334 — arXiv (en), https://arxiv.org/abs/2609.20334 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_61988c1e30a6 (Metraipolis archive dc_61988c1e30a6, sha256 ab533f353a4778b342132db9853832f7af4fbbd02e3d39fff074a7a8738b9ace)
BibTeX
@misc{dc61988c1e30a6,
title = {Structured Four-Stage Legal Translation: From Natural-Language Traffic Rules to PROLOG — arXiv:2609.20334},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.20334},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_61988c1e30a6; sha256 ab533f353a4778b342132db9853832f7af4fbbd02e3d39fff074a7a8738b9ace},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.20334. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Traffic regulations are written for human interpretation and therefore rely on shared background knowledge and flexible phrasing, which inherently introduce ambiguity, context dependence, and semantic underspecification. These linguistic characteristics conflict with the precision required by computational reasoning engines such as Prolog, which demand explicit logical structure. This study evaluates two baseline translation approaches, Natural Language to Prolog ($NL\rightarrow Prolog$) and Logical English to Prolog ($LE\rightarrow Prolog$), and introduces a new reasoning-guided translation framework called Structured Four-Stage Legal Translation ($S4L\rightarrow Prolog$). The proposed S4L framework performs semantic role extraction, scene completion, logical mapping, and Prolog rule generation within a single guided prompt, enabling direct translation of raw traffic rules into executable logic without human intervention. A benchmark consisting of twenty real-world traffic rules was used to evaluate each approach in terms of syntactic validity, semantic correctness, and logical completeness. $S4L\rightarrow Prolog$ achieves the highest accuracy, correctly formalizing 75 percent of the rules, while $NL\rightarrow Prolog$ reaches 60 percent and $LE\rightarrow Prolog$ reaches 55 percent. Qualitative analysis further shows that S4L captures implicit causal relations, deontic modality, and exception structure more reliably than the baselines. These results demonstrate that structured reasoning prompts can substantially improve the reliability of natural-language-to-logic translation for legal and safety-critical applications. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-18 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.20334 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-10T03:04:13.738Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).