A Lithuanian Verbalization Template for ORM conceptual models and rules

Similar documents
A Spanish Verbalization Template for ORM conceptual models and rules

Subset, Equality, and Exclusion Rules In ORM

Quick Mathematical Background for Conceptual Modeling

Subset, Equality, and Exclusion Rules In ORM

Mandatory Roles. Dr. Mustafa Jarrar. Knowledge Engineering (SCOM7348) (Chapter 5) University of Birzeit

ORM Modeling Tips and Common Mistakes

Schema Equivalence and Optimization

Schema Equivalence and Optimization

Uniqueness and Identity Rules in ORM

Uniqueness and Identity Rules in ORM

Conceptual Data Modeling Concepts & Principles

Unsatisfiability Reasoning in ORM Conceptual Schemes

Introduction to Conceptual Data Modeling

Ontology-based Customer Complaint Management

Towards Automated Reasoning on ORM Schemes

Mustafa Jarrarr. For the degree of. Doctor. of Philosophy

ORM and Description Logic. Dr. Mustafa Jarrar. STARLab, Vrije Universiteit Brussel, Introduction (Why this tutorial)

Mapping Object Role Modeling 2 Schemes into SROIQ (D) Description Logic

A Conceptual Markup Language that Supports Interoperability between Business Rule Modeling Systems 1

Annotation for the Semantic Web During Website Development

The Conference Review System with WSDM

A formal comparison of conceptual data modeling languages

Verbalizing Business Rules: Part 9

A Meta-Model for Ontologies with ORM2

Introduction to modeling. ER modelling

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University

Ontological Modeling: Part 8

Microsoft s new database modeling tool: Part 3

Participatory Quality Management of Ontologies in Enterprise Modelling

Introduction to modeling

Logical Data Modeling: Part 12

RDF Graph Data Model

Collaborative Semantic Content Management: an Ongoing Case Study for Imaging Applications

An Ontological Analysis of Metamodeling Languages

Proposal for Implementing Linked Open Data on Libraries Catalogue

Information Modeling and Relational Databases

Christophe Debruyne. Semantics Technology and Applications Research Lab Vrije Universiteit Brussel

Dr. Mustafa Jarrar. Knowledge Engineering (SCOM7348) (Chapter 4) University of Birzeit

Ontological Modeling: Part 15

ECHA -term User Guide

is easing the creation of new ontologies by promoting the reuse of existing ones and automating, as much as possible, the entire ontology

Web-page Indexing based on the Prioritize Ontology Terms

A CONCEPTUAL SCHEMA BASED ON RDFS-OWL AND CONSISTENCY CONSTRAINT CHECKING WITH XQuery*

A case in Multiparadigm Programming : User Interfaces by means of Declarative Meta Programming

Revising and Managing Multiple Ontology Versions in a Possible Worlds Setting

1. Information Systems for Design Support

Ontology integration in a multilingual e-retail system

Developing Web-Based Applications Using Model Driven Architecture and Domain Specific Languages

Integrating SysML and OWL

Proceed Requirements Meta-Model For Adequate Business Intelligence Using Workflow

A GRAPHICAL TABULAR MODEL FOR RULE-BASED LOGIC PROGRAMMING AND VERIFICATION **

Improving Adaptive Hypermedia by Adding Semantics

A Study on Metadata Extraction, Retrieval and 3D Visualization Technologies for Multimedia Data and Its Application to e-learning

Web Portal : Complete ontology and portal

A Tool for Storing OWL Using Database Technology

Towards a Global Component Architecture for Learning Objects: An Ontology Based Approach

An analysis and characterisation of publicly available conceptual models

CLIPS representation of ontology classes in an ontology-driven information system builder part 1

The Semantic Web Explained

Verbalizing Business Rules: Part 10

Web Design for the Semantic Web

Ontology method construction for intelligent decision support systems

Math 187 Sample Test II Questions

SISE Semantics Interpretation Concept

STAR Lab Technical Report

Transforming Enterprise Ontologies into SBVR formalizations

Automation of Semantic Web based Digital Library using Unified Modeling Language Minal Bhise 1 1

Web-Page Indexing Based on the Prioritized Ontology Terms

Networking Session - A trusted cloud ecosystem How to help SMEs innovate in the Cloud

