SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
‫أكاديمية الحكومة اإللكترونية الفلسطينية‬
        The Palestinian eGovernment Academy
                         www.egovacademy.ps



Tutorial 1: Data and Business Process Modeling
                        Session 1.2
    Conceptual Data Modeling using
     Object-Role Modeling (ORM)

                Prof. Mustafa Jarrar
               Sina Institute, University of Birzeit
                       mjarrar@birzeit.edu
                          www.jarrar.info


                          Reviewed by
           Prof. Marco Ronchetti, Trento University, Italy
                           PalGov © 2011                         1
About

This tutorial is part of the PalGov project, funded by the TEMPUS IV program of the
Commission of the European Communities, grant agreement 511159-TEMPUS-1-
2010-1-PS-TEMPUS-JPHES. The project website: www.egovacademy.ps
Project Consortium:
             Birzeit University, Palestine
                                                           University of Trento, Italy
             (Coordinator )


             Palestine Polytechnic University, Palestine   Vrije Universiteit Brussel, Belgium


             Palestine Technical University, Palestine
                                                           Université de Savoie, France

             Ministry of Telecom and IT, Palestine
                                                           University of Namur, Belgium
             Ministry of Interior, Palestine
                                                           TrueTrust, UK
             Ministry of Local Government, Palestine


Coordinator:
Dr. Mustafa Jarrar
Birzeit University, P.O.Box 14- Birzeit, Palestine
Telfax:+972 2 2982935 mjarrar@birzeit.eduPalGov © 2011
                                                                                                 2
© Copyright Notes
Everyone is encouraged to use this material, or part of it, but should properly
cite the project (logo and website), and the author of that part.


No part of this tutorial may be reproduced or modified in any form or by any
means, without prior written permission from the project, who have the full
copyrights on the material.




                   Attribution-NonCommercial-ShareAlike
                                CC-BY-NC-SA

This license lets others remix, tweak, and build upon your work non-
commercially, as long as they credit you and license their new creations
under the identical terms.

                                    PalGov © 2011                                 3
Tutorial Map


                       Intended Learning Objectives
                                                                                                                      Topic                       Time
Module 1 (Conceptual Date Modeling)
                                                                                               Module I: Conceptual Data Modeling
A: Knowledge and Understanding
11a1: Demonstrate knowledge of conceptual modeling notations and concepts                       Session 0: Outline and Introduction
11a2: Demonstrate knowledge of Object Role Modeling (ORM) methodology.                          Session 1.1: Information Modeling                 1
11a3: Explain and demonstrate the concepts of data integrity & business rules                   Session 1.2: Conceptual Data Modeling using ORM   1
B: Intellectual Skills                                                                          Session 1.3: Conceptual Analyses                  1
11b1: Analyze application and domain requirements at the conceptual level,                      Session 2: Lab- Conceptual Analyses               3
and formalize it using ORM.                                                                     Session 3.1: Uniqueness Rules                     1.5
11b2: Analyze entity identity at the application and domain levels.                             Session 3.2: Mandatory Rules                      1.5
11b4: Optimize, transform, and (re)engineer conceptual models.                                  Session 4: Lab- Uniqueness & Mandatory Rules      3
11b5: Detect &resolve contradictions & implications at the conceptual level.                    Session 5: Subtypes and Other Rules               3
C: Professional and Practical Skills                                                            Session 6: Lab- Subtypes and Other Rules          3
11c1: Using ORM modeling tools (Conceptual Modeling Tools).                                     Session 7.1: Schema Equivalence &Optimization     1.5
Module 2 (Business Process Modeling)                                                            Session 7.2: Rules Check &Schema Engineering      1.5
A: Knowledge and Understanding                                                                  Session 8: Lab- National Student Registry         3
12a1: Demonstrate knowledge of business process modeling notations and concepts.
                                                                                               Module II: Business Process Modeling
12a2: Demonstrate knowledge of business process modeling and mapping.
12a3: Demonstrate understand of business process optimization and re-engineering.               Session 9: BP Management and BPMN: An Overview    3
B: Intellectual Skills                                                                          Session 10: Lab - BP Management                   3
12b1: Identify business processes.                                                              Session 11: BPMN Fundamentals                     3
12b2: Model and map business processes.                                                         Session 12: Lab - BPMN Fundamentals               3
12b3: Optimize and re-engineer business processes.                                              Session 13: Modeling with BPMN                    3
C: Professional and Practical Skills                                                            Session 14: Lab- Modeling with BPMN               3
12c1: Using business process modeling tools, such as MS Visio.                                  Session 15: BP Management & Reengineering         3
                                                                                                Session 16: Lab- BP Management & Reengineering    3

                                                                               PalGov © 2011                                                             4
