Presentation is loading. Please wait.

Presentation is loading. Please wait.

IVOA, Trieste, DM 2008-05-22Gerard Lemson Data Modelling Standards (contd.) IVOA interop, DM WG session Trieste, 2008-05-23.

Similar presentations


Presentation on theme: "IVOA, Trieste, DM 2008-05-22Gerard Lemson Data Modelling Standards (contd.) IVOA interop, DM WG session Trieste, 2008-05-23."— Presentation transcript:

1 IVOA, Trieste, DM 2008-05-22Gerard Lemson Data Modelling Standards (contd.) IVOA interop, DM WG session Trieste, 2008-05-23

2 IVOA, Trieste, DM 2008-05-22Gerard Lemson Data models How to define them Analysis  Logical  Physical Cambridge, MA 2004-05-28 http://www.ivoa.net/internal/IVOA/InterOpMay2004DataModel/dm-presentation20040528.ppt What to do with them store instances send them around manipulate them in code look at them on a screen Can we standardise this process? WG task: check for compatibility

3 IVOA, Trieste, DM 2008-05-22Gerard Lemson Model definition in UML UML profile subset of UML package, class, datatype enumeration, composition, inheritance, few more primitive data types string,integer, real, date,... stereotypes+tag definitions >+ontologyURI design rules “concrete classes final”,...

4 IVOA, Trieste, DM 2008-05-22Gerard Lemson UML Profile for logical model

5 IVOA, Trieste, DM 2008-05-22Gerard Lemson Physical models Representation of model for use in particular context XML (messaging) Database (storage) Java (manipulation) HTML (documentation) UTYPE (pointing)

6 IVOA, Trieste, DM 2008-05-22Gerard Lemson Mapping rules Useful/efficient to derive physical models from logical one Define rules Automate “meta-specification”

7 IVOA, Trieste, DM 2008-05-22Gerard Lemson Examples: UML->DDL “standard” ORM class->table attribute->column reference->foreign key etc In IVOA: VODataService (?)

8 IVOA, Trieste, DM 2008-05-22Gerard Lemson Examples: UML->XML Kyoto 2005 http://www.ivoa.net/internal/IVOA/VOResource010RevNotes/ModelBasedSc hema.ppt http://www.ivoa.net/internal/IVOA/VOResource010RevNotes/ModelBasedSc hema.ppt

9 IVOA, Trieste, DM 2008-05-22Gerard Lemson Example: Mapping Classes Every class -> globally defined complexType isAbstract -> abstract=“true” Attribute -> element of simplish-type, either built-in, or also generated

10 IVOA, Trieste, DM 2008-05-22Gerard Lemson Problem: references Links to objects inside documents: ID/IDREF Links to objects outside document ? IVO Identifier ?

11 IVOA, Trieste, DM 2008-05-22Gerard Lemson Examples: UTYPE Represent model in custom serialisations attribute ":" [ "/" ]* "/" "." [ "." ]* reference ":" [ "/" ]* "/" "."

12 IVOA, Trieste, DM 2008-05-22Gerard Lemson Suggestions Define UML profile for use in IVOA DM efforts Define rules for mapping to XML relational model (VODataService) UTYPE others? TCG “Topic” (GL, ML) and then?

13 IVOA, Trieste, DM 2008-05-22Gerard Lemson Proof of concept Implemented this procedure in SimDB http://volute.googlecode.com/svn/trunk/projects/theory/snapd m/ http://volute.googlecode.com/svn/trunk/projects/theory/snapd m/ UML profile Rules in XSLT DDL, XML, Java, HTML doc Applicable to other DMs e.g. registry Demo by Laurent

14 IVOA, Trieste, DM 2008-05-22Gerard Lemson Suggestions (contd) Define IVOA analysis model where do different models fit in design patterns How do we “reuse” models import and “derive” (?) import and “link” represent


Download ppt "IVOA, Trieste, DM 2008-05-22Gerard Lemson Data Modelling Standards (contd.) IVOA interop, DM WG session Trieste, 2008-05-23."

Similar presentations


Ads by Google