A Spanish Verbalization Template for ORM conceptual models and rules

Similar documents
A Lithuanian 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

Introduction to Conceptual Data Modeling

Unsatisfiability Reasoning in ORM Conceptual Schemes

Ontology-based Customer Complaint Management

Towards Automated Reasoning on ORM Schemes

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

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

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

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

Annotation for the Semantic Web During Website Development

The Conference Review System with WSDM

Verbalizing Business Rules: Part 9

A formal comparison of conceptual data modeling languages

Introduction to modeling. ER modelling

A Meta-Model for Ontologies with ORM2

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

Microsoft s new database modeling tool: Part 3

Ontological Modeling: Part 8

Participatory Quality Management of Ontologies in Enterprise Modelling

Ontology integration in a multilingual e-retail system

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

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

Web-page Indexing based on the Prioritize Ontology Terms

Ontological Modeling: Part 15

Information Modeling and Relational Databases

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

Revising and Managing Multiple Ontology Versions in a Possible Worlds Setting

GI - Internet Management

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

Proceed Requirements Meta-Model For Adequate Business Intelligence Using Workflow

Web Design for the Semantic Web

b) Use one of your methods to calculate the area of figure c.

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

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

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

The Semantic Web Explained

1. Information Systems for Design Support

NeOn Methodology for Building Ontology Networks: a Scenario-based Methodology

An analysis and characterisation of publicly available conceptual models

SISE Semantics Interpretation Concept

Introducing fuzzy quantification in OWL 2 ontologies

Integrating SysML and OWL

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

Improving Adaptive Hypermedia by Adding Semantics

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

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

PROMT Flexible and Efficient Management of Translation Quality

Web Portal : Complete ontology and portal

DPLFW: a Framework for the Product-Line-Based Generation of Variable Content Documents

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

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

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

ECHA -term User Guide

RaDON Repair and Diagnosis in Ontology Networks

DESIGN PATTERN MATCHING

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

Ontology method construction for intelligent decision support systems

Math 187 Sample Test II Questions

Requirements Engineering for Enterprise Systems

A Tool for Storing OWL Using Database Technology

A Framework for the Internationalization of Data-Intensive Web Applications

Revising and Managing Multiple Ontology Versions in a Possible Worlds Setting

STAR Lab Technical Report

Analyzing OpenCourseWare usage by means of social tagging

Web-Page Indexing Based on the Prioritized Ontology Terms

Scalability and Knowledge Reusability in Ontology Modeling

arxiv: v1 [cs.lo] 23 Apr 2012

HyperSD: a Semantic Desktop as a Semantic Web Application

Ontological Modeling: Part 14

Evolva: A Comprehensive Approach to Ontology Evolution

Object Role Modelling for Ontology Engineering in the DOGMA framework

Data modelling versus Ontology engineering

Guiding System Modelers in Multi View Environments: A Domain Engineering Approach

The Synonym Management Process in SAREL

Ontology- and Bayesian- based Information Security Risk Management

Ontology Creation and Development Model

A STRUCTURAL OPTIMIZATION METHODOLOGY USING THE INDEPENDENCE AXIOM

Considering Additional Adaptation Concerns in the Design of Web Applications

Ontological Modeling: Part 7

Reasoning on Business Processes and Ontologies in a Logic Programming Environment

A Novel Method for the Comparison of Graphical Data Models

Welcome to the IBEROSTAR Hotels & Resorts affiliate programme. Seize the chance of earning commissions for helping us boost our sales.

Microsoft s new database modeling tool: Part 5

The NORMA Software Tool for ORM 2

The UCD community has made this article openly available. Please share how this access benefits you. Your story matters!

Transcription:

A Spanish Verbalization Template for ORM conceptual models and rules Mustafa Jarrar, Vrije Universiteit Brussel, Belgium. (Contact Author) Maria Keet, Free University of Bozen-Bolzano, Italy. Núria Casellas, Universidad Autónoma de Barcelona, Spain. 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 Spanish verbalization template file. Given an ORM schema (or an ORM-ML file), and given the verbalization template, a Spanish 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 Spanish verbalization of the ORM models and rules. The verbalization of several other languages (including, but not limited to: German, Italian, Arabic, Russian, Spanish, French, and Lithuanian) 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., Casellas, N.: A Spanish 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 Spanish 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 Spanish.

