Graphical Notation for Topic Maps (GTM)

Similar documents
GTM Level 1 Proposal. July 2, slide 1

COSC 3351 Software Design. An Introduction to UML (I)

CTM Use Cases. 3. Use Cases. More To Do. 3.1 Problem Domain. 1. Status of This Document. 2. Introduction

Topic Maps Reference Model,

1/24/2012. Chapter 7 Outline. Chapter 7 Outline (cont d.) CS 440: Database Management Systems

Modelling Languages: (mostly) Concrete (Visual) Syntax. Hans Vangheluwe

Contents Contents 1 Introduction Entity Types... 37

Object-Oriented Design

Introduction to modeling. ER modelling

TMQL issues. October 14, slide 1

Unified Modeling Language (UML) and Modeling

Metamorphosis An Environment to Achieve Semantic Interoperability with Topic Maps

Semantic Web. Ontology Pattern. Gerd Gröner, Matthias Thimm. Institute for Web Science and Technologies (WeST) University of Koblenz-Landau

Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys

Unified Modeling Language (UML) Class Diagram

Chapter 7: Entity-Relationship Model

Chapter 8: Enhanced ER Model

Introduction to Topic Maps

Unified Modeling Language

Chapter 2: Entity-Relationship Model

A - 1. CS 494 Object-Oriented Analysis & Design. UML Class Models. Overview. Class Model Perspectives (cont d) Developing Class Models

The Next Step: Designing DB Schema. Chapter 6: Entity-Relationship Model. The E-R Model. Identifying Entities and their Attributes.

COMP102: Introduction to Databases, 9.1

Automation of Semantic Web based Digital Library using Unified Modeling Language Minal Bhise 1 1

Comparing Topic Maps Constraint Specification Languages

Representing Software Traceability using UML and XTM with an investigation into Traceability Patterns

Topic Map-Based Holy Quran Index

Chapter 6: Entity-Relationship Model. The Next Step: Designing DB Schema. Identifying Entities and their Attributes. The E-R Model.

Topic Map Aided Publishing

Topic Maps Reference Model,

Ingegneria del Software Corso di Laurea in Informatica per il Management. Introduction to UML

Full file at

Model Driven Engineering (MDE)

Introduction to Software Engineering. 5. Modeling Objects and Classes