Scalability and Knowledge Reusability in Ontology Modeling

Evolva: A Comprehensive Approach to Ontology Evolution

On Supporting HCOME-3O Ontology Argumentation Using Semantic Wiki Technology

A formal comparison of conceptual data modeling languages

Ontological Modeling: Part 14

Object Role Modelling for Ontology Engineering in the DOGMA framework

Data modelling versus Ontology engineering

WEB SEARCH, FILTERING, AND TEXT MINING: TECHNOLOGY FOR A NEW ERA OF INFORMATION ACCESS

Ontology- and Bayesian- based Information Security Risk Management

RaDON Repair and Diagnosis in Ontology Networks

Revising and Managing Multiple Ontology Versions in a Possible Worlds Setting

Considering Additional Adaptation Concerns in the Design of Web Applications

Reasoning on Business Processes and Ontologies in a Logic Programming Environment

Ontological Modeling: Part 7

A Novel Method for the Comparison of Graphical Data Models

Microsoft s new database modeling tool: Part 5

The NORMA Software Tool for ORM 2

Presented By Aditya R Joshi Neha Purohit

Are Users Willing To Search CL?

Microsoft Dynamics 365 for Finance and Operations. Table of contents

Business Rules in the Semantic Web, are there any or are they different?

Integration of Product Ontologies for B2B Marketplaces: A Preview

Introduction to modeling. OO modeling and ontologies

Enriching UDDI Information Model with an Integrated Service Profile

Requirements Engineering for Enterprise Systems

Microsoft Dynamics 365 for Finance and Operations, Enterprise edition. Table of contents

X-KIF New Knowledge Modeling Language

A Framework for the Internationalization of Data-Intensive Web Applications

EMF Metrics: Specification and Calculation of Model Metrics within the Eclipse Modeling Framework

Design Process Ontology Approach Proposal

Modelling of Adaptive Hypermedia Systems

Transcription:

A Lithuanian Verbalization Template for ORM conceptual models and rules Mustafa Jarrar, Vrije Universiteit Brussel, Belgium. (Contact Author) Maria Keet, Free University of Bozen-Bolzano, Italy. Juozas Gordevicius, Free University of Bozen-Bolzano, Italy. A technical report of the article 1 : Jarrar, M., Keet, C.M., Dongilli, P. Multilingual verbalization of ORM conceptual models and axiomatized ontologies. [Submitted]. URL: http://www.starlab.vub.ac.be/staff/mustafa/orm/verbalization/ Abstract. In the above-mentioned article we describe a novel approach to support multilingual verbalization of logical theories, axiomatizations, and other specifications such as business rules. This engineering solution is demonstrated with the Object Role Modeling language, although its underlying principles can be reused with other conceptual models and formal languages, such as Description Logics, to improve its understandability and usability by the domain expert. The engineering solution for multilingual verbalization is characterized by its flexibility, extensibility and maintainability of the verbalization templates, which allow for easy augmentation with other languages than the 11 currently supported. This report presents the Lithuanian verbalization template file. Given an ORM schema (or an ORM-ML file), and given the verbalization template, a Lithuanian verbalization of the rules and fact types (in the schema) is generated automatically. A comprehensive example of an ORM schema and its corresponding verbalization is generated and given in this report. 1 Introduction In the above-mentioned article, we present a novel approach to support multilingual verbalization of logical theories, formal axiomatizations, and other specifications such as business rules, ontologies, etc. We demonstrate our approach by providing a flexible and extensible verbalization template for the Object Role Modeling language. This template can be easily customized and translated into other human languages. This technical report provides the Lithuanian verbalization of the ORM models and rules. The verbalization of several other languages (including, but not limited to: German, Italian, Arabic, Russian, Dutch, Spanish, and French) can be found at the above-mentioned URL. The underlying principles of our approach can be reused for other conceptual models and formal languages, such as Description Logics. The objective was to define a template parameterized over a given set of rules, models, or axioms, with as output fixed-syntax pseudo natural language sentences. A simple example is the following: the formal rule x (Book(x) y (ISBN(y) Has(x,y))) can be translated into It is mandatory that each Book Has an ISBN. In this way, we enable domain experts themselves to build and/or validate the formal specifications of their domains, without having to know that these sentences are formal axioms; i.e. the underpinning 1 For Citation use: Jarrar, M., Keet, C.M., Gordevicius, J.: A Lithuanian Verbalization Template for ORM conceptual models and rules. A technical report of the article: Jarrar, M., Keet, C.M., Dongilli, P. Multilingual verbalization of ORM conceptual models and axiomatized ontologies. [Submitted].

