<!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>Do Lawyers use Automated Reasoning?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Tomer Libal</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Luxembourg</institution>
          ,
          <country country="LU">Luxembourg</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <abstract>
        <p>Laws must be understood and their application must be explained and justified. As such, they seem to be the perfect use case for (non-classical) automated reasoning. Indeed, there is much academic research in legal knowledge representation and reasoning. Nevertheless, there are no commercial reasoning-based applications, apart from legal expert systems. In this paper, we review some of the problems towards this goal and describe a possible solution.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Automated Reasoning</kwd>
        <kwd>Formal Representation</kwd>
        <kwd>Knowledge Validation</kwd>
        <kwd>Legal Informatics</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Information systems are playing an important role in helping people in a wide range of
tasks, ranging from searching to decision-making.</p>
      <p>
        One area in which such tools can contribute is the legal domain: New court cases
and legislations are accumulated every day. In addition, international organizations like
the European Union are constantly aiming at combining and integrating separate legal
systems [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>
        Approaches for searching over legal texts have long seen commercial success [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. At
the same time, some tools for reasoning over sets of norms have been developed, such as
for business (e.g. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]) and law (e.g. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]). Among the applications of such tools are
legal drafting, consistency checks and for deducing implications [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        The most important application for these tools, though, is for capturing expertise.
Expert systems [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] have been successfully utilized in various domains, among them in
finance [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] and health [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>
        Nevertheless and despite their proven usefulness, expert systems are not widely used
in the legal domain. The main reason for that is the difficulty to capture the expert
knowledge within a computer program [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The two mains reasons for this difficulty are
the requirement to have two domains experts: programmer and knowledge, as well as
the need to transform the knowledge into a form which can be processed by a machine.
An example for the former is the need to have a medical doctor and a programmer for
the creation of a medical expert system, while for the second, the need to transform the
knowledge into rules, in order to be able to present it to the user.
      </p>
      <p>
        The second challenge is especially important as it affects the trust that can be placed
in the expert system. The more processing which is required, the less trust that can be
placed in the knowledge. Even systems which are created with a relatively flexible tool,
such a programming language, suffer from knowledge transformation. In their seminal
paper, Sergot et al. [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] have shown how a legal expert system can be created by using
the Prolog logical programming language. Others (e.g. [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]) have pointed to the various
problems and mainly to the need to further interpret knowledge in a format supported
by the programming language.
      </p>
      <p>
        Both these challenges have been been the focus of research. The need of several domain
experts is dealt with mainly via no-code platforms, such as Neota Logic [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] and Visirule
[
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Nevertheless, they do not solve the second challenge and are therefore hard to
validate and maintain.
      </p>
      <p>
        The second challenge is addressed by providing a richer language in which to capture
knowledge. Such systems are based on a reasoning engine, which tries to emulate actual
legal reasoning, and normally depend on non-classical logics such as Defeasible Deontic
[
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] or Higher-order logics [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
      </p>
      <p>These systems have the potential to overcome the main disadvantages of expert systems.
By utilizing a more sophisticated reasoning engine, they allow for a more compact and
faithful representation of the original legislation, while preserving the main advantages of
expert systems.</p>
      <p>Nevertheless, such systems have enjoyed little commercial success in the legal domain.
The main goal of this paper is to investigate the reasons for that and to
suggest remedies.</p>
      <p>The most obvious shortcoming of such systems is their inability to address the first
challenge. In fact, often, the richer the language is, the higher the need is for several
domain experts.</p>
      <p>
        This usability issue was identified to be one of the main requirement of expert systems
building tools (e.g. [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]). Nevertheless, most such tools fail in achieving this goal [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ].
      </p>
      <p>
        Various attempts have been done in order to make such tools more accessible to legal
practitioners via a more user-friendly interface. Logical English for example [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ], provides
an English based controlled natural language interface, which communicates with the
underlined logic program. The advantage of these approaches is the ability to compile
and test the correctness and quality of the knowledge.
      </p>
      <p>
        Another approach, demonstrated in [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ], is by the use of general formats and languages.
Being of general formats, one can more easily utilize a language which is most suited for
capturing the semantics of legal texts. One disadvantage of this approach is that these
formats do no directly give raise to automated reasoning.
      </p>
      <p>
        A main additional disadvantage of all the approaches above is the lack of tools and
methodologies for asserting the correctness of the logical representations of the legal
texts. A discussion about the need can be found in [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ]1.
1See discussion in Sec. 3.2 in [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ]
      </p>
      <p>
        Among existing validation results, one can find a methodology for building legal
ontologies [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ] and more concretely for building legal knowledge bases, one for validating
formal representations of legal texts [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ].
      </p>
      <p>
        To summarize, the above approaches underline a key issue in legal reasoning and
knowledge representation, which is the tension between the expressiveness of the knowledge and
the efficiency of reasoning over it [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ]. Expressivity refers to the ability of the language
to directly capture the nuances of the target language, which in our case is the legal
language. Being efficient to reason over refers to the ability to use existing and efficient
tools to reason over formulae denoted in this language.
      </p>
      <p>Those approaches which use a programming language as the format for knowledge
representation enjoy efficient reasoning but require a non-trivial translation in order to
capture the nuances of the law. Moreover, while they are often capable of producing a
proof, these proofs are not easily translated into legal arguments. On the other hand,
approaches targeting the legal text directly, do not offer a direct reasoning engine.</p>
      <p>
        In the next section, we focus on this tension and offer a possible solution - the use of
two different languages, one expressive and one efficient - and an automatic bidirectional
translation mechanism between them. This section builds on the works in [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ] and [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ].
The following section describes an implementation of this approach. We then conclude
we a summary of the results and some future work.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Legal Linguistic Templates</title>
      <p>
        This section is based on the meta-level annotations introduced in [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ], which are further
developed into LLTs in the joint work in [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ].
      </p>
      <p>
        As discussed in the previous section, legal formalisms suffer from the tension between
expressiveness and efficient reasoning. This tension is captured by the following three
requirements [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ]:
1. be a faithful representation of what is expressed by the legislation
2. be computationally adequate, i.e. should permit us to make all relevant derivations
by machine
3. be easy to validate and maintain.
      </p>
      <p>
        General and extensible formats such as DAPRECO [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] can clearly achieve point (1)
above. But obtaining point (2) seems challenging. For programming languages, the
opposite is true, as they are computationally adequate by definition. On the other hand,
they require a translation between the original text and the programming language and
might, therefore, not be a faithful representation.
      </p>
      <p>
        Both approaches would struggle with point (3). On the one hand, we expect the
formalization to be certified by a legal expert. On the other, both programming languages
and other formal formats require a programmer or a logician for the encoding. This gives
raise to methodologies for validation such as [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ].
      </p>
      <p>Maintaining the knowledge base requires the ability to track changes in the law and
apply them to the formalization. Any encoding of the law which cannot be easily traced
back to the original text would not be easily maintainable. The maintaining property
can be directly linked to the need of an isomorphic translation, which maps a one-to-one
relation between the original text and its formal version. Such isomorphism allows
mapping back from the formal version to the original version and therefore to identify
the elements in the formalism which would require a change. If the encoding requires a
translation which is not isomorphic to the original text, tracing the result back would
not be trivial.</p>
      <p>It seems then than none of the current systems can support more than one of the
requirements.</p>
      <p>We propose a new approach for defining new systems, which follows the above reasoning.
We identify point (3) above as the one currently not adequately supported by existing
systems. We then propose a solution which meets the requirements of this point and
develop the idea further in order to support the other two points.</p>
      <p>An important point which is not directly covered by the above three points, but which
is often mentioned in discussions with lawyers, is accountability. We consider this point
as closely related to validation, as it qualifies what is a good validation process.</p>
      <p>We will next introduce the basic idea of such an expressive language and claim that it
can both represent faithfully the original text, as well as be easily maintainable.</p>
      <p>We then go on to argue that it satisfies the different required properties.</p>
      <p>If we consider the formalization processes as a function from legal texts to logical
formulae, the maintainability requirement states that this function must be isomorphic.
Given a formula, we should be able to generate the original text.</p>
      <p>It seems that the only possible solution to that is to use a logic which is as expressive as
the original text. This also implies point (1). If the logic is as expressive as the original,
then regenerating the original text amounts to just pretty printing formulae. Using a
logic of lower expressivity would cause any translation into original text to result in some
level of information loss.</p>
      <p>In order to define such a logic, we first need to understand what we try to formalize.
Definition 1 (Legal interpretation). A legal interpretation of a legal text is defined as
the interpretation of a legal expert with regard to a specific context problem. It should be
noted that interpretations are usually subjective and context dependant.</p>
      <p>In order to formalize legal interpretations in a formal language, we propose using the
Legal Linguistic Templates (LLTs) language. This language is a general logical language
and contains an interpreted logical connective for each foundational legal construct.
Examples of such constructs are prohibitions and exceptions. The basic elements of the
language are first-order atoms.</p>
      <p>Using the above language, we can define formal interpretations of legal ones.
Definition 2 (Formal interpretations). Given a legal interpretation L containing n
statements, a formal interpretation for L is a set of n statements over an LLT language.</p>
      <p>
        Before we move forward to the computational adequacy of the LLTs language, we
would like to mention that within the terminology of programming languages [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ], a
formal interpretation can be reduced into an abstract syntax tree over a first-order term
language.
      </p>
      <p>By choosing an LLTs language which is expressive enough to describe a “good” formal
interpretation of a legal text, we seem to go further away from computational adequacy.
We now show that this is not necessarily the case.</p>
      <p>
        We achieve that by following the "shallow semantical embeddings" defined by Benzmüller
[
        <xref ref-type="bibr" rid="ref24">24</xref>
        ]. The basic idea of this approach is to provide “a lean and elegant equational theory
which interprets the syntactical constituents” of logic L (in our case a specific LLTs
language) as terms of another logic M.
      </p>
      <p>If the logic M that we choose is computationally adequate, then we effectively obtain
the computational adequacy of L. This is achieved in practice by applying the shallow
semantical embedding, and then applying software for the computationally adequate
result.</p>
      <p>
        The logic chosen by Benzmüller is Higher-order Logic [29] and the various software
which can be used to reason over the embeddings include Isabelle/HOL [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] and Leo-III
[30].
      </p>
      <p>The LLTs languages we have used so far seems to be too general for the use of shallow
semantical embeddings. We will next generalize the notion of a "shallow semantical
embedding".</p>
      <p>Definition 3 (Embedding functions). An embedding function φ of a logic L into a logic
M, is a total function from L to M.</p>
      <p>Definition 4 (Adequate meta-logics). An adequate meta-logic is a computationally
adequate logic, into which an embedding function from another logic exists.</p>
      <p>For example, first-order logic with negation interpreted as negation-as-failure (NAF)
[31] is computationally adequate as embeddings in this language can be executed in
Prolog [32].</p>
      <p>Assuming that our LLTs language contains a connective for prohibition and another
for exceptions, we can describe the following embedding function into a first-order logic
with NAF.</p>
      <p>• φ(∅) =⇒ ∅
• φ(S ∪ {GeneralProhibition(B)}) =⇒ prohibited(φ({B})) ∪ φ(S)
• φ(S ∪ {Exception(A,B), LabeledStatement(A,C)}) =⇒ {not φ({B})
φ({C})} ∪ φ(S)
⇒
Note that the resulted set denotes a set of first-order formulae. A standard normalization
can be used in order to obtain a logic program where arguments of atoms are universally
quantified on the level of the whole program. The function symbol prohibited is
uninterpreted.</p>
      <p>Having the embedding, we can now use Prolog in order to compute various properties.
To check for violations of the prohibition, for example, one would need to add Prolog
facts and then check if prohibited(_) can be derived.</p>
      <p>The last requirement of a legal formalization language is to have a good validation
process, which can ensure that legal experts be held accountable.</p>
      <p>The approach taken in order to meet this requirement follows a very basic idea in
programming languages, that of a pretty printer [33]. Pretty printing takes a formal
structure, such as an LLT formula, and presents it in a user friendly form.</p>
      <p>While the concept is basic, it turns out to be very powerful in the legal domain. By
printing an LLT formula as a legal statement in English, we effectively translate it back
into the original legislation language. This feature allows a legal expert to compare the
two versions of the legislation - the original and the pretty printed one - and to make a
decision regarding its validity. This decision can be made even when the legal expert
does not have any knowledge in logic and has not participated in the generation of the
LLT formulae.</p>
    </sec>
    <sec id="sec-3">
      <title>3. The LegAi editor - an LLT implementation</title>
      <p>In this section we describe an implementation of the LLTs language. The goal of the
implemented LegAi annotation editor is to support annotating legal texts with LLTs. At
the same time, the editor supports the validation mechanism described earlier in the
paper by providing legal experts with a comparison of the original and generated text.</p>
      <p>The editor can be found online2 and requires a registration. After registration, the
editor displays a message that an email to activate the account must be sent to the code
maintainer, who associates the new user to a specific account with specific rights.</p>
      <p>Once logged in, the user has the ability to paste legal texts into an annotation editor.
The user starts with selecting a sentence they wish to annotate and then a (top-level)
LLT wizard opens. The wizard guides the user in the annotation process, shows the
possible/required LLTs that can/must be nested.</p>
      <p>The LLT language contains one “leaf” LLT, called Atom, which can be instantiated
with all possible vocabulary. The wizard ensures that annotations are always syntactically
correct.</p>
      <p>When selecting a specific vocabulary, the wizard allows selection of all parameters,
according to their type. The user has control over how to generate or choose variables
for the vocabulary and its parameters.</p>
      <p>Once a top-level LLT was created, the user can click on the annotation and see a tree
structure corresponding to the formal version of the text.</p>
      <p>A list of all vocabulary and their associated legal texts appear on a separate tab.</p>
      <p>An example of annotating two simplified articles of the GDPR is shown on the top of
Fig. 1.</p>
      <p>In order to check if an annotation captures correctly the meaning of a legal sentence,
the user can view the formal tree structure, as defined in the previous section and shown
on the middle of the figure.</p>
      <p>Nevertheless, such a formal structure is not easily readable by non-logicians. In order
to rectify that, a feature called reverse translation, which implemented the pretty printer
approach, was added to the editor.</p>
      <p>The reverse translation, which is accessible on a separate tab, generates a legal text
from the formal tree structure. It then places the reversely generated text next to the
original text. The user can then compare the two versions and decide if the formal version
correctly captures the meaning of the original one, as shown on the bottom of the figure.
Since our vocabulary is denoted via first-order terms, each contains both a name and a
set of parameters. In the reverse translation, we display the name only, while hovering
over the text shows all the used parameters.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>In this paper we have considered the creation of formal interpretations of legal texts.
This problem is one of the main ones preventing automated reasoning from being more
utilized and commercialized.</p>
      <p>We have discussed the main current approaches and identified several requirements
which need to be addressed. We then defined a language, called LLTs, which we argue
satisfies all the requirements.</p>
      <p>This language is implemented in an online tool called the LegAi editor, which is briefly
introduced.</p>
      <p>The work done in this paper aims at getting legal experts involved in the creation
of legal knowledge. Towards this goal, we currently collaborate with a German GDPR
consultancy firm. First impressions show that the creation of legal knowledge by a
non-technical legal expert is possible via the annotations editor and wizard. They also
confirm that a comparison tool can help the validation of the formal interpretations and
therefore raise the possibility of accountability.</p>
      <p>Our direct future work is to implement a set of computational tools which can take
advantage of the created formal interpretations. We are currently developing a tool which
can help the different consultants of the firm attain uniformity of legal advice by using
the tool to guide them in the consultancy process.
[29] A. Church, A formulation of the simple theory of types, The journal of symbolic
logic 5 (1940) 56–68.
[30] A. Steen, C. Benzmüller, The higher-order prover leo-iii, in: International Joint</p>
      <p>Conference on Automated Reasoning, Springer, 2018, pp. 108–116.
[31] K. L. Clark, Negation as failure, in: Logic and data bases, Springer, 1978, pp.</p>
      <p>293–322.
[32] A. Colmerauer, An introduction to prolog iii, in: Computational Logic, Springer,
1990, pp. 37–79.
[33] J. Hughes, The design of a pretty-printing library, in: International School on
Advanced Functional Programming, Springer, 1995, pp. 53–96.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>A.-M. Burley</surname>
          </string-name>
          , W. Mattli,
          <article-title>Europe before the court: A political theory of legal integration</article-title>
          ,
          <source>International organization 47</source>
          (
          <year>1993</year>
          )
          <fpage>41</fpage>
          -
          <lpage>76</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D. A.</given-names>
            <surname>Weaver</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Bimber</surname>
          </string-name>
          ,
          <article-title>Finding news stories: a comparison of searches using lexisnexis and google news</article-title>
          ,
          <source>Journalism &amp; Mass Communication Quarterly</source>
          <volume>85</volume>
          (
          <year>2008</year>
          )
          <fpage>515</fpage>
          -
          <lpage>530</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hashmi</surname>
          </string-name>
          , G. Governatori,
          <article-title>Norms modeling constructs of business process compliance management frameworks: a conceptual evaluation</article-title>
          ,
          <source>Artificial Intelligence and Law</source>
          <volume>26</volume>
          (
          <year>2018</year>
          )
          <fpage>251</fpage>
          -
          <lpage>305</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Palmirani</surname>
          </string-name>
          , G. Governatori,
          <article-title>Modelling legal knowledge for gdpr compliance checking</article-title>
          .,
          <source>in: JURIX</source>
          , volume
          <volume>313</volume>
          ,
          <year>2018</year>
          , pp.
          <fpage>101</fpage>
          -
          <lpage>110</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>T.</given-names>
            <surname>Libal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Pascucci</surname>
          </string-name>
          ,
          <article-title>Automated reasoning in normative detachment structures with ideal conditions</article-title>
          ,
          <source>in: Proceedings of the Seventeenth International Conference on Artificial Intelligence and Law</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>63</fpage>
          -
          <lpage>72</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>H.</given-names>
            <surname>Prakken</surname>
          </string-name>
          , G. Sartor,
          <article-title>Law and logic: A review from an argumentation perspective</article-title>
          ,
          <source>Artificial intelligence 227</source>
          (
          <year>2015</year>
          )
          <fpage>214</fpage>
          -
          <lpage>245</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>D. A.</given-names>
            <surname>Waterman</surname>
          </string-name>
          ,
          <article-title>A guide to expert systems, Addison-Wesley Longman Publishing Co</article-title>
          ., Inc.,
          <year>1985</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>N.</given-names>
            <surname>Connell</surname>
          </string-name>
          ,
          <article-title>Expert systems in accountancy: a review of some recent applications</article-title>
          ,
          <source>Accounting and Business Research</source>
          <volume>17</volume>
          (
          <year>1987</year>
          )
          <fpage>221</fpage>
          -
          <lpage>233</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Durkin</surname>
          </string-name>
          ,
          <article-title>Expert systems: a view of the field</article-title>
          ,
          <source>IEEE Intelligent Systems</source>
          <volume>11</volume>
          (
          <year>1996</year>
          )
          <fpage>56</fpage>
          -
          <lpage>63</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>K. L. McGraw</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Harbison-Briggs</surname>
          </string-name>
          ,
          <article-title>Knowledge acquisition: Principles and guidelines</article-title>
          , Prentice-Hall, Inc.,
          <year>1989</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>M. J. Sergot</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Sadri</surname>
            ,
            <given-names>R. A.</given-names>
          </string-name>
          <string-name>
            <surname>Kowalski</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Kriwaczek</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Hammond</surname>
          </string-name>
          , H. T. Cory,
          <article-title>The british nationality act as a logic program</article-title>
          ,
          <source>Communications of the ACM</source>
          <volume>29</volume>
          (
          <year>1986</year>
          )
          <fpage>370</fpage>
          -
          <lpage>386</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>P.</given-names>
            <surname>Leith</surname>
          </string-name>
          ,
          <article-title>Fundamental errors in legal logic programming</article-title>
          ,
          <source>The Computer Journal</source>
          <volume>29</volume>
          (
          <year>1986</year>
          )
          <fpage>545</fpage>
          -
          <lpage>552</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>M.</given-names>
            <surname>Mills</surname>
          </string-name>
          ,
          <article-title>Artificial intelligence in law: The state of play 2016, Thomson Reuters Legal executive Institute (</article-title>
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>C.</given-names>
            <surname>Langley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Spenser</surname>
          </string-name>
          , Visirule tutorial,
          <source>Copyright (c)</source>
          (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>D.</given-names>
            <surname>Nute</surname>
          </string-name>
          ,
          <article-title>Defeasible deontic logic</article-title>
          , volume
          <volume>263</volume>
          ,
          <string-name>
            <surname>Springer</surname>
            <given-names>Science</given-names>
          </string-name>
          &amp; Business
          <string-name>
            <surname>Media</surname>
          </string-name>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>T.</given-names>
            <surname>Nipkow</surname>
          </string-name>
          , M. Wenzel, L. C. Paulson, Isabelle/HOL:
          <article-title>a proof assistant for higherorder logic</article-title>
          , Springer,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>T.</given-names>
            <surname>Novotná</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Libal</surname>
          </string-name>
          ,
          <article-title>An evaluation of methodologies for legal formalization</article-title>
          , in: International Workshop on Explainable, Transparent Autonomous Agents and
          <string-name>
            <surname>Multi-Agent</surname>
            <given-names>Systems</given-names>
          </string-name>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>189</fpage>
          -
          <lpage>203</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>M.</given-names>
            <surname>Soavi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Zeni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mylopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Mich</surname>
          </string-name>
          ,
          <article-title>From legal contracts to formal specifications: A systematic literature review</article-title>
          ,
          <source>SN Computer Science</source>
          <volume>3</volume>
          (
          <year>2022</year>
          )
          <fpage>1</fpage>
          -
          <lpage>25</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>R.</given-names>
            <surname>Kowalski</surname>
          </string-name>
          ,
          <article-title>Logical english</article-title>
          ,
          <source>Proceedings of Logic and Practice of Programming (LPOP)</source>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>L.</given-names>
            <surname>Robaldo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bartolini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Palmirani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rossi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Martoni</surname>
          </string-name>
          , G. Lenzini,
          <article-title>Formalizing gdpr provisions in reified i/o logic: the dapreco knowledge base</article-title>
          ,
          <source>Journal of Logic, Language and Information</source>
          <volume>29</volume>
          (
          <year>2020</year>
          )
          <fpage>401</fpage>
          -
          <lpage>449</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>T.</given-names>
            <surname>Libal</surname>
          </string-name>
          ,
          <article-title>Towards automated gdpr compliance checking</article-title>
          ,
          <source>in: International Workshop on the Foundations of Trustworthy AI Integrating Learning, Optimization and Reasoning</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>3</fpage>
          -
          <lpage>19</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>M.</given-names>
            <surname>Mockus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Palmirani</surname>
          </string-name>
          ,
          <article-title>Legal ontology for open government data mashups, in: 2017 Conference for E-Democracy and Open Government (CeDEM)</article-title>
          , IEEE,
          <year>2017</year>
          , pp.
          <fpage>113</fpage>
          -
          <lpage>124</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>C.</given-names>
            <surname>Bartolini</surname>
          </string-name>
          , G. Lenzini,
          <string-name>
            <given-names>C.</given-names>
            <surname>Santos</surname>
          </string-name>
          ,
          <article-title>An interdisciplinary methodology to validate formal representations of legal text applied to the gdpr (</article-title>
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>C.</given-names>
            <surname>Benzmüller</surname>
          </string-name>
          ,
          <article-title>Universal (meta-) logical reasoning: Recent successes</article-title>
          ,
          <source>Science of Computer Programming</source>
          <volume>172</volume>
          (
          <year>2019</year>
          )
          <fpage>48</fpage>
          -
          <lpage>62</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>T.</given-names>
            <surname>Libal</surname>
          </string-name>
          ,
          <article-title>A meta-level annotation language for legal texts</article-title>
          ,
          <source>in: International Conference on Logic and Argumentation</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>131</fpage>
          -
          <lpage>150</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>A.</given-names>
            <surname>Abidi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Libal</surname>
          </string-name>
          ,
          <article-title>A validation process for a legal formalization method</article-title>
          ,
          <source>in: Workshop on Methodologies for Translating Legal Norms into Formal Representations</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>T.</given-names>
            <surname>Routen</surname>
          </string-name>
          ,
          <string-name>
            <surname>T.</surname>
          </string-name>
          Bench-Capon,
          <article-title>Hierarchical formalizations</article-title>
          ,
          <source>International Journal of Man-Machine Studies</source>
          <volume>35</volume>
          (
          <year>1991</year>
          )
          <fpage>69</fpage>
          -
          <lpage>93</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>B. C.</given-names>
            <surname>Pierce</surname>
          </string-name>
          ,
          <article-title>Types and programming languages</article-title>
          , MIT press,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>