SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
‫أكاديمية الحكومة اإللكترونية الفلسطينية‬
        The Palestinian eGovernment Academy
                         www.egovacademy.ps



Tutorial 1: Data and Business Process Modeling

                        Session 1.3
           Conceptual Analyses

                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:

  11b1: Analyze application and domain requirements at the
  conceptual level, and formalize it using ORM.

  11b2: Analyze entity identity at the application and domain levels.




                                PalGov © 2011                           5
Conceptual Analyses

• Given an application domain, e.g. hospital, and three information
  modelers, what steps do you suggest they start with, to build the
  hospital‟s conceptual model?

• There is no strict or perfect modeling process or procedure!

• You may start with any step you think suitable, taking into account the
  complexity of the domain, available resources, modelers‟ prior
  knowledge about the domain, etc.

• It is recommended that you modularize the domain into sub-domains,
  build a conceptual schema for each sub-domain, then integrate all sub-
  schemes into one conceptual schema.

• The following procedure (7 steps) is to help you model a sub-domain,
  but you don‟t have to strictly follow these steps.

                               PalGov © 2011                                6
Conceptual Schema Design Steps

   1. From examples to elementary facts


   2. Draw fact types and apply population check


   3. Combine entity types

   4. Add uniqueness constraints


   5. Add mandatory constraints


   6. Add set, subtype, & frequency constraints


   7. Final checks, & schema engineering issues
                    PalGov © 2011                  7
Elementary Facts and Fact Types

What is a fact?
        –   Rami smokes.
        –   Rami drives car.
        –   Rabab was born in Ramallah.
        –   Rami smokes and drives car.
        –   If Rabab was born in Ramallah and Ramallah is part of
            Palestine, then Rabab was born in Palestine.
   A fact must be either true or false
What is a fact type?
    –   Person smokes.
    –   Person drives car.
    –   Person was born in a city.
    –   Person smokes and drives car.
    –   If a Person was born in a city and this City is part of a
        country, then this person was born in that country.
                                   PalGov © 2011                    8
Elementary Facts and Fact Types

What is an elementary fact type?
–    Person smokes.
–    Person drives car.
–    Person was born in a city.
–    Person smokes and drives car.
–    If a Person was born in a city and this City is part of
      a country, then this person was born in that country.


  An elementary fact type cannot be split.




                             PalGov © 2011                      9
Conceptual Schema Design Steps




 1. From examples to elementary facts




                   PalGov © 2011        10
1. Make elementary facts from examples

 •   Mustafa teaches Knowledge Engineering.
 •   Rami is enrolled in Knowledge Engineering.
 •   Knowledge Engineering is offered by the University of Birzeit.
                                               From examples to fact types
 The person that has the name Mustafa teaches the course that has the title
  Knowledge Engineering.
 The person that has the name Rami is enrolled in the course that has the title
  Knowledge Engineering.
 The course that has the title Knowledge Engineering is offered by the
  university that has the name University of Birzeit.
                                           More precise
 The person (ID4514) that has the name Mustafa teaches the course (SC242)
  that has the title Knowledge Engineering.
 The person (ID123) that has the name Rami is enrolled in the course (CS242)
  that has the title Knowledge Engineering.
 The course (CS242) that has the title Knowledge Engineering is offered by the
  university that has the name University© 2011
                                          of Birzeit.
                                  PalGov                                           11
Conceptual Schema Design Steps




1. From examples to elementary facts

2. Draw fact types and apply population check




                   PalGov © 2011                12
2. Draw fact types and apply population check

    The Person (ID4514) that has the name Mustafa teaches the course (SC242)
     that has the title Knowledge Engineering.
    The Person (ID123) that has the name Rami is enrolled in the course (CS242)
     that has the title Knowledge Engineering.
    The course (CS242) that has the title Knowledge Engineering is offered by the
     university that has the name University of Birzeit.

                                                   Draw Fact Types


                                                          Has/IsOf
                           Teaches/                                   Title


       IsOf/Has                                   OfferedBy /Offers
                  Person                 Course                        University
