semantic web languages rdf vs soap serialisation
play

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


  1. 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 www-ai.cs.uni-dortmund.de Stefan Haustein

  2. 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)? Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

  3. RDF Issues • Syntax Variants – Human readability? – XSLT Templates? • Verbosity – Human readability? • Data model Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

  4. RDF Syntax Variants Resource description and type abbreviation: <ApDescription id="1"> <rdf:Description> <type resource="&fipaNS;#ApDescription" /> ... ... </ApDescription> </rdf:Description> Using attributes instead of elements: <ApDescription id="1" <ApDescription id="1"> name="paris.agentcities.org" <name>paris.agentcities.org</name> <dynamic>true</dynamic> dynamic="true" mobility="true"> <mobility>true</mobility> ... ... </ApDescription> </ApDescription> Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

  5. RDF Syntax Variants Nesting vs. Linking: <ApDescription id="1"> <ApDescription id="1"> <name>paris.agentcities.org</name> <name>paris.agentcities.org</name> <dynamic>true</dynamic> <dynamic>true</dynamic> <mobility>true</mobility> <mobility>true</mobility> <transportProfile> <transportProfile resource="#2" /> <ApTransportDescription id="2"> </ApDescription> ... </ApTransportDescription> <ApTransportDescription id="2"> </transportProfile> ... </ApDescription> </ApTransportDescription> Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

  6. RDF Syntax Variants: Motivation and Access Model RDF-Annotated HTML • Browser-friendly annotation of - Content (HTML) human-readable information - Layout (HTML/CSS) (HTML) with meta-information - Meta-Content (RDF) • Abbreviations for convenience Problems: • Redundancy??? HTML- “Semantic” • Bloated HTML (readability?) Browser access • Separation of content and layout? Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

  7. XML Access Model XML - Machine Readable Machine readable format in the • first place XSLT Templates How does it fit with RDF? • (Format, Layout) If XML is replaced by RDF: • XSLT templates for all syntax variants??? (X)HTML- WML- “Semantic” ... Browser Browser access Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

  8. RDFS Data Model • Not really object oriented but property centric • Property names must be globally unique • Fine granularity requires reification for statements about statements Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

  9. Globally Unique Property Names vs. Schema Scalability Common Base Concept Consider two developers working on a RDF schema: Concept A Concept B Working in separate Namespaces • requires remembering the Namespace of each property Working in one Namespace • requires co-ordination for each property name Developer A Developer B Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

  10. 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 Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

  11. <ApDescription id="1"> RDF (abbreviated syntax!) <name>paris.agentcities.org</name> <dynamic>true</dynamic> <mobility>true</mobility> SOAP (same content) <transportProfile> <ApTransportDescription id="2"> <availableMtps> <rdf:Bag> <rdf:li> <MtpDescription id="3"> <mtpName>fipa.mts.mtp.iiop.std</mtpName> <ApDescription> <addresses> <name>paris.agentcities.org</name> <rdf:Bag> <dynamic>true</dynamic> <rdf:li>iiop://leap.crm-paris.com:9000/paris.agentcities.org/acc</rdf:li> <mobility>true</mobility> <rdf:li>iiopname://leap.crm-paris.com:9000/paris.agentcities.org/acc</rdf:li> <transportProfile> </rdf:Bag> <availableMtps> </addresses> <MtpDescription> </MtpDescription> <mtpName>fipa.mts.mtp.iiop.std</mtpName> </rdf:li> <addresses> <rdf:li> <url>iiop://leap.crm-paris.com:9000/paris.agentcities.org/acc</url> <MtpDescription id="4"> <url>iiopname://leap.crm-paris.com:9000/paris.agentcities.org/acc</url> <mtpName>fipa.mts.mtp.http.std</mtpName> </addresses> <addresses> </MtpDescription> <rdf:Bag> <MtpDescription> <rdf:li>http://leap.crm-paris.com:8080/acc</rdf:li> <mtpName>fipa.mts.mtp.http.std</mtpName> </rdf:Bag> <addresses> </addresses> <url>http://leap.crm-paris.com:8080/acc</url> </MtpDescription> </addresses> </rdf:li> </MtpDescription> </rdf:Bag> </availableMtps> </availableMtps> </transportProfile> </ApTransportDescription> Lehrstuhl Informatik VIII Semantic Web Languages </ApDescription> </transportProfile> Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation </ApDescription> www-ai.cs.uni-dortmund.de Stefan Haustein

  12. 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. ” Description about: URL In OO, objects can hold information about • other objects (or resources). • Open issue: SOAP does not specify sufficiently how to assign SomeConcept AnotherConcept URLs to objects. ... ... ... Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

  13. 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 Lehrstuhl Informatik VIII Semantic Web Languages Prof. Dr. Katharina Morik RDF vs. SOAP Serialisation www-ai.cs.uni-dortmund.de Stefan Haustein

Recommend


More recommend