ORM Modeling Tips and Common Mistakes

Similar documents
Quick Mathematical Background for Conceptual Modeling

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

Subset, Equality, and Exclusion Rules In ORM

Schema Equivalence and Optimization

Uniqueness and Identity Rules in ORM

Subset, Equality, and Exclusion Rules In ORM

Schema Equivalence and Optimization

Uniqueness and Identity Rules in ORM

Conceptual Data Modeling Concepts & Principles

Introduction to Conceptual Data Modeling

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

RDF Graph Data Model

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

Data Integration and Fusion using RDF

Data Schema Integration

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

Introduction to Data Integration

Introduction to modeling. ER modelling

A Lithuanian Verbalization Template for ORM conceptual models and rules

A Spanish Verbalization Template for ORM conceptual models and rules

Verbalizing Business Rules: Part 10

Annotation for the Semantic Web During Website Development

Information Modeling and Relational Databases

Towards Automated Reasoning on ORM Schemes

Unsatisfiability Reasoning in ORM Conceptual Schemes

Microsoft s new database modeling tool: Part 3

Introduction to modeling

Introduction to Web 2.0 Data Mashups

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

Ontological Modeling: Part 14

Verbalizing Business Rules: Part 9

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

Microsoft s new database modeling tool: Part 5

SPARQL (RDF Query Language)

The Data Web and Linked Data.

The Conference Review System with WSDM

Ontological Modeling: Part 15

Ontological Modeling: Part 11

Object-role modelling (ORM)

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

Chapter 8: Enhanced ER Model

Chapter 2 Conceptual Modeling. Objectives

STAR Lab Technical Report

UML Data Models From An ORM Perspective: Part 3

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

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

CURRICULUM VITAE. June, 2013

Ontology-based Customer Complaint Management

Formal Semantics of Dynamic Rules in ORM

Automatic Service Discovery and Integration using Semantic Descriptions in the Web Services Management Layer

The OASIS Applications Semantic (Inter-) Connection Framework Dionisis Kehagias, CERTH/ITI

Entity Relationship modeling from an ORM perspective: Part 2

Web Portal : Complete ontology and portal

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

Prototyping Navigation in Web-Based Information Systems Using WebML

PECULIARITIES OF LINKED DATA PROCESSING IN SEMANTIC APPLICATIONS. Sergey Shcherbak, Ilona Galushka, Sergey Soloshich, Valeriy Zavgorodniy

An ontology-driven unifying metamodel for UML Class Diagrams, EER, and ORM2

Web Design for the Semantic Web

2 nd UML 2 Semantics Symposium: Formal Semantics for UML

Database Systems. Overview - important points. Lecture 5. Some introductory information ERD diagrams Normalization Other stuff 08/03/2015

Object Role Modelling for Ontology Engineering in the DOGMA framework

Entity-Relationship Model. From Chapter 5, Kroenke book

UML data models from an ORM perspective: Part 4

Proceed Requirements Meta-Model For Adequate Business Intelligence Using Workflow

Developing CASE tools which support integrated development notations

An analysis and characterisation of publicly available conceptual models

Represent entities and relations with diagrams

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

Data Modeling with the Entity Relationship Model. CS157A Chris Pollett Sept. 7, 2005.

Data Modeling Online Training

Web-page Indexing based on the Prioritize Ontology Terms

Participatory Quality Management of Ontologies in Enterprise Modelling

Entity Relationship Diagram (ERD): Basics

Entity Relationship Modelling

Data Modeling Using the Entity-Relationship (ER) Model

STAR Lab Technical Report

Data Modeling: Beginning and Advanced HDT825 Five Days

Data modelling versus Ontology engineering

A rule-based approach to address semantic accuracy problems on Linked Data

A Map-based Integration of Ontologies into an Object-Oriented Programming Language

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

Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques. Fundamentals, Design, and Implementation, 9/e