logics and reasoning services are hidden from the user. Our approach with the provided templates can be reused in modeling business rules, ontologies, knowledge bases, etc. See [H04] for a similar approach to ORM business rules verbalization. In the following section, we present an ORM example followed by verbalization of all rules in this ORM schema. These verbalizations are generated automatically, according to the Lithuanian verbalization template presented in section 3. This approach is fully implemented and supported in the DogmaModeler ontology modeling tool [J05]. It is worth noting that DogmaModeler s automated verbalization has been used by tens of lawyers to build the Customer Complaint Ontology [J05][JVM03]. Remark on Modality: Our verbalization template can be adapted easily according to the application/reasoning scenario, whether it is used as integrity constraints, derivation/inference rules, business rules, etc. For example, the above mandatory constraint can be verbalized in different ways, such as: 1) Each Book must Has at least one ISBN. 2) Each Book Has some ISBN values. 3) If there is a Book then it Has an ISBN value. 4) A Book that does not Has an ISBN is not allowed. 5) If a Book does not Has an ISBN value then. 2 Example of an ORM Schema We illustrate in one diagram most types of rules supported in ORM. Our article [JKD06] describes technical details on how our verbalization approach is implemented, see [H01] to know more about ORM, and [J05] to know about the DogmaModeler tool that we use to build and automatically verbalize ORM models. Fig. 1. Example of ORM rules, in Lithuanian.

The constraints/rules in the above ORM example are verbalized automatically (according to the verbalization template presented in section 2): -[Mandatory] Kiekvienas Asmuo privalo Turi bent vieną PasoNumeris. -[Mandatory] Kiekvienas Asmuo privalo Turi bent vieną GimimoData. -[Mandatory] Kiekvienas Sąskaita turėtų būti Asmuo arba Priklauso Kompanija Priklauso. -[Uniqueness] Kiekvienas Asmuo privalo Turi daugiausia vieną GimimoData. -[Uniqueness] Kiekvienas Asmuo privalo Turi daugiausia vieną Vardas. -[Uniqueness] Kiekvienas Asmuo privalo Turi daugiausia vieną PasoNumeris. -[Uniqueness] Kiekvienas PasoNumeris privalo Priklauso daugiausia vieną Asmuo. -[Uniqueness] įmanoma, kad Asmuo Moko daugiau nei vieną Kursas ir atvirkščiai. -[Uniqueness] įmanoma, kad Asmuo Redaguoja daugiau nei vieną Knyga ir atvirkščiai. -[Uniqueness] įmanoma, kad Asmuo Rašo daugiau nei vieną Knyga ir atvirkščiai. -[Uniqueness] įmanoma, kad Asmuo Vairuoja daugiau nei vieną Automobilis ir atvirkščiai. -[Uniqueness] { GimimoData ir Vardas } turi atitikti daugiausia vieną Asmuo. -[Exclusive] Kiekvienas Asmuo turėtų būti arba Vyras, arba Moteris. -[Totality] Kiekvienas Asmuo privalo būti mažiausiai Vyras, arba Moteris. -[Subset] Jei Asmuo Vairuoja Automobilis, tai Asmuo Autorizuotas VairuotojoPažymėjimas. -[Subset] Jei Vadovas Valdo Kompanija, tai šis Asmuo Dirba tam/tai Kompanija. -[Equality] Asmuo Dirba Universitetas tada ir tik tada, kai Asmuo Moko Kursas. -[Equality] Asmuo SusijęsSu Kompanija tada ir tik tada, kai šis Asmuo Dirba tam/tai Kompanija. -[Exclusion] Nei vienas Sąskaita ne- Priklauso Asmuo, kai Priklauso Kompanija. -[Exclusion] Niekada Asmuo, kuris Redaguoja Knyga, tos Knyga ne- Rašo. -[Value] Galimos Šalis reikšmės yra: { Belgija, Prancūzija, Vokietija }. -[Irreflexive] Joks Asmuo nėra Kolega pats sau. -[Symmetric] Jei Asmuo X Kolega Asmuo Y, tai ir atvirkščiai. -[Acyclic] Asmuo negali būti tiesiogiai (arba netiesiogiai) AukštesnisUž pats sau. -[Acyclic] Moteris negali būti tiesiogiai (arba netiesiogiai) Sesuo pats sau. -[Asymmetric] Jei Moteris X Žmona Moteris Y, tai ne atvirkščiai. -[Intransitive] Jei Asmuo X Tėvas Asmuo Y, ir Y Tėvas Z, tai negali bti, kad X Tėvas Z. -[Frequency] Jei Asmuo Moko Kursas, tai šis Asmuo Moko mažiausiai 3 ir daugiausiai 6 Kursas. 3 The Lithuanian Verbalization Template The template is presented in an XML syntax, it is being implemented in the DogmaModeler tool to support the Lithuanian verbalization of ORM models. More details about this approach can be found [JKD06], and refer to [J05] about DogmaModeler. <?xml version='1.0' encoding='utf-8'?> <ORMSchema xmlns:xsi='http://www.w3.org/2001/xmlschema-instance' xsi:nonamespaceschemalocation='http://www.starlab.vub.ac.be/staff/mustafa/orm/verbaliz ation/'> <ORMNLMeta> <Meta name="dc.title" content="lithuanian verbalization template (Ver0.1)"/> <Meta name="dc.version" content="0.1"/> <Meta name="dc.creator" content="mustafa Jarrar"/> <Meta name="dc.contributor" content="juozas Gordevicius"/> <Meta name="dc.language" content="lithuanian"/> </ORMNLMeta> <ORMNLBody> <FactType xsi:type="facttype" > <Text></Text>

