SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
LegalRuleML Metamodel
Tara Athan, Harold Boley, Guido Governatori,
Monica Palmirani, Adrian Paschke, Adam
Wyner
July 13, 2013
RuleML 2013
7th International Web Rule Symposium, Seattle
Contents

Purpose of Metamodel

Role of Metamodel in LegalRuleML Design
Process

Entity-Relationship Diagrams of Metamodel
Purpose of Metamodel

Expose LegalRuleML Metadata as Linked Data

Provide partial semantics by transformation
– LegalRuleML → RDF + RDFS (+ OWL)

Establish connections to external ontologies
– Dublin Core
– FRBR
– RDF/RDFS
– RuleML Metamodel

Essential Component of LegalRuleML's
Language Design Process
LegalRuleML's Cyclic Language
Design Process

Legal Source Examples

LegalRuleML Metamodel as RDFS Schema

RDF Instances based on Metamodel

LegalRuleML Instances from RDF/XML

XML Schemas Validating Against Instances

Glossary of XML Elements and Attributes

Repeat
LegalRuleML Metamodel as RDFS
Schema

rdfs:Class
– Names for classes of entities
• Following RDF(S) conventions, UpperCamelCase
– rdfs:subClassOf hierarchy

Connections to external ontologies

rdf:Property
– Names for dyadic relations between entities
• Following RDF(S) conventions, lowerCamelCase
– rdfs:domain, rdfs:range
– rdfs:subPropertyOf hierarchy

Connections to external ontologies
LegalRuleML Metamodel as
(Future) OWL Ontology

owl:sameAs
– Used in RDF instances

rdfs:comment
– Natural language definitions of classes and
properties
– Describes characteristics that are beyond RDFS
expressivity
• Property Chaining
• To be implemented
RDF Instances based on
Metamodel

Simplified Samples Extracted from Legal
Sources

Compactification
– Start with Unnested Triples in any RDF format
– Nest in Tree Structure using RDF/XML
abbreviations to eliminate explicit blank nodes
LegalRuleML Instances from
RDF/XML

Produced by semi-standardized invertible
manual transformation

Design Principles
– Striping
• Fully-striped normal form
– Alternating Node (rdfs:Class) element and
edge (rdf:Property) element
– One child per edge (except for
rdfs:Collections)
• Compact form with redundant stripes
removed (stripe-skipping)
LegalRuleML Design Principles
(cont.)
 Renaming - shorter element and attribute
names, still human readable

<Node>Collection → <Nodes>
 Node-skipping

Nodes always appearing as blank nodes may be
skipped provided no type information is lost
 Leaf Stripes

Nodes that often have no content may optionally
be skipped, leading to a “leaf-stripe”, provided no
type information is lost
LegalRuleML Design Principles
(cont.)
 Attributes versus Edges

Attributes can lead to more compact syntax

However, may inhibit extensibility

Only used if, with high confidence,
 Property will never have cardinality >1
 Object will never be a blank node
 Literal Object always has a unique specified datatype
XML Schemas Validating Against
Instances

Modular Relax NG schemas
 Customization by selection of a subset of the
modules
 Extension by including additional modules

Generated Monolithic XSD schemas

Schema Validation using various engines
(Saxon EE, XMLSpy, …)

Instance Validation as Requirements Testing
Glossary of XML Elements and
Attributes

Definitions for XML elements and attributes

Synchronization with natural language
comments in RDFS metamodel
 Initiates update of metamodel
Upper Metamodel (Classes)
rdf:List
Upper Metamodel (Properties)
rdf:List
xsd:string
xsd:any
Context Metamodel
Statement Metamodel
xsd:any
ruleml:Rule
ruleml:RuleClass
Defeasible Metamodel
Metadata Metamodel
frbr:Agent
frbr:Jurisdiction
frbr:Concept
Legal Temporal Metamodel
Deontic Metamodel
ViolationFormula

Más contenido relacionado

La actualidad más candente

La actualidad más candente (10)

NoSQL Roundup
NoSQL RoundupNoSQL Roundup
NoSQL Roundup
 
Demystifying RDF
Demystifying RDFDemystifying RDF
Demystifying RDF
 
PhD thesis defense: Large-scale multilingual knowledge extraction, publishin...
PhD thesis defense:  Large-scale multilingual knowledge extraction, publishin...PhD thesis defense:  Large-scale multilingual knowledge extraction, publishin...
PhD thesis defense: Large-scale multilingual knowledge extraction, publishin...
 