EFFICIENT INTEGRATION OF SEMANTIC TECHNOLOGIES FOR PROFESSIONAL IMAGE ANNOTATION AND SEARCH

Lecture 1/2. Copyright 2007 STI - INNSBRUCK

C++ Programming Language Lecture 2 Problem Analysis and Solution Representation

Post Disaster 3D Modeling of a Collapsed City: Citadel of Bam, Iran

Chapter 8 The Enhanced Entity- Relationship (EER) Model

Improving Adaptive Hypermedia by Adding Semantics

Revising and Managing Multiple Ontology Versions in a Possible Worlds Setting

ITT Technical Institute. CS330 Database Design and Implementation Onsite Course SYLLABUS

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

Scalability and Knowledge Reusability in Ontology Modeling

J I N G H A I R A O. Institute for Software Research School of Computer Science Carnegie Mellon University 5000 Forbes Ave Pittsburgh, PA 15213

Web-Page Indexing Based on the Prioritized Ontology Terms

In parallel with the hypertext Web s. Querying the Data Web. The MashQL Approach. Mashups

ANALYTICS DRIVEN DATA MODEL IN DIGITAL SERVICES

Overview. Introduction. Introduction XML XML. Lecture 16 Introduction to XML. Boriana Koleva Room: C54

Ministry of Higher Education and Scientific research

Outline. Program development cycle. Algorithms development and representation. Examples.

Ontological Modeling: Part 8

Transcription:

Reference: Mustafa Jarrar: Lecture Notes on ORM Modeling Tips and Common Mistakes University of Birzeit, Palestine, 2015 ORM Modeling Tips and Common Mistakes Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu www.jarrar.info 1

Watch this lecture and download the slides Course Page: http://www.jarrar.info/courses/knowledgeengineering/ More Online Courses at: http://www.jarrar.info/courses/ Some diagrams in this lecture are based on [1] Keywords: freuency constraints, occurrence constraints, Cardinality, multiplicity, Rules, Business Rules, Business logic derivation rules, integrity constraints 2

Conceptual Schema Design Steps 1. From examples to elementary facts 2. Draw fact types and apply population check 3. Combine entity types 4. Add uniueness constraints 5. Add mandatory constraints 6. Add subtype relations and other constraints 7. Final checks, & schema engineering issues 3

Modeling Check List Check each role in the model, whether it should be uniue? Check each role in the model, whether it should be Mandatory? Check each entity (Object Type) whether it has an identity? Check each leaf nodes whether should be Value Type? Check each value constraint whether it placed on Value Type only? The syntax of values and ranges in value constraints is correct. Check each subtype, that it is playing some roles. External uniueness and disjunctive mandatory constraints are placed on the correct roles. Preferred: If you have subtypes, then their supper type should have a value constraint. 4

Naming Role names: At least one role, in each relation, has a label. Names should be correct, expressive, and meaningful Naming style: for example WorksFor, AffiliatedWith, IsOf, etc. Concept Names: Should be expressive and meaningful (as used in the domain), correct translation Naming style: for example FacultyMember, NaturalPerson Don t use plural as concept labels (e.g., students, courses). 5

