Semantic Annotation of Legal Contracts with ContrattoA
Abstract
:1. Introduction
2. Research Baseline
2.1. Legal Contracts
2.2. An Ontology for Contracts
2.3. The GaiusT Semantic Annotation Platform
3. ContrattoA 1.0
3.1. A Structural Model for Contracts
3.2. Lexical Patterns for Contract Concepts
3.3. The Annotation Process
4. Experimental Evaluation of ContrattoA 1.0
4.1. The Experimental Setup
4.2. Experimental Results
4.3. Threats to Validity
5. Refinement into ContrattoA 2.0
5.1. Experimental Setup
5.2. Experimental Results
5.3. Threats to Validity
6. Related Work
7. Conclusions
Author Contributions
Funding
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Clarke, E.M.; Grumberg, O.; Peled, D.A. Model Checking; MIT Press: Cambridge, UK, 2018. [Google Scholar]
- Sebastiani, R.; Trentin, P. OptiMathSAT: A tool for optimization modulo theories. J. Autom. Reas. 2020, 64, 423–460. [Google Scholar] [CrossRef]
- Szabo, N. Smart contracts: Building blocks for digital markets. EXTROPY J. Transhumanist Thought 2020, 18, 2. [Google Scholar]
- Governatori, G.; Idelberger, F.; Milosevic, Z.; Riveret, R.; Sartor, G.; Xu, X. On legal contracts, imperative and declarative smart contracts, and blockchain systems. Artif. Intell. Law 2018, 26, 377–409. [Google Scholar] [CrossRef]
- Zeni, N.; Kiyavitskaya, N.; Mich, L.; Cordy, J.R.; Mylopoulos, J. GaiusT: Supporting the extraction of rights and obligations for regulatory compliance. Requir. Eng. 2015, 20, 1–22. [Google Scholar] [CrossRef]
- Zeni, N.; Seid, E.; Engiel, P.; Mylopoulos, J. NómosT building large models of law with a tool-supported process. Data Knowl. Eng. 2018, 117, 407–418. [Google Scholar] [CrossRef]
- Soavi, M.; Zeni, N.; Mylopoulos, J.; Mich, L. ContracT–from Legal Contracts to Formal Specifications: Preliminary Results. In Proceedings of the IFIP Working Conference on the Practice of Enterprise Modeling, Riga, Latvia, 25–27 November 2020; Springer: Cham, Switzerland, 2020; pp. 124–137. [Google Scholar]
- Daskalopulu, A. Modelling legal contracts as processes. In Proceedings of the 11th International Workshop on Database and Expert Systems Applications, London, UK, 4–8 September 2000; pp. 1074–1079. [Google Scholar]
- Parvizimosaed, A.; Sharifi, S.; Amyot, D.; Logrippo, L.; Roveri, M.; Roudak, A.; Rasti, A.; Mylopoulos, J. Specification and Analysis of Legal Contracts with Symboleo. Softw. Syst. Model. 2022, in press.
- Griffo, C.; Almeida, J.P.A.; Guizzardi, G. Towards a legal core ontology based on Alexy’s theory of fundamental rights. In Proceedings of the Multilingual Workshop on Artificial Intelligence and Law, ICAIL, San Diego, CA, USA, 8–12 June 2015. [Google Scholar]
- Hohfeld, W.N. Some fundamental legal conceptions as applied in judicial reasoning. Yale Law J. 1913, 23, 28–59. [Google Scholar] [CrossRef]
- Bix, B.H. Contract Law: Rules, Theory, and Context; Cambridge University Press: Cambridge, UK, 2012. [Google Scholar]
- Manning, C.; Schutze, H. Foundations of Statistical Natural Language Processing; MIT Press: Cambridge, MA, USA, 1999. [Google Scholar]
- Allen, T.; Widdison, R. Can computers make contracts? Harvard J. Law Technol. 1996, 9, 25–52. [Google Scholar]
- Chalkidis, I.; Androutsopoulos, I.; Michos, A. Extracting contract elements. In Proceedings of the 16th edition of the International Conference on Artificial Intelligence and Law, London, UK, 12–16 June 2017; ACM: New York, NY, USA, 2017; pp. 19–28. [Google Scholar]
- Libal, T.; Pascucci, M. Automated reasoning in normative detachment structures with ideal conditions. In Proceedings of the Seventeenth International Conference on Artificial Intelligence and Law, Montreal, QC, Canada, 17–21 June 2019; pp. 63–72. [Google Scholar]
- Nijssen, S.; Dulfer, D.; Bollen, P.; Rozendaal, J. Meaning Based Structured Legal Code. In Proceedings of the OTM Confederated International Conferences “On the Move to Meaningful Internet Systems”, Rhodes, Greece, 23–28 October 2017; pp. 193–201. [Google Scholar]
- Bulles, J.; Cartigny, B.; Bollen, P. Analyzing the new 2019 dutch environment and planning act. In Proceedings of the OTM Confederated International Conferences “On the Move to Meaningful Internet Systems”, Rhodes, Greece, 23–28 October 2017; pp. 163–172. [Google Scholar]
- Grover, C.; Hachey, B.; Hughson, I.; Korycinski, C. Automatic summarisation of legal documents. In Proceedings of the 9th International Conference on Artificial Intelligence and Law, Edinburgh, UK, 24–28 June 2003; pp. 243–251. [Google Scholar]
- Biagioli, C.; Francesconi, E.; Passerini, A.; Montemagni, S.; Soria, C. Automatic semantics extraction in law documents. In Proceedings of the 10th International Conference on Artificial Intelligence and Law, Bologna, Italy, 6–11 June 2005; pp. 133–140. [Google Scholar]
- Breaux, T.D.; Vail, M.W.; Anton, A.I. Towards regulatory compliance: Extracting rights and obligations to align requirements with regulations. In Proceedings of the 14th IEEE International Requirements Engineering Conference (RE’06), St. Paul, MN, USA, 11–15 September 2006; pp. 49–58. [Google Scholar]
- Wyner, A.Z.; Peters, W.; Katz, D. A Case Study on Legal Case Annotation. In Proceedings of the International Conference on Legal Knowledge and Information Systems (JURIX), Bologna, Italy, 11–13 December 2013; pp. 165–174. [Google Scholar]
- Kiyavitskaya, N.; Zeni, N.; Breaux, T.D.; Antón, A.I.; Cordy, J.R.; Mich, L.; Mylopoulos, J. Automating the extraction of rights and obligations for regulatory compliance. In Proceedings of the International Conference on Conceptual Modeling, Barcelona, Spain, 20–24 October 2008; pp. 154–168. [Google Scholar]
- Gašpar, A.; Seljan, S.; Kučiš, V. Measuring Terminology Consistency in Translated Corpora: Implementation of the Herfindahl-Hirshman Index. Information 2022, 13, 43. [Google Scholar] [CrossRef]
- Amardeilh, F.; Laublet, P.; Minel, J.L. Document annotation and ontology population from linguistic extractions. In Proceedings of the 3rd International Conference on Knowledge Capture, Banff, AB, Canada, 2–5 October 2005; pp. 161–168. [Google Scholar]
- Amato, F.; Mazzeo, A.; Penta, A.; Picariello, A. Building RDF Ontologies from Semi-Structured Legal Documents. In Proceedings of the International Conference on Complex, Intelligent and Software Intensive Systems, Barcelona, Spain, 4–7 March 2008; pp. 997–1002. [Google Scholar]
- Alexy, R.; Rivers, J.; Rivers, P. A Theory of Constitutional Rights; Oxford University Press: Oxford, UK, 2002; Available online: https://books.google.it/books?id=4G1U8JMSJDcC (accessed on 15 July 2022).
- Nardi, J.C.; de Almeida Falbo, R.; Almeida, J.P.A.; Guizzardi, G.; Pires, L.F.; van Sinderen, M.J.; Fonseca, C.M. A commit-ment-based reference ontology for services. Inf. Syst. 2015, 54, 263–288. [Google Scholar] [CrossRef]
- Griffo, C.; Almeida, J.P.A.; Guizzardi, G.; Nardi, J.C. Service contract modeling in enterprise architecture: An ontology-based approach. Inf. Syst. 2021, 101, 101454. [Google Scholar] [CrossRef]
- Griffo, C.; Almeida, J.P.A.; Guizzardi, G.; Nardi, J.C. From an ontology of service contracts to contract modeling in enterprise architecture. In Proceedings of the International Enterprise Distributed Object Computing Conference (EDOC), Quebec City, QC, Canada, 10–13 October 2017; pp. 40–49. [Google Scholar]
- Sleimi, A.; Sannier, N.; Sabetzadeh, M.; Briand, L.; Dann, J. Automated extraction of semantic legal metadata using natural language processing. In Proceedings of the International Requirements Engineering Conference (RE’18), Banff, AB, Canada, 20–24 August 2018; pp. 124–135. [Google Scholar] [CrossRef]
- Governatori, G.; Milosevic, Z. A formal analysis of a business contract language. Int. J. Coop. Inf. Syst. 2006, 15, 659–685. [Google Scholar] [CrossRef] [Green Version]
- Athan, T.; Governatori, G.; Palmirani, M.; Paschke, A.; Wyner, A. LegalRuleML: Design principles and foundations. In Proceedings of the Rea-soning Web International Summer School, Berlin, Germany, 31 July–4 August 2015; pp. 151–188. [Google Scholar]
- Governatori, G. Representing business contracts in RuleML. Int. J. Coop. Inf. Syst. 2005, 14, 181–216. [Google Scholar] [CrossRef] [Green Version]
- Prisacariu, C.; Schneider, G. Abstract specification of legal contracts. In Proceedings of the 12th International Conference on Artificial Intelligence and Law, Barcelona, Spain, 8–12 June 2009; pp. 218–219. [Google Scholar]
- Farmer, W.M.; Hu, Q. FCL: A formal language for writing contracts. In Proceedings of the 4th IEEE International Workshop on Formal Methods Integration—The IEEE FMi 2016, Pittsburgh, PA, USA, 28–30 July 2016; pp. 190–208. [Google Scholar]
- Dalpiaz, F.; Cardoso, E.; Canobbio, G.; Giorgini, P.; Mylopoulos, J. Social specifications of business processes with Azzurra. In Proceedings of the International Conference on Research Challenges in Information Science (RCIS), Athens, Greece, 13–15 May 2015; pp. 7–18. [Google Scholar]
- Soavi, M.; Zeni, N.; Mylopoulos, J.; Mich, L. Contratto—A method for transforming legal contracts into formal specifications. In Proceedings of the International Conference on Research Challenges in Information Science (RCIS), Barcelona, Spain, 17–20 May 2022; pp. 338–353. [Google Scholar]
Measure | Rental Agreement | Freight Agreement | ||
---|---|---|---|---|
Manual | Assisted | Manual | Assisted | |
Recall | 0.47 | 0.75 | 0.31 | 0.40 |
Precision | 0.57 | 0.73 | 0.34 | 0.41 |
Fallout | 0.40 | 0.53 | 0.46 | 0.49 |
Accuracy | 0.51 | 0.71 | 0.40 | 0.47 |
Error | 0.49 | 0.29 | 0.60 | 0.53 |
F-Measure | 0.52 | 0.74 | 0.33 | 0.41 |
Measure | Temporal Condition | Power | Obligation | Situation | ||||
---|---|---|---|---|---|---|---|---|
Manual | Assisted | Manual | Assisted | Manual | Assisted | Manual | Assisted | |
Precision | 0.79 | 1.00 | 0.75 | 0.63 | 0.76 | 0.90 | 0.41 | 0.78 |
Recall | 0.52 | 0.69 | 0.45 | 0.52 | 0.48 | 0.80 | 0.17 | 0.36 |
F-Measure | 0.66 | 0.84 | 0.60 | 0.57 | 0.62 | 0.85 | 0.29 | 0.57 |
Obligations | Powers | |||
---|---|---|---|---|
Measure | ContrattoA 1.0 | ContrattoA 2.0 | ContrattoA 1.0 | ContrattoA 2.0 |
Precision | 93% | 94% | 84% | 90% |
Recall | 25% | 78% | 43% | 74% |
F-measure | 39% | 85% | 57% | 81% |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Soavi, M.; Zeni, N.; Mylopoulos, J.; Mich, L. Semantic Annotation of Legal Contracts with ContrattoA. Informatics 2022, 9, 72. https://doi.org/10.3390/informatics9040072
Soavi M, Zeni N, Mylopoulos J, Mich L. Semantic Annotation of Legal Contracts with ContrattoA. Informatics. 2022; 9(4):72. https://doi.org/10.3390/informatics9040072
Chicago/Turabian StyleSoavi, Michele, Nicola Zeni, John Mylopoulos, and Luisa Mich. 2022. "Semantic Annotation of Legal Contracts with ContrattoA" Informatics 9, no. 4: 72. https://doi.org/10.3390/informatics9040072
APA StyleSoavi, M., Zeni, N., Mylopoulos, J., & Mich, L. (2022). Semantic Annotation of Legal Contracts with ContrattoA. Informatics, 9(4), 72. https://doi.org/10.3390/informatics9040072