Escolar Documentos
Profissional Documentos
Cultura Documentos
Erich Neuhold
Claudia Niederée
Michael Fuchs
Fraunhofer Institute IPSI
Darmstadt Germany
http://ipsi.fhg.de
© Fraunhofer IPSI
Content
related Standards
Operationalization: A Semantic Web
Application Development Framework
Open Issues 2
© Fraunhofer IPSI
The Next Generation of the Web
3
© Fraunhofer IPSI
Semantic Web - Vision
User S+
Preferences S+
…
Calendar
…
Calendar
Request/Task Interpretation Preferences
Interpretation
S+ Interpretation S+
S+ S+
Semantically S+
enriched
information „Trust“-Services
WSDL e
1. register Regist
descriptio
n ry
SOAP
3. compose,
wrapping orchestrate
Service
component 4. call, exploit Application
5
© Fraunhofer IPSI
Challenges for Web Applications
7
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
© Fraunhofer IPSI
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
HTML-based UI Dialog Models -
Shortcomings
no (or little) client side validation
restricted client side interaction
restricted control of submitted data
strong bias towards one user
interface agent (Web Browser)
static form composition
Software Agent
HTML has not to be "well formed"
User Interface Layer
(not parseable)
Application Layer mixed layout and structure
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
8
© Fraunhofer IPSI
HTML – Properties and
Shortcomings
<html>
<BODY bgcolor=yellow>
<form action=followUpPage.cgi><p>
<CENTER><h2><font color=red>Travel Tours</h2></font>
<P><img src="palm.gif"></p>
<font face=Arial size="2">
Please enter the <br><i><b>start date</i></b> <br>of your
Journey in the following field
<br> > <input type=text name='start'><br>
and the <br><i><b>end date</i></b><BR> here <br>
> <input type="input" name='end'> <BR> After filling the
form please press <br>
<p><input type='submit' value="submit"></P>
</FORM>
</Body>
</Html>
9
© Fraunhofer IPSI
Use of Models for User Interface Creation
10
© Fraunhofer IPSI
Semantic Web Applications Models (1)
Web
Conceptual User Interface Model
Client
(HTML)
What?
How?
How
Application Layer
authors authors
authors id name authors id name
id name 1 Rudar id name 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 3 Glue
4 Hollow 4 Hollow
11
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
© Fraunhofer IPSI
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
Requirements for Conceptual UI Model
Application Layer
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 3 Glue
4 Hollow 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
12
© Fraunhofer IPSI
Conceptual UI Model - XForms
13
© Fraunhofer IPSI
XForms Example – SCHOLNET
Project
<xforms:repeat nodeset="SearchForm/fields/field"/>
<xforms:select1 ref="field-operators/@selected">
<xforms:itemset nodeset="field-operators/field-
operator">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:button value="Add" onclick="new:rptName"/>
<xforms:button value="Delete" onclick="delete:rptName"/>
<xforms:group nodeset="rel-ops"/>
<xforms:select1 ref="@selected" appearance="min">
<xforms:itemset nodeset="rel-op">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:input ref="value"/>[<xforms:output
ref="../@type"/>]
</xforms:group>
</xforms:repeat>
14
© Fraunhofer IPSI
XForms Example – SCHOLNET
Project
<xforms:repeat nodeset="SearchForm/fields/field"/>
<xforms:select1 ref="field-operators/@selected">
<xforms:itemset nodeset="field-operators/field-operator">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:button value="Add" onclick="new:rptName"/>
<xforms:button value="Delete" onclick="delete:rptName"/>
<xforms:group nodeset="rel-ops"/>
<xforms:select1 ref="@selected" appearance="min">
<xforms:itemset nodeset="rel-op">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:input ref="value"/>[<xforms:output
ref="../@type"/>]
</xforms:group>
</xforms:repeat>
15
© Fraunhofer IPSI
XForms Example – SCHOLNET
Project
<xforms:repeat nodeset="SearchForm/fields/field"/>
<xforms:select1 ref="field-operators/@selected">
<xforms:itemset nodeset="field-operators/field-operator">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:button value="Add" onclick="new:rptName"/>
<xforms:button value="Delete"
onclick="delete:rptName"/>
<xforms:group nodeset="rel-ops"/>
<xforms:select1 ref="@selected" appearance="min">
<xforms:itemset nodeset="rel-op">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:input ref="value"/>[<xforms:output
ref="../@type"/>]
</xforms:group>
</xforms:repeat>
16
© Fraunhofer IPSI
XForms Example – SCHOLNET
Project
<xforms:repeat nodeset="SearchForm/fields/field"/>
<xforms:select1 ref="field-operators/@selected">
<xforms:itemset nodeset="field-operators/field-operator">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:button value="Add" onclick="new:rptName"/>
<xforms:button value="Delete" onclick="delete:rptName"/>
<xforms:group nodeset="rel-ops"/>
<xforms:select1 ref="@selected" appearance="min">
<xforms:itemset nodeset="rel-op">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:input ref="value"/>[<xforms:output
ref="../@type"/>]
</xforms:group>
</xforms:repeat>
17
© Fraunhofer IPSI
XForms Example – SCHOLNET
Project
<xforms:repeat nodeset="SearchForm/fields/field"/>
<xforms:select1 ref="field-operators/@selected">
<xforms:itemset nodeset="field-operators/field-operator">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:button value="Add" onclick="new:rptName"/>
<xforms:button value="Delete" onclick="delete:rptName"/>
<xforms:group nodeset="rel-ops"/>
<xforms:select1 ref="@selected" appearance="min">
<xforms:itemset nodeset="rel-op">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:input ref="value"/>[<xforms:output
ref="../@type"/>]
</xforms:group>
</xforms:repeat>
18
© Fraunhofer IPSI
XForms Example – SCHOLNET
Project
<xforms:repeat nodeset="SearchForm/fields/field"/>
<xforms:select1 ref="field-operators/@selected">
<xforms:itemset nodeset="field-operators/field-operator">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:button value="Add" onclick="new:rptName"/>
<xforms:button value="Delete" onclick="delete:rptName"/>
<xforms:group nodeset="rel-ops"/>
<xforms:select1 ref="@selected" appearance="min">
<xforms:itemset nodeset="rel-op">
<xforms:caption ref="@name"/><xforms:value
ref="@name"/>
</xforms:itemset>
</xforms:select1>
<xforms:input ref="value"/>[<xforms:output
ref="../@type"/>]
</xforms:group>
</xforms:repeat>
19
© Fraunhofer IPSI
Semantic Web Application Models (2)
Web
Semantic Domain Model
Client
(HTML)
What?
What
How
authors authors
authors id name authors id name
id name 1 Rudar id name 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 3 Glue
4 Hollow 4 Hollow
Ontology
20
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
© Fraunhofer IPSI
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
Requirements for Semantic
Domain Model
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
21
© Fraunhofer IPSI
Conceptual Modeling in Software
Design
Example: Unified
Modeling Language
(UML)
Travel City
0..*
name : String
1
start
destination
0..* Flight 0..*
BusTravel TrainTravel PlaneTravel
number : String
contains
DirectFlight CompositeFlight
22
© Fraunhofer IPSI
Fulfillment of Requirements - UML
Support of modeling primitives
• Definition of entities (class centric approach)
• Definition of relationships (association, aggregation,
composition, association classes)
• Properties of relationships (multiplicities, association +
role names)
Flexible definition of relationships to global conceptual
models
• not supported
Representation of concept hierarchies
Software Agent • subclass relationship
User Interface Layer Systematic support of data types
• imported from DB Schema or Programming Language
Application Layer Representation of additional domain knowledge and
constraints
id
1
2
autho rs
na me
Rudar
Best
id
1
2
3
authors
name
Rudar
Best
Glue
id
1
2
autho rs
na me
Rudar
Best
id
1
2
3
authors
name
Rudar
Best
Glue
• in textual form
3 Glue 4 Hollow 3 Glue 4 Hollow
Domain/Ontology evolution
4 Hollow 4 Hollow
5 Rudar 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
• not supported 23
© Fraunhofer IPSI
Conceptual Modeling in the Semantic Web –
RDF & Co
The Resource Description Framework (RDF + RDF
Schema):
Defines a framework for structuring and
describing resources in the Semantic Web
Enables the definition of vocabularies for the
description of resources in an application
domain;
Software Agent
Goals:
User Interface Layer
Extensibility, interoperability, and reuse of
Application Layer vocabularies;
authors authors
Improved support for interpretation of data by
machines
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
24
© Fraunhofer IPSI
Resource Description Framework
City
Example: RDF + RDF
e
Schema
ng a
rdf
s: r
s: r
rdf
a
ng
Travel start
e
destination
r dfs
rdfs:subClassOf
contains
rd fs
f
sO
:d om
:
l as
sub
a in
ai n
rd
bC
a in e
m
fs
Cl
do
su
ra
a ssO
do
ng
s:
fs:
fs:
rdf
rd
rd
f
rdf:type
MyTravel Flight/05
contains
de s
rt
sta
t
inat
ion
Frankfurt
Rome 25
© Fraunhofer IPSI
Fulfillment of Requirements - RDF
XSD
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
26
© Fraunhofer IPSI Representation of additional domain knowledge and
Relationships to global Conceptual Models
- RDF
Example Travel
<rdfs:Class rdf:about="#busTravel">
<rdfs:label>Bus Travel</rdfs:label>
<rdfs:subClassOf rdf:resource="travel:Travel"/>
</rdfs:Class>
<rdfs:Class rdf:about="#planeTravel"> Gobally
<rdfs:label>Plane Travel</rdfs:label> defined
<rdfs:subClassOf rdf:resource="travel:Travel"/>
</rdfs:Class>
…
27
© Fraunhofer IPSI
What is still missing?
Application Layer
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
28
© Fraunhofer IPSI
Defining Domain Ontologies -OWL
30
© Fraunhofer IPSI
Fulfillment of Requirements - RDF
+ OWL
Support of modeling primitives
• Definition of entities (property centric approach like
RDF)
• Definition of relationships (via class properties)
• Properties of relationships (cardinalities,transitivity,
symmetry, ...)
Flexible definition of relationships to global conceptual
models
• additional to RDF: disjoint, union, intersection,
equivalent class, equivalent property
Software Agent Representation of concept hierarchies
• yes like RDF + additional relationships
User Interface Layer
Systematic support of data types
Application Layer • on schema level (“data type properties”)
Representation of additional domain knowledge and
id
autho rs
na me
id
1
authors
name
Rudar id
autho rs
na me
id
1
authors
name
Rudar
constraints
• examples see next slides
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
Domain/Ontology evolution 31
© Fraunhofer IPSI • only basic support
Relationships to global Conceptual Models -
RDF+OWL Travel
Example
“A Travel is defined a bus travel, a plane
BusTravel TrainTravel PlaneTravel
32
© Fraunhofer IPSI
Representation of Domain Knowledge in
RDF+OWL
Example
“A city can be either reached by a direct flight
or by connecting several flights”
<owl:objectProperty rdf:about="travel:directFlight">
<rdfs:subpropertyOf rdf:resource = "#connect">
</owl:objectProperty>
33
© Fraunhofer IPSI
Additional Requirements for Semantic Web
Applications
Mappings between the Models
Conceptual UI Model
Semantic Domain Model
Domain Model (represented by Database
Schema)
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
34
© Fraunhofer IPSI
Operationalization
Software Agent
System Authoring
Tool Suite Web User Interface Agent Interface
System
Authoring
Tool(s)
Publishing Tools Conceptual UI Model
- Form Dialog Manager
- Menu Manager User Interface Layer
DOMM
Domain Object Web Services
Task-specificTools Mapping Semantic Domain Model
- Booking Manager Manger
- User Manager
Application Layer
authors authors
authors id name authors id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 4 Hollow
5 Rudar 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id na me
8 Hollow 8 Hollow
35
1 Rudar
9 Rudar 9 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
© Fraunhofer IPSI
36
© Fraunhofer IPSI
Open Issues
37
© Fraunhofer IPSI
Thank
s!
38
© Fraunhofer IPSI
In the following some Backup Slides
39
© Fraunhofer IPSI
Requirements for Semantic Web
Applications (2)
Additional Mappings between
Conceptual UI Model
Semantic Domain Model
Domain Model (represented by Database
Schema) S
User and Agent Interface
Layer
Relational XML DB
DB
Persistant Data Storage
Layer
40
© Fraunhofer IPSI
Web Application - Typical Architecture
Web
Client
(HTML)
JSP, ASP, …
Application Layer
ODBC, JDBC, …
authors authors
authors id name authors id name
id name 1 Rudar id name 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 3 Glue
4 Hollow 4 Hollow
41
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
© Fraunhofer IPSI
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
HTML-based UI Dialog Models -
Properties
Composition of forms from a basic
set of form elements
Provision of static data for selection
lists etc,
Provision of upload functionality and
different types of Submit Logic
43
© Fraunhofer IPSI
Web Services in Dynamic Web
Applications
44
© Fraunhofer IPSI
Challenges for Web Applications
Software Agent
Application Layer
User Interface Layer
authors authors
authors id name authors id name
id name 1 Rudar id name 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 3 Glue
4 Hollow 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar authors authors
10 Best 10 Best id name id name
2 Best autho rs autho rs
Application Layer
11 Glue 11 Glue id name 1 Rudar id name 1 Rudar
3 Glue 1 Rudar 2 Best 1 Rudar 2 Best
4 Hollow 2 Best 3 Glue 2 Best 3 Glue
3 Glue 3 Glue
4 Hollow 4 Hollow
4 Hollow 4 Hollow
5 Rudar 5 Rudar
6 Best 6 Best
autho rs 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
1 Rudar 9 Rudar 9 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 3 Glue
4 Hollow 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
45
© Fraunhofer IPSI
Semantic Web Application Models
Web
Client
(HTML)
Application Layer
authors authors
authors id name authors id name
id name 1 Rudar id name 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 3 Glue
4 Hollow 4 Hollow
46
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
© Fraunhofer IPSI
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
Requirements for Semantic Web
Applications (1)
Semantic Web Application Models:
Semantic Domain Model (Semantic Domain
Layer)
• "references to Ontologies"
• support of automatic interpretation
• extensibility
Conceptual UI Model (Conceptual UI Layer)
Software Agent
id
•…
authors
name
id
1
2
3
4
5
6
7
8
authors
name
Rudar
Best
Glue
Hollow
Rudar
Best
Glue
Hollow
id
1
2
3
4
autho rs
na me
Rudar
Best
Glue
Hollow
id
1
2
3
4
5
6
7
8
authors
name
Rudar
Best
Glue
Hollow
Rudar
Best
Glue
Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
Software Agent
Application Layer
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 3 Glue
4 Hollow 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
49
© Fraunhofer IPSI
– RDF & Co
50
© Fraunhofer IPSI
Defining Semantics on the Web
context.
5 Rudar 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
51
© Fraunhofer IPSI
Ideas for constraints
Application Layer
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
52
© Fraunhofer IPSI
Travel Medium Example
Application Layer
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
53
© Fraunhofer IPSI
UML
A Travel is a bus
travel, a plane or a
train travel”
Software Agent
Application Layer
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
54
© Fraunhofer IPSI
Representation of Domain
Knowledge Flight
“A city can be either reached by a direct flight
or by connecting several flights”
DirectFlight CompositeFlight
<rdfs:Class rdf:about="travel:Flight">
<rdfs:label>Flight</rdfs:label>
<rdfs:subClassOf rdf:resource="travel:Flight"/>
</rdfs:Class>
<rdfs:Class rdf:about="travel:directFlight">
<rdfs:label>DirectFlight</rdfs:label>
Software Agent <rdfs:subClassOf rdf:resource="travel:Flight"/>
</rdfs:Class>
User Interface Layer <rdfs:Class rdf:about="travel:compositFlight">
<rdfs:label>CompositFlight</rdfs:label>
Application Layer <rdfs:subClassOf rdf:resource="travel:Flight"/>
</rdfs:Class>
<rdf:Description rdf:about=
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
55
© Fraunhofer IPSI
Example with cardinalities
Aircompany to CompositFlight
Aircomp. to Traveltarget (only 3 are
allowed;-)
Software Agent
Application Layer
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
56
© Fraunhofer IPSI
Defining Semantics on the Web
context.
5 Rudar 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
57
© Fraunhofer IPSI
Semantic Domain Model – RDF &
Co
The Resource Description Framework:
Defines a framework for structuring and
describing resources like documents in the
Semantic Web
Enables the definition of vocabularies for
the description of resources in an
application domain;
Goals:
Software Agent
Extensibility, interoperability, and
reuse of vocabularies;
User Interface Layer
Improved support for interpretation of
Application Layer data
by machines
authors authors
autho rs id name autho rs id name
id na me 1 Rudar id na me 1 Rudar
1 Rudar 2 Best 1 Rudar 2 Best
2 Best 3 Glue 2 Best 3 Glue
3 Glue 4 Hollow 3 Glue 4 Hollow
4 Hollow 5 Rudar 4 Hollow 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
58
© Fraunhofer IPSI
Comparison between UML and RDF
UML RDF
structural
class centric property centric
reference
approachto
global
no yes
conceptualization
notions of a
resource no yes
(metadata)
representation of
yes yes
relationships
reification no yes
representation of
concept yes yes
hierarchies
59
© Fraunhofer IPSI
Defining Semantics on the Web
context.
5 Rudar 5 Rudar
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
60
© Fraunhofer IPSI
RDF Schema
and relationships/properties
6 Best 6 Best
authors 7 Glue 7 Glue
id name 8 Hollow 8 Hollow
9 Rudar 9 Rudar
1 Rudar
10 Best 10 Best
2 Best
11 Glue 11 Glue
3 Glue
4 Hollow
61
© Fraunhofer IPSI
RDF Schema Example
rdf:Literal FlightNumber
rdfs:range
in
DepatureDate
o ma
assignedTo rd
d
ai n fs
rd fs:
:r
r dfs om an
ain :ra n s :d ge
o m ge r df
s:d Flight rdf:Literal
r df rdfs:range isFor
Plane ain
m
f s:do
rd
rdf s
hasPassenger
om:d
ai
rd
n
fs:
r an
ge Ticket
Person
e
ng
rdf
s: d
ra
o ma
s:
f
in
owns rd
62
© Fraunhofer IPSI
Ontology Languages
63
© Fraunhofer IPSI
OWL Characteristics
tp://www.daml.org/cgi-bin/hyperdaml?http://www.daml.org/2001/06/itinerary/itinerary-ont
http://ontoserver.aifb.uni-karlsruhe.de/texttoonto/
http://www.iiia.csic.es/~pedro/francois-techreport0301.pdf
http://www.nextwebgeneration.org/telecoop03/33
http://www2.darmstadt.gmd.de/bib/News.html
65
© Fraunhofer IPSI
Conceptual UI Model - XForms
66
© Fraunhofer IPSI
XForms provides …
67
© Fraunhofer IPSI XML-Browser, Java and Flash
Software Agent
Flight
Flight Departure
Departure
68
id name 8 Hollow 8 Hollow id name 8 Hollow 8 Hollow
1 Rudar
9 Rudar 9 Rudar 1 Rudar
9 Rudar 9 Rudar
10 Best 10 Best 10 Best 10 Best
2 Best 2 Best
11 Glue 11 Glue 11 Glue 11 Glue
© Fraunhofer IPSI
3 Glue 3 Glue
4 Hollow 4 Hollow