<Object index="0" /> <Role index="0" /> <Text>/</Text> <Role index="1" /> <Text></Text> <Object index="1" /> </FactType> <Constraint xsi:type="mandatory"> <Text> -[Mandatory] Kiekvienas</Text> <Text>privalo</Text> <Text>bent vieną</text> <Constraint xsi:type="backward Mandatory"> <Text> -[Mandatory] Kiekvienam</Text> <Text>yra bent vienas</text> <Text>, kuris</text> <Role index="1"/> <Text>tam</Text> <Constraint xsi:type="disjunctive Mandatory"> <Text> -[Mandatory] Kiekvienas</Text> <Text>turėtų būti</text> <Loop index="1" > <Text>arba</Text> <Role index="n"/> <Constraint xsi:type="uniqueness"> <Text> -[Uniqueness] Kiekvienas</Text> <Text>privalo</Text> <Text>daugiausia vieną</text> <Constraint xsi:type="backward Uniqueness"> <Text> -[Uniqueness] Kiekvienas</Text> <Text>turi turėti daugiausia vieną</text> <Text>kuris</Text> <Role index="1"/> <Text>tam</Text> <Constraint xsi:type="many Uniqueness"> <Text> -[Uniqueness] įmanoma, kad </Text>

<Role index="0"></role> <Text>daugiau nei vieną</text> <Text> ir atvirkščiai</text> <Constraint xsi:type="external Uniqueness"> <Text> -[Uniqueness] {</Text> <Text>ir</Text> <Text>} turi atitikti daugiausia vieną</text> <Constraint xsi:type="subtype"> <Text> -[Subtype] Kiekvienas</Text> <Object index="child"/> <Text>taip pat yra</text> <Object index="parent"/> <Constraint xsi:type="value"> <Text> -[Value] Galimos </Text> <Text> reikšmės yra: {</Text> <Value index="0"/> <Text>,</Text> <Value index="n"/> <Text> }</Text> <Constraint xsi:type="exclusive"> <Text> -[Exclusive] Kiekvienas</Text> <Text>turėtų būti arba</text> <Text>, arba</text> <Constraint xsi:type="total"> <Text> -[Total] Kiekvienas</Text> <Text>privalo būti mažiausiai</text> <Text>, arba</text> <Constraint xsi:type="partition"> <Text> -[Partition] Kiekvienas</Text> <Text>yra bent vienas iš</text>

