1 OMI Modelleren van content
2 Vocabulary Content “gevangen” in begrippenapparaat: Vocabulary: lijst met termen nauwelijks semantiek Ontology: wél semantiek conceptuele structuur eigenschappen relaties geschikt voor computercommunicatie taal, b.v. RDF b.v. CatML
3 Ontology An ontology: an explicit specification of a conceptualization A conceptualization: an abstract, simplified view of the world that we wish to represent for some purpose
4 UML-model XML-model Vocabulary: constraints m.b.t. gebruik van termen Contstraints uit te drukken in UML class diagram UML class diagram XML code Leerdoel: 1. Complexe datastructuren in XML leren weergeven 2. Constructiemechanismen in XML (DTD & XML-schema)
5 Hoe UML XML? 1.set UML objecten XML document 2.UML class diagram XMI XML-dtd catalogus in CatML simpele versie zie Carlson p. 95
6 Via MOF/XMI MOF: OMG’s Meta-Object Facility “The UML and MOF are based on a four-layer metamodel architecture, where the MOF meta- metamodel is the meta-metamodel for the UML metamodel. As a result, the UML metamodel may be considered an instance-of the MOF meta-metamodel” UML 1.5, Preface, p. xxx XMI = standaard UML uitwisselingsformat zie Carlson p. 98
7 Mapping UML XML Algemeen: 1. netwerk (UML) boom (XML) 2. UML-package namespace Onderdelen: 1. UML class 2. Enumerated values 3. UML-compositie 4. UML-aggregatie 5. UML-associatie
8 Mapping 1: UML class UMLXML class element attribute element (meestal) relation element copy down inheritance zie p. 101 zie p. 100
9 Mapping 2: Enumerated values UMLXML attribute attribute = eval attribute attribute=“eval” element zie p. 106 of
10 Mapping 3: Compositie UMLXML relation element contained objects :object element … containment by value zie p. 107
11 Mapping 4: Aggregatie UMLXML relation element aggregated objects :object proxy-element containment by reference zie p. 141
12 Mapping 5: Associatie UMLXML object1 – object2 :object1 (b.v. Product) :object2 (b.v. Organization) attribute element </object1 attribute containment by reference zie p. 110 of