SlideShare a Scribd company logo
Enabling Reasoning with
LegalRuleML
Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
RuleML 2016, presented by Guido Governatori
www.data61.csiro.au
Background
• Certain requirements needs to be fulfilled
Isomorphism
Reification (such as
Jurisdiction, Authority, and
Temporal properties)
Rule semantics
Rule validity
Defeasibility and Conflicts
resolutions
Normative effects (such as
Obligation, Permission,
Prohibition, etc) and their
persistence
. . .
2 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Background
• Certain requirements needs to be fulfilled
Isomorphism
Reification (such as
Jurisdiction, Authority, and
Temporal properties)
Rule semantics
Rule validity
Defeasibility and Conflicts
resolutions
Normative effects (such as
Obligation, Permission,
Prohibition, etc) and their
persistence
. . .
• Existing formalisms such as LKIF, ConDec, ContractLog,
RuleML lack the support to fulfill such requirements
2 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Background
• Certain requirements needs to be fulfilled
Isomorphism
Reification (such as
Jurisdiction, Authority, and
Temporal properties)
Rule semantics
Rule validity
Defeasibility and Conflicts
resolutions
Normative effects (such as
Obligation, Permission,
Prohibition, etc) and their
persistence
. . .
• Existing formalisms such as LKIF, ConDec, ContractLog,
RuleML lack the support to fulfill such requirements
⇒LegalRuleML
2 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
A Sample Contract
Section 1: (Policy of Price)
1.1 A “Premium Customer” is a customer who has spent
more than $10000 in goods. Premium Customers are
entitled a 5% discount on new orders.
1.2 Goods marked as “Special Order” are subject to a 5%
surcharge. Premium customers are exempt from special
order surcharge.
1.3 . . . . . .
Section 2: (Purchase Order)
2.1 The purchaser shall follow the supplier price lists on the
supplier’s website.
2.2 The purchaser shall present supplier with a purchase order
for the provision of goods within 7 days of the
commencement date.
2.3 . . . . . .
3 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML
• A rule interchange language
proposed by OASIS
• Extends RuleML with features
specific to legal domain
• Bridge the gap between natural
language description and
semantic norms
• Allows for modelling various
laws, rules and regulations into
machine readable format
Association(s)
Context
Metadata
Statements
LegalRuleML Document
4 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML (cont.)
• Provides support to
model normative effects
capture conflicting norms without making the set of rules
inconsistent.
prioritize norms in case both of them becomes applicable
norms that compensate the violation of other norms
• Similar to that of Defeasible Logic
5 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Defeasible Logic (DL)
• Rule-base, without disjunction
r : A(r) → C(r)
where
r is the unique identifier of the rule
A(r) = a1, · · · , an the antecedent of the rule (where ai is a
literal)
→= { →, ⇒, } denotes the type of the rule (→=strict rule,
⇒=defeasible rule, and =defeater)
C(r) the consequent (or head) of the rule
• Classical negation is used in the heads and bodies of rules
Negation-as-failure is NOT used but can be emulated
• Rules may support conflicting conclusions
• Direct Skeptical: conflicting rules do not fire
consistency is preserved
• Priorities on rules (superiority relation) may be used to resolve
some conflicts among rules
6 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Defeasible Logic (cont.)
• Constructive proof theory
• Flexible and computationally efficient
linear w.r.t. the number of literals
• Many extensions and applications
policy-based intention
e-contracts analysis and monitoring
web service composition
. . .
7 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Modal Defeasible Logic (MDL)
• Extension of DL with the support of modal operators
8 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Modal Defeasible Logic (MDL)
• Extension of DL with the support of modal operators
• The language consists of:
a set PROP of propositional atoms
Lit = PROP ∪ { ¬p | p ∈ PROP } represents a set of literals
If q is literal (∼q is its complement)
– if q is a positive literal p, then ∼q is ¬p
– if q is ¬p, then ∼q is p
MOD denotes a set of model operators
8 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Modal Defeasible Logic (MDL)
• Extension of DL with the support of modal operators
• The language consists of:
a set PROP of propositional atoms
Lit = PROP ∪ { ¬p | p ∈ PROP } represents a set of literals
If q is literal (∼q is its complement)
– if q is a positive literal p, then ∼q is ¬p
– if q is ¬p, then ∼q is p
MOD denotes a set of model operators
• Introduced the concept of contrary-to-duty obligation in the
head of the rule
For an expression a ⊗ b, the intuitive reading is that
if a is possible, then a is the first choice and b is the second
one;
if ¬a holds, i.e., a is violated, then b is the actual choice.
8 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
• LegalRuleML is inherited from RuleML
i.e., elements related to RuleML can be done using the
mapping provided in (Governatori, 2005)
9 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
• LegalRuleML is inherited from RuleML
i.e., elements related to RuleML can be done using the
mapping provided in (Governatori, 2005)
• For instance, the following LegalRuleML code can be
transformed into the literal pay(Purchaser, Supplier)
1 <ruleml:Atom key=":atom109">
2 <ruleml:Rel iri="pay"/>
3 <ruleml:Ind>Purchaser</ruleml:Ind>
4 <ruleml:Ind>Supplier</ruleml:Ind>
5 </ruleml:Atom>
9 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Statements
Type of Statements in LegalRuleML
StatementsNorm
Statements
Constitutive
Statements
Prescriptive
Statements
Violation-Reparation
Statements
Reparation
Statements
Penalty
Statements
Factual
Statement
Override
Statement
10 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Statements
Type of Statements in LegalRuleML
StatementsNorm
Statements
Constitutive
Statements
Prescriptive
Statements
Violation-Reparation
Statements
Reparation
Statements
Penalty
Statements
Factual
Statement
Override
Statement
which correspond to DL elements
LegalRuleML DL
Factual Statement Fact
Constitutive Statement Strict rule
Prescriptive Statement Defeasible rule
Override Statement Superiority relation
Violation-Reparation Statement describe later
10 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Statements
An Example
1 <lrml:PrescriptievStatement key="r1">
2 <ruleml:Rule key=":ruletemplate1">
3 <ruleml:if>
4 <ruleml:And>
5 <ruleml:Atom key=":atom2">
6 <ruleml:Rel iri=":specialOrder"/>
7 <ruleml:Ind>X</ruleml:Ind>
8 </ruleml:Atom>
9 </ruleml:And>
10 </ruleml:if>
11 <ruleml:then>
12 <lrml:Obligation>
13 <ruleml:Atom key=":atom3">
14 <ruleml:Rel iri=":surcharge"/>
15 <ruleml:Ind>X</ruleml:Ind>
16 </ruleml:Atom>
17 </lrml:Obligation>
18 </ruleml:then>
19 </ruleml:Rule>
20 </lrml:PrescriptievStatement>
11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Statements
An Example
1 <lrml:PrescriptievStatement key="r1">
2 <ruleml:Rule key=":ruletemplate1">
3 <ruleml:if>
4 <ruleml:And>
5 <ruleml:Atom key=":atom2">
6 <ruleml:Rel iri=":specialOrder"/>
7 <ruleml:Ind>X</ruleml:Ind>
8 </ruleml:Atom>
9 </ruleml:And>
10 </ruleml:if>
11 <ruleml:then>
12 <lrml:Obligation>
13 <ruleml:Atom key=":atom3">
14 <ruleml:Rel iri=":surcharge"/>
15 <ruleml:Ind>X</ruleml:Ind>
16 </ruleml:Atom>
17 </lrml:Obligation>
18 </ruleml:then>
19 </ruleml:Rule>
20 </lrml:PrescriptievStatement>
rule label r1
11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Statements
An Example
1 <lrml:PrescriptievStatement key="r1">
2 <ruleml:Rule key=":ruletemplate1">
3 <ruleml:if>
4 <ruleml:And>
5 <ruleml:Atom key=":atom2">
6 <ruleml:Rel iri=":specialOrder"/>
7 <ruleml:Ind>X</ruleml:Ind>
8 </ruleml:Atom>
9 </ruleml:And>
10 </ruleml:if>
11 <ruleml:then>
12 <lrml:Obligation>
13 <ruleml:Atom key=":atom3">
14 <ruleml:Rel iri=":surcharge"/>
15 <ruleml:Ind>X</ruleml:Ind>
16 </ruleml:Atom>
17 </lrml:Obligation>
18 </ruleml:then>
19 </ruleml:Rule>
20 </lrml:PrescriptievStatement>
rule label r1rule type
defeasible rule
11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Statements
An Example
1 <lrml:PrescriptievStatement key="r1">
2 <ruleml:Rule key=":ruletemplate1">
3 <ruleml:if>
4 <ruleml:And>
5 <ruleml:Atom key=":atom2">
6 <ruleml:Rel iri=":specialOrder"/>
7 <ruleml:Ind>X</ruleml:Ind>
8 </ruleml:Atom>
9 </ruleml:And>
10 </ruleml:if>
11 <ruleml:then>
12 <lrml:Obligation>
13 <ruleml:Atom key=":atom3">
14 <ruleml:Rel iri=":surcharge"/>
15 <ruleml:Ind>X</ruleml:Ind>
16 </ruleml:Atom>
17 </lrml:Obligation>
18 </ruleml:then>
19 </ruleml:Rule>
20 </lrml:PrescriptievStatement>
rule label r1rule type
defeasible rule
rule body specialOrder(X)
11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Statements
An Example
1 <lrml:PrescriptievStatement key="r1">
2 <ruleml:Rule key=":ruletemplate1">
3 <ruleml:if>
4 <ruleml:And>
5 <ruleml:Atom key=":atom2">
6 <ruleml:Rel iri=":specialOrder"/>
7 <ruleml:Ind>X</ruleml:Ind>
8 </ruleml:Atom>
9 </ruleml:And>
10 </ruleml:if>
11 <ruleml:then>
12 <lrml:Obligation>
13 <ruleml:Atom key=":atom3">
14 <ruleml:Rel iri=":surcharge"/>
15 <ruleml:Ind>X</ruleml:Ind>
16 </ruleml:Atom>
17 </lrml:Obligation>
18 </ruleml:then>
19 </ruleml:Rule>
20 </lrml:PrescriptievStatement>
rule label r1rule type
defeasible rule
rule body specialOrder(X)
rule head OBLsurcharge(X)
11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Statements
An Example
1 <lrml:PrescriptievStatement key="r1">
2 <ruleml:Rule key=":ruletemplate1">
3 <ruleml:if>
4 <ruleml:And>
5 <ruleml:Atom key=":atom2">
6 <ruleml:Rel iri=":specialOrder"/>
7 <ruleml:Ind>X</ruleml:Ind>
8 </ruleml:Atom>
9 </ruleml:And>
10 </ruleml:if>
11 <ruleml:then>
12 <lrml:Obligation>
13 <ruleml:Atom key=":atom3">
14 <ruleml:Rel iri=":surcharge"/>
15 <ruleml:Ind>X</ruleml:Ind>
16 </ruleml:Atom>
17 </lrml:Obligation>
18 </ruleml:then>
19 </ruleml:Rule>
20 </lrml:PrescriptievStatement>
rule label r1rule type
defeasible rule
rule body specialOrder(X)
rule head OBLsurcharge(X)
r1 : specialOrder(X) ⇒ OBLsurcharge(X)
11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Statements
Some notes:
• Penalty statements is essentially a list of deontic literals that
can be appended to the head of the rule(s) concerned using
⊗-expression based on the key referenced by the
corresponding Reparation statements.
12 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Statements
Some notes:
• Penalty statements is essentially a list of deontic literals that
can be appended to the head of the rule(s) concerned using
⊗-expression based on the key referenced by the
corresponding Reparation statements.
• The same penalty statement may applies to many different
prescriptive statements, as described in the Reparation
statements.
12 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Other constructs
However,
• Some elements in LegalRuleML are not that intuitive
• For instance, LegalRuleML provides two elements to
determine whether an obligation or a prohibition of an object
has been fulfilled (<lrml:Compliance>) or violated
(<lrml:Violation>)
Definition
• A compliance is an indication that an obligation has been
fulfilled or a prohibition has not been violated.
• A violation is an indication that an obligation or prohibition
has been violated.
13 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Compliance and Violation
1 <lrml:PrescriptiveStatement key="ps2">
2 <ruleml:Rule key=":ruletemplate2">
3 <ruleml:if>
4 <ruleml:And key=":and1">
5 <lrml:Violation keyref="#item3"/>
6 <lrml:Permission>
7 <ruleml:Atom key=":atom4">
8 <ruleml:Rel iri=":rel1"/>
9 <ruleml:Ind>X</ruleml:Ind>
10 </ruleml:Atom>
11 </lrml:Permission>
12 <lrml:Obligation key="oblig1">
13 <ruleml:Atom key=":atom5">
14 <ruleml:Rel iri=":rel2"/>
15 <ruleml:Ind>X</ruleml:Ind>
16 </ruleml:Atom>
17 </lrml:Obligation>
18 </ruleml:And>
19 </ruleml:if>
20 . . .
14 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Compliance and Violation
1 <lrml:PrescriptiveStatement key="ps2">
2 <ruleml:Rule key=":ruletemplate2">
3 <ruleml:if>
4 <ruleml:And key=":and1">
5 <lrml:Violation keyref="#item3"/>
6 <lrml:Permission>
7 <ruleml:Atom key=":atom4">
8 <ruleml:Rel iri=":rel1"/>
9 <ruleml:Ind>X</ruleml:Ind>
10 </ruleml:Atom>
11 </lrml:Permission>
12 <lrml:Obligation key="oblig1">
13 <ruleml:Atom key=":atom5">
14 <ruleml:Rel iri=":rel2"/>
15 <ruleml:Ind>X</ruleml:Ind>
16 </ruleml:Atom>
17 </lrml:Obligation>
18 </ruleml:And>
19 </ruleml:if>
20 . . .
14 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Compliance and Violation
1 <lrml:PrescriptiveStatement key="ps2">
2 <ruleml:Rule key=":ruletemplate2">
3 <ruleml:if>
4 <ruleml:And key=":and1">
5 <lrml:Violation keyref="#item3"/>
6 <lrml:Permission>
7 <ruleml:Atom key=":atom4">
8 <ruleml:Rel iri=":rel1"/>
9 <ruleml:Ind>X</ruleml:Ind>
10 </ruleml:Atom>
11 </lrml:Permission>
12 <lrml:Obligation key="oblig1">
13 <ruleml:Atom key=":atom5">
14 <ruleml:Rel iri=":rel2"/>
15 <ruleml:Ind>X</ruleml:Ind>
16 </ruleml:Atom>
17 </lrml:Obligation>
18 </ruleml:And>
19 </ruleml:if>
20 . . .
• need to determine whether
the object with key=item3
has been violated or not
14 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
– Compliance and Violation
1 <lrml:PrescriptiveStatement key="ps2">
2 <ruleml:Rule key=":ruletemplate2">
3 <ruleml:if>
4 <ruleml:And key=":and1">
5 <lrml:Violation keyref="#item3"/>
6 <lrml:Permission>
7 <ruleml:Atom key=":atom4">
8 <ruleml:Rel iri=":rel1"/>
9 <ruleml:Ind>X</ruleml:Ind>
10 </ruleml:Atom>
11 </lrml:Permission>
12 <lrml:Obligation key="oblig1">
13 <ruleml:Atom key=":atom5">
14 <ruleml:Rel iri=":rel2"/>
15 <ruleml:Ind>X</ruleml:Ind>
16 </ruleml:Atom>
17 </lrml:Obligation>
18 </ruleml:And>
19 </ruleml:if>
20 . . .
• need to determine whether
the object with key=item3
has been violated or not
• Two cases: when item3 is
(i) a literal
(ii) a rule
14 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
Case 1 [Element as literal] Assume that p is element
that item3 refers to, from the code above we have:
ps2 : PERrel1, OBLrel2, violate(p) ⇒ C(ps2)
15 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
Case 1 [Element as literal] Assume that p is element
that item3 refers to, from the code above we have:
ps2 : PERrel1, OBLrel2, violate(p) ⇒ C(ps2)
Some observations:
• The case where item3 is a literal is simple. It can be
appended to the body as a precondition to activate the rule
using the table below:
q OBLq FORq
Compliance q OBLq, q FORq, ¬q
Violation ¬q OBLq, ¬q FORq, q
15 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
Case 1 [Element as literal] Assume that p is element
that item3 refers to, from the code above we have:
ps2 : PERrel1, OBLrel2, violate(p) ⇒ C(ps2)
Some observations:
• The case where item3 is a literal is simple. It can be
appended to the body as a precondition to activate the rule
using the table below:
q OBLq FORq
Compliance q OBLq, q FORq, ¬q
Violation ¬q OBLq, ¬q FORq, q
• i.e., if p = OBLq, then the above rule becomes:
ps2 : PERrel1, OBLrel2, OBLq, ¬q ⇒ C(ps2)
15 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
Case 2 [Element as Rule] In case of violation, we need to verify
whether referenced rule is either:
• inapplicable such that there a non-provable literal in the
antecedent of the rule
16 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
Case 2 [Element as Rule] In case of violation, we need to verify
whether referenced rule is either:
• inapplicable such that there a non-provable literal in the
antecedent of the rule
• the immediate consequents of the rule is defeated or overruled
by a conflicting conclusion.
16 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
Definition (Rule Status)
Let D = (F, R, >) be a defeasible theory, let Σ be the language of
D. For every r ∈ Rb, rc denotes the rule referenced by the element
We define verifyBody(D) = (F, R , > ) where:
R = R  Rd ∪ { r+
c : A(rc) ⇒ inf (rc),
−
c : ⇒ ¬inf (rc),
r−
cv : ¬inf (rc) ⇒ violation(rc),
r+
cc : inf (rc), comply(C(rc, 1)) ⇒ compliance(rc),
r+
cv : inf (rc), violate(C(rc, 1)) ⇒ violation(rc),
> => ∪ { r+
c > r−
c }
17 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
• For each rc, inf (rc), ¬inf (rc), compliance(rc) and
violation(rc) are new atoms not in the language of the
defeasible theory.
18 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
• For each rc, inf (rc), ¬inf (rc), compliance(rc) and
violation(rc) are new atoms not in the language of the
defeasible theory.
• inf (rc) and ¬inf (rc) determine whether a rule is in force.
18 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
• For each rc, inf (rc), ¬inf (rc), compliance(rc) and
violation(rc) are new atoms not in the language of the
defeasible theory.
• inf (rc) and ¬inf (rc) determine whether a rule is in force.
• If rc is in force, then we verify whether:
18 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
• For each rc, inf (rc), ¬inf (rc), compliance(rc) and
violation(rc) are new atoms not in the language of the
defeasible theory.
• inf (rc) and ¬inf (rc) determine whether a rule is in force.
• If rc is in force, then we verify whether:
the first literal that appears at the head of rc is compliant i.e.,
compliance(rc ) or
18 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
LegalRuleML to MDL Mapping
• For each rc, inf (rc), ¬inf (rc), compliance(rc) and
violation(rc) are new atoms not in the language of the
defeasible theory.
• inf (rc) and ¬inf (rc) determine whether a rule is in force.
• If rc is in force, then we verify whether:
the first literal that appears at the head of rc is compliant i.e.,
compliance(rc ) or
rc is violated i.e., violated(rc )
18 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Conclusions
• We proposed a mapping of legal norms represented using
LegalRuleML into DL
19 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Conclusions
• We proposed a mapping of legal norms represented using
LegalRuleML into DL
• With current LegalRuleML specifications, strange results
might appear if an element <lrml:violation> (or
<lrml:compliance>) appears at the head of a
statement—additional restrictions are required.
19 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Conclusions
• We proposed a mapping of legal norms represented using
LegalRuleML into DL
• With current LegalRuleML specifications, strange results
might appear if an element <lrml:violation> (or
<lrml:compliance>) appears at the head of a
statement—additional restrictions are required.
• The real impedance is the lack of dedicated and reliable
infrastructure
19 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Conclusions
• We proposed a mapping of legal norms represented using
LegalRuleML into DL
• With current LegalRuleML specifications, strange results
might appear if an element <lrml:violation> (or
<lrml:compliance>) appears at the head of a
statement—additional restrictions are required.
• The real impedance is the lack of dedicated and reliable
infrastructure
• As future work, we are planning to incorporate the presented
approach into some smart-contract enabled systems
19 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
Questions?
20 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
References
Antoniou, Grigoris et al. (2001). “Representation Results for Defeasible Logic”.
In: ACM Transactions on Computational Logic 2.2, pp. 255–286.
Gordon, Thomas F., Guido Governatori and Antonino Rotolo (2009). “Rules and
Norms: Requirements for Rule Interchange Languages in the Legal Domain”.
In: RuleML’09. Springer Heidelberg, pp. 282–296.
Governatori, Guido (2005). “Representing Business Contracts in RuleML”. In:
International Journal of Cooperative Information Systems 14.2–3, pp. 181–216.
Nute, Donald (2001). “Defeasible logic: Theory, Implementation and
Applications”. In: Proceedings of the 14th International Conference on
Applications of Prolog (INAP 2001). Springer, Berlin, pp. 151–169.
21 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield

More Related Content

Similar to Enabling Reasoning with LegalRuleML

Rule Responder Nccu Taipei Mar2008 Talk [Compatibility Mode]
Rule Responder Nccu Taipei Mar2008 Talk [Compatibility Mode]Rule Responder Nccu Taipei Mar2008 Talk [Compatibility Mode]
Rule Responder Nccu Taipei Mar2008 Talk [Compatibility Mode]
yuhana
 
Four ways to represent computer executable rules
Four ways to represent computer executable rulesFour ways to represent computer executable rules
Four ways to represent computer executable rules
Jeff Long
 
Semantic Complex Event Processing with Reaction RuleML 1.0 and Prova 3.0
Semantic Complex Event Processing with Reaction RuleML 1.0 and Prova 3.0Semantic Complex Event Processing with Reaction RuleML 1.0 and Prova 3.0
Semantic Complex Event Processing with Reaction RuleML 1.0 and Prova 3.0
Adrian Paschke
 
Philip kuxbrl2013
Philip kuxbrl2013Philip kuxbrl2013
Philip kuxbrl2013
Philip Elsas
 
【DL輪読会】Scaling Laws for Neural Language Models
【DL輪読会】Scaling Laws for Neural Language Models【DL輪読会】Scaling Laws for Neural Language Models
【DL輪読会】Scaling Laws for Neural Language Models
Deep Learning JP
 
The RuleML Perspective on Reaction Rule Standards
The RuleML Perspective on Reaction Rule StandardsThe RuleML Perspective on Reaction Rule Standards
The RuleML Perspective on Reaction Rule Standards
Adrian Paschke
 
RuleML2015: Explanation of proofs of regulatory (non-)complianceusing semanti...
RuleML2015: Explanation of proofs of regulatory (non-)complianceusing semanti...RuleML2015: Explanation of proofs of regulatory (non-)complianceusing semanti...
RuleML2015: Explanation of proofs of regulatory (non-)complianceusing semanti...
RuleML
 
Explanation of Proofs of Regulatory (Non-)Compliance Using Semantic Vocabularies
Explanation of Proofs of Regulatory (Non-)Compliance Using Semantic VocabulariesExplanation of Proofs of Regulatory (Non-)Compliance Using Semantic Vocabularies
Explanation of Proofs of Regulatory (Non-)Compliance Using Semantic Vocabularies
Dr.-Ing. Sagar Sunkle
 
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM France Lab
 
RuleML2015 - Tutorial - Powerful Practical Semantic Rules in Rulelog - Funda...
RuleML2015 - Tutorial -  Powerful Practical Semantic Rules in Rulelog - Funda...RuleML2015 - Tutorial -  Powerful Practical Semantic Rules in Rulelog - Funda...
RuleML2015 - Tutorial - Powerful Practical Semantic Rules in Rulelog - Funda...
RuleML
 
LFA-NPG-Paper.pdf
LFA-NPG-Paper.pdfLFA-NPG-Paper.pdf
LFA-NPG-Paper.pdf
harinsrikanth
 
Droolsand Rule Based Systems 2008 Srping
Droolsand Rule Based Systems 2008 SrpingDroolsand Rule Based Systems 2008 Srping
Droolsand Rule Based Systems 2008 Srping
Srinath Perera
 
Implementing information federation
Implementing information federationImplementing information federation
Implementing information federation
Cory Casanave
 
A versatile and efficient framework
A versatile and efficient frameworkA versatile and efficient framework
A versatile and efficient framework
meena2015
 
ICPW2007.Paschke
ICPW2007.PaschkeICPW2007.Paschke
ICPW2007.Paschke
pragmaticweb
 
Ruleby
RulebyRuleby
Ruleby
testflyjets
 
XBRL in Oracle 11i and R12
XBRL in Oracle 11i and R12XBRL in Oracle 11i and R12
XBRL in Oracle 11i and R12
Mahesh Vallampati
 
Multi-data-types Interval Decision Diagrams for XACML Evaluation Engine
Multi-data-types Interval Decision Diagrams for XACML Evaluation EngineMulti-data-types Interval Decision Diagrams for XACML Evaluation Engine
Multi-data-types Interval Decision Diagrams for XACML Evaluation Engine
Canh Ngo
 
GRA, NIEM and XACML Security Profiles July 2012
GRA, NIEM and XACML Security Profiles July 2012GRA, NIEM and XACML Security Profiles July 2012
GRA, NIEM and XACML Security Profiles July 2012
Bizagi Inc
 
Agent Reasoning For Norm Compliance A Semantic Approach
Agent Reasoning For Norm Compliance  A Semantic ApproachAgent Reasoning For Norm Compliance  A Semantic Approach
Agent Reasoning For Norm Compliance A Semantic Approach
Amy Cernava
 

Similar to Enabling Reasoning with LegalRuleML (20)

Rule Responder Nccu Taipei Mar2008 Talk [Compatibility Mode]
Rule Responder Nccu Taipei Mar2008 Talk [Compatibility Mode]Rule Responder Nccu Taipei Mar2008 Talk [Compatibility Mode]
Rule Responder Nccu Taipei Mar2008 Talk [Compatibility Mode]
 
Four ways to represent computer executable rules
Four ways to represent computer executable rulesFour ways to represent computer executable rules
Four ways to represent computer executable rules
 
Semantic Complex Event Processing with Reaction RuleML 1.0 and Prova 3.0
Semantic Complex Event Processing with Reaction RuleML 1.0 and Prova 3.0Semantic Complex Event Processing with Reaction RuleML 1.0 and Prova 3.0
Semantic Complex Event Processing with Reaction RuleML 1.0 and Prova 3.0
 
Philip kuxbrl2013
Philip kuxbrl2013Philip kuxbrl2013
Philip kuxbrl2013
 
【DL輪読会】Scaling Laws for Neural Language Models
【DL輪読会】Scaling Laws for Neural Language Models【DL輪読会】Scaling Laws for Neural Language Models
【DL輪読会】Scaling Laws for Neural Language Models
 
The RuleML Perspective on Reaction Rule Standards
The RuleML Perspective on Reaction Rule StandardsThe RuleML Perspective on Reaction Rule Standards
The RuleML Perspective on Reaction Rule Standards
 
RuleML2015: Explanation of proofs of regulatory (non-)complianceusing semanti...
RuleML2015: Explanation of proofs of regulatory (non-)complianceusing semanti...RuleML2015: Explanation of proofs of regulatory (non-)complianceusing semanti...
RuleML2015: Explanation of proofs of regulatory (non-)complianceusing semanti...
 
Explanation of Proofs of Regulatory (Non-)Compliance Using Semantic Vocabularies
Explanation of Proofs of Regulatory (Non-)Compliance Using Semantic VocabulariesExplanation of Proofs of Regulatory (Non-)Compliance Using Semantic Vocabularies
Explanation of Proofs of Regulatory (Non-)Compliance Using Semantic Vocabularies
 
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
 
RuleML2015 - Tutorial - Powerful Practical Semantic Rules in Rulelog - Funda...
RuleML2015 - Tutorial -  Powerful Practical Semantic Rules in Rulelog - Funda...RuleML2015 - Tutorial -  Powerful Practical Semantic Rules in Rulelog - Funda...
RuleML2015 - Tutorial - Powerful Practical Semantic Rules in Rulelog - Funda...
 
LFA-NPG-Paper.pdf
LFA-NPG-Paper.pdfLFA-NPG-Paper.pdf
LFA-NPG-Paper.pdf
 
Droolsand Rule Based Systems 2008 Srping
Droolsand Rule Based Systems 2008 SrpingDroolsand Rule Based Systems 2008 Srping
Droolsand Rule Based Systems 2008 Srping
 
Implementing information federation
Implementing information federationImplementing information federation
Implementing information federation
 
A versatile and efficient framework
A versatile and efficient frameworkA versatile and efficient framework
A versatile and efficient framework
 
ICPW2007.Paschke
ICPW2007.PaschkeICPW2007.Paschke
ICPW2007.Paschke
 
Ruleby
RulebyRuleby
Ruleby
 
XBRL in Oracle 11i and R12
XBRL in Oracle 11i and R12XBRL in Oracle 11i and R12
XBRL in Oracle 11i and R12
 
Multi-data-types Interval Decision Diagrams for XACML Evaluation Engine
Multi-data-types Interval Decision Diagrams for XACML Evaluation EngineMulti-data-types Interval Decision Diagrams for XACML Evaluation Engine
Multi-data-types Interval Decision Diagrams for XACML Evaluation Engine
 
GRA, NIEM and XACML Security Profiles July 2012
GRA, NIEM and XACML Security Profiles July 2012GRA, NIEM and XACML Security Profiles July 2012
GRA, NIEM and XACML Security Profiles July 2012
 
Agent Reasoning For Norm Compliance A Semantic Approach
Agent Reasoning For Norm Compliance  A Semantic ApproachAgent Reasoning For Norm Compliance  A Semantic Approach
Agent Reasoning For Norm Compliance A Semantic Approach
 

Recently uploaded

Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024
facilitymanager11
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
slg6lamcq
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Kaxil Naik
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
Márton Kodok
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
a9qfiubqu
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
UofT毕业证如何办理
UofT毕业证如何办理UofT毕业证如何办理
UofT毕业证如何办理
exukyp
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
sameer shah
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
taqyea
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
ElizabethGarrettChri
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
AndrzejJarynowski
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 

Recently uploaded (20)

Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
UofT毕业证如何办理
UofT毕业证如何办理UofT毕业证如何办理
UofT毕业证如何办理
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 

Enabling Reasoning with LegalRuleML

  • 1. Enabling Reasoning with LegalRuleML Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield RuleML 2016, presented by Guido Governatori www.data61.csiro.au
  • 2. Background • Certain requirements needs to be fulfilled Isomorphism Reification (such as Jurisdiction, Authority, and Temporal properties) Rule semantics Rule validity Defeasibility and Conflicts resolutions Normative effects (such as Obligation, Permission, Prohibition, etc) and their persistence . . . 2 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 3. Background • Certain requirements needs to be fulfilled Isomorphism Reification (such as Jurisdiction, Authority, and Temporal properties) Rule semantics Rule validity Defeasibility and Conflicts resolutions Normative effects (such as Obligation, Permission, Prohibition, etc) and their persistence . . . • Existing formalisms such as LKIF, ConDec, ContractLog, RuleML lack the support to fulfill such requirements 2 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 4. Background • Certain requirements needs to be fulfilled Isomorphism Reification (such as Jurisdiction, Authority, and Temporal properties) Rule semantics Rule validity Defeasibility and Conflicts resolutions Normative effects (such as Obligation, Permission, Prohibition, etc) and their persistence . . . • Existing formalisms such as LKIF, ConDec, ContractLog, RuleML lack the support to fulfill such requirements ⇒LegalRuleML 2 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 5. A Sample Contract Section 1: (Policy of Price) 1.1 A “Premium Customer” is a customer who has spent more than $10000 in goods. Premium Customers are entitled a 5% discount on new orders. 1.2 Goods marked as “Special Order” are subject to a 5% surcharge. Premium customers are exempt from special order surcharge. 1.3 . . . . . . Section 2: (Purchase Order) 2.1 The purchaser shall follow the supplier price lists on the supplier’s website. 2.2 The purchaser shall present supplier with a purchase order for the provision of goods within 7 days of the commencement date. 2.3 . . . . . . 3 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 6. LegalRuleML • A rule interchange language proposed by OASIS • Extends RuleML with features specific to legal domain • Bridge the gap between natural language description and semantic norms • Allows for modelling various laws, rules and regulations into machine readable format Association(s) Context Metadata Statements LegalRuleML Document 4 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 7. LegalRuleML (cont.) • Provides support to model normative effects capture conflicting norms without making the set of rules inconsistent. prioritize norms in case both of them becomes applicable norms that compensate the violation of other norms • Similar to that of Defeasible Logic 5 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 8. Defeasible Logic (DL) • Rule-base, without disjunction r : A(r) → C(r) where r is the unique identifier of the rule A(r) = a1, · · · , an the antecedent of the rule (where ai is a literal) →= { →, ⇒, } denotes the type of the rule (→=strict rule, ⇒=defeasible rule, and =defeater) C(r) the consequent (or head) of the rule • Classical negation is used in the heads and bodies of rules Negation-as-failure is NOT used but can be emulated • Rules may support conflicting conclusions • Direct Skeptical: conflicting rules do not fire consistency is preserved • Priorities on rules (superiority relation) may be used to resolve some conflicts among rules 6 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 9. Defeasible Logic (cont.) • Constructive proof theory • Flexible and computationally efficient linear w.r.t. the number of literals • Many extensions and applications policy-based intention e-contracts analysis and monitoring web service composition . . . 7 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 10. Modal Defeasible Logic (MDL) • Extension of DL with the support of modal operators 8 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 11. Modal Defeasible Logic (MDL) • Extension of DL with the support of modal operators • The language consists of: a set PROP of propositional atoms Lit = PROP ∪ { ¬p | p ∈ PROP } represents a set of literals If q is literal (∼q is its complement) – if q is a positive literal p, then ∼q is ¬p – if q is ¬p, then ∼q is p MOD denotes a set of model operators 8 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 12. Modal Defeasible Logic (MDL) • Extension of DL with the support of modal operators • The language consists of: a set PROP of propositional atoms Lit = PROP ∪ { ¬p | p ∈ PROP } represents a set of literals If q is literal (∼q is its complement) – if q is a positive literal p, then ∼q is ¬p – if q is ¬p, then ∼q is p MOD denotes a set of model operators • Introduced the concept of contrary-to-duty obligation in the head of the rule For an expression a ⊗ b, the intuitive reading is that if a is possible, then a is the first choice and b is the second one; if ¬a holds, i.e., a is violated, then b is the actual choice. 8 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 13. LegalRuleML to MDL Mapping • LegalRuleML is inherited from RuleML i.e., elements related to RuleML can be done using the mapping provided in (Governatori, 2005) 9 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 14. LegalRuleML to MDL Mapping • LegalRuleML is inherited from RuleML i.e., elements related to RuleML can be done using the mapping provided in (Governatori, 2005) • For instance, the following LegalRuleML code can be transformed into the literal pay(Purchaser, Supplier) 1 <ruleml:Atom key=":atom109"> 2 <ruleml:Rel iri="pay"/> 3 <ruleml:Ind>Purchaser</ruleml:Ind> 4 <ruleml:Ind>Supplier</ruleml:Ind> 5 </ruleml:Atom> 9 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 15. LegalRuleML to MDL Mapping – Statements Type of Statements in LegalRuleML StatementsNorm Statements Constitutive Statements Prescriptive Statements Violation-Reparation Statements Reparation Statements Penalty Statements Factual Statement Override Statement 10 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 16. LegalRuleML to MDL Mapping – Statements Type of Statements in LegalRuleML StatementsNorm Statements Constitutive Statements Prescriptive Statements Violation-Reparation Statements Reparation Statements Penalty Statements Factual Statement Override Statement which correspond to DL elements LegalRuleML DL Factual Statement Fact Constitutive Statement Strict rule Prescriptive Statement Defeasible rule Override Statement Superiority relation Violation-Reparation Statement describe later 10 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 17. LegalRuleML to MDL Mapping – Statements An Example 1 <lrml:PrescriptievStatement key="r1"> 2 <ruleml:Rule key=":ruletemplate1"> 3 <ruleml:if> 4 <ruleml:And> 5 <ruleml:Atom key=":atom2"> 6 <ruleml:Rel iri=":specialOrder"/> 7 <ruleml:Ind>X</ruleml:Ind> 8 </ruleml:Atom> 9 </ruleml:And> 10 </ruleml:if> 11 <ruleml:then> 12 <lrml:Obligation> 13 <ruleml:Atom key=":atom3"> 14 <ruleml:Rel iri=":surcharge"/> 15 <ruleml:Ind>X</ruleml:Ind> 16 </ruleml:Atom> 17 </lrml:Obligation> 18 </ruleml:then> 19 </ruleml:Rule> 20 </lrml:PrescriptievStatement> 11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 18. LegalRuleML to MDL Mapping – Statements An Example 1 <lrml:PrescriptievStatement key="r1"> 2 <ruleml:Rule key=":ruletemplate1"> 3 <ruleml:if> 4 <ruleml:And> 5 <ruleml:Atom key=":atom2"> 6 <ruleml:Rel iri=":specialOrder"/> 7 <ruleml:Ind>X</ruleml:Ind> 8 </ruleml:Atom> 9 </ruleml:And> 10 </ruleml:if> 11 <ruleml:then> 12 <lrml:Obligation> 13 <ruleml:Atom key=":atom3"> 14 <ruleml:Rel iri=":surcharge"/> 15 <ruleml:Ind>X</ruleml:Ind> 16 </ruleml:Atom> 17 </lrml:Obligation> 18 </ruleml:then> 19 </ruleml:Rule> 20 </lrml:PrescriptievStatement> rule label r1 11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 19. LegalRuleML to MDL Mapping – Statements An Example 1 <lrml:PrescriptievStatement key="r1"> 2 <ruleml:Rule key=":ruletemplate1"> 3 <ruleml:if> 4 <ruleml:And> 5 <ruleml:Atom key=":atom2"> 6 <ruleml:Rel iri=":specialOrder"/> 7 <ruleml:Ind>X</ruleml:Ind> 8 </ruleml:Atom> 9 </ruleml:And> 10 </ruleml:if> 11 <ruleml:then> 12 <lrml:Obligation> 13 <ruleml:Atom key=":atom3"> 14 <ruleml:Rel iri=":surcharge"/> 15 <ruleml:Ind>X</ruleml:Ind> 16 </ruleml:Atom> 17 </lrml:Obligation> 18 </ruleml:then> 19 </ruleml:Rule> 20 </lrml:PrescriptievStatement> rule label r1rule type defeasible rule 11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 20. LegalRuleML to MDL Mapping – Statements An Example 1 <lrml:PrescriptievStatement key="r1"> 2 <ruleml:Rule key=":ruletemplate1"> 3 <ruleml:if> 4 <ruleml:And> 5 <ruleml:Atom key=":atom2"> 6 <ruleml:Rel iri=":specialOrder"/> 7 <ruleml:Ind>X</ruleml:Ind> 8 </ruleml:Atom> 9 </ruleml:And> 10 </ruleml:if> 11 <ruleml:then> 12 <lrml:Obligation> 13 <ruleml:Atom key=":atom3"> 14 <ruleml:Rel iri=":surcharge"/> 15 <ruleml:Ind>X</ruleml:Ind> 16 </ruleml:Atom> 17 </lrml:Obligation> 18 </ruleml:then> 19 </ruleml:Rule> 20 </lrml:PrescriptievStatement> rule label r1rule type defeasible rule rule body specialOrder(X) 11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 21. LegalRuleML to MDL Mapping – Statements An Example 1 <lrml:PrescriptievStatement key="r1"> 2 <ruleml:Rule key=":ruletemplate1"> 3 <ruleml:if> 4 <ruleml:And> 5 <ruleml:Atom key=":atom2"> 6 <ruleml:Rel iri=":specialOrder"/> 7 <ruleml:Ind>X</ruleml:Ind> 8 </ruleml:Atom> 9 </ruleml:And> 10 </ruleml:if> 11 <ruleml:then> 12 <lrml:Obligation> 13 <ruleml:Atom key=":atom3"> 14 <ruleml:Rel iri=":surcharge"/> 15 <ruleml:Ind>X</ruleml:Ind> 16 </ruleml:Atom> 17 </lrml:Obligation> 18 </ruleml:then> 19 </ruleml:Rule> 20 </lrml:PrescriptievStatement> rule label r1rule type defeasible rule rule body specialOrder(X) rule head OBLsurcharge(X) 11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 22. LegalRuleML to MDL Mapping – Statements An Example 1 <lrml:PrescriptievStatement key="r1"> 2 <ruleml:Rule key=":ruletemplate1"> 3 <ruleml:if> 4 <ruleml:And> 5 <ruleml:Atom key=":atom2"> 6 <ruleml:Rel iri=":specialOrder"/> 7 <ruleml:Ind>X</ruleml:Ind> 8 </ruleml:Atom> 9 </ruleml:And> 10 </ruleml:if> 11 <ruleml:then> 12 <lrml:Obligation> 13 <ruleml:Atom key=":atom3"> 14 <ruleml:Rel iri=":surcharge"/> 15 <ruleml:Ind>X</ruleml:Ind> 16 </ruleml:Atom> 17 </lrml:Obligation> 18 </ruleml:then> 19 </ruleml:Rule> 20 </lrml:PrescriptievStatement> rule label r1rule type defeasible rule rule body specialOrder(X) rule head OBLsurcharge(X) r1 : specialOrder(X) ⇒ OBLsurcharge(X) 11 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 23. LegalRuleML to MDL Mapping – Statements Some notes: • Penalty statements is essentially a list of deontic literals that can be appended to the head of the rule(s) concerned using ⊗-expression based on the key referenced by the corresponding Reparation statements. 12 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 24. LegalRuleML to MDL Mapping – Statements Some notes: • Penalty statements is essentially a list of deontic literals that can be appended to the head of the rule(s) concerned using ⊗-expression based on the key referenced by the corresponding Reparation statements. • The same penalty statement may applies to many different prescriptive statements, as described in the Reparation statements. 12 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 25. LegalRuleML to MDL Mapping – Other constructs However, • Some elements in LegalRuleML are not that intuitive • For instance, LegalRuleML provides two elements to determine whether an obligation or a prohibition of an object has been fulfilled (<lrml:Compliance>) or violated (<lrml:Violation>) Definition • A compliance is an indication that an obligation has been fulfilled or a prohibition has not been violated. • A violation is an indication that an obligation or prohibition has been violated. 13 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 26. LegalRuleML to MDL Mapping – Compliance and Violation 1 <lrml:PrescriptiveStatement key="ps2"> 2 <ruleml:Rule key=":ruletemplate2"> 3 <ruleml:if> 4 <ruleml:And key=":and1"> 5 <lrml:Violation keyref="#item3"/> 6 <lrml:Permission> 7 <ruleml:Atom key=":atom4"> 8 <ruleml:Rel iri=":rel1"/> 9 <ruleml:Ind>X</ruleml:Ind> 10 </ruleml:Atom> 11 </lrml:Permission> 12 <lrml:Obligation key="oblig1"> 13 <ruleml:Atom key=":atom5"> 14 <ruleml:Rel iri=":rel2"/> 15 <ruleml:Ind>X</ruleml:Ind> 16 </ruleml:Atom> 17 </lrml:Obligation> 18 </ruleml:And> 19 </ruleml:if> 20 . . . 14 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 27. LegalRuleML to MDL Mapping – Compliance and Violation 1 <lrml:PrescriptiveStatement key="ps2"> 2 <ruleml:Rule key=":ruletemplate2"> 3 <ruleml:if> 4 <ruleml:And key=":and1"> 5 <lrml:Violation keyref="#item3"/> 6 <lrml:Permission> 7 <ruleml:Atom key=":atom4"> 8 <ruleml:Rel iri=":rel1"/> 9 <ruleml:Ind>X</ruleml:Ind> 10 </ruleml:Atom> 11 </lrml:Permission> 12 <lrml:Obligation key="oblig1"> 13 <ruleml:Atom key=":atom5"> 14 <ruleml:Rel iri=":rel2"/> 15 <ruleml:Ind>X</ruleml:Ind> 16 </ruleml:Atom> 17 </lrml:Obligation> 18 </ruleml:And> 19 </ruleml:if> 20 . . . 14 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 28. LegalRuleML to MDL Mapping – Compliance and Violation 1 <lrml:PrescriptiveStatement key="ps2"> 2 <ruleml:Rule key=":ruletemplate2"> 3 <ruleml:if> 4 <ruleml:And key=":and1"> 5 <lrml:Violation keyref="#item3"/> 6 <lrml:Permission> 7 <ruleml:Atom key=":atom4"> 8 <ruleml:Rel iri=":rel1"/> 9 <ruleml:Ind>X</ruleml:Ind> 10 </ruleml:Atom> 11 </lrml:Permission> 12 <lrml:Obligation key="oblig1"> 13 <ruleml:Atom key=":atom5"> 14 <ruleml:Rel iri=":rel2"/> 15 <ruleml:Ind>X</ruleml:Ind> 16 </ruleml:Atom> 17 </lrml:Obligation> 18 </ruleml:And> 19 </ruleml:if> 20 . . . • need to determine whether the object with key=item3 has been violated or not 14 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 29. LegalRuleML to MDL Mapping – Compliance and Violation 1 <lrml:PrescriptiveStatement key="ps2"> 2 <ruleml:Rule key=":ruletemplate2"> 3 <ruleml:if> 4 <ruleml:And key=":and1"> 5 <lrml:Violation keyref="#item3"/> 6 <lrml:Permission> 7 <ruleml:Atom key=":atom4"> 8 <ruleml:Rel iri=":rel1"/> 9 <ruleml:Ind>X</ruleml:Ind> 10 </ruleml:Atom> 11 </lrml:Permission> 12 <lrml:Obligation key="oblig1"> 13 <ruleml:Atom key=":atom5"> 14 <ruleml:Rel iri=":rel2"/> 15 <ruleml:Ind>X</ruleml:Ind> 16 </ruleml:Atom> 17 </lrml:Obligation> 18 </ruleml:And> 19 </ruleml:if> 20 . . . • need to determine whether the object with key=item3 has been violated or not • Two cases: when item3 is (i) a literal (ii) a rule 14 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 30. LegalRuleML to MDL Mapping Case 1 [Element as literal] Assume that p is element that item3 refers to, from the code above we have: ps2 : PERrel1, OBLrel2, violate(p) ⇒ C(ps2) 15 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 31. LegalRuleML to MDL Mapping Case 1 [Element as literal] Assume that p is element that item3 refers to, from the code above we have: ps2 : PERrel1, OBLrel2, violate(p) ⇒ C(ps2) Some observations: • The case where item3 is a literal is simple. It can be appended to the body as a precondition to activate the rule using the table below: q OBLq FORq Compliance q OBLq, q FORq, ¬q Violation ¬q OBLq, ¬q FORq, q 15 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 32. LegalRuleML to MDL Mapping Case 1 [Element as literal] Assume that p is element that item3 refers to, from the code above we have: ps2 : PERrel1, OBLrel2, violate(p) ⇒ C(ps2) Some observations: • The case where item3 is a literal is simple. It can be appended to the body as a precondition to activate the rule using the table below: q OBLq FORq Compliance q OBLq, q FORq, ¬q Violation ¬q OBLq, ¬q FORq, q • i.e., if p = OBLq, then the above rule becomes: ps2 : PERrel1, OBLrel2, OBLq, ¬q ⇒ C(ps2) 15 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 33. LegalRuleML to MDL Mapping Case 2 [Element as Rule] In case of violation, we need to verify whether referenced rule is either: • inapplicable such that there a non-provable literal in the antecedent of the rule 16 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 34. LegalRuleML to MDL Mapping Case 2 [Element as Rule] In case of violation, we need to verify whether referenced rule is either: • inapplicable such that there a non-provable literal in the antecedent of the rule • the immediate consequents of the rule is defeated or overruled by a conflicting conclusion. 16 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 35. LegalRuleML to MDL Mapping Definition (Rule Status) Let D = (F, R, >) be a defeasible theory, let Σ be the language of D. For every r ∈ Rb, rc denotes the rule referenced by the element We define verifyBody(D) = (F, R , > ) where: R = R Rd ∪ { r+ c : A(rc) ⇒ inf (rc), − c : ⇒ ¬inf (rc), r− cv : ¬inf (rc) ⇒ violation(rc), r+ cc : inf (rc), comply(C(rc, 1)) ⇒ compliance(rc), r+ cv : inf (rc), violate(C(rc, 1)) ⇒ violation(rc), > => ∪ { r+ c > r− c } 17 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 36. LegalRuleML to MDL Mapping • For each rc, inf (rc), ¬inf (rc), compliance(rc) and violation(rc) are new atoms not in the language of the defeasible theory. 18 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 37. LegalRuleML to MDL Mapping • For each rc, inf (rc), ¬inf (rc), compliance(rc) and violation(rc) are new atoms not in the language of the defeasible theory. • inf (rc) and ¬inf (rc) determine whether a rule is in force. 18 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 38. LegalRuleML to MDL Mapping • For each rc, inf (rc), ¬inf (rc), compliance(rc) and violation(rc) are new atoms not in the language of the defeasible theory. • inf (rc) and ¬inf (rc) determine whether a rule is in force. • If rc is in force, then we verify whether: 18 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 39. LegalRuleML to MDL Mapping • For each rc, inf (rc), ¬inf (rc), compliance(rc) and violation(rc) are new atoms not in the language of the defeasible theory. • inf (rc) and ¬inf (rc) determine whether a rule is in force. • If rc is in force, then we verify whether: the first literal that appears at the head of rc is compliant i.e., compliance(rc ) or 18 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 40. LegalRuleML to MDL Mapping • For each rc, inf (rc), ¬inf (rc), compliance(rc) and violation(rc) are new atoms not in the language of the defeasible theory. • inf (rc) and ¬inf (rc) determine whether a rule is in force. • If rc is in force, then we verify whether: the first literal that appears at the head of rc is compliant i.e., compliance(rc ) or rc is violated i.e., violated(rc ) 18 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 41. Conclusions • We proposed a mapping of legal norms represented using LegalRuleML into DL 19 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 42. Conclusions • We proposed a mapping of legal norms represented using LegalRuleML into DL • With current LegalRuleML specifications, strange results might appear if an element <lrml:violation> (or <lrml:compliance>) appears at the head of a statement—additional restrictions are required. 19 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 43. Conclusions • We proposed a mapping of legal norms represented using LegalRuleML into DL • With current LegalRuleML specifications, strange results might appear if an element <lrml:violation> (or <lrml:compliance>) appears at the head of a statement—additional restrictions are required. • The real impedance is the lack of dedicated and reliable infrastructure 19 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 44. Conclusions • We proposed a mapping of legal norms represented using LegalRuleML into DL • With current LegalRuleML specifications, strange results might appear if an element <lrml:violation> (or <lrml:compliance>) appears at the head of a statement—additional restrictions are required. • The real impedance is the lack of dedicated and reliable infrastructure • As future work, we are planning to incorporate the presented approach into some smart-contract enabled systems 19 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 45. Questions? 20 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield
  • 46. References Antoniou, Grigoris et al. (2001). “Representation Results for Defeasible Logic”. In: ACM Transactions on Computational Logic 2.2, pp. 255–286. Gordon, Thomas F., Guido Governatori and Antonino Rotolo (2009). “Rules and Norms: Requirements for Rule Interchange Languages in the Legal Domain”. In: RuleML’09. Springer Heidelberg, pp. 282–296. Governatori, Guido (2005). “Representing Business Contracts in RuleML”. In: International Journal of Cooperative Information Systems 14.2–3, pp. 181–216. Nute, Donald (2001). “Defeasible logic: Theory, Implementation and Applications”. In: Proceedings of the 14th International Conference on Applications of Prolog (INAP 2001). Springer, Berlin, pp. 151–169. 21 | Enabling Reasoning with LegalRuleML | Ho-Pun Lam, Mustafa Hashmi, and Brendan Scofield