Name                                     (Code)
                   (nr)                                                  (Name)
                           EnrolledIn/



                                          PalGov © 2011                              13
2. Draw fact types and apply population check

    The Person (ID4514) that has the name Mustafa teaches the course (SC242)
     that has the title Knowledge Engineering.
    The Person (ID123) that has the name Rami is enrolled in the course (CS242)
     that has the title Knowledge Engineering.
    The course (CS242) that has the title Knowledge Engineering is offered by the
     university that has the name University of Birzeit.

                                                            Test with population

                                                               Has/IsOf
                              Teaches/                                         Title
                                                           SC242     Knowledge Engineering

        IsOf/Has            ID4154     SC242           OfferedBy /Offers
                   Person                   Course                              University
Name                                          (Code)
                     (nr)                                                          (Name)
                              EnrolledIn/
   Mustafa         ID4154                              SC242               Birzeit University
       Rami         ID123   ID123     SC242
                                               PalGov © 2011                                    14
Basic ORM Constructs and Syntax


  • Object and Value Types

  • Roles and relations

  • Unary relations

  • Ternary relations

  • Nested Fact Types

  • Ring Fact Types


                  PalGov © 2011   15
Object and Values Types

                              Person                                                                  Car
                                                                drives
   Person          Car
   Adams B        235PZN
    Jones E       235PZN
    Jones E       108AAQ           has                                                          has


                                  „Adams B‟                                       „235PZN‟
                                       „Jones E‟                                      „108AAQ‟
                                       PersonName                                       RegNr
      Object Type (non lexical)
You cannot lexicalize, or refer to a
                                                                drives / is driven by
   person without using a value of
                     its properties.         Person                                       Car


                                                    has                                         has
             Value Type (lexical)
                                                    refers to                                   refers to
      It is always a value of an
                    Object Type.
                                          PersonName
                                          PalGov © 2011
                                                                                        RegNr
                                                                                                        16
Roles and Relations


  Called Binary Relation
   It consists of two roles
(“drives” and “is driven by”)




      Called Role
which is part of a relation




                                PalGov © 2011   17
Unary Relations

           Pat smokes
           Lee smokes
   Shir does not smoke


Called Unary Relation
  as it has one role
      (“smokes”)


                  You can transform unary fact types into binary:




                               PalGov © 2011                        18
Ternary Relations


Called Ternary Relation
  as it has three roles
 (“… for … scored…”)




                          PalGov © 2011   19
Nested Fact Types


     Called Nested Fact Type
 The fact type “Student enrolled in
Subject” is objectified, i.e., the whole
Fact type is seen as an Object Type




                                    PalGov © 2011   20
Ring Fact Types




Same object type is connected to two roles in the same relation


                           PalGov © 2011                          21
The ORM Syntax (Test)

    An object type can be only connected with roles.
    Each role can be connected with only one object type.



                    
                                                          




                       
                                                           




                                                            
                                      
                             PalGov © 2011                      22
References

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




                               PalGov © 2011                      23

Weitere ähnliche Inhalte

Ähnlich wie Pal gov.tutorial1.session1 3.conceptualschemadesignsteps

Business Process Modeling Notation Fundamentals
Business Process Modeling Notation FundamentalsBusiness Process Modeling Notation Fundamentals
Business Process Modeling Notation Fundamentals
Mustafa 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.tutorial1.session15 16
Pal gov.tutorial1.session15 16Pal gov.tutorial1.session15 16
Pal gov.tutorial1.session15 16
Mustafa Jarrar
 
Pal gov.tutorial1.session8.national student registry
Pal gov.tutorial1.session8.national student registryPal gov.tutorial1.session8.national student registry
Pal gov.tutorial1.session8.national student registry
Mustafa Jarrar
 
Pal gov.tutorial3.session10.lab4
Pal gov.tutorial3.session10.lab4Pal gov.tutorial3.session10.lab4
Pal gov.tutorial3.session10.lab4
Mustafa Jarrar
 
Pal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemanticsPal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemantics
Mustafa Jarrar
 