Data quality in Real Estate
Data quality in Real EstateData quality in Real Estate
Data quality in Real Estate
 
JSON-LD and SHACL for Knowledge Graphs
JSON-LD and SHACL for Knowledge GraphsJSON-LD and SHACL for Knowledge Graphs
JSON-LD and SHACL for Knowledge Graphs
 
SHACL Specification Draft
SHACL Specification DraftSHACL Specification Draft
SHACL Specification Draft
 
Find your way in Graph labyrinths
Find your way in Graph labyrinthsFind your way in Graph labyrinths
Find your way in Graph labyrinths
 
Naming things isn't that hard
Naming things isn't that hardNaming things isn't that hard
Naming things isn't that hard
 
Getting triples from records: the role of ISBD
Getting triples from records: the role of ISBDGetting triples from records: the role of ISBD
Getting triples from records: the role of ISBD
 
Sparql a simple knowledge query
Sparql  a simple knowledge querySparql  a simple knowledge query
Sparql a simple knowledge query
 

Destacado

Importation Closure that is Robust to Circular Dependencies
Importation Closure that is Robust to Circular DependenciesImportation Closure that is Robust to Circular Dependencies
Importation Closure that is Robust to Circular DependenciesTara Athan
 
Demo of MYNG 1.01
Demo of MYNG 1.01Demo of MYNG 1.01
Demo of MYNG 1.01Tara Athan
 
Syntax Reuse: XSLT as a Metalanguage for Knowledge Representation Languages
Syntax Reuse: XSLT as a Metalanguage for Knowledge Representation LanguagesSyntax Reuse: XSLT as a Metalanguage for Knowledge Representation Languages
Syntax Reuse: XSLT as a Metalanguage for Knowledge Representation LanguagesTara Athan
 
Genome and Proteome data integration in RDF
Genome and Proteome data integration in RDFGenome and Proteome data integration in RDF
Genome and Proteome data integration in RDFNadia Anwar
 
Recent biotechnology innovations
Recent biotechnology innovationsRecent biotechnology innovations
Recent biotechnology innovationsMuhammed sadiq
 
Drug development & biotechnology
Drug development & biotechnologyDrug development & biotechnology
Drug development & biotechnologyTeresa Treasures
 
Biotech & medicine.ppt
Biotech & medicine.pptBiotech & medicine.ppt
Biotech & medicine.pptMahin Nwx
 

Destacado (7)

Importation Closure that is Robust to Circular Dependencies
Importation Closure that is Robust to Circular DependenciesImportation Closure that is Robust to Circular Dependencies
Importation Closure that is Robust to Circular Dependencies
 
Demo of MYNG 1.01
Demo of MYNG 1.01Demo of MYNG 1.01
Demo of MYNG 1.01
 
Syntax Reuse: XSLT as a Metalanguage for Knowledge Representation Languages
Syntax Reuse: XSLT as a Metalanguage for Knowledge Representation LanguagesSyntax Reuse: XSLT as a Metalanguage for Knowledge Representation Languages
Syntax Reuse: XSLT as a Metalanguage for Knowledge Representation Languages
 
Genome and Proteome data integration in RDF
Genome and Proteome data integration in RDFGenome and Proteome data integration in RDF
Genome and Proteome data integration in RDF
 
Recent biotechnology innovations
Recent biotechnology innovationsRecent biotechnology innovations
Recent biotechnology innovations
 
Drug development & biotechnology
Drug development & biotechnologyDrug development & biotechnology
Drug development & biotechnology
 
Biotech & medicine.ppt
Biotech & medicine.pptBiotech & medicine.ppt
Biotech & medicine.ppt
 

Similar a LegalRuleML Metamodel

Semantic web
Semantic webSemantic web
Semantic webtariq1352
 
semantic web resource description framework
semantic web resource description frameworksemantic web resource description framework
semantic web resource description frameworkKomalFatima37
 
Using Semantic Web Technologies to Facilitate XBRL-based Financial Data Compa...
Using Semantic Web Technologies to Facilitate XBRL-based Financial Data Compa...Using Semantic Web Technologies to Facilitate XBRL-based Financial Data Compa...
Using Semantic Web Technologies to Facilitate XBRL-based Financial Data Compa...Roberto García
 
Infromation Reprentation, Structured Data and Semantics
Infromation Reprentation,Structured Data and SemanticsInfromation Reprentation,Structured Data and Semantics
Infromation Reprentation, Structured Data and SemanticsYogendra Tamang
 