<Text>, arba</text> <Text>, bet ne visi kartu</text> <Constraint xsi:type="subset"> <Text> -[Subset] Jei</Text> <Role index="child"/> <Object index="child"/> <Text>, tai</text> <Role index="parent"/> <Object index="parent"/> <Constraint xsi:type="subset FactType"> <Text> -[Subset] Jei</Text> <Role index="child"/> <Object index="child"/> <Text>, tai šis</text> <Object index="1" /> <Role index="parent"/> <Text>tam/tai</Text> <Object index="parent"/> <Constraint xsi:type="equality"> <Text> -[Equality] </Text> <Role index="first"/> <Text> </Text> <Object index="first"/> <Text>tada ir tik tada, kai </Text> <Role index="second"/> <Text> </Text> <Object index="second"/> <Constraint xsi:type="equality FactType"> <Text> -[Equality] </Text> <Role index="first"/> <Object index="first"/> <Text>tada ir tik tada, kai</text> <Text>šis</Text> <Role index="second"/> <Text>tam/tai</Text> <Object index="second"/> <Constraint xsi:type="exclusion"> <Text> -[Exclusion] Nei vienas </Text> <Text>ne-</Text> <Role index="first"/>

<Text> </Text> <Object index="first"/> <Text>, kai</text> <Role index="second"/> <Text> </Text> <Object index="second"/> <Constraint xsi:type="exclusion FactType"> <Text> -[Exclusion] Niekada</Text> <Text>, kuris</text> <Role index="first"/> <Object index="first"/> <Text>, tos</text> <Object index="second"/> <Text>ne-</Text> <Role index="second"/> <Constraint xsi:type="frequency"> <Text> -[Frequency] Jei </Text> <Text>, tai šis </Text> <Text>mažiausiai </Text> <Minimum/> <Text> ir daugiausiai </Text> <Maximum/> <Constraint xsi:type="irreflexive"> <Text> -[Irreflexive] Joks</Text> <Text>nėra</Text> <Text> pats sau</text> <Constraint xsi:type="symmetric"> <Text> -[Symmetric] Jei</Text> <Text>X</Text> <Text>Y</Text> <Text>, tai ir atvirkščiai</text> <Constraint xsi:type="asymmetric"> <Text> -[Asymmetric] Jei</Text> <Text> X</Text> <Text> </Text> <Text> Y, tai ne atvirkščiai</text>

<Constraint xsi:type="acyclic"> <Text> -[Acyclic] </Text> <Text> negali būti tiesiogiai (arba netiesiogiai)</text> <Text> pats sau</text> <Constraint xsi:type="transitve"> <Text> -[Intransitve] Jei</Text> <Text>X</Text> <Text>Y, ir Y</Text> <Text> Z, tai negali bti, kad X</Text> <Text>Z</Text> </ORMNLBody> </ORMSchema> Acknowledgments We are in debt to Andriy Lisovoy who helped in the implementation of DogmaModeler, and to Hai Nguyen Hoang who helped in the first implementation of the verbalization component during his Master thesis. This work is partially supported by the EU Knowledge Web NoE project (IST-2004-507482). References [JKD06] Jarrar, M., Keet, C.M., Dongilli, P. Multilingual verbalization of ORM conceptual models and axiomatized ontologies. [Submitted]. [J05] Jarrar, M.: Towards Methodological Principles for Ontology Engineering. PhD thesis, Vrije Universiteit Brussel, 2005. [JVM03] Jarrar, M., Verlinden, R., Meersman, R.: Ontology-based Customer Complaint Management. In: Jarrar M., Salaun A., (eds.): Proceedings of the workshop on regulatory ontologies and the modeling of complaint regulations, Catania, Sicily, Italy. Springer Verlag LNCS. Vol. 2889. November (2003) pp. 594 606 [H01] Halpin, T.: Information Modeling and Relational Databases. 3 rd ed. Morgan-Kaufmann. (2001) [H04] Halpin, T.: Business Rule Verbalization. In Doroshenko, A., Halpin, T., Liddle, S., Mayr H. (eds): Information Systems Technology and its Applications, 3 rd International Conference (ISTA'2004), LNI 48 GI ISBN 3-88579-377-6, (2004) pp:39-52.