Session ILOs


After completing this session students will be able to:

    11a1: Demonstrate knowledge of conceptual modeling notations
    and concepts


    11a2: Demonstrate knowledge of Object Role Modeling (ORM)
    methodology.


    11c1: Using ORM modeling tools (Conceptual Modeling Tools).




                             PalGov © 2011                         5
Remark: this tutorial is about
    Object-Role Modeling (ORM),
Not Object-Relational Mapping (ORM)




                PalGov © 2011         6
Object-Role Modeling (ORM)
                  Room                Time      Activity Code           Activity Name
                         20        Mon 9am              VMC         VisioModeler Class
                         20        Tue 2pm              VMC        VisioModeler Calss
                         33        Mon 9am              AQD         ActiveQuery Demo
                         33        Fri 5 pm                 SP              Staff party
                         …               …                  …                         …

               Time
               (dh)

Room                                 Activity                            Activity
 (Nr)                                (code)                               Name
        …at … is booked for…                        Has / refers to
         20   Mon 9am     VMC                        AQD         ActiveQuery Demo
         20   Tue 2pm     VMC                          SP               Staff party
         33   Mon 9am     AQD                        VMC     VisioModeler Calss
         33    Fri 5pm        SP                     VMC     VisioModeler Class
         …         …          …                       Y2K         Year 200 seminar
                               PalGov © 2011           …                        …         7
Object-Role Modeling (ORM)

                     Representing information graphically

        MovieName                 ReleaseYear       Director         Stars
                                                                     Robert De Niro
        Awakenings                1991              Penny Marshall
                                                                     Robin Williams
                                                                     William Baldwin
                     ReleasedIn
        Backdraft                 1991              Ron Howard       Robert De Niro
                                                    Year             Kurt Russell
        Cosmology                 1994              Terry Harding
                                                                     Kevin Costner
        Dances with wolves        1990              Kevin Costner
                                                                     Mary McDonnell
              DirectedBy/Directs

Movie
                                                     Person
                    StaredBy/


                                    PalGov © 2011                                      8
Object-Role Modeling (ORM)

•   ORM is conceptual modeling language.
•   ORM has an expressive graphical notation.
•   ORM is designed for modeling DB schemes at the conceptual level.
    You build an ORM schema and then click a bottom to automatically generate
      a database.
                     ReleasedIn
                                      Year

                 DirectedBy/Directs

         Movie
                                      Person
                   StaredBy/




                 Conceptual Level                              Logical Level

Our goal in this course is to use ORM as general Conceptual Modeling
  language, rather than as database modeling language.
 ORM can be used for modeling business rules, ontology, XML
  schemes, and others.

                                               PalGov © 2011                    9
ORM Usage Scenarios


                                                    Originally



                                                                                Database


                         Later



                                                                                Ontology




                                                                 Requirements      Record
XML Schema   Warehouse                                            Engineering    my recipes !
                         Business Rules        Web (x)Forms
                                          PalGov © 2011                                         10
Object-Role Modeling (ORM): Other Examples



             Has/Is-Of
                                       Title


Book
          Witten-By/Writes
                                      Author




                      PalGov © 2011            11
Object-Role Modeling (ORM): Other Examples



             Has/Is-Of
                                       Title
              1   Databases Systems
              2   Intro to Java
Book
                                               Called Population
          Witten-By/Writes
                                      Author
             1    J. Date
             2    B. Hacker
             2    A. Smith



                      PalGov © 2011                            12
Object-Role Modeling (ORM): Other Examples




               PalGov © 2011             13
Object-Role Modeling (ORM) constructs
  Called Object Type
(or Concept, or Class)                                       Relation
                                            Each part is called a Role




               Subtype relation
                                  PalGov © 2011                          14
Object-Role Modeling (ORM) constructs




                                            Called Fact Type
                         Each fact type should be elementary.




              PalGov © 2011                                15
Object-Role Modeling (ORM) constraints
                                              Uniqueness Constraint:
                                  Each ISBN must Is-Of at most one Book
           Uniqueness Constraint:
Each Book must has at most one ISBN




                                                           Uniqueness Constraint:
                                      It is possible that a Book is Written-By more
                                                    than one Author, and vice versa




               Mandatory Constraint:
  Each Book must has at Least one ISBN © 2011
                                   PalGov                                         16
eGov Ontology (using ORM)




             PalGov © 2011   17
Modeling Approaches (short discussion)

   Which is more intuitive for modelers? For domain experts?

 ER-model                                 UML-model




Nice for picturing to DB-schemes          Close to the way programmers
                                                       think
   ORM-model
                                                   Suitable for general
                                                 conceptual modeling, not
                                                    only DB schemes

                               PalGov © 2011                             18
References

1. www.zinnar.pna.ps

2. Information Modeling and Relational Databases: From
   Conceptual Analysis to Logical Design, Terry Halpin (ISBN 1-
   55860-672-6) – Chapter 1.




                               PalGov © 2011                      19

Mais conteúdo relacionado

Mais procurados

Pal gov.tutorial1.session15 16
Pal gov.tutorial1.session15 16Pal gov.tutorial1.session15 16
Pal gov.tutorial1.session15 16Mustafa Jarrar
 
Operation research mb 301
Operation research mb 301Operation research mb 301
Operation research mb 301pallavidawra1
 
Rivox technology Presentation
Rivox technology PresentationRivox technology Presentation
Rivox technology Presentationdicostajenny
 
Quality assurance 11x17
Quality assurance 11x17Quality assurance 11x17
Quality assurance 11x17swiss1234
 
Quality assurance 11x17
Quality assurance 11x17Quality assurance 11x17
Quality assurance 11x17swiss1234
 
bai giang java co ban - java cơ bản - bai 1
bai giang java co ban - java cơ bản - bai 1bai giang java co ban - java cơ bản - bai 1
bai giang java co ban - java cơ bản - bai 1ifis
 

Mais procurados (6)

Pal gov.tutorial1.session15 16
Pal gov.tutorial1.session15 16Pal gov.tutorial1.session15 16
Pal gov.tutorial1.session15 16
 
Operation research mb 301
Operation research mb 301Operation research mb 301
Operation research mb 301
 
Rivox technology Presentation
Rivox technology PresentationRivox technology Presentation
Rivox technology Presentation
 
Quality assurance 11x17
Quality assurance 11x17Quality assurance 11x17
Quality assurance 11x17
 
Quality assurance 11x17
Quality assurance 11x17Quality assurance 11x17
Quality assurance 11x17
 
bai giang java co ban - java cơ bản - bai 1
bai giang java co ban - java cơ bản - bai 1bai giang java co ban - java cơ bản - bai 1
bai giang java co ban - java cơ bản - bai 1
 

Semelhante a Pal gov.tutorial1.session1 2.conceptualdatamodelingusingorm

Business Process Modeling Notation Fundamentals
Business Process Modeling Notation FundamentalsBusiness Process Modeling Notation Fundamentals
Business Process Modeling Notation FundamentalsMustafa Jarrar
 