Introduction to UML What is UML? Motivations for UML Types of UML diagrams UML syntax Descriptions of the various diagram types Rational Rose (IBM.. M

Chapter 12. Entity-Relationship Modeling

Modelling Languages: (mostly) Concrete (Visual) Syntax Hans Vangheluwe

Chapter 11 Object and Object- Relational Databases

MSO Analysis & UML. Hans Philippi (based on the course slides of Wouter Swierstra) August 24, Analysis & UML 1 / 56

Chapter No. 2 Class modeling CO:-Sketch Class,object models using fundamental relationships Contents 2.1 Object and Class Concepts (12M) Objects,

Modellistica Medica. Maria Grazia Pia, INFN Genova. Scuola di Specializzazione in Fisica Sanitaria Genova Anno Accademico

Class Diagram. Classes consist of. Note that class diagrams contain only classes, not objects.

Information management - Topic Maps visualization

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

DATA MODELS FOR SEMISTRUCTURED DATA

Information technology Topic Maps Constraint Language (TMCL)

Class modelling (part 2)

Class Diagram. Classes consist of. Note that class diagrams contain only classes, not objects.

TMQL Getting started

II. Data Models. Importance of Data Models. Entity Set (and its attributes) Data Modeling and Data Models. Data Model Basic Building Blocks

Chapter 6: Entity-Relationship Model

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling

Database Applications (15-415)

CMPT 354 Database Systems I

Modeling Databases Using UML

The τ Model, Formalizing Topic Maps

Chapter 8 The Enhanced Entity- Relationship (EER) Model

12 Tutorial on UML. TIMe TIMe Electronic Textbook

Conceptual Database Design. COSC 304 Introduction to Database Systems. Entity-Relationship Modeling. Entity-Relationship Modeling

Chapter 7: Entity-Relationship Model

TMRA 05 Application framework based on Topic Maps

Data Analysis 1. Chapter 2.1 V3.1. Napier University Dr Gordon Russell

Chapter 7: Entity-Relationship Model

Essentials of Database Management (Hoffer et al.) Chapter 2 Modeling Data in the Organization

UML REFERENCE SHEETS. 2013, 2014 Michael Marking; all rights reserved, including moral rights. Web site:

Entity Relationship Modelling

TMQL Getting started

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams

A l Ain University Of Science and Technology

What is a Data Model?

Conception and Implementation of a Visual Editor for Topic Maps

Information Technology Topic Maps Part 2: Data Model

Lab Manual. Object Oriented Analysis And Design. TE(Computer) VI semester

Lecture 09. Spring 2018 Borough of Manhattan Community College

Data and Process Modelling

Web Services Annotation and Reasoning

Chapter 2 Conceptual Modeling. Objectives

Intro to DB CHAPTER 6

Component Design. Systems Engineering BSc Course. Budapest University of Technology and Economics Department of Measurement and Information Systems

Chapter 7: Entity-Relationship Model

MIS Database Systems Entity-Relationship Model.

ArchiMate 2.0. Structural Concepts Behavioral Concepts Informational Concepts. Business. Application. Technology

High Level Database Models

NOTES ON OBJECT-ORIENTED MODELING AND DESIGN

Introducing the UML Eng. Mohammed T. Abo Alroos

Web Services Annotation and Reasoning

Database Systems ER Model. A.R. Hurson 323 CS Building

E-R Model. Hi! Here in this lecture we are going to discuss about the E-R Model.

Class modelling (part 2)

Copyright 2016 Ramez Elmasr and Shamkant B. Navathei

Chapter 3 Database Modeling and Design II. Database Modeling

Metamodeling. Janos Sztipanovits ISIS, Vanderbilt University

Chapter 4. Enhanced Entity- Relationship Modeling. Enhanced-ER (EER) Model Concepts. Subclasses and Superclasses (1)

Ontology Design Patterns

- What we actually mean by documents (the FRBR hierarchy) - What are the components of documents

Database Management

Chapter 10. Object-Oriented Analysis and Modeling Using the UML. McGraw-Hill/Irwin

a paradigm for the Introduction to Semantic Web Semantic Web Angelica Lo Duca IIT-CNR Linked Open Data:

Data Modeling Using the Entity-Relationship (ER) Model

Practical Database Design Methodology and Use of UML Diagrams Design & Analysis of Database Systems

Transcription:

Graphical Notation for Topic Maps (GTM) 2005.11.12 Jaeho Lee University of Seoul jaeho@uos.ac.kr 1

Outline 2 Motivation Requirements for GTM Goals, Scope, Constraints, and Issues Survey on existing approaches VisualScript for Topic Maps Steve Pepper and Graham Moore Conceptual Modeling of Topic Maps with ORM versus UML Are D. Gulbrandsen A simple UML-based notation for Topic Maps Kal Ahmed, Techquila, Beyond PSIs: Topic Map design patterns Discussion Evaluation Criteria Work Items

Introduction 3 GTM is for human Communication between humans Modeling by human Presentation for human Creation by human Automatic transformation from CTM or XTM XTM remains as the basis for interchange syntax. GTM is yet another representation, especially for human.

Uses of GTM 4 Easy-to-read examples For papers and presentations Educational purpose Graphical Modeling Language Conceptualization Communication Analysis Verification Possible use case for TM Inference Language Graph-based Navigation Graph-based Query Language (GTMQL?) Application of graph theory

Why GTM? 5 Visual representation of TMDM Providing Communication medium for human Providing modeling tools for human Providing visual presentation and illustration for human Providing a foundation for analysis and verification A homogenous and coherent representation CTM-equivalent GTM TMCL and TMQL (and also GTMQL)

Requirements (1/3) 6 GTM should be simple and intuitive to read and write to understand to learn and teach to implement GTM should be compatible with CTM, syntactically and semantically GTM specification must define deserialization of GTM to CTM, and to TMDM CTM must fully represent TMDM. CTM must support embedded markup is implied by this statement.

Requirements (2/3) 7 GTM should have a way to abstract up to see the overall picture and abstract down to see the details. GTM should be modular to compose big top maps from pieces to drop out parts of the topic maps to replace topics and merge topics to be able to reify a part of top maps

Requirements (3/3) 8 Transformation between GTM and CTM (or XTM) should be easy and unambiguous to implement. GTM has to support all character encodings. GTM needs to have an escape syntax for Unicode characters. GTM must be syntactically and semantically aligned with TMCL and TMQL.

GTM Features 9 Minimal Specification for user flexibility Example Topic: Polygon Different line colors, fill colors and # of sides to represent different kind of topics Association: Line Dotted line, colored line, thickness, arrow Occurrence: Round Shapes Users can specify legends Compositional Shape Topic and topic type Topic and occurrence Reification

Issues 10 Philosophy Purpose Modeling (top-down) / Domain mapping (bottom-up) Presentation Analysis and Reasoning using well known graph theory Scope Pure modeling CTM Equivalent TMCL, TMQL Compatibility Build up on existing modeling methodologies such as UML and RDF

Survey on Existing Graphical Notations 11 VisualScript for Topic Maps Steve Pepper and Graham Moore Conceptual Modeling of Topic Maps with ORM versus UML Are D. Gulbrandsen A simple UML-based notation for Topic Maps Beyond PSIs: Topic Map design patterns Kal Ahmed, Techquila

VisualScript for Topic Maps 12 Basis of a graphical tool for defining topic map ontologies rather than topic map instances Brief Description of Topic Map Model Basic Components Topics subjects of discourse Associations relationships between topics inherently multidirectional Occurrences relationships between topics and information resources (Roles) The role played by a topic in an association Basic Component Types ( typing topics ) Topic types (TT) Association types (AT) Occurrence types (OT) Role types (RT) Steve Pepper and Graham Moore

A simple topic map 13 <?xml version="1.0"?> <topicmap xmlns="http://www.topicmaps.org/xtm/1.0/" xmlns="http://www.w3.org/1999/xlink"> <topic id="xzyyz"> <basename> <basenamestring>redmond Computers Inc.</baseNameString> </basename> <occurrence> <resourceref xlink:href="http://www.redmondcomputers.com/"/> </occurrence> <occurrence> <resourcedata>1977</resourcedata> </occurrence> </topic> </topicmap>

A topic map with types 14 <topicmap> <topic id="company"> <basename><basenamestring>company</basenamestring></basename> </topic> <topic id="homepage"> <basename><basenamestring>home Page</baseNameString></baseName> </topic> <topic id="year-established"> <basename> <basenamestring>year Established</baseNameString> </basename> </topic> <topic id="xzyyz"> <instanceof> <topicref xlink:href="#company"/> </instanceof> <basename> <basenamestring>redmond Computers Inc.</baseNameString> </basename> <occurrence> <instanceof> <topicref xlink:href="#homepage"/> </instanceof> <resourceref xlink:href="http://www.redmondcomputers.com/"/> </occurrence> <occurrence> <instanceof> <topicref xlink:href="#year-established"/> </instanceof> <resourcedata>1977</resourcedata> </occurrence> </topic> </topicmap>

VisualScript for Topic Maps 15 A topic map ontology a set of typing topics constraints on the ways in which their instances may be combined Association templates. The graph structure with a set of interconnected nodes. employment ent employer employee company person Steve Pepper and Graham Moore

VisualScript for Topic Maps 16 Basic Building Blocks for Topic Map Ontologies AT TT RT OT OT Association Type (AT) Topic Type (TT) Role Type (RT) Occurrence Type (OT): Connectors AT RT TT Association Type (AT) Role Type (RT) Topic Type (TT) RT TT OT OT Role Type (RT) Topic Type (TT) Occurrence Type (OT): Steve Pepper and Graham Moore

VisualScript for Topic Maps 17 Templates role type 3 topic type 3 association type 1 association type 1 role type 1 role type 2 role type 1 role type 2 topic type 1 topic type 2 topic type 1 topic type 2 Binary association template Ternary association template topic type topic type role type occurrence OT type occurrence OT type Role template Occurrence templates Steve Pepper and Graham Moore

VisualScript for Topic Maps 18 Example person born-in place person born-in place Representing the query: "Which operas written by Puccini were based on plays by Sardou" based-on puccini composer lucca city puccini composer lucca city (source) result puccini person puccini composer born-in lucca city place person puccini composer born-in place lucca city (work) play opera (work) composed written-by (writer) (composer) sardou based-on born-in source result person place La Tosca play tosca opera puccini composer lucca city Representing the query: "Which operas written by Puccini were based on plays by Sardou" work written-by work composed composer (source) based-on result writer *x puccini Sardou play opera playwright (work) (work) written-by composed (composer) (writer) Sardou Steve Pepper and Graham Moore

Object Role Modeling (ORM) versus UML 19 Topic Maps Constructs Topics, Associations and Occurrences (TAO) Topic Names (Basic Names and Variant Names), Types, Scope, and Association role An ORM model is essentially a connected network of object types and relationship types ORM classifies objects into entities (non-lexical objects) and values (lexical objects) Are D. Gulbrandsen

Object Role Modeling (ORM) versus UML 20 Topic: An entity type versus a class Association: a relationship type versus an association Are D. Gulbrandsen

Object Role Modeling (ORM) versus UML 21 Occurrence: a value type versus an attribute Association roles Are D. Gulbrandsen

Object Role Modeling (ORM) versus UML 22 Topic names a specialized kind of association between one topic and potentially several string values that represent different types of names for the topic within different scopes (contexts). A name consists of basename and may have several variant names. The name may also have one type and the scope may consist of several themes. The standard says that a basename essentially is a specialized kind of occurrence If we model a simple name with one type and without variants, we may model it as an occurrence. A name with variants or several types will have to be modeled as a relationship (sentence). Are D. Gulbrandsen

Object Role Modeling (ORM) versus UML 23 Topic names Themes and scopes Topics are used as themes (a scope may consists of many themes, - a scope is a set of themes). It is easiest to model scope as a textual notation. Are D. Gulbrandsen

Object Role Modeling (ORM) versus UML 24 Evaluation Criteria Expressibility how much of the application domain we can model Clarity how easy it is to understand and use Semantic stability How easy it is to change an attribute into a class in UML, or an occurrence changing into a topic in Topic Maps model Semantic relevance Validation mechanisms ways in which domain experts can check whether the model matches the real world Abstraction mechanisms that allow unwanted details to be removed from immediate consideration. Are D. Gulbrandsen

Object Role Modeling (ORM) 25 Example Are D. Gulbrandsen

Object Role Modeling (ORM) 26 Example Are D. Gulbrandsen

A simple UML-based notation for Topic Maps 27 Beyond PSIs: Topic Map design patterns, Extreme Markup Languages 2003 Topics Topics are represented by the 3-segment box notation used to represent a class. The name in the top segment of the box gives the name of the topic type. Unlike a UML class diagram, in the topic map diagram there is not necessarily a direct correlation between the name given to the topic class and the name as it is represented in a topic map. Kal Ahmed, Techquila

A simple UML-based notation for Topic Maps 28 Occurrences and BaseNames Occurrences and BaseNames are represented with the same class notation as topics. As with the Topic notation, the name of the class relates directly to the topic used to define the class of occurrences or names that the instance belongs to. To distinguish the three different uses of the class notation, we use a class stereotype. An untyped Occurrence An typed Occurrence Kal Ahmed, Techquila

A simple UML-based notation for Topic Maps 29 A topic with Occurrence Kal Ahmed, Techquila

A simple UML-based notation for Topic Maps 30 Associations and association roles The class notation can also be used to represent classes of association by additionally making use of the UML notation for association classes. The association itself is represented as a solid line joining the role-playing classes. The roles played are annotated against the line along with any cardinality constraints imposed by the association class. The association class is represented by a three segment box connected to the association by a dotted line. A typed binary association Kal Ahmed, Techquila

A simple UML-based notation for Topic Maps 31 Associations and association roles N-ary associations are also supported by UML class diagram notation. In this case, rather than having a single solid line, the association is represented by an open diamond shape with the role-playing classes connected to the diamond by solid lines. The class of the association is represented with a dotted line from the diamond to the association class. A typed 3-ary association Kal Ahmed, Techquila

A simple UML-based notation for Topic Maps 32 Subclass-superclass associations Although in a topic map, the subclass-superclass relationship is defined through the use of associations, it makes sense in the diagrammatic notation to make use of the standard UML notation as a shortcut. Rather than having a single solid line, the association is represented by an open diamond shape with the role-playing classes connected to the diamond by solid lines. Kal Ahmed, Techquila

A simple UML-based notation for Topic Maps 33 Instances in Topic Map class diagrams Because in a topic map it is possible for a class to also be an instance, it may sometimes be necessary to create a UML diagram which would not be possible to translate directly into most OO programming languages. Kal Ahmed, Techquila

A simple UML-based notation for Topic Maps 34 Scope The topic map class diagram notation must support the specification of scope applied to topic names, occurrences and associations. Kal Ahmed, Techquila

A simple UML-based notation for Topic Maps 35 A scoped Occurrence This requirement is met by defining a stereotype named "scope" which can be applied to a UML association and a stereotype "theme" which can be applied to a UML association link The stereotyped Association can then be applied to the aggregation links used between a Topic class and a BaseName or Occurrence class; and the AssociationEnds with the stereotype "theme" can be used to apply the themes. Kal Ahmed, Techquila

A simple UML-based notation for Topic Maps 36 A scope association The topic map diagramming notation just adds the extra themesterotyped association ends directly to the association being scoped and does away with the scope stereotype on the association. Kal Ahmed, Techquila

Discussion 37

Developing GTM in Parallel with CTM 38 GTM and CTM as equivalent notations of each other GTM needs to developed in accordance with CTM, TMQL, and TMCL

Evaluation Criteria 39 Conciseness of the language Easy to use Compactness Being part of a coherent language family Expressibility Clarity Validation mechanisms Abstraction mechanisms Modularity / Compositionality Understandability Implementation effort

What s next? 40 NP? Editors?