Title: ISOIEC CD 197632 and WD197634 : Core Model and Model Mapping for registering UML Profiles
1ISO/IEC CD 19763-2 and WD19763-4 Core Model and
Model Mapping for registering UML Profiles
- OMG ADTF
- 13 April 2005-Athens, Greece
- UMTP/Kanrikogaku Ltd.
- (ISO/IEC/JTC1/SC32/WG2 )
- Masaharu Obayashi
2ISO/IEC JTC1 SC32
- Dedicates to the standardization on
- Data Interchange and Management
- Formulated in July 1998, merging SC14 (Data
Elements) and SC21WG3 (Database). - Current organization
- WG1 (open-edi)
- WG2 (Meta Data Registry)
- WG3 (Database Language)
- WG4 (SQL/MM)
- Liaison Activities with OMG
- MOF PAS (DIS) (used in MMF 19763)
- CWM PAS (in considering)
- ODM (used in 19763-3) and CL (used in ODM)
- MOF2QVT (used in MMF 19763-4)
3What is MMF ?
- Framework for Metamodel Interoperability(MMF)
- ISO/IEC CD 9763-1 Reference model
- ISO/IEC CD 9763-2 Core model
- ISO/IEC WD 9763-3 Metamodel for ontology
registration - ISO/IEC WD 9763-4 Metamodel for model mapping
4Objectives for MMF Core
- Registering sharable modeling constructs
(components) - Metamodel
- Model
- Value sets
- Vocabulary
- Template
- Pattern
- Classification for components
- From viewpoint of Sign-Concept-Instances
- Selection of instance sets for a particular
purpose usage - Assembly (Composition) of registered components
- Plug and Play with selection
- Core Framework for registering Ontology and Model
Mapping
5POCJoint WG for Registry Federation
- ebXML Asia Committee SC32WG2
- Project has started at July, 2004
- Japan, Korea, China, Hong-kong, Taiwan,
- Implement RR Federation with ebXML RR and MMF
standards
6RR Federation Needs
7An Example Use Scenario
8Basic Framework for MMF Core
- Registered Target
- based on 4 Layer Metamodel Architecture
- Classification
- base on Sign-Concept-instances
- Basic Metadata
- the Administered Item (from ISO/IEC 11179 MDR)
94 Layer Metadata Architecture
10An Example UML metamodel in the 4 Layer
11Role of UML2.0 Core Package
the Core package is a complete metamodel
particularly designed for high reusability, where
other metamodels at the same metalevel
UML 2.0 Superstructure defines new user level
constructs that will improve UML support for
component-based development, architectural
specifications, and advanced behavioral modeling
techniques using interactions, state machines and
activity diagrams
12What is profile ?
Profiles package is owned by the Infrastructure
Library package.
An Infrastructure Library can be reused by UML
2.0 and other future OMG MDA specifications, such
as MOF 2.0 and CWM (Common Warehouse)
13What is Profile (cont)
- Contains mechanisms that allow metaclasses from
existing metamodels to be extended to adapt them
for different purposes. - This includes the ability to tailor the UML
metamodel for different platforms (such as J2EE
or .NET) or domains - The profiles mechanism is consistent with the OMG
MOF. - A profile package can specify a related model
library and identify a subset of the UML
metamodel that is applicable for the profile - A domain metamodel is defined as a UML profile.
14Overview of Metamodel Framework
governing
Metametamodel
M3
MetaModel
governing
M2
MetaModel
MetaModel
Pattern
Model
Model
Stereotype
Modeling
M1
Model
Model
Template
Facility
Model
Modeling Constructs
M0
Object
Universe of Discourse
15CWM SQL Metamodel
16CWM SQL Metamodel and Model
M2
M1
17MOF
M3
UML2.0 Core Package
Base-Variant
CWM
M2
CWM SQL Metamodel
CWM SQL Metamodel
Abstract Syntax-Expression
BtoB
Healthcare
BtoB
Healthcare
M1
Logistics
EHR
Base-Variant
M0
diabetes
18CWM Vocabulary in SQL Metamodel
Vocabulary
NamedColumnSet
Table
Super-Sub
View
ColumnSet
QueryColumnSet
19Vocabulary
Selected and specified
NamedColumnSet
Table
View
QueryColumnSet
Healthcare
ColumnSet
CWM Model
Observation
Administration
Act
selected
Author
AssignedEntity
Role
20Framework of Registering (Key Idea)
- Sign-Concept-Instances
- Sign
- a symbol designating a named element in a
namespace. - Namespace is a collection of signs
- Concept
- specify meaning of sign.
- generally expressed with sign.
- Instances
- a set of instance of the Concept designated by a
sign. - Selection
- a result of selecting a set of model instance
from referents designated by a sign.
21(No Transcript)
22concept
sign
classifier
evoked
Vehicle
domain
Class Vehicle
referesTo
instances
selection
Car Component
Bus Component
Truck Component
Bicycle Component
Ambulance Component
Trailer Component
Auto cycle Component
23Basic Scheme of MMF Core
- Type1 Type-Instance
- Type2 Super-Sub
- Type3 Base-Variant
- Type4 Abstract Syntax-Expression
24Type3 Base-Variant
- Base-Variant is an association type between a
base model and its variant models that are
created by modifying the base model according to
the permitted operation. - There are operations such as renaming,
specifying, refining, substituting, extending and
merging. - In the association type Base-Variant many
operations above are performed on a base model
partially and many times. - Eventually, the lower model will be derived from
the upper base model. - The detail specification on specifying such
operations should be provided as a
ModelSpecification for each registering target.
25MMF Core Metamodel (1)
26Framework of Registering
- Model Sign-Model Concept-Model Instances
- Model Sign
- designate a named element in a namespace.
- Namespace is a collection of signs defined by a
submitted organization - Signs should be unique within the particular
Namespace
ModelSign
27Framework of Registering (cont)
- Model Sign-Model Concept-Model Instances
- Model Concept
- Specify meaning of the sign.
- Defined by a Model Classifier in the Model Domain
Profile - The sign is corresponding to a Model Classifier
ModelConcept
ModelDomainProfile
ModelClassifier
28Framework of Registering (cont)
- Model Sign-Model Concept-Model Instances
- Model Instances
- Provide a set of instances of the Model Concept
- Consists of a Model Component
- should satisfy the constraints specified by the
Model Concept.
ModelInstances
ModelComponent
29Framework of Registering (cont)
- Model Selection
- Model Selection is a result of selecting a set of
model components from Model Instances designated
by the sign.
ModelSelection
30Target Objects World
- Structure of Registered Target Objects
- Multi-forest
- There are many SDOs and organizations that will
develop and register a Model Concept - A set of Model Concepts may be registered as a
family - Multi-layer
- There are several types of association between a
Model classifier in a Model Concept and a
corresponding Model component in a Model
instances. - A Model component may be also registered with
another Model classifier in the same Model
Concept or the other one (from multi-viewpoint). - Multi-component
- A Model classifier may consist of elements
including external objects that are selected from
in another registered Model instances
31Metamodel of Registered Target Structure
Model Specification
Model Domain Profile
Model Selection
Model Component
Model Classifier
Upper Model
32concept
sign
instances
evoked
Vehicle
Class Vehicle
referesTo
child
Sport Car Component
evoked
Car
Class Car
F1 Car Component
Sedum Component
child
referesTo
School Bus Component
Highway Bus Component
evoked
Bus
Class Bus
referesTo
Auto Bicycle Component
Bicycle Component
evoked
Automobile
Class Automobile
referesTo
Set of components
33Administered Items in Core
- ModelComponent
- ModelSign
- ModelConcept
- ModelDomainProfile
- ModelInstances
- ModelSelection
34Association Type 1
- Type-Instance
- Super-Sub
- Base-Variant
- Abstract Syntax-Expression
35Type 1 Type-Instance
- Type-Instance is an association type between a
class and its object. - The class diagram in a model package and its
object diagram may be included.
36concept
sign
evoked
Country
Country Class
referesTo
Type-Instance
Japan Object
KoreaObject
China Object
UK Object
CanadaObject
US Object
Set of Instance (Country)
37concept
sign
evoked
Country
Country Class
referesTo
evoked
Asian Country
Asian Country Class
Japan Object
KoreaObject
China Object
referesTo
UK Object
CanadaObject
Type-Instance
US Object
Set of Instance (Country)
38Association Type 2
- Type-Instance
- Super-Sub
- Base-Variant
- Abstract Syntax-Expression
39 Type 2 Super-Sub
- Super-Sub is an association type between a
super class and its inherited sub classes. - A model package and its sub packages may be
included.
40concept
sign
evoked
Country Group
Country Class
referesTo
Asian Country Class
Super-sub (generalization)
EU Country Class
APEC Country Class
Set of Instance (Country Group)
41Association Type 3
- Type-Instance
- Super-Sub
- Base-Variant
- Base is a source model such as pattern or
template - Variant is a derived model from the Base with
operation such as renaming, specifying, refining
etc. - Abstract Syntax-Expression
42concept
sign
evoked
Political Boundary Model
Political Boundary Model
referesTo
Japan Local Boundary Model
Base-Variant (derivedFrom)
Korea Local Boundary Model
US Local Boundary Model
Set of Instance (Country Boundary Model)
43Base Model
Political Boundary Model
Province
Country
City
specifying
renaming
refining
State
County
Prefecture
Japan Local Boundary Model
Variant Model
Country Japan
Prefecture
City
refining
to
fu
do
ken
shi
cho
ku
son
44Operations on Base-Variant
45Association Type 4
- Type-Instance
- Super-Sub
- Base-Variant
- Abstract Syntax-Expression
- Upper Model provides Abstract Syntax
- Lower Model is a model expression with the syntax
46Type4 Abstract Syntax-Expression
- Abstract Syntax-Expression is an association
type between an upper metamodel and a lower
model. - In this case, the upper model in a
ModelDomainProfile provides a metamodel. - The lower model must be described according to
the abstract syntax. - Usually, stereotypes of UML are defined by such
metamodels as a UML profile. - The lower model will be drawn using those
stereotypes.
47concept
sign
evoked
Boundary Model
Boundary Metamodel
referesTo
Political Boundary Model
Abstract Syntax-Expression (govern)
Japan Local Boundary Model
Korea Local Boundary Model
US Local Boundary Model
Set of Instances (Boundary Model)
48Boundary Metamodel
Abstract Syntax
Set of Area in Region
Region in Global
Area
neighborhood
Metaclass-Class
Expression
49Example The concept Political Boundary Model
with Association Type 3 4
50concept
sign
evoked
Political Boundary Model
Boundary Metamodel
Political Boundary Model
referesTo
Japan Local Boundary Model
Base-Variant (derivedFrom)
Korea Local Boundary Model
Abstract Syntax-Expression (governedBy)
US Local Boundary Model
Set of Instance (Political Boundary Model)
51Example Registry Target based on UML Profile
52Base-Variant
M3
Super-Sub
MOF
Vocabulary
View
UML2.0 Core Package
SQLTable
Table
CloumnSet
Cloumn
Datatype
UML 2.0 Superstructure
CWM
Type-Instance
M2
Selected and specified
Integer
UML Profile
MOF 2.0
String
Observation
EDOC
MOF 2.0 QVT
EAI
Administration
Act
selected
Abstract Syntax-Expression
Author
AssignedEntity
Role
BtoB
Healthcare
M1
lung cancer
LOINC
Type-Instance
Logistics
EHR
diabetes
Base-Variant
M0
diabetes
Observation
selected
53What is Model Mapping?
- Framework for Metamodel Interoperability(MMF)
- ISO/IEC CD 19763-1 Reference model
- ISO/IEC CD 19763-2 Core model
- ISO/IEC WD19763-3 Metamodel for ontology
registration - ISO/IEC WD19763-4 Metamodel for model mapping
54Overview of Model Mapping
55Basic Framework of registering MMF model mapping
56Framework for Model Mapping
57Projection type1 and Compilation
-Model Relationship -Model Renaming -Model
Equivalence -Model Enhancement
-Model Transformation -Model Generation -Model
Migration -Model Derivation
-Value Computation -Value Aggregation -Value
Conversion
58Projection type2
59Metamorphose
60MMF model mapping Metamodel
61Conclusion
- Lets share the Ideas
- Lets share the Technologies
- Lets share the Metamodels
- Lets share the Models
- Lets share the Vocabularies and Semantics
(Ontology) - Lets share the Modeling Mapping
- Lets share the Products
- ..
62Relationship among related Standards (for
discussion)
ebXML Artifact
HL7 Artifact
OMG Artifact
W3C
MDR Artifact
19763-4 (Model Mapping)
RDF
QVT
registered
OWL
ODM
19763-3 (ontology)
XMDR
used
DL
ER
UML
Access API
19763-2 (core)
FOL
11179-2
TM
MOF/XMI
11179-3
SCL
OMG
Administered Items
ISO
63Proposal to corporate with OMG
- MMF Registry could be effective to promote the
MDA. - So, accumulate and publish
- UML profiles
- Domain models
- Possible joint efforts
- Establish OMG Registry
- EHR Common Service (OMG-HL7 joint project)
- RRF (RegistryRepository Federation) in ebXML
Asian and SC32. - NRR (National Registry and Repository) project in
ECOM Japan
64Thanksobayashi_at_kthree.co.jp
65Language Architecture
Metametamodel
governing
Syntax
Metamodel
governing
governing
governing
Modeling Constructs
Modeling Facility
Domain Model
Vocabulary, Lexicon
UOD
Expression
Universe of Discourse
English
66M3
MOF
Vocabulary
symbol
S
V
S is a symbol for Subject V is a symbol for
Verb O is a symbol for Object Noun is a POS
(part of speech ) Verb is a POS Subject is
Noun Object is Noun A rule is a sequence of
symbols
O
POS
supply
Noun
Verb
M2-2
Sign for I
Noun
Sentence
NL Metamodel
Verb
supply
I
We
I1
I2
car
book
S V O is a rule for sentence
M2-1
Car A
have
want
Car B
supply
I have a car
We have cars
M1
Sign for Car
supply
have
I1
have
I2
have
I2
I1
M0
Car B
Car A
Car B
Car A
67M3
MOF
Vocabulary
S is a symbol for Subject V is a symbol for
Verb O is a symbol for Object Noun is a POS
(part of speech ) Verb is a POS Subject is
Noun Object is Noun A rule is a sequence of
symbols
We
Super-Sub
I
Noun
car
book
M2-2
Verb
Base-Variant
have
NL Metamodel
Type-Instance
want
Abstract Syntax-Expression
select
I1
I2
S V O is a rule for sentence
Sign for I
M2-1
Car A
Sign for Car
Car B
S have O
M1-2
Base-Variant
Sign for I1
X
I1 have a Car A
Y
M1-1
select
Type-Instance
A1
Sign for Car A
A2
M0
S
O
have
X
A1
select
V
68ModelDomain
M3
MOF
NL (Natural Language) metamodel
MMF Core Model
English
Base-Variant
Japanese
M2-2
Profile (with metamodel)
Abstract Syntax-Expression
Component (Vocabulary)
supply
Noun
We
English NL Registry
M2-1
I
car
Verb
book
Registry for Noun
Registry for Verb
M1
have
want
Model
Registry for Sentence
supply
register
I
I have a car
We
have
I
have
M0
We have cars
Car
want
a Car
Registered objects with administered Item