20th Feb 2020 json-ld-rdf-im-proposal.pdf
20th Feb 2020 json-ld-rdf-im-proposal.pdf20th Feb 2020 json-ld-rdf-im-proposal.pdf
20th Feb 2020 json-ld-rdf-im-proposal.pdfMichal Miklas
 
Lee Iverson - How does the web connect content?
Lee Iverson - How does the web connect content?Lee Iverson - How does the web connect content?
Lee Iverson - How does the web connect content?Museums Computer Group
 
Making the semantic web work
Making the semantic web workMaking the semantic web work
Making the semantic web workPaul Houle
 
Rdf And Rdf Schema For Ontology Specification
Rdf And Rdf Schema For Ontology SpecificationRdf And Rdf Schema For Ontology Specification
Rdf And Rdf Schema For Ontology Specificationchenjennan
 
The Standardization of Semantic Web Ontology
The Standardization of Semantic Web OntologyThe Standardization of Semantic Web Ontology
The Standardization of Semantic Web OntologyMyungjin Lee
 
Tools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDLTools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDLChimezie Ogbuji
 
Structured Dynamics' Semantic Technologies Product Stack
Structured Dynamics' Semantic Technologies Product StackStructured Dynamics' Semantic Technologies Product Stack
Structured Dynamics' Semantic Technologies Product StackMike Bergman
 
interoperability: the value of recombinant potential
interoperability: the value of recombinant potentialinteroperability: the value of recombinant potential
interoperability: the value of recombinant potentiallisld
 
Triplificating and linking XBRL financial data
Triplificating and linking XBRL financial dataTriplificating and linking XBRL financial data
Triplificating and linking XBRL financial dataRoberto García
 
unit_5_XML data integration database management
unit_5_XML data integration database managementunit_5_XML data integration database management
unit_5_XML data integration database managementsathiyabcsbs
 
A year on the Semantic Web @ W3C
A year on the Semantic Web @ W3CA year on the Semantic Web @ W3C
A year on the Semantic Web @ W3CIvan Herman
 
Understanding RDF: the Resource Description Framework in Context (1999)
Understanding RDF: the Resource Description Framework in Context  (1999)Understanding RDF: the Resource Description Framework in Context  (1999)
Understanding RDF: the Resource Description Framework in Context (1999)Dan Brickley
 

Similar a LegalRuleML Metamodel (20)

Semantic web
Semantic webSemantic web
Semantic web
 
semantic web resource description framework
semantic web resource description frameworksemantic web resource description framework
semantic web resource description framework
 
Rdf
RdfRdf
Rdf
 
Using Semantic Web Technologies to Facilitate XBRL-based Financial Data Compa...
Using Semantic Web Technologies to Facilitate XBRL-based Financial Data Compa...Using Semantic Web Technologies to Facilitate XBRL-based Financial Data Compa...
Using Semantic Web Technologies to Facilitate XBRL-based Financial Data Compa...
 
NIF as a Multi-Model Semantic Information System
NIF as a Multi-Model Semantic Information SystemNIF as a Multi-Model Semantic Information System
NIF as a Multi-Model Semantic Information System
 
Infromation Reprentation, Structured Data and Semantics
Infromation Reprentation,Structured Data and SemanticsInfromation Reprentation,Structured Data and Semantics
Infromation Reprentation, Structured Data and Semantics
 
20th Feb 2020 json-ld-rdf-im-proposal.pdf
20th Feb 2020 json-ld-rdf-im-proposal.pdf20th Feb 2020 json-ld-rdf-im-proposal.pdf
20th Feb 2020 json-ld-rdf-im-proposal.pdf
 
Lee Iverson - How does the web connect content?
Lee Iverson - How does the web connect content?Lee Iverson - How does the web connect content?
Lee Iverson - How does the web connect content?
 
Making the semantic web work
Making the semantic web workMaking the semantic web work
Making the semantic web work
 
Rdf And Rdf Schema For Ontology Specification
Rdf And Rdf Schema For Ontology SpecificationRdf And Rdf Schema For Ontology Specification
Rdf And Rdf Schema For Ontology Specification
 
The Standardization of Semantic Web Ontology
The Standardization of Semantic Web OntologyThe Standardization of Semantic Web Ontology
The Standardization of Semantic Web Ontology
 
Tools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDLTools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDL
 
Structured Dynamics' Semantic Technologies Product Stack
Structured Dynamics' Semantic Technologies Product StackStructured Dynamics' Semantic Technologies Product Stack
Structured Dynamics' Semantic Technologies Product Stack
 
