Jarrar: Mandatory Roles

50 %
50 %
Information about Jarrar: Mandatory Roles
Technology

Published on March 3, 2014

Author: jarrar02

Source: slideshare.net

Description

Lecture video by Mustafa Jarrar at Birzeit University, Palestine.
See the course webpage at: http://jarrar-courses.blogspot.com/2011/09/knowledgeengineering-fall2011.html
and http://www.jarrar.info

and on Youtube:
http://www.youtube.com/watch?v=3_-HGnI6AZ0&list=PLDEA50C29F3D28257

© Mustafa Jarrar Lecture Notes, Knowledge Engineering (SCOM7348) University of Birzeit 1st Semester, 2011 Knowledge Engineering (SCOM7348) Mandatory Roles (Chapter 5) Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu www.jarrar.info Jarrar © 2011 1

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 Jarrar © 2011 2

Mandatory Versus Optional Any problem with this table? By default, all roles are optional. How can we say that a role is mandatory? each Patient Has at least one PatientName Jarrar © 2011 3

Mandatory Roles Mandatoriness is implied with Value Types (by default). For example: it is assumed that “each PhoneNr is for at least one Patient”, because PhoneNr is a Value Type. ?? Jarrar © 2011 4

Mandatory Definition Role r is mandatory (for the population of A) Each instance of type A that is recorded in the database is also recorded to play r pop( r) = pop( A) Jarrar © 2011 5

Mandatory Roles How can we decide to make a role mandatory? Recall our discussion on (Conceptual data modeling) versus (conceptual modeling) If a role is mandatory in the real world, it may be optional in the model. Jarrar © 2011 6

Disjunctive Mandatory How to say that it is mandatory for each member to (PlaysFor | Coaches) a team, or both. We cannot have both roles optional, at least one role should be played. Disjunctive mandatory constraint: Each Member coaches or plays (or both). Jarrar © 2011 7

Disjunctive Mandatory Alternative notations for disjunctive mandatory role constraint. Jarrar © 2011 8

Definition of Disjunctive Mandatory Disjunctive mandatory role constraint The inclusive disjunction of roles r1...rn is mandatory for A i.e., each member of pop(A) plays r1 or r2 ...or rn (or all) i.e., each member of pop(A) plays at least one of r1 … rn Jarrar © 2011 9

Another Example Each person must be a parent or child. Jarrar © 2011 10

Back to Uniqueness Jarrar © 2011 11

External Uniqueness How to say that the combination of (Discipline, YearLevel, SerialNr) is unique for each subject? The Subject code might be generated from this combination Jarrar © 2011 12

Another Example Jarrar © 2011 13

Reference Schemes In data modeling, each entity (i.e., Object Type) must have an identity. The identity is achieved if an entity has mandatory and unique role This is not important (i.e. implicit) in ontology modeling. Jarrar © 2011 14

Discussion Summarize what you learned? And what you think about it? Compare what you learned with EER and UML? Questions & Suggestions? Jarrar © 2011 15

Add a comment

Related presentations

Related pages

Mandatory Roles - Prof. Mustafa Jarrar (Personal webpage)

Mandatory Roles Knowledge Engineering (SCOM7348) © Mustafa Jarrar ... How can we decide to make a role mandatory? Jarrar © 2011 6 Recall our discussion on
Read more

Mandatory Roles - Prof. Mustafa Jarrar (Personal webpage)

Title: Mandatory Roles Author: Mustafa Jarrar Subject: Tutorial on Web 2.0 Keywords: Arabic Ontology;Arabic;Logic;WordNet;lexical semantics;inference ...
Read more

Mandatory Roles - YouTube

Mandatory Roles Jarrar Courses. ... R1T1 - Session3.2 - Mandatory Rules - Dr Mustafa Jarrar - Duration: 57:12. Sina Institute 76 views. 57:12
Read more

Object Role Modeling: An Overview

Object Role Modeling: An Overview. Visual Studio .NET 2003 Terry Halpin Visual ... Add mandatory role constraints, and check for logical derivations: 6:
Read more

R1T1 - Session4 - Part2 - Uniqueness and Mandatory Rules ...

R2.T1.S1_2 Conceptual Data Modeling using Object-Role Modeling ORM by Prof.Mustafa Jarrar part2 TV2 - Duration: 54:23. Sina Institute 114 views
Read more

A Markup Language for ORM Business Rules

A Markup Language for ORM Business Rules Jan Demey, Mustafa Jarrar and Robert Meersman1 VUB STARLab Vrije Universiteit Brussel Pleinlaan 2 1050 Brussels ...
Read more

A Markup Language for ORM Business Rules (PDF Download ...

Official Full-Text Publication: A Markup Language for ORM Business Rules on ResearchGate, the professional network for scientists.
Read more

ORM to OWL2 DL mapping | Mustafa Jarrar - Academia.edu

By Mustafa Jarrar. ... ORM to OWL2 DL mapping. ... OWL 2 4.6 Mandatory Constraints 4.6.1 Role mandatory The ...
Read more