semweb 2000 - ecdl workshop on the semantic web semweb 2000 - ecdl workshop on the semantic web...
TRANSCRIPT
![Page 1: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/1.jpg)
Copyright © 2000 Copyright © 2000 SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
Representing and Transforming Model-Based Information
Representing and Transforming Model-Based Information
Shawn Bowers and Lois Delcambre
Department of Computer Science and Engineering
Oregon Graduate Institute
![Page 2: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/2.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
2
Model-Based Information and ToolsModel-Based Information and Tools
XML
DB
XML Viewer
SQL
TM BrowserPaintingPainting PainterPainter
by painter
Influenced by
mentioned biographymentionedcritiqued
![Page 3: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/3.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
3
Our GoalsOur Goals
• Represent information generically, for various models
• Convert information from one representation scheme to another
![Page 4: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/4.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
4
Transforming InformationTransforming Information
Generic Rep. (XML model)
Generic Rep. (XML model)
convert
Generic Rep.(Topic Map model)
XML
DB
XML Viewer
SQL
TM BrowserPaintingPainting PainterPainter
by painter
Influenced by
mentioned biographymentionedcritiqued
convert
Generic Rep.(Relational model)
![Page 5: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/5.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
5
Our ApproachOur Approach
• Metamodel – to represent multiple data models
• Generic Representation Scheme– to store model, schema, and instances for model-
based information
• Mapping Formalism – to transform between representation schemes
![Page 6: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/6.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
6
The MetamodelThe Metamodel
• Provides a level of abstraction above models• Describes the structural features of models
Topic Map
Topic Map Defintions
Topic Map Instances
XML
DTD
XML Document
Basic Set of Abstractions
Model Constructs and Relationships
Schema-LevelData
Instance-LevelData
Metamodel
![Page 7: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/7.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
7
XML Model, Schema, and InstanceXML Model, Schema, and Instance
• Elements, Element Types, Attributes, Attribute Types• Elements contain Attributes• Elements can be nested
<!ELEMENT schedule (flight*)><!ELEMENT flight (from, to, price)><!ATTLIST flight name CDATA #REQUIRED>
<schedule> <flight name=“Air Canada Flight 1575”> <from> PDX </from> <to> YVR </to> <price> $213.84 </price> </flight> ...</schedule>
XMLModel
XML DTD(Schema)
XML Document
(Instances)
Model constructs and relationships defined using the metamodel
![Page 8: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/8.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
8
Topic Map ExampleTopic Map Example
PaintingPainting PainterPainterby painter
Influenced by
“Captive”“Captive” “Paul Klee”“Paul Klee”by painter influenced by
“Francisco de Goya”“Francisco de Goya”
“1914”“1914”by painter
mentioned biographymentioned
mentionedhttp://...
biography biography
http://...http://...
critiqued
critiqued
mentioned
http://...
http://...
![Page 9: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/9.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
9
Topic Map Model in UMLTopic Map Model in UML
TopicType
ttypename : String
TopicRelType
relType : String
AnchorType
anchorRole : String
TopicInstance
title : StringtopicInsID : Number
TopicRelInst
AnchorInst
<<Mark>>Address
markID : String
*
*
*
**
* 1
1
1 11
1
<<conformance>>topic_instOf
<<conformance>>rel_instOf
<<conformance>>anchor_instOf
address
topicInstopicType
1 1
* *
topicType1
topicType2 1 1
* *
topicIns1
topicIns2
![Page 10: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/10.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
10
Generic RepresentationGeneric Representation
• We use RDF and RDF Schema to represent model, schema, and instance uniformly
http://…/~johncreator (creator, ‘http://…/~john’, person1)
(name, ‘person1’, ‘John Smith’)
Class
Property
creator
type
Person
WebPagetype
type
domain
range
(type, ‘creator’, Property)(domain, ‘creator’, WebPage)(range, ‘creator’, Person)(type, ‘Person’, Class)(type, ‘WebPage’, Class)
person1 ‘John Smith’name
RDF TriplesRDF Graph
RDF Schema TriplesRDF Schema Graph
![Page 11: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/11.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
11
Representing ModelsRepresenting Models
(instanceOf, “TopicType”, Construct)(instanceOf, “TopicInstance”, Construct)
(instanceOf, “topic_instOf”, Conformance)(domain, “topic_instOf”, TopicInstance)(range, “topic_instOf”, TopicType)(domainMult, “topic_instOf”, “*”)(rangeMult, “topic_instOf”, “1”)
(instanceOf, “ttypename”, Connector)(domain, “ttypename”, TopicType)(range, “ttypename”, String)(domainMult, “ttypename”, “*”)(rangeMult, “ttypename”, “1”)
TopicType
ttypename : String
TopicInstance
*
1
<<conformance>>
topic_instOf
![Page 12: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/12.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
12
Representing SchemaRepresenting Schema
(instanceOf, “painting_tt”, TopicType)(ttypename, “painting_tt”, “painting”)(instanceOf, “painter_tt”, TopicType)(ttypename, “painter_tt”, “painter”)
(instanceOf, “byPainter_rt”, TopicRelType)(relType, “byPainter_rt”, “by painter”)(topicType1, “byPainter_rt”, painting_tt)(topicType2, “byPainter_rt”, painter_tt)
(instanceOf, “biography_at”, AnchorType)(anchorRole, “biography_at”, “biography”)(topicType, “biography_at”, painter_tt)
Topic Types (schema):painting, painter
Topic Rel Types (schema):by painter
Anchor Types (schema):biography
paintingpainting painterpainterby painter
biography
![Page 13: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/13.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
13
Representing InstancesRepresenting Instances
(instanceOf, “painter1”, TopicInstance)(title, “painter1”, “Paul Klee”)(topicInsID, “painter1”, “5”)(topic_instOf, “painter1”, painter_tt)(instanceOf, “painting1”, TopicInstance)(title, “painting1”, “Captive”)(topicInsID, “painting1”, “19”)(topic_instOf, “painting1”, painting_tt)
(instanceOf, “byPainter1”, TopicRelInst)(rel_instOf, “byPainter1”, byPainter_rt)(topicIns1, “byPainter1”, painting1)(topicIns2, “byPainter1”, painter1)
(instanceOf, “biography1”, AnchorInst)(anchor_instOf, “biography1”, biography_at)(address, “biography1”, a1)
(instanceOf, “a1”, Address)(markID, “a1”, “URLMarkManager@954308545”)
Topic (instances):Paul Klee, Captive
Topic Relationship (instance):a by painter relationship
Anchor (instance):a biography anchor
Address (instance):mark to URL
![Page 14: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/14.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
14
Basic Types of MappingsBasic Types of Mappings
Mapped
Converted
Converted
Converted
Converted
Converted
Inter-Model
Inter-Schema
Model-to-Schema
Model2
Schema1
Instances1
Model1
Schema1
Instances1
Model1
Schema1
Instances1
Model1
Schema1
Instances1
Model1
Schema2
Instances1
Model2
Schema2
Instances2
Mapped
Mapped
![Page 15: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/15.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
15
S(‘source’, (‘instanceOf’, X, ‘TopicInstance’))S(‘target’, (‘instanceOf’, X, ‘XMLElem’))
XMLElemTopicInstanceMapped
Mapping RulesMapping Rules
• Simple production rules over triples
![Page 16: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/16.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
16
Mapping Rules (cont.)Mapping Rules (cont.)
XMLElemTopicInstance
XMLElemTypeTopicType
Mapped elem_instOftopic_instOf
S(‘source’, (‘topic_instOf’, X, Y))S(‘target’, (‘instanceOf’, X, ‘XMLElem’))S(‘target’, (‘instanceOf’, Y, ‘XMLElemType’))S(‘target’, (‘elem_instOf’, X, Y))
![Page 17: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/17.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
17
ConclusionConclusion
• Metamodel– to describe multiple (superimposed) data models
• A Generic Representation Scheme– to represent models, schema, and instances uniformly
– along with a visual representation
• Mapping Formalism– to convert information from one scheme to another
![Page 18: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/18.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
18
Context: Superimposed Information ResearchContext: Superimposed Information Research
• NSF Digital Libraries 2 Program“Tracking Footprints through a Medical Information Space”
• NSF Digital Government Program“Harvesting Information to Sustain our Forests”
SuperimposedLayer
BaseLayer Information
Source1
markmark
Model
Schema Data
Instance Data
InformationSource1
mark
![Page 19: SemWeb 2000 - ECDL Workshop on the Semantic Web SemWeb 2000 - ECDL Workshop on the Semantic Web Copyright © 2000 Representing and Transforming Model-Based](https://reader036.vdocuments.us/reader036/viewer/2022082421/56649ce35503460f949aeba9/html5/thumbnails/19.jpg)
SemWeb 2000 - ECDL Workshop on the Semantic Web
SemWeb 2000 - ECDL Workshop on the Semantic Web
19
ApplicationsApplications
• SLIM Pad– Scratchpad application with Bundle-Scrap model
(uses superimposed information)
• XML Extractor– “Extracts” XML information and transforms it into a
Topic Map for searching/browsing
XML FilesGeneric Rep.(XML model)
Generic Rep.(TM model)
DBMS
Topic Map BrowserTopic Map Browser
XML Extractor
XML Extractor
out mapped storedin