Pal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemanticsPal gov.tutorial4.session1 1.needforsharedsemantics
Pal gov.tutorial4.session1 1.needforsharedsemantics
Mustafa Jarrar
 
Pal gov.tutorial4.session3.lab bankcustomerontology
Pal gov.tutorial4.session3.lab bankcustomerontologyPal gov.tutorial4.session3.lab bankcustomerontology
Pal gov.tutorial4.session3.lab bankcustomerontology
Mustafa Jarrar
 
Pal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outlinePal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outline
Mustafa Jarrar
 
Pal gov.tutorial3.session13.bpel
Pal gov.tutorial3.session13.bpelPal gov.tutorial3.session13.bpel
Pal gov.tutorial3.session13.bpel
Mustafa Jarrar
 
Pal gov.tutorial3.session11.integration.patterns
Pal gov.tutorial3.session11.integration.patternsPal gov.tutorial3.session11.integration.patterns
Pal gov.tutorial3.session11.integration.patterns
Mustafa Jarrar
 
Pal gov.tutorial3.session5.lab2
Pal gov.tutorial3.session5.lab2Pal gov.tutorial3.session5.lab2
Pal gov.tutorial3.session5.lab2
Mustafa Jarrar
 
Pal gov.tutorial3.session12.lab5
Pal gov.tutorial3.session12.lab5Pal gov.tutorial3.session12.lab5
Pal gov.tutorial3.session12.lab5
Mustafa Jarrar
 
W4 ucl@md day2011
W4 ucl@md day2011W4 ucl@md day2011
W4 ucl@md day2011
MDDAY11
 
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
Mustafa Jarrar
 
Pal gov.tutorial3.session14.lab6
Pal gov.tutorial3.session14.lab6Pal gov.tutorial3.session14.lab6
Pal gov.tutorial3.session14.lab6
Mustafa Jarrar
 
Pal gov.tutorial4.session8 1.ontologymodelingchallenges
Pal gov.tutorial4.session8 1.ontologymodelingchallengesPal gov.tutorial4.session8 1.ontologymodelingchallenges
Pal gov.tutorial4.session8 1.ontologymodelingchallenges
Mustafa Jarrar
 
Pal gov.tutorial4.session11.lab zinnarontologybasedwebservices
Pal gov.tutorial4.session11.lab zinnarontologybasedwebservicesPal gov.tutorial4.session11.lab zinnarontologybasedwebservices
Pal gov.tutorial4.session11.lab zinnarontologybasedwebservices
Mustafa Jarrar
 