The constraints/rules in the above ORM example are verbalized automatically (according to the verbalization template presented in section 2): -[Mandatory] Cada Persona debe A al menos un(a) NoDePasaporte. -[Mandatory] Cada Persona debe A al menos un(a) FechaDeNacimento. -[Mandatory] Cada CuentaBancaria debería ser EsPropiedadDe Empresa o EsPropiedadDe Persona. -[Uniqueness] Cada Persona debe A como máximo un(a) FechaDeNacimento. -[Uniqueness] Cada Persona debe A como máximo un(a) Nombre. -[Uniqueness] Cada Persona debe A como máximo un(a) NoDePasaporte. -[Uniqueness] Cada NoDePasaporte debe PertenceA como máximo un(a) Persona. -[Uniqueness] Es posible que Persona Enseña más de un(a) Curso, y viceversa. -[Uniqueness] Es posible que Persona Reseña más de un(a) Libro, y viceversa. -[Uniqueness] Es posible que Persona Escribe más de un(a) Libro, y viceversa. -[Uniqueness] Es posible que Persona Conduce más de un(a) Coche, y viceversa. -[Uniqueness] la combinación de { FechaDeNacimento y Nombre } debe referirse sólo a un(a) Persona. -[Exclusive] Cada Persona debería ser o bien Mujer o Hombre. -[Totality] Cada Persona debe ser, al menos, Mujer o Hombre. -[Subset] Si un(a) Persona Conduce un(a) Coche, entonces eso(a) Persona Tiene un(a) PermisoDeConducir. -[Subset] Si un(a) Director Dirige un(a) Empresa, entonces este(a) Persona TrabajaPara eso/a Empresa. -[Equality] Persona TrabajaPara un(a) Universidad si y sólo si este(a) Persona Enseña Curso. -[Equality] Persona ContratadoPor Empresa si y sólo si este(a) Persona TrabajaPara ese Empresa. -[Exclusion] Ningún(a) CuentaBancaria EsPropiedadDeEmpresa y también EsPropiedadDe Persona. -[Exclusion] Ningún(a) Persona Escribe Libro y también Reseña este(a) Libro. - [Value] Las posibles instancias de País son:{ Bélgica, Francia, Alemania} -[Irreflexive] Ningún(a) Persona ColegaDe él(ella) mismo(a). - [Symmetric] Si Persona X ColegaDe Persona Y, debe suceder también a la inversa. -[Acyclic] Persona no puede ser directamente (o indirectamente a través de una cadena) JefeDe él(ella) mismo(a). -[Acyclic] Mujer no puede ser directamente (o indirectamente a través de una cadena) HermanaDe él(ella) mismo(a). -[Asymmetric] Si Persona X EsposaDe Persona Y, no puede suceder a la inversa. -[Intransitive] Si Persona X ProgenitorDe Persona Y, y Y ProgenitorDe Z, entonces no puede suceder que X ProgenitorDe Z. -[Frequency] Si Persona Enseña Curso, entonces este/a Persona Enseña al menos 3 y como máximo 6 Curso(s). 3 The Spanish Verbalization Template The template is presented in an XML syntax, it is being implemented in the DogmaModeler tool to support the Spanish 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 /verbalization/'> <ORMNLMeta> <Meta name="dc.title" content="spanish verbalization template (Ver0.1)"/> <Meta name="dc.version" content="0.1"/> <Meta name="dc.creator" content="mustafa Jarrar"/>

<Meta name="dc.contributor" content="maria Keet"/> <Meta name="dc.language" content="spanish"/> </ORMNLMeta> <ORMNLBody> <FactType xsi:type="facttype" > <Text></Text> <Object index="0" /> <Role index="0" /> <Object index="1" /> <Text> / </Text> <Object index="1" /> <Role index="1" /> <Object index="0" /> </FactType> <Constraint xsi:type="mandatory"> <Text> -[Mandatory] Cada</Text> <Text>debe</Text> <Text>al menos un(a)</text> <Constraint xsi:type="backward Mandatory"> <Text> -[M] Por cada</text> <Text>hay al menos un(a)</text> <Text>que</Text> <Role index="1"/> <Text>este/a</Text> <Constraint xsi:type="disjunctive Mandatory"> <Text> -[Mandatory] Cada</Text> <Text>debería ser</text> <Loop index="1" > <Text>o</Text> <Role index="n"/> <Constraint xsi:type="uniqueness"> <Text> -[Uniqueness] Cada</Text> <Text>debe</Text> <Text>como máximo un(a)</text>