Pal gov.tutorial1.session9 10.bpmn-overview (mahmoud saheb's conflicted copy ...
Pal gov.tutorial1.session9 10.bpmn-overview (mahmoud saheb's conflicted copy ...Pal gov.tutorial1.session9 10.bpmn-overview (mahmoud saheb's conflicted copy ...
Pal gov.tutorial1.session9 10.bpmn-overview (mahmoud saheb's conflicted copy ...Mustafa Jarrar
 
Pal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outlinePal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outlineMustafa Jarrar
 
Pal gov.tutorial3.session10.lab4
Pal gov.tutorial3.session10.lab4Pal gov.tutorial3.session10.lab4
Pal gov.tutorial3.session10.lab4Mustafa Jarrar
 
W4 ucl@md day2011
W4 ucl@md day2011W4 ucl@md day2011
W4 ucl@md day2011MDDAY11
 
Pal gov.tutorial3.session11.integration.patterns
Pal gov.tutorial3.session11.integration.patternsPal gov.tutorial3.session11.integration.patterns
Pal gov.tutorial3.session11.integration.patternsMustafa Jarrar
 
Pal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemanticsPal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemanticsMustafa Jarrar
 
Pal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemanticsPal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemanticsMustafa Jarrar
 
Pal gov.tutorial2.session13 1.data schema integration
Pal gov.tutorial2.session13 1.data schema integrationPal gov.tutorial2.session13 1.data schema integration
Pal gov.tutorial2.session13 1.data schema integrationMustafa Jarrar
 
Object oriented system design
Object oriented system designObject oriented system design
Object oriented system designnkryption
 
Graduation Project Presentation - Design of Web Based E-learning as an Assist...
Graduation Project Presentation - Design of Web Based E-learning as an Assist...Graduation Project Presentation - Design of Web Based E-learning as an Assist...
Graduation Project Presentation - Design of Web Based E-learning as an Assist...R. Bambang Widiatmoko
 
How to implement a theory of correctness in the area of business processes an...
How to implement a theory of correctness in the area of business processes an...How to implement a theory of correctness in the area of business processes an...
How to implement a theory of correctness in the area of business processes an...Universität Rostock
 
Lightweight Model-Driven Engineering
Lightweight Model-Driven EngineeringLightweight Model-Driven Engineering
Lightweight Model-Driven EngineeringJordi Cabot
 
Pal gov.tutorial3.session1.soa
Pal gov.tutorial3.session1.soaPal gov.tutorial3.session1.soa
Pal gov.tutorial3.session1.soaMustafa Jarrar
 
PerformanceG2 Cognos Training Course Catalog 2011
PerformanceG2 Cognos Training Course Catalog 2011PerformanceG2 Cognos Training Course Catalog 2011
PerformanceG2 Cognos Training Course Catalog 2011PerformanceG2, Inc.
 
Pal gov.tutorial3.session14.lab6
Pal gov.tutorial3.session14.lab6Pal gov.tutorial3.session14.lab6
Pal gov.tutorial3.session14.lab6Mustafa Jarrar
 
Pal gov.tutorial3.session13.bpel
Pal gov.tutorial3.session13.bpelPal gov.tutorial3.session13.bpel
Pal gov.tutorial3.session13.bpelMustafa Jarrar
 

Semelhante a Pal gov.tutorial1.session1 2.conceptualdatamodelingusingorm (20)

Business Process Modeling Notation Fundamentals
Business Process Modeling Notation FundamentalsBusiness Process Modeling Notation Fundamentals
Business Process Modeling Notation Fundamentals
 
Pal gov.tutorial1.session9 10.bpmn-overview (mahmoud saheb's conflicted copy ...
Pal gov.tutorial1.session9 10.bpmn-overview (mahmoud saheb's conflicted copy ...Pal gov.tutorial1.session9 10.bpmn-overview (mahmoud saheb's conflicted copy ...
Pal gov.tutorial1.session9 10.bpmn-overview (mahmoud saheb's conflicted copy ...
 
Pal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outlinePal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outline
 
Pal gov.tutorial3.session10.lab4
Pal gov.tutorial3.session10.lab4Pal gov.tutorial3.session10.lab4
Pal gov.tutorial3.session10.lab4
 
W4 ucl@md day2011
W4 ucl@md day2011W4 ucl@md day2011
W4 ucl@md day2011
 
Mini Project- Torque Control of a DC Motor
Mini Project- Torque Control of a DC MotorMini Project- Torque Control of a DC Motor
Mini Project- Torque Control of a DC Motor
 
Mini Project- Face Recognition
Mini Project- Face RecognitionMini Project- Face Recognition
Mini Project- Face Recognition
 
Pal gov.tutorial3.session11.integration.patterns
Pal gov.tutorial3.session11.integration.patternsPal gov.tutorial3.session11.integration.patterns
Pal gov.tutorial3.session11.integration.patterns
 
DP PPTS by BK.pptx
DP PPTS by BK.pptxDP PPTS by BK.pptx
DP PPTS by BK.pptx
 
Pal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemanticsPal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemantics
 
Pal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemanticsPal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemantics
 
Pal gov.tutorial2.session13 1.data schema integration
Pal gov.tutorial2.session13 1.data schema integrationPal gov.tutorial2.session13 1.data schema integration
Pal gov.tutorial2.session13 1.data schema integration
 
Object oriented system design
Object oriented system designObject oriented system design
Object oriented system design
 
Graduation Project Presentation - Design of Web Based E-learning as an Assist...
Graduation Project Presentation - Design of Web Based E-learning as an Assist...Graduation Project Presentation - Design of Web Based E-learning as an Assist...
Graduation Project Presentation - Design of Web Based E-learning as an Assist...
 
How to implement a theory of correctness in the area of business processes an...
How to implement a theory of correctness in the area of business processes an...How to implement a theory of correctness in the area of business processes an...
How to implement a theory of correctness in the area of business processes an...
 
Lightweight Model-Driven Engineering
Lightweight Model-Driven EngineeringLightweight Model-Driven Engineering
Lightweight Model-Driven Engineering
 
Pal gov.tutorial3.session1.soa
Pal gov.tutorial3.session1.soaPal gov.tutorial3.session1.soa
Pal gov.tutorial3.session1.soa
 
PerformanceG2 Cognos Training Course Catalog 2011
PerformanceG2 Cognos Training Course Catalog 2011PerformanceG2 Cognos Training Course Catalog 2011
PerformanceG2 Cognos Training Course Catalog 2011
 
Pal gov.tutorial3.session14.lab6
Pal gov.tutorial3.session14.lab6Pal gov.tutorial3.session14.lab6
Pal gov.tutorial3.session14.lab6
 
Pal gov.tutorial3.session13.bpel
Pal gov.tutorial3.session13.bpelPal gov.tutorial3.session13.bpel
Pal gov.tutorial3.session13.bpel
 

Mais de Mustafa Jarrar

Clustering Arabic Tweets for Sentiment Analysis
Clustering Arabic Tweets for Sentiment AnalysisClustering Arabic Tweets for Sentiment Analysis
Clustering Arabic Tweets for Sentiment AnalysisMustafa Jarrar
 
Classifying Processes and Basic Formal Ontology
Classifying Processes  and Basic Formal OntologyClassifying Processes  and Basic Formal Ontology
Classifying Processes and Basic Formal OntologyMustafa Jarrar
 
Discrete Mathematics Course Outline
Discrete Mathematics Course OutlineDiscrete Mathematics Course Outline
Discrete Mathematics Course OutlineMustafa Jarrar
 
Business Process Implementation
Business Process ImplementationBusiness Process Implementation
Business Process ImplementationMustafa Jarrar
 
Business Process Design and Re-engineering
Business Process Design and Re-engineeringBusiness Process Design and Re-engineering
Business Process Design and Re-engineeringMustafa Jarrar
 
BPMN 2.0 Analytical Constructs
BPMN 2.0 Analytical ConstructsBPMN 2.0 Analytical Constructs
BPMN 2.0 Analytical ConstructsMustafa Jarrar
 
BPMN 2.0 Descriptive Constructs
BPMN 2.0 Descriptive Constructs  BPMN 2.0 Descriptive Constructs
BPMN 2.0 Descriptive Constructs Mustafa Jarrar
 
Introduction to Business Process Management
Introduction to Business Process ManagementIntroduction to Business Process Management
Introduction to Business Process ManagementMustafa Jarrar
 
Customer Complaint Ontology
Customer Complaint Ontology Customer Complaint Ontology
Customer Complaint Ontology Mustafa Jarrar
 
Subset, Equality, and Exclusion Rules
Subset, Equality, and Exclusion RulesSubset, Equality, and Exclusion Rules
Subset, Equality, and Exclusion RulesMustafa Jarrar
 
Schema Modularization in ORM
Schema Modularization in ORMSchema Modularization in ORM
Schema Modularization in ORMMustafa Jarrar
 
On Computer Science Trends and Priorities in Palestine
On Computer Science Trends and Priorities in PalestineOn Computer Science Trends and Priorities in Palestine
On Computer Science Trends and Priorities in PalestineMustafa Jarrar
 
Lessons from Class Recording & Publishing of Eight Online Courses
Lessons from Class Recording & Publishing of Eight Online CoursesLessons from Class Recording & Publishing of Eight Online Courses
Lessons from Class Recording & Publishing of Eight Online CoursesMustafa Jarrar
 
Presentation curras paper-emnlp2014-final
Presentation curras paper-emnlp2014-finalPresentation curras paper-emnlp2014-final
Presentation curras paper-emnlp2014-finalMustafa Jarrar
 
Jarrar: Future Internet in Horizon 2020 Calls
Jarrar: Future Internet in Horizon 2020 CallsJarrar: Future Internet in Horizon 2020 Calls
Jarrar: Future Internet in Horizon 2020 CallsMustafa Jarrar
 
Habash: Arabic Natural Language Processing
Habash: Arabic Natural Language ProcessingHabash: Arabic Natural Language Processing
Habash: Arabic Natural Language ProcessingMustafa Jarrar
 
Adnan: Introduction to Natural Language Processing
Adnan: Introduction to Natural Language Processing Adnan: Introduction to Natural Language Processing
Adnan: Introduction to Natural Language Processing Mustafa Jarrar
 
Riestra: How to Design and engineer Competitive Horizon 2020 Proposals
Riestra: How to Design and engineer Competitive Horizon 2020 ProposalsRiestra: How to Design and engineer Competitive Horizon 2020 Proposals
Riestra: How to Design and engineer Competitive Horizon 2020 ProposalsMustafa Jarrar
 
Bouquet: SIERA Workshop on The Pillars of Horizon2020
Bouquet: SIERA Workshop on The Pillars of Horizon2020Bouquet: SIERA Workshop on The Pillars of Horizon2020
Bouquet: SIERA Workshop on The Pillars of Horizon2020Mustafa Jarrar
 
Jarrar: Sparql Project
Jarrar: Sparql ProjectJarrar: Sparql Project
Jarrar: Sparql ProjectMustafa Jarrar
 

Mais de Mustafa Jarrar (20)

Clustering Arabic Tweets for Sentiment Analysis
Clustering Arabic Tweets for Sentiment AnalysisClustering Arabic Tweets for Sentiment Analysis
Clustering Arabic Tweets for Sentiment Analysis
 
Classifying Processes and Basic Formal Ontology
Classifying Processes  and Basic Formal OntologyClassifying Processes  and Basic Formal Ontology
Classifying Processes and Basic Formal Ontology
 
Discrete Mathematics Course Outline
Discrete Mathematics Course OutlineDiscrete Mathematics Course Outline
Discrete Mathematics Course Outline
 
Business Process Implementation
Business Process ImplementationBusiness Process Implementation
Business Process Implementation
 
Business Process Design and Re-engineering
Business Process Design and Re-engineeringBusiness Process Design and Re-engineering
Business Process Design and Re-engineering
 
BPMN 2.0 Analytical Constructs
BPMN 2.0 Analytical ConstructsBPMN 2.0 Analytical Constructs
BPMN 2.0 Analytical Constructs
 
BPMN 2.0 Descriptive Constructs
BPMN 2.0 Descriptive Constructs  BPMN 2.0 Descriptive Constructs
BPMN 2.0 Descriptive Constructs
 
Introduction to Business Process Management
Introduction to Business Process ManagementIntroduction to Business Process Management
Introduction to Business Process Management
 
Customer Complaint Ontology
Customer Complaint Ontology Customer Complaint Ontology
Customer Complaint Ontology
 
Subset, Equality, and Exclusion Rules
Subset, Equality, and Exclusion RulesSubset, Equality, and Exclusion Rules
Subset, Equality, and Exclusion Rules
 
Schema Modularization in ORM
Schema Modularization in ORMSchema Modularization in ORM
Schema Modularization in ORM
 
On Computer Science Trends and Priorities in Palestine
On Computer Science Trends and Priorities in PalestineOn Computer Science Trends and Priorities in Palestine
On Computer Science Trends and Priorities in Palestine
 
Lessons from Class Recording & Publishing of Eight Online Courses
Lessons from Class Recording & Publishing of Eight Online CoursesLessons from Class Recording & Publishing of Eight Online Courses
Lessons from Class Recording & Publishing of Eight Online Courses
 
Presentation curras paper-emnlp2014-final
Presentation curras paper-emnlp2014-finalPresentation curras paper-emnlp2014-final
Presentation curras paper-emnlp2014-final
 
Jarrar: Future Internet in Horizon 2020 Calls
Jarrar: Future Internet in Horizon 2020 CallsJarrar: Future Internet in Horizon 2020 Calls
Jarrar: Future Internet in Horizon 2020 Calls
 
Habash: Arabic Natural Language Processing
Habash: Arabic Natural Language ProcessingHabash: Arabic Natural Language Processing
Habash: Arabic Natural Language Processing
 
Adnan: Introduction to Natural Language Processing
Adnan: Introduction to Natural Language Processing Adnan: Introduction to Natural Language Processing
Adnan: Introduction to Natural Language Processing
 
Riestra: How to Design and engineer Competitive Horizon 2020 Proposals
Riestra: How to Design and engineer Competitive Horizon 2020 ProposalsRiestra: How to Design and engineer Competitive Horizon 2020 Proposals
Riestra: How to Design and engineer Competitive Horizon 2020 Proposals
 
Bouquet: SIERA Workshop on The Pillars of Horizon2020
Bouquet: SIERA Workshop on The Pillars of Horizon2020Bouquet: SIERA Workshop on The Pillars of Horizon2020
Bouquet: SIERA Workshop on The Pillars of Horizon2020
 
Jarrar: Sparql Project
Jarrar: Sparql ProjectJarrar: Sparql Project
Jarrar: Sparql Project
 

Último

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 

Último (20)

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 

Pal gov.tutorial1.session1 2.conceptualdatamodelingusingorm

  • 1. ‫أكاديمية الحكومة اإللكترونية الفلسطينية‬ The Palestinian eGovernment Academy www.egovacademy.ps Tutorial 1: Data and Business Process Modeling Session 1.2 Conceptual Data Modeling using Object-Role Modeling (ORM) Prof. Mustafa Jarrar Sina Institute, University of Birzeit mjarrar@birzeit.edu www.jarrar.info Reviewed by Prof. Marco Ronchetti, Trento University, Italy PalGov © 2011 1
  • 2. About This tutorial is part of the PalGov project, funded by the TEMPUS IV program of the Commission of the European Communities, grant agreement 511159-TEMPUS-1- 2010-1-PS-TEMPUS-JPHES. The project website: www.egovacademy.ps Project Consortium: Birzeit University, Palestine University of Trento, Italy (Coordinator ) Palestine Polytechnic University, Palestine Vrije Universiteit Brussel, Belgium Palestine Technical University, Palestine Université de Savoie, France Ministry of Telecom and IT, Palestine University of Namur, Belgium Ministry of Interior, Palestine TrueTrust, UK Ministry of Local Government, Palestine Coordinator: Dr. Mustafa Jarrar Birzeit University, P.O.Box 14- Birzeit, Palestine Telfax:+972 2 2982935 mjarrar@birzeit.eduPalGov © 2011 2
  • 3. © Copyright Notes Everyone is encouraged to use this material, or part of it, but should properly cite the project (logo and website), and the author of that part. No part of this tutorial may be reproduced or modified in any form or by any means, without prior written permission from the project, who have the full copyrights on the material. Attribution-NonCommercial-ShareAlike CC-BY-NC-SA This license lets others remix, tweak, and build upon your work non- commercially, as long as they credit you and license their new creations under the identical terms. PalGov © 2011 3
  • 4. Tutorial Map Intended Learning Objectives Topic Time Module 1 (Conceptual Date Modeling) Module I: Conceptual Data Modeling A: Knowledge and Understanding 11a1: Demonstrate knowledge of conceptual modeling notations and concepts Session 0: Outline and Introduction 11a2: Demonstrate knowledge of Object Role Modeling (ORM) methodology. Session 1.1: Information Modeling 1 11a3: Explain and demonstrate the concepts of data integrity & business rules Session 1.2: Conceptual Data Modeling using ORM 1 B: Intellectual Skills Session 1.3: Conceptual Analyses 1 11b1: Analyze application and domain requirements at the conceptual level, Session 2: Lab- Conceptual Analyses 3 and formalize it using ORM. Session 3.1: Uniqueness Rules 1.5 11b2: Analyze entity identity at the application and domain levels. Session 3.2: Mandatory Rules 1.5 11b4: Optimize, transform, and (re)engineer conceptual models. Session 4: Lab- Uniqueness & Mandatory Rules 3 11b5: Detect &resolve contradictions & implications at the conceptual level. Session 5: Subtypes and Other Rules 3 C: Professional and Practical Skills Session 6: Lab- Subtypes and Other Rules 3 11c1: Using ORM modeling tools (Conceptual Modeling Tools). Session 7.1: Schema Equivalence &Optimization 1.5 Module 2 (Business Process Modeling) Session 7.2: Rules Check &Schema Engineering 1.5 A: Knowledge and Understanding Session 8: Lab- National Student Registry 3 12a1: Demonstrate knowledge of business process modeling notations and concepts. Module II: Business Process Modeling 12a2: Demonstrate knowledge of business process modeling and mapping. 12a3: Demonstrate understand of business process optimization and re-engineering. Session 9: BP Management and BPMN: An Overview 3 B: Intellectual Skills Session 10: Lab - BP Management 3 12b1: Identify business processes. Session 11: BPMN Fundamentals 3 12b2: Model and map business processes. Session 12: Lab - BPMN Fundamentals 3 12b3: Optimize and re-engineer business processes. Session 13: Modeling with BPMN 3 C: Professional and Practical Skills Session 14: Lab- Modeling with BPMN 3 12c1: Using business process modeling tools, such as MS Visio. Session 15: BP Management & Reengineering 3 Session 16: Lab- BP Management & Reengineering 3 PalGov © 2011 4
  • 5. Session ILOs After completing this session students will be able to: 11a1: Demonstrate knowledge of conceptual modeling notations and concepts 11a2: Demonstrate knowledge of Object Role Modeling (ORM) methodology. 11c1: Using ORM modeling tools (Conceptual Modeling Tools). PalGov © 2011 5
  • 6. Remark: this tutorial is about Object-Role Modeling (ORM), Not Object-Relational Mapping (ORM) PalGov © 2011 6
  • 7. Object-Role Modeling (ORM) Room Time Activity Code Activity Name 20 Mon 9am VMC VisioModeler Class 20 Tue 2pm VMC VisioModeler Calss 33 Mon 9am AQD ActiveQuery Demo 33 Fri 5 pm SP Staff party … … … … Time (dh) Room Activity Activity (Nr) (code) Name …at … is booked for… Has / refers to 20 Mon 9am VMC AQD ActiveQuery Demo 20 Tue 2pm VMC SP Staff party 33 Mon 9am AQD VMC VisioModeler Calss 33 Fri 5pm SP VMC VisioModeler Class … … … Y2K Year 200 seminar PalGov © 2011 … … 7
  • 8. Object-Role Modeling (ORM) Representing information graphically MovieName ReleaseYear Director Stars Robert De Niro Awakenings 1991 Penny Marshall Robin Williams William Baldwin ReleasedIn Backdraft 1991 Ron Howard Robert De Niro Year Kurt Russell Cosmology 1994 Terry Harding Kevin Costner Dances with wolves 1990 Kevin Costner Mary McDonnell DirectedBy/Directs Movie Person StaredBy/ PalGov © 2011 8
  • 9. Object-Role Modeling (ORM) • ORM is conceptual modeling language. • ORM has an expressive graphical notation. • ORM is designed for modeling DB schemes at the conceptual level. You build an ORM schema and then click a bottom to automatically generate a database. ReleasedIn Year DirectedBy/Directs Movie Person StaredBy/ Conceptual Level Logical Level Our goal in this course is to use ORM as general Conceptual Modeling language, rather than as database modeling language.  ORM can be used for modeling business rules, ontology, XML schemes, and others. PalGov © 2011 9
  • 10. ORM Usage Scenarios Originally Database Later Ontology Requirements Record XML Schema Warehouse Engineering my recipes ! Business Rules Web (x)Forms PalGov © 2011 10
  • 11. Object-Role Modeling (ORM): Other Examples Has/Is-Of Title Book Witten-By/Writes Author PalGov © 2011 11
  • 12. Object-Role Modeling (ORM): Other Examples Has/Is-Of Title 1 Databases Systems 2 Intro to Java Book Called Population Witten-By/Writes Author 1 J. Date 2 B. Hacker 2 A. Smith PalGov © 2011 12
  • 13. Object-Role Modeling (ORM): Other Examples PalGov © 2011 13
  • 14. Object-Role Modeling (ORM) constructs Called Object Type (or Concept, or Class) Relation Each part is called a Role Subtype relation PalGov © 2011 14
  • 15. Object-Role Modeling (ORM) constructs Called Fact Type Each fact type should be elementary. PalGov © 2011 15
  • 16. Object-Role Modeling (ORM) constraints Uniqueness Constraint: Each ISBN must Is-Of at most one Book Uniqueness Constraint: Each Book must has at most one ISBN Uniqueness Constraint: It is possible that a Book is Written-By more than one Author, and vice versa Mandatory Constraint: Each Book must has at Least one ISBN © 2011 PalGov 16
  • 17. eGov Ontology (using ORM) PalGov © 2011 17
  • 18. Modeling Approaches (short discussion) Which is more intuitive for modelers? For domain experts? ER-model UML-model Nice for picturing to DB-schemes Close to the way programmers think ORM-model Suitable for general conceptual modeling, not only DB schemes PalGov © 2011 18
  • 19. References 1. www.zinnar.pna.ps 2. Information Modeling and Relational Databases: From Conceptual Analysis to Logical Design, Terry Halpin (ISBN 1- 55860-672-6) – Chapter 1. PalGov © 2011 19