Ähnlich wie Pal gov.tutorial1.session1 3.conceptualschemadesignsteps (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.tutorial1.session15 16
Pal gov.tutorial1.session15 16Pal gov.tutorial1.session15 16
Pal gov.tutorial1.session15 16
 
Pal gov.tutorial1.session8.national student registry
Pal gov.tutorial1.session8.national student registryPal gov.tutorial1.session8.national student registry
Pal gov.tutorial1.session8.national student registry
 
Pal gov.tutorial3.session10.lab4
Pal gov.tutorial3.session10.lab4Pal gov.tutorial3.session10.lab4
Pal gov.tutorial3.session10.lab4
 
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.tutorial4.session3.lab bankcustomerontology
Pal gov.tutorial4.session3.lab bankcustomerontologyPal gov.tutorial4.session3.lab bankcustomerontology
Pal gov.tutorial4.session3.lab bankcustomerontology
 
Pal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outlinePal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outline
 
Pal gov.tutorial3.session13.bpel
Pal gov.tutorial3.session13.bpelPal gov.tutorial3.session13.bpel
Pal gov.tutorial3.session13.bpel
 
Pal gov.tutorial3.session11.integration.patterns
Pal gov.tutorial3.session11.integration.patternsPal gov.tutorial3.session11.integration.patterns
Pal gov.tutorial3.session11.integration.patterns
 
Pal gov.tutorial3.session5.lab2
Pal gov.tutorial3.session5.lab2Pal gov.tutorial3.session5.lab2
Pal gov.tutorial3.session5.lab2
 
Pal gov.tutorial3.session12.lab5
Pal gov.tutorial3.session12.lab5Pal gov.tutorial3.session12.lab5
Pal gov.tutorial3.session12.lab5
 
W4 ucl@md day2011
W4 ucl@md day2011W4 ucl@md day2011
W4 ucl@md day2011
 
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...
 
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
 
Pal gov.tutorial3.session14.lab6
Pal gov.tutorial3.session14.lab6Pal gov.tutorial3.session14.lab6
Pal gov.tutorial3.session14.lab6
 
Pal gov.tutorial4.session8 1.ontologymodelingchallenges
Pal gov.tutorial4.session8 1.ontologymodelingchallengesPal gov.tutorial4.session8 1.ontologymodelingchallenges
Pal gov.tutorial4.session8 1.ontologymodelingchallenges
 
Ben Mkt 347 Week 4
Ben Mkt 347 Week 4Ben Mkt 347 Week 4
Ben Mkt 347 Week 4
 
Pal gov.tutorial4.session11.lab zinnarontologybasedwebservices
Pal gov.tutorial4.session11.lab zinnarontologybasedwebservicesPal gov.tutorial4.session11.lab zinnarontologybasedwebservices
Pal gov.tutorial4.session11.lab zinnarontologybasedwebservices
 

Mehr von Mustafa Jarrar

Habash: Arabic Natural Language Processing
Habash: Arabic Natural Language ProcessingHabash: Arabic Natural Language Processing
Habash: Arabic Natural Language Processing
Mustafa 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
 
Jarrar: Sparql Project
Jarrar: Sparql ProjectJarrar: Sparql Project
Jarrar: Sparql Project
Mustafa Jarrar
 

Mehr von 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
 

Kürzlich hochgeladen

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
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
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
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"
 
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
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
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
 
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
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Pal gov.tutorial1.session1 3.conceptualschemadesignsteps

  • 1. ‫أكاديمية الحكومة اإللكترونية الفلسطينية‬ The Palestinian eGovernment Academy www.egovacademy.ps Tutorial 1: Data and Business Process Modeling Session 1.3 Conceptual Analyses 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: 11b1: Analyze application and domain requirements at the conceptual level, and formalize it using ORM. 11b2: Analyze entity identity at the application and domain levels. PalGov © 2011 5
  • 6. Conceptual Analyses • Given an application domain, e.g. hospital, and three information modelers, what steps do you suggest they start with, to build the hospital‟s conceptual model? • There is no strict or perfect modeling process or procedure! • You may start with any step you think suitable, taking into account the complexity of the domain, available resources, modelers‟ prior knowledge about the domain, etc. • It is recommended that you modularize the domain into sub-domains, build a conceptual schema for each sub-domain, then integrate all sub- schemes into one conceptual schema. • The following procedure (7 steps) is to help you model a sub-domain, but you don‟t have to strictly follow these steps. PalGov © 2011 6
  • 7. Conceptual Schema Design Steps 1. From examples to elementary facts 2. Draw fact types and apply population check 3. Combine entity types 4. Add uniqueness constraints 5. Add mandatory constraints 6. Add set, subtype, & frequency constraints 7. Final checks, & schema engineering issues PalGov © 2011 7
  • 8. Elementary Facts and Fact Types What is a fact? – Rami smokes. – Rami drives car. – Rabab was born in Ramallah. – Rami smokes and drives car. – If Rabab was born in Ramallah and Ramallah is part of Palestine, then Rabab was born in Palestine.  A fact must be either true or false What is a fact type? – Person smokes. – Person drives car. – Person was born in a city. – Person smokes and drives car. – If a Person was born in a city and this City is part of a country, then this person was born in that country. PalGov © 2011 8
  • 9. Elementary Facts and Fact Types What is an elementary fact type? – Person smokes. – Person drives car. – Person was born in a city. – Person smokes and drives car. – If a Person was born in a city and this City is part of a country, then this person was born in that country.  An elementary fact type cannot be split. PalGov © 2011 9
  • 10. Conceptual Schema Design Steps 1. From examples to elementary facts PalGov © 2011 10
  • 11. 1. Make elementary facts from examples • Mustafa teaches Knowledge Engineering. • Rami is enrolled in Knowledge Engineering. • Knowledge Engineering is offered by the University of Birzeit. From examples to fact types  The person that has the name Mustafa teaches the course that has the title Knowledge Engineering.  The person that has the name Rami is enrolled in the course that has the title Knowledge Engineering.  The course that has the title Knowledge Engineering is offered by the university that has the name University of Birzeit. More precise  The person (ID4514) that has the name Mustafa teaches the course (SC242) that has the title Knowledge Engineering.  The person (ID123) that has the name Rami is enrolled in the course (CS242) that has the title Knowledge Engineering.  The course (CS242) that has the title Knowledge Engineering is offered by the university that has the name University© 2011 of Birzeit. PalGov 11
  • 12. Conceptual Schema Design Steps 1. From examples to elementary facts 2. Draw fact types and apply population check PalGov © 2011 12
  • 13. 2. Draw fact types and apply population check  The Person (ID4514) that has the name Mustafa teaches the course (SC242) that has the title Knowledge Engineering.  The Person (ID123) that has the name Rami is enrolled in the course (CS242) that has the title Knowledge Engineering.  The course (CS242) that has the title Knowledge Engineering is offered by the university that has the name University of Birzeit. Draw Fact Types Has/IsOf Teaches/ Title IsOf/Has OfferedBy /Offers Person Course University Name (Code) (nr) (Name) EnrolledIn/ PalGov © 2011 13
  • 14. 2. Draw fact types and apply population check  The Person (ID4514) that has the name Mustafa teaches the course (SC242) that has the title Knowledge Engineering.  The Person (ID123) that has the name Rami is enrolled in the course (CS242) that has the title Knowledge Engineering.  The course (CS242) that has the title Knowledge Engineering is offered by the university that has the name University of Birzeit. Test with population Has/IsOf Teaches/ Title SC242 Knowledge Engineering IsOf/Has ID4154 SC242 OfferedBy /Offers Person Course University Name (Code) (nr) (Name) EnrolledIn/ Mustafa ID4154 SC242 Birzeit University Rami ID123 ID123 SC242 PalGov © 2011 14
  • 15. Basic ORM Constructs and Syntax • Object and Value Types • Roles and relations • Unary relations • Ternary relations • Nested Fact Types • Ring Fact Types PalGov © 2011 15
  • 16. Object and Values Types Person Car drives Person Car Adams B 235PZN Jones E 235PZN Jones E 108AAQ has has „Adams B‟ „235PZN‟ „Jones E‟ „108AAQ‟ PersonName RegNr Object Type (non lexical) You cannot lexicalize, or refer to a drives / is driven by person without using a value of its properties. Person Car has has Value Type (lexical) refers to refers to It is always a value of an Object Type. PersonName PalGov © 2011 RegNr 16
  • 17. Roles and Relations Called Binary Relation It consists of two roles (“drives” and “is driven by”) Called Role which is part of a relation PalGov © 2011 17
  • 18. Unary Relations Pat smokes Lee smokes Shir does not smoke Called Unary Relation as it has one role (“smokes”) You can transform unary fact types into binary: PalGov © 2011 18
  • 19. Ternary Relations Called Ternary Relation as it has three roles (“… for … scored…”) PalGov © 2011 19
  • 20. Nested Fact Types Called Nested Fact Type The fact type “Student enrolled in Subject” is objectified, i.e., the whole Fact type is seen as an Object Type PalGov © 2011 20
  • 21. Ring Fact Types Same object type is connected to two roles in the same relation PalGov © 2011 21
  • 22. The ORM Syntax (Test) An object type can be only connected with roles. Each role can be connected with only one object type.             PalGov © 2011 22
  • 23. References 1. Information Modeling and Relational Databases: From Conceptual Analysis to Logical Design, Terry Halpin (ISBN 1- 55860-672-6) – Chapter 3. PalGov © 2011 23