JURIX talk on representing and reasoning on the deontic aspects of normative rules relying only on standard Semantic Web languages.
The corresponding paper is at https://hal.inria.fr/hal-01643769v1
3. MIREL
MIning and REasoning with
Legal texts
http://www.mirelproject.eu/
International and inter-sectorial network to define a formal
framework and to develop tools
European Union's 2020 research and innovation programme
Marie Skłodowska-Curie grant agreement No 690974.
Conceptual challenges e.g. legal interpretation in mining and
reasoning
Computational challenges e.g. handling of big legal data, and
the complexity of regulatory compliance
4. MIREL
MIning and REasoning with
Legal texts
http://www.mirelproject.eu/
International and inter-sectorial network to define a formal
framework and to develop tools
European Union's 2020 research and innovation programme
Marie Skłodowska-Curie grant agreement No 690974.
Conceptual challenges e.g. legal interpretation in mining and
reasoning
Computational challenges e.g. handling of big legal data, and
the complexity of regulatory compliance
Bridge: legal ontologies and NLP parsers reasoning methods
and formal logic
promotes mobility and staff exchange, here:
bridge normative requirements and linked data
8. 8
"Music"
RDFis a model for directed labeled multigraphs
http://inria.fr/rr/doc.html
http://ns.inria.fr/fabien.gandon#me
http://inria.fr/schema#author
http://inria.fr/schema#topic
http://inria.fr/rr/doc.html
http://inria.fr/schema#keyword
9. 9
linked open data(sets) cloud on the Web
0
200
400
600
800
1000
1200
1400
01/05/2007 08/10/2007 07/11/2007 10/11/2007 28/02/2008 31/03/2008 18/09/2008 05/03/2009 27/03/2009 14/07/2009 22/09/2010 19/09/2011 30/08/2014 26/01/2017
number of linked open datasets on the Web
15. MOTIVATIONS
rely on Web standard to represent, exchange and foster
interoperability between deontic rule bases
rely on existing standards (e.g. SPARQL) and
infrastructures
(e.g. triple stores) to implement deontic systems
combine linked data and semantic Web reasoning and
formalisms (e.g. OWL) with deontic reasoning to
support more inferences
16. QUESTIONS
Can we represent and
reason on the deontic
aspects of normative rules
with standard Semantic
Web languages?
17. QUESTIONS
Can we represent and
reason on the deontic
aspects of normative rules
with standard Semantic
Web languages?
useful ontology-based reasoning
For which aspects schema-based reasoning (RDFS, OWL)
is relevant?
18. QUESTIONS
Can we represent and
reason on the deontic
aspects of normative rules
with standard Semantic
Web languages?
useful ontology-based reasoning
For which aspects schema-based reasoning (RDFS, OWL)
is relevant?
beyond classical ontology-based reasoning
Can we operationally formalize other deontic reasoning rules
with RDF and SPARQL?
20. ONTOLOGY
Ontological extension of the
LegalRuleML Meta Model focusing
on the deontic aspects
LegalRuleML Meta Model [9] : primitives for deontic
rule and normative requirement representation
(Permission, Obligation, Prohibition).
Integrate abstract formal framework for normative
requirements of regulatory compliance [10]
Consider results on modal defeasible reasoning for
deontic logic on the Semantic Web [11]
21. MOTIVATING SCENARIOS
Step 1 to specify problems that
are not adequately addressed by
existing solutions [13].
e.g.
support the annotation, detection and retrieval of
normative requirements and rules.
support users in information retrieval with the ability
to identify and reason on the different types of
normative requirements and their statuses.
22. COMPETENCY QUESTIONS
Step 2 to place demands on the
targeted ontology, and they
provide expressiveness
requirements [13].
e.g.
What are the instances of a given requirement and
its sub-types, e.g. obligation?
Is a requirement violated by one or more states of
affairs, and if so, which ones?
Which rules, documents and states of affairs are
linked to a requirement and how?
25. Violable requirement, Non
Violable Requirement,
Violated Requirement and
Compliant Requirement: relation
to a Compliance or a Violation
top classes (2/2)
29. FORMALIZED ONTOLOGY
extract 2: disjointness of violation
relations
:hasCompliance
a owl:ObjectProperty ;
rdfs:label "has for compliance"@en ;
rdfs:domain :ViolableRequirement ;
rdfs:range lrmlmm:Compliance ;
owl:propertyDisjointWith :hasViolation .
30. EXPRESSIVITY
OWL fragment
disjoint unions means OWL DL, i.e.,
more precisely
remove cardinality restrictions, unions and
disjointedness: OWL EL and OWL RL
32. LIMITS
a motivation case: compliance and
violation are disjoint locally to a
state of affair
:CompliantRequirement a rdfs:Class ;
rdfs:subClassOf :ViolableRequirement ;
owl:equivalentClass [ a owl:Restriction ;
owl:onProperty :hasCompliance ;
owl:minCardinality 1 ] .
owl:equivalentClass [ a owl:Restriction ;
owl:onProperty :hasViolation ;
owl:maxCardinality 0 ] .
33. THE GRAPH AS A RESOURCE
“name that graph”, Gandon,
Corby, 2010, W3C Workshop on
RDF 1.1
http://www-sop.inria.fr/edelweiss/fabien/docs/w3c/rdfsource/rdfsource.html
http://ns.inria.fr/fabien.gandon/foaf#me RDF Source
http://purl.org/dc/elements/1.1/title
mailto:fgandon@inria.fr Fabien Gandon
http://purl.org/dc/elements/1.1/creator
http://xmlns.com/foaf/0.1/mbox
http://xmlns.com/foaf/0.1/Person
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://xmlns.com/foaf/0.1/name
34. NAMED GRAPHS
encapsulate state of affairs inside
RDF 1.1 named graphs to bound
the scope of some statements
GRAPH :StateOfAffairs1 {
:Tom :activity [ a :Driving ;
:speed "100"^^xsd:integer ;
rdfs:label "driving at 100km/h"@en ] . }
:StateOfAffairs1 a lrmlmm:FactualStatement .
35. METADATA
represent and
document legal
sources,
requirements, etc.
<http://gov.au/driving-rule> a lrmlmm:Source ;
rdfs:label "driving rules in Australia"@en .
nru:LSS1 a lrmlmm:Sources ;
lrmlmm:hasLegalSource <http://gov.au/driving-rule> .
nru:LRD1 a lrmlmm:LegalRuleMLDocument ;
lrmlmm:hasLegalSources nru:LSS1 ;
lrmlmm:hasAlternatives [ lrmlmm:fromLegalSources nru:LSS1 ;
lrmlmm:hasAlternative nru:PS1 ] ;
lrmlmm:hasStatements nru:SS1 .
nru:SS1 a lrmlmm:Statements ;
lrmlmm:hasStatement nru:PS1 .
nru:PS1 a lrmlmm:PrescriptiveStatement, lrmlmm:Prohibition ;
rdfs:label "can't drive over 90km/h"@en .
36. SPARQL RULES
implement some of the deontic
reasoning using SPARQL
operations on named graphs
DELETE { graph ?g { nru:PS1 nrv:hasCompliance ?g } }
INSERT { graph ?g { nru:PS1 a nrv:ViolatedRequirement ;
nrv:hasViolation ?g } }
WHERE { graph ?g { ?a a :Driving ; :speed ?s . }
FILTER (?s>90) } ;
DELETE { graph ?g { nru:PS1 a nrv:ViolatedRequirement ;
nrv:hasViolation ?g } }
INSERT { graph ?g { nru:PS1 nrv:hasCompliance ?g } }
WHERE { graph ?g { ?a a :Driving ; :speed ?s . }
FILTER (?s<=90) }
38. PROOF OF CONCEPT
with two established tools
Protégé [17] and its reasoners to check the NRV
OWL ontology : coherent and consistent.
CORESE [18] to experiment named graph and
SPARQL based reasoning.
43. CONCLUSION
Named Graph (state of affair) Subject Predicate Object
http://ns.inria.fr/nrv-inst#StateOfAffairs1 Tom http://ns.inria.fr/nrv-inst#activity driving at 100km/h
http://ns.inria.fr/nrv-inst#StateOfAffairs1 Tom http://www.w3.org/2000/01/rdf-schema#label Tom
http://ns.inria.fr/nrv-inst#StateOfAffairs1 can't drive over 90km http://www.w3.org/1999/02/22-rdf-syntax-ns#type violated requirement
http://ns.inria.fr/nrv-inst#StateOfAffairs1 can't drive over 90km has for violation http://ns.inria.fr/nrv-inst#StateOfAffairs1
http://ns.inria.fr/nrv-inst#StateOfAffairs1 driving at 100km/h http://ns.inria.fr/nrv-inst#speed 100
http://ns.inria.fr/nrv-inst#StateOfAffairs1 driving at 100km/h http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://ns.inria.fr/nrv-inst#Driving
http://ns.inria.fr/nrv-inst#StateOfAffairs1 driving at 100km/h http://www.w3.org/2000/01/rdf-schema#label "driving at 100km/h"@en
Named Graph (state of affair) Subject Predicate Object
http://ns.inria.fr/nrv-inst#StateOfAffairs2 Jim http://ns.inria.fr/nrv-inst#activity driving at 90km/h
http://ns.inria.fr/nrv-inst#StateOfAffairs2 Jim http://www.w3.org/2000/01/rdf-schema#label Jim
http://ns.inria.fr/nrv-inst#StateOfAffairs2 can't drive over 90km http://www.w3.org/1999/02/22-rdf-syntax-ns#type compliant requirement
http://ns.inria.fr/nrv-inst#StateOfAffairs2 can't drive over 90km has for compliance http://ns.inria.fr/nrv-inst#StateOfAffairs2
http://ns.inria.fr/nrv-inst#StateOfAffairs2 driving at 90km/h http://ns.inria.fr/nrv-inst#speed 90
http://ns.inria.fr/nrv-inst#StateOfAffairs2 driving at 90km/h http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://ns.inria.fr/nrv-inst#Driving
http://ns.inria.fr/nrv-inst#StateOfAffairs2 driving at 90km/h http://www.w3.org/2000/01/rdf-schema#label "driving at 90km/h"@en
Legal Rules on the Semantic Web
OWL + Named Graphs + SPARQL Rules
Future: differentiated classes of validity, non-binary modes,…
44. The Web Conference 2018 Call For Contributions
The 2018 edition of The Web Conference (27th edition of the
former WWW conference) will offer many opportunities to present
and discuss latest advances in academia and industry.
•Research tracks
•Posters
•Tutorials
•Workshops
Other tracks (in alphabetical order):
•Challenges track
•Demos track
•Developers’ track
•Hackathon/Hackateen
•Hyperspot – Exhibition
•International project track
•Journal paper track
•Journalism, Misinformation
•and Fact Checking
•Minute of madness
•PHD symposium
•The BIG Web
•W3C track
•Web For All
•(W4A co-located conference)
•Web programming
and more CfP coming soon…
“bridging natural and artificial intelligence worldwide”