• No results found

Semantic Web Languages: RDF vs. SOAP Serialisation

N/A
N/A
Protected

Academic year: 2021

Share "Semantic Web Languages: RDF vs. SOAP Serialisation"

Copied!
13
0
0

Loading.... (view fulltext now)

Full text

(1)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

Semantic Web Languages:

RDF vs. SOAP Serialisation

Stefan Haustein

University of Dortmund

Computer Science VIII

stefan.haustein@udo.edu

(2)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

Semantic Web Languages:

RDF vs. SOAP Serialisation

Why look at something else? Is RDF(S) not sufficient?

What is SOAP? Why is SOAP important?

(3)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

RDF Issues

Syntax Variants

Human readability?

XSLT Templates?

Verbosity

Human readability?

Data model

(4)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

RDF Syntax Variants

<ApDescription id="1">

...

</ApDescription>

<rdf:Description>

<type resource="&fipaNS;#ApDescription" />

...

</rdf:Description>

<ApDescription id="1">

<name>paris.agentcities.org</name>

<dynamic>true</dynamic>

<mobility>true</mobility>

...

</ApDescription>

<ApDescription id="1"

name="paris.agentcities.org"

dynamic="true"

mobility="true">

...

</ApDescription>

Resource description and type abbreviation:

(5)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

RDF Syntax Variants

Nesting vs. Linking:

<ApDescription id="1">

<name>paris.agentcities.org</name>

<dynamic>true</dynamic>

<mobility>true</mobility>

<transportProfile>

<ApTransportDescription id="2">

...

</ApTransportDescription>

</transportProfile>

</ApDescription>

<ApDescription id="1">

<name>paris.agentcities.org</name>

<dynamic>true</dynamic>

<mobility>true</mobility>

<transportProfile resource="#2" />

</ApDescription>

<ApTransportDescription id="2">

...

</ApTransportDescription>

(6)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

RDF Syntax Variants:

Motivation and Access Model

Browser-friendly annotation of

human-readable information

(HTML) with meta-information

Abbreviations for convenience

Problems:

Redundancy???

Bloated HTML (readability?)

Separation of content and

layout?

HTML-Browser

“Semantic”

access

RDF-Annotated HTML

- Content (HTML)

- Layout (HTML/CSS)

- Meta-Content (RDF)

(7)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

XML Access Model

Machine readable format in the

first place

How does it fit with RDF?

If XML is replaced by RDF:

XSLT templates for all syntax

variants???

(X)HTML-Browser

“Semantic”

access

XML

- Machine Readable

WML-Browser

...

XSLT Templates

(Format, Layout)

(8)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

RDFS Data Model

Not really object oriented but property centric

Property names must be globally unique

Fine granularity requires reification for statements about

(9)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

Globally Unique Property Names vs.

Schema Scalability

Consider two developers working on

a RDF schema:

Working in separate Namespaces

requires remembering the

Namespace of each property

Working in one Namespace

requires co-ordination for each

property name

Common Base

Concept

Concept A

Concept B

(10)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

What is SOAP? Why is SOAP important?

SOAP is an XML based protocol for remote method invocation

SOAP includes an XML serialisation format for object oriented data

Advantages of SOAP serialisation:

Support from Industry (MS, IBM, SUN...)

We cannot build the “Semantic Web” alone

More compact and less ambiguous

comparable to “hand-made” XML languages

UML can be used for modelling XML languages

based on widely understood OO technologies

(11)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein <ApDescription id="1"> <name>paris.agentcities.org</name> <dynamic>true</dynamic> <mobility>true</mobility> <transportProfile> <ApTransportDescription id="2"> <availableMtps> <rdf:Bag> <rdf:li> <MtpDescription id="3"> <mtpName>fipa.mts.mtp.iiop.std</mtpName> <addresses> <rdf:Bag> <rdf:li>iiop://leap.crm-paris.com:9000/paris.agentcities.org/acc</rdf:li> <rdf:li>iiopname://leap.crm-paris.com:9000/paris.agentcities.org/acc</rdf:li> </rdf:Bag> </addresses> </MtpDescription> </rdf:li> <rdf:li> <MtpDescription id="4"> <mtpName>fipa.mts.mtp.http.std</mtpName> <addresses> <rdf:Bag> <rdf:li>http://leap.crm-paris.com:8080/acc</rdf:li> </rdf:Bag> </addresses> </MtpDescription> </rdf:li> </rdf:Bag> </availableMtps> </ApTransportDescription> </transportProfile> </ApDescription> <ApDescription> <name>paris.agentcities.org</name> <dynamic>true</dynamic> <mobility>true</mobility> <transportProfile> <availableMtps> <MtpDescription> <mtpName>fipa.mts.mtp.iiop.std</mtpName> <addresses> <url>iiop://leap.crm-paris.com:9000/paris.agentcities.org/acc</url> <url>iiopname://leap.crm-paris.com:9000/paris.agentcities.org/acc</url> </addresses> </MtpDescription> <MtpDescription> <mtpName>fipa.mts.mtp.http.std</mtpName> <addresses> <url>http://leap.crm-paris.com:8080/acc</url> </addresses> </MtpDescription> </availableMtps> </transportProfile> </ApDescription>

RDF (abbreviated syntax!)

SOAP (same content)

(12)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

Is SOAP Suitable for the Semantic Web?

Saying anything about anything:

“RDF is property centric because in OO,

information about an object is stored inside

that object. ”

In OO, objects can hold information about

other objects (or resources).

Description

about: URL

...

SomeConcept

...

AnotherConcept

... •

Open issue:

SOAP does not specify

sufficiently how to assign

URLs to objects.

(13)

Lehrstuhl Informatik VIII Prof. Dr. Katharina Morik www-ai.cs.uni-dortmund.de

Semantic Web Languages RDF vs. SOAP Serialisation Stefan Haustein

Integration with Existing Standards

RDF SOAP

Serialisation

RDF

SOAP

HTML/WAP generation

?

XSLT

Query Language

?

OQL

Syntax Validation

?

XML Schema

Schema Serialisation

RDFS

UML Meta-model

Schema Modelling

?

UML

References

Related documents

63 Abbildung 22: Diagramme zur Entwicklung der Zellzahlen pro Abstrich und Tier über den gesamten Versuch (logarithmische Auftragung; Kontrollgruppe = grün, Lack C

There is enough work for the Catholic Church attempt to influence the Healthcare policy to modify the financial system and to support research projects they will develop a new

Their comments were analysed by means of a qualitative content analysis and revealed that the experienced teachers independently used the wide range of principles of

Lothar Mennicken, Federal Ministry of Education and Research (BMBF; member of the MaRess Advisory Committee since June

This forum is dedicated to the discussion on the social values of Second Language Acquisition (SLA) research and is motivated by talks organized in the Fall of 2018 by Columbia

Electric utilities should try their best to ensure foreign-owned poles are in as good of shape as their own poles in terms of remaining strength and loading.. The processes

rubra but can be differentiated from these by leaf shape, a short filamentous corona, and according to Milward-de-Azevedo (2008), oblate to spheroid pollen grains and ligulate

Finally, it was shown that the combination in the same molecule of peptides derived from filaggrin (cyclic peptide cfc1cyc) and from the alpha chain of fibrin