Skip to main content
Log in

Automated legal reasoning with discretion to act using s(LAW)

  • Original Research
  • Published:
Artificial Intelligence and Law Aims and scope Submit manuscript

Abstract

Automated legal reasoning and its application in smart contracts and automated decisions are increasingly attracting interest. In this context, ethical and legal concerns make it necessary for automated reasoners to justify in human-understandable terms the advice given. Logic Programming, specially Answer Set Programming, has a rich semantics and has been used to very concisely express complex knowledge. However, modelling discretionality to act and other vague concepts such as ambiguity cannot be expressed in top-down execution models based on Prolog, and in bottom-up execution models based on ASP the justifications are incomplete and/or not scalable. We propose to use s(CASP), a top-down execution model for predicate ASP, to model vague concepts following a set of patterns. We have implemented a framework, called s(LAW), to model, reason, and justify the applicable legislation and validate it by translating (and benchmarking) a representative use case, the criteria for the admission of students in the “Comunidad de Madrid”.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Notes

  1. Organic Law 2/2006, May 3, last modified by Organic Law 3/2020, December 29.

  2. Decree 29/2013, of 11 April, amended by Decree 244/2021, of 29 December, of the “Consejo de Gobierno”, on freedom of choice of school in the “Comunidad de Madrid” and updating the admission criteria and their weighting; Order 1240/2013, of 17 April, of the “Departamento de Educación, Juventud y Deportes” of the “Comunidad de Madrid”, amended by Order 1534/2019, of May 17 and by Order 592/2022, of 18 March, of the “Consejería de Educación e Investigación” of the “Comunidad de Madrid”; Resolution of July 31, 2013, of the “Dirección General para la Mejora de la Calidad de la Educación” (in relation to bilingual education); and Joint Resolution of the “Viceconsejería de política educativa” and “Viceconsejería organización educativa” by which instructions are issued to carry out the actions prior to the process of admission of students in centers supported with public funds for the 2022/2023 academic year, of November 25, 2022. (https://www.comunidad.madrid/sites/default/files/doc/educacion/resolucion_conjunta_admision_regimen_general_2023-2024_.pdf).

  3. Preliminary results has been presented by Arias et al. (2021).

  4. We discuss later on that, under different assumptions, students 3 and 4 do not obtain a place.

  5. SDEv4 is available at http://130.56.246.229.

  6. Example available at https://catala-lang.org/en/examples/family-benefits.

  7. https://github.com/smucclaw/r34_sCASP.

  8. In the near future, it may become necessary advance in the direction of the first option as well. In this sense, we note the need to offer mixed curricula, Law and Artificial Intelligence (Rodríguez-García and Moreno-Rebato 2018).

  9. On January 14\(^{th}\), 2021, Dr. Robert Kowalski explained how they bypassed in (Sergot et al. 1986) the representation of vague concepts such as without undue delay (Kowalski 2021, 1:20:15, 1:26:00).

References

Download references

Acknowledgements

This work has been supported by grant VAE: TED2021-131295B-C33 funded by MCIN/AEI/ 10.13039/501100011033 and by the “European Union NextGenerationEU/PRTR”, by grant COSASS: PID2021-123673OB-C32 funded by MCIN/AEI/ 10.13039/501100011033 and by “ERDF A way of making Europe”, and by grant 2023/00004/004 s(LAW) funded by URJC.

Funding

Ministerio de Ciencia e Innovación (TED2021-131295B-C33, PID2021-123673OB-C32).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Joaquín Arias.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Arias, J., Moreno-Rebato, M., Rodriguez-García, J.A. et al. Automated legal reasoning with discretion to act using s(LAW). Artif Intell Law (2023). https://doi.org/10.1007/s10506-023-09376-5

Download citation

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10506-023-09376-5

Keywords

Navigation