Semantic Web Languages: RDF vs. SOAP Serialisation Stefan Haustein - - PowerPoint PPT Presentation

semantic web languages rdf vs soap serialisation
SMART_READER_LITE
LIVE PREVIEW

Semantic Web Languages: RDF vs. SOAP Serialisation Stefan Haustein - - PowerPoint PPT Presentation

Semantic Web Languages: RDF vs. SOAP Serialisation Stefan Haustein University of Dortmund Computer Science VIII stefan.haustein@udo.edu Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation


slide-1
SLIDE 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

slide-2
SLIDE 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?
  • Is SOAP Serialisation really an alternative to RDF(S)?
slide-3
SLIDE 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
slide-4
SLIDE 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: Using attributes instead of elements:

slide-5
SLIDE 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>

slide-6
SLIDE 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)
slide-7
SLIDE 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)

slide-8
SLIDE 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

statements

slide-9
SLIDE 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 Developer A Developer B

slide-10
SLIDE 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

slide-11
SLIDE 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)

slide-12
SLIDE 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
  • ther objects (or resources).

Description about: URL ... SomeConcept ... AnotherConcept ...

  • Open issue:

SOAP does not specify sufficiently how to assign URLs to objects.

slide-13
SLIDE 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