Readability\Beauty of Diagrams Place related properties beside each other (country, city ) or (name, fname, lname). Flip roles if needed. Lines are straight, and the whole diagram is balanced (as much as you can) Page layout is landscape if needed. The sizes of the concepts are eual, unless you what to emphasize the main concepts. Important concepts are placed in the middle, and all concepts are aligned. Roles are aligned and similar roles have the size. Populate a page as much as you can (BUT NOT too much) Do not clone concepts if not necessary Modularize a large diagram into pages (but keep very related concepts in the same page).first pages contain the most important Write your project details (name, course, year, project#, date,.) in each page. 6

References [1] Terry Halpin, Tony Morgan: Information Modeling and Relational Databases, Second Edition. Second Edition. The Morgan Kaufmann Series in Data Management Systems. ISBN: 0123735688 [2] Mustafa Jarrar and Robert Meersman: Ontology Engineering -The DOGMA Approach. Book Chapter in "Advances in Web Semantics I". Chapter 3. Pages 7-34. LNCS 4891, Springer.ISBN:978-3540897835. (2008). [3] Mustafa Jarrar, Anton Deik, Bilal Faraj: Ontology-Based Data And Process Governance Framework -The Case Of E-Government Interoperability In Palestine. In pre-proceedings of the IFIP International Symposium on Data-Driven Process Discovery and Analysis (SIMPDA 11). Pages(83-98). ISBN 978-88-903120-2-1. Campione, Italy. June 30, 2011. [4] Mustafa Jarrar: Mapping ORM Into The SHOIN/OWL Description Logic- Towards A Methodological And Expressive Graphical Notation For Ontology Engineering. In OTM 2007 workshops: Proceedings of the International Workshop on Object-Role Modeling (ORM'07). Pages (729-741), LNCS 4805, Springer. ISBN: 9783540768890. Portogal. November, 2007 [5] Mustafa Jarrar: Towards Automated Reasoning On ORM Schemes. -Mapping ORM Into The DLR_idf Description Logic. In proceedings of the 26th International Conference on Conceptual Modeling (ER 2007). Pages (181-197). LNCS 4801, Springer. Auckland, New Zealand. ISBN 9783540755623. November 2007 [6] Mustafa Jarrar and Stijn Heymans: Unsatisfiability Reasoning In ORM Conceptual Schemes. In Current Trends in Database Technology - EDBT 2006: Proceeding of the IFIP-2.6 International Conference on Semantics of a Networked. Pages (517-534). LNCS 4254, Springer. Munich, Germany. ISBN: 3540467882. March 2006. [7] Mustafa Jarrar and Stijn Heymans: Towards Pattern-Based Reasoning For Friendly Ontology Debugging. Journal of Artificial Intelligence Tools. Volume 17. No.4. World Scientific Publishing. August 2008. [8] Mustafa Jarrar, Maria Keet, and Paolo Dongilli: Multilingual Verbalization Of ORM Conceptual Models And Axiomatized Ontologies. Technical report. STARLab, Vrije Universiteit Brussel, February 2006. [9] Sergey Lukichev and Mustafa Jarrar: Graphical Notations For Rule Modeling. Book chapter in "Handbook of Research on Emerging Rule-Based Languages and Technologies". IGI Global. ISBN:1-60566-402-2. (2009) [10] Mustafa Jarrar: Modularization And Automatic Composition Of Object-Role Modeling (ORM) Schemes.OTM 2005 Workshops: Proceedings of the Object-Role Modeling (ORM'05). Pages (613-625). LNCS 3762, Springer. ISBN: 3540297391. 2005. [11] Mustafa Jarrar: Towards Methodological Principles For Ontology Engineering. PhD Thesis. Vrije Universiteit Brussel. (May 2005) [12] Mustafa Jarrar, Jan Demey, and Robert Meersman: On Using Conceptual Data Modeling For Ontology Engineering. Journal on Data Semantics, Special issue on "Best papers from the ER/ODBASE/COOPIS 2002 Conferences". LNCS 2800. No 1. Springer. 2003. [13] Jan Demey, Mustafa Jarrar, and Robert Meersman: A Markup Language For ORM Business Rules. Proceedings of the International Workshop on Rule Markup Languages for Business Rules on the Semantic Web (RuleML 2002). Pages(107-128). Volume 60. CEUR Workshop Proceedings. ISSN 1613-0073. June 2002 [14] Mustafa Jarrar: Towards Effectiveness And Transparency In E-Business Transactions, An Ontology For Customer Complaint Management. A book chapter in "Semantic Web Methodologies for E-Business Applications". chapter 7. IGI Global. (2008) [15] Mustafa Jarrar: ORM Markup Language, Version 3. Technical Report. STAR Lab, Vrije Universiteit Brussel, Belgium. January 2007 7