<Constraint xsi:type="backward Uniqueness"> <Text> -[Uniqueness] Por cada</text> <Text>debe haber sólo un</text> <Text>eso/a</Text> <Role index="1"/> <Text>esto</Text> <Constraint xsi:type="many Uniqueness"> <Text> -[Uniqueness] Es posible que </Text> <Role index="0"></role> <Text>más de un(a)</text> <Text>, y viceversa</text> <Constraint xsi:type="external Uniqueness"> <Text> -[Uniqueness] la combinación de {</Text> <Text>y</Text> <Text>} debe referirse sólo a un(a)</text> <Constraint xsi:type="subtype"> <Text> -[Subtype] Cada instancia</text> <Object index="child"/> <Text> es también una instancia de </Text> <Object index="parent"/> <Constraint xsi:type="value"> <Text> -[Value] Las posibles instancias de </Text> <Text> son :{</Text> <Value index="0"/> <Text>,</Text> <Value index="n"/> <Text> }</Text> <Constraint xsi:type="exclusive"> <Text> -[Exclusive] Cada</Text> <Text>debería ser o bien</text>

<Text>o</Text> <Constraint xsi:type="total"> <Text> -[Totality] Cada</Text> <Text>debe ser, al menos, </Text> <Text>o</Text> <Constraint xsi:type="partition"> <Text> -[Partition] Cada</Text> <Text>es como mínimo uno de</text> <Text>o</Text> <Text>pero no todos</text> <Constraint xsi:type="subset"> <Text> -[Subset] Si un(a)</text> <Role index="child"/> <Text>un(a)</Text> <Object index="child"/> <Text>, entonces eso(a) </Text> <Role index="parent"/> <Text>un(a)</Text> <Object index="parent"/> <Constraint xsi:type="subset FactType"> <Text> -[Subset] Si un(a)</text> <Role index="child"/> <Text>un(a)</Text> <Object index="child"/> <Text>, entonces este(a) </Text> <Object index="1" /> <Role index="parent"/> <Text>eso/a</Text> <Object index="parent"/> <Constraint xsi:type="equality"> <Text> -[Equality] </Text>

<Role index="first"/> <Text> un(a) </Text> <Object index="first"/> <Text>si y sólo si</text> <Text>este(a) </Text> <Role index="second"/> <Object index="second"/> <Constraint xsi:type="equality FactType"> <Text> -[Equality] </Text> <Role index="first"/> <Object index="first"/> <Text>si y sólo si</text> <Text>este(a)</Text> <Role index="second"/> <Text>ese</Text> <Object index="second"/> <Constraint xsi:type="exclusion"> <Text> -[Exclusion] Ningún(a)</Text> <Role index="first"/> <Object index="first"/> <Text>y también</text> <Role index="second"/> <Object index="second"/> <Constraint xsi:type="exclusion FactType"> <Text> -[Exclusion] Ningún(a)</Text> <Role index="first"/> <Object index="first"/> <Text>y también</text> <Role index="second"/> <Text>este(a)</Text> <Object index="second"/> <Constraint xsi:type="frequency"> <Text> -[Frequency] Si </Text> <Text>, entonces este(a) </Text>

<Text>al menos </Text> <Minimum/> <Text> y como máximo </Text> <Maximum/> <Text>(os)</Text> <Constraint xsi:type="irreflexive"> <Text> -[Irreflexive] Ningún(a)</Text> <Text> él(ella) mismo(a)</text> <Constraint xsi:type="symmetric"> <Text> -[Symmetric] Si</Text> <Text>X</Text> <Text>Y</Text> <Text>, debe suceder también a la inversa</text> <Constraint xsi:type="asymmetric"> <Text> -[Asymmetric] Si</Text> <Text>X</Text> <Text> Y, no puede suceder a la inversa</text> <Constraint xsi:type="acyclic"> <Text> -[Acyclic] </Text> <Text> no puede ser directamente (o indirectamente a través de una cadena)</text> <Text> él(ella) mismo(a)</text> <Constraint xsi:type="transitve"> <Text> -[Intransitve] Si</Text> <Text>X</Text> <Text>Y, y Y</Text> <Text> Z, entonces no puede suceder que 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.