interoperability: the value of recombinant potential
interoperability: the value of recombinant potentialinteroperability: the value of recombinant potential
interoperability: the value of recombinant potential
 
RDF and Java
RDF and JavaRDF and Java
RDF and Java
 
Triplificating and linking XBRL financial data
Triplificating and linking XBRL financial dataTriplificating and linking XBRL financial data
Triplificating and linking XBRL financial data
 
unit_5_XML data integration database management
unit_5_XML data integration database managementunit_5_XML data integration database management
unit_5_XML data integration database management
 
A year on the Semantic Web @ W3C
A year on the Semantic Web @ W3CA year on the Semantic Web @ W3C
A year on the Semantic Web @ W3C
 
Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
 
Understanding RDF: the Resource Description Framework in Context (1999)
Understanding RDF: the Resource Description Framework in Context  (1999)Understanding RDF: the Resource Description Framework in Context  (1999)
Understanding RDF: the Resource Description Framework in Context (1999)
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Último (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

LegalRuleML Metamodel

  • 1. LegalRuleML Metamodel Tara Athan, Harold Boley, Guido Governatori, Monica Palmirani, Adrian Paschke, Adam Wyner July 13, 2013 RuleML 2013 7th International Web Rule Symposium, Seattle
  • 2. Contents  Purpose of Metamodel  Role of Metamodel in LegalRuleML Design Process  Entity-Relationship Diagrams of Metamodel
  • 3. Purpose of Metamodel  Expose LegalRuleML Metadata as Linked Data  Provide partial semantics by transformation – LegalRuleML → RDF + RDFS (+ OWL)  Establish connections to external ontologies – Dublin Core – FRBR – RDF/RDFS – RuleML Metamodel  Essential Component of LegalRuleML's Language Design Process
  • 4. LegalRuleML's Cyclic Language Design Process  Legal Source Examples  LegalRuleML Metamodel as RDFS Schema  RDF Instances based on Metamodel  LegalRuleML Instances from RDF/XML  XML Schemas Validating Against Instances  Glossary of XML Elements and Attributes  Repeat
  • 5. LegalRuleML Metamodel as RDFS Schema  rdfs:Class – Names for classes of entities • Following RDF(S) conventions, UpperCamelCase – rdfs:subClassOf hierarchy  Connections to external ontologies  rdf:Property – Names for dyadic relations between entities • Following RDF(S) conventions, lowerCamelCase – rdfs:domain, rdfs:range – rdfs:subPropertyOf hierarchy  Connections to external ontologies
  • 6. LegalRuleML Metamodel as (Future) OWL Ontology  owl:sameAs – Used in RDF instances  rdfs:comment – Natural language definitions of classes and properties – Describes characteristics that are beyond RDFS expressivity • Property Chaining • To be implemented
  • 7. RDF Instances based on Metamodel  Simplified Samples Extracted from Legal Sources  Compactification – Start with Unnested Triples in any RDF format – Nest in Tree Structure using RDF/XML abbreviations to eliminate explicit blank nodes
  • 8. LegalRuleML Instances from RDF/XML  Produced by semi-standardized invertible manual transformation  Design Principles – Striping • Fully-striped normal form – Alternating Node (rdfs:Class) element and edge (rdf:Property) element – One child per edge (except for rdfs:Collections) • Compact form with redundant stripes removed (stripe-skipping)
  • 9. LegalRuleML Design Principles (cont.)  Renaming - shorter element and attribute names, still human readable  <Node>Collection → <Nodes>  Node-skipping  Nodes always appearing as blank nodes may be skipped provided no type information is lost  Leaf Stripes  Nodes that often have no content may optionally be skipped, leading to a “leaf-stripe”, provided no type information is lost
  • 10. LegalRuleML Design Principles (cont.)  Attributes versus Edges  Attributes can lead to more compact syntax  However, may inhibit extensibility  Only used if, with high confidence,  Property will never have cardinality >1  Object will never be a blank node  Literal Object always has a unique specified datatype
  • 11. XML Schemas Validating Against Instances  Modular Relax NG schemas  Customization by selection of a subset of the modules  Extension by including additional modules  Generated Monolithic XSD schemas  Schema Validation using various engines (Saxon EE, XMLSpy, …)  Instance Validation as Requirements Testing
  • 12. Glossary of XML Elements and Attributes  Definitions for XML elements and attributes  Synchronization with natural language comments in RDFS metamodel  Initiates update of metamodel