SlideShare a Scribd company logo
The Web of Data for E-Commerce in Brief

A Hands-on Introduction to the GoodRelations Ontology,
         RDFa, and Yahoo! SearchMonkey

                   October 25, 2009
Westfields Conference Center near Washington, DC, USA

                        Martin Hepp
      Universität der Bundeswehr München, Munich, Germany


                    Richard Cyganiak
        Digital Enterprise Research Institute (DERI), Ireland
Logistics
08:30-10:30   Overview and Motivation: Why the Web of Data is Now 30’
              Quick Review of Prerequisites 15’
              The GoodRelations Ontology: E-Commerce on the Web of Data 75’
10:30-10:45   Coffee Break
10:45-12:30   RDFa: Bridging the Web of Documents with the Web of Data 45’
              Expressing GoodRelations in RDFa: A Running Example 30’
              GoodRelations – Advanced Topics 30’
12:30-13:30   Lunch Break
13:30-16:00   Hands-on Exercise: Annotating a Web Shop 60’
              Querying the Web of Data for Offerings – SPARQL 15’
              Querying the Web of Data – Exercises 15’
16:00-16:30   Coffee Break
16:30-18:00   Publishing Semantic Web Data: Make Your RDF Available 30’
              Yahoo SearchMonkey and Yahoo BOSS 45’
              Discussion, Conclusion, Feedback Round 15’
                                                                          2
Quick Review of Prerequisites

                      Martin Hepp




25.10.2009                                   3
Learning Goals
In this part, we will
• make sure all participants have sufficient
  knowledge of related topics,
and
• show how to install the Twinkle software.



25.10.2009                                     4
Prerequisites for the Tutorial
• Markup Languages          • Tooling and
     – XML, HTML, XHTML       Infrastructure
• Semantic Web Basics          – Editors
     – URIs                    – Repositories and
                                 Reasoners
     – RDF
                               – Frameworks / APIs
     – RDFS and OWL
                            • Linked Data
                              Principles


25.10.2009                                           5
Core Semantic Web Technology Pillars
•   Global Identifiers: URIs for everything
•   Data Model: RDF - A data model for exchanging conceptual graphs based
    on triples
     – Compatible with the design principles of the Web (especially with its distributed
       nature)
     – Triple: (Subject, Predicate, Object)
     – Exchange syntax: RDF/XML, N3, RDFa etc.
•   Ontology Languages: RDFS and OWL - formal languages that help
    reduce ambiguity and codify implicit facts
     – foo:human rdfs:subClassOf foo:mammal
•   Query Language & Interface: SPARQL - standardized query language
    and endpoint interface for RDF data
•   LOD Principles: Best practices for keeping the current Web and the Web
    of Data compatible

                                                                                           6
Global Identifiers: URIs for Everything
1.   Make clear whether
     you are referring to
     something or its
     representation.
     URI1: Page
     URI2-x: Data items

2.   Distinct URIs for      •   Web page
     distinct data items    •   Company
                            •   Product
                            •   Price information
                            •   etc.
                                                    7
Creating URIs for Everything
• Web of Documents
  – http://www.myshop.com/about.html
• Web of Linked Data
  –   http://www.myshop.com/about.html (Page)
  –   http://www.myshop.com/about.html#BusinessEntity
  –   http://www.myshop.com/about.html#Product
  –   http://www.myshop.com/about.html#Warranty



                                                        8
RDF vs. RDF/XML, N3/Turtle, RDFa
• RDF – Resource Description Framework
     – Basically, the data model of representing
       conceptual graphs in the form of triples

subject                predicate                object
<http://foo.org/joe>   <http://vocab.at/likes> <http://foo.org/linda>.
<http://foo.org/joe>   <http://vocab.at/name> “Joe Miller”.




25.10.2009                                                               9
Syntaxes: RDF/XML, N3/Turtle, RDFa
• RDF/XML – RDF in XML
• N3/Turtle – Human-readable RDF
• RDFa – RDF embedded in XHTML/HTML

subject                predicate                object
<http://foo.org/joe>   <http://vocab.at/likes> <http://foo.org/linda>.
<http://foo.org/joe>   <http://vocab.at/name> “Joe Miller”.



25.10.2009                                                           10
Turtle Syntax for RDF




       http://www.dajobe.org/2004/01/turtle/
25.10.2009                                     11
RDFa = Complete RDF

                          N3/
                         Turtle



                                  RDF/
                 RDFa
                                  XML


                This is not widely known!

25.10.2009                                  12
Simplified Process of Using the
                  Semantic Web
• Find or create ontology / vocabulary
     – “Ontology Engineering”
• Create data expressed using that vocabulary
     – “Ontology Population” / “Knowledge Base
       Population” / “Annotating Data” / “RDFizing”
• Publish the data
• Query / reuse / combine the data


25.10.2009                                            13
Tooling and Infrastructure

                        Editors
              Repositories and Reasoners
                 Frameworks / APIs

25.10.2009                                 14
Editors




25.10.2009             15
Parsers, Repositories, Reasoners
                                     Reasoner
   RDF/XML
                         Explicit
                         Model
                                          Query
        N3     Parser
                         Implicit Model

    XHTML
    +RDFa               Repository
25.10.2009                                  16
Frameworks, Libraries, and APIs
• Jena Semantic Web Framework: Java
  framework for building Semantic Web
  applications.
     – http://jena.sourceforge.net/
• RDFLib: Python library for working with RDF
     – http://www.rdflib.net/
• Redland RDF Libraries (aka librdf): C-based
  library with APIs in Perl, Python, Tcl and Java.
     – http://librdf.org
25.10.2009                                           17
Linked Data Principles
• Linked data principles, by Tim Berners-
  Lee, ca. 2006
     – Use URIs to identify things (anything, not just
       documents)
     – Use HTTP URIs – globally unique names, distributed
       ownership – allows people to look up things
     – Provide useful information in RDF – when someone
       looks up a URI
     – Include RDF links to other URIs – to enable
       discovery of related information
18
Twinkle

             Installations and Usage




25.10.2009                             19
Twinkle: A SPARQL Query Tool




      http://www.ldodds.com/projects/twinkle/
25.10.2009                                      20
Twinkle: Installation
• Requires Java 1.5 or higher
• Download the distribution and unzip it into a new
  directory:
     – http://www.ldodds.com/projects/twinkle/twinkle-2.0-bin.zip
• Replace the file config.n3 in the "etc" subdirectory by the
  file available at
     – http://www.ebusiness-unibw.org/pubwiki/images/8/84/
       Config.n3.txt
     – Rename it to config.n3 after downloading
• Open a command prompt and execute the following:
     – java -jar twinkle.jar
25.10.2009                                                          21
Thank you.




25.10.2009                22

More Related Content

PDF
GoodRelations Tutorial Part 1
PDF
GoodRelations Tutorial Part 4
PDF
Web Site Visibility in the Giant Graph of Commerce Data
KEY
RDFa Introductory Course Session 2/4 How RDFa
KEY
RDFa Introductory Course Session 3/4 Why RDFa
ODP
Building a semantic website
KEY
Maximising Online Resource Effectiveness Workshop Session 5/8 Content strategy
PPTX
Semantic Web and Schema.org
GoodRelations Tutorial Part 1
GoodRelations Tutorial Part 4
Web Site Visibility in the Giant Graph of Commerce Data
RDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 3/4 Why RDFa
Building a semantic website
Maximising Online Resource Effectiveness Workshop Session 5/8 Content strategy
Semantic Web and Schema.org

What's hot (19)

PPTX
Linked Data for Libraries: Experiments between Cornell, Harvard and Stanford
PPT
Realizing a Semantic Web Application - ICWE 2010 Tutorial
KEY
Maximising Online Resource Effectiveness Workshop Session 3/8 Priority issues
PPTX
Leveraging the semantic web meetup, Semantic Search, Schema.org and more
PPT
Linked Data Tutorial
PDF
Webinar: Semantic web for developers
PPTX
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
PDF
Schema.org: Where did that come from!
PPT
Developing A Semantic Web Application - ISWC 2008 tutorial
PPTX
Breaking Up with MARC 2016 LITD Conference (03.11.2016)
PPTX
Introduction to APIs and Linked Data
PDF
semantic markup using schema.org
PDF
FIBO & Schema.org
PPTX
Linked Data Tutorial
PDF
Linked Data Best Practices and BibFrame
PPTX
Linked Data Integration and semantic web
PPTX
Rdfa semtech2011
PPTX
Breaking Up with MARC 2016 ILF District 5-7 Conference (05.13.2016)
PDF
Sd sem weboct252010
Linked Data for Libraries: Experiments between Cornell, Harvard and Stanford
Realizing a Semantic Web Application - ICWE 2010 Tutorial
Maximising Online Resource Effectiveness Workshop Session 3/8 Priority issues
Leveraging the semantic web meetup, Semantic Search, Schema.org and more
Linked Data Tutorial
Webinar: Semantic web for developers
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
Schema.org: Where did that come from!
Developing A Semantic Web Application - ISWC 2008 tutorial
Breaking Up with MARC 2016 LITD Conference (03.11.2016)
Introduction to APIs and Linked Data
semantic markup using schema.org
FIBO & Schema.org
Linked Data Tutorial
Linked Data Best Practices and BibFrame
Linked Data Integration and semantic web
Rdfa semtech2011
Breaking Up with MARC 2016 ILF District 5-7 Conference (05.13.2016)
Sd sem weboct252010
Ad

Similar to ISWC GoodRelations Tutorial Part 2 (20)

PDF
RDFa: introduction, comparison with microdata and microformats and how to use it
PDF
LOD技術解説
PPTX
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
PDF
Metadata is back!
ZIP
SemWeb Fundamentals - Info Linking & Layering in Practice
PDF
Danbri Drupalcon Export
PDF
ISWC GoodRelations Tutorial Part 4
PPTX
RDF Graph Data Management in Oracle Database and NoSQL Platforms
PPTX
Usage of Linked Data: Introduction and Application Scenarios
PPT
Exploring the Semantic Web
PPTX
Why I don't use Semantic Web technologies anymore, event if they still influe...
PDF
What is New in W3C land?
PPTX
TPDL2013 tutorial linked data for digital libraries 2013-10-22
KEY
Why rdfa
PPTX
Publishing and Using Linked Open Data - Day 1
PPT
Webofdata
PPTX
NISO/DCMI September 25 Webinar: Implementing Linked Data in Developing Countr...
PDF
WebGUI And The Semantic Web
PPTX
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
PPTX
Lecture linked data cloud & sparql
RDFa: introduction, comparison with microdata and microformats and how to use it
LOD技術解説
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
Metadata is back!
SemWeb Fundamentals - Info Linking & Layering in Practice
Danbri Drupalcon Export
ISWC GoodRelations Tutorial Part 4
RDF Graph Data Management in Oracle Database and NoSQL Platforms
Usage of Linked Data: Introduction and Application Scenarios
Exploring the Semantic Web
Why I don't use Semantic Web technologies anymore, event if they still influe...
What is New in W3C land?
TPDL2013 tutorial linked data for digital libraries 2013-10-22
Why rdfa
Publishing and Using Linked Open Data - Day 1
Webofdata
NISO/DCMI September 25 Webinar: Implementing Linked Data in Developing Countr...
WebGUI And The Semantic Web
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
Lecture linked data cloud & sparql
Ad

More from Martin Hepp (20)

PDF
Web Ontologies: Lessons Learned from Conceptual Modeling at Scale
PDF
The Semantic Web – A Vision Come True, or Giving Up the Great Plan?
PDF
Extending schema.org with GoodRelations and www.productontology.org
PDF
Advertising with Linked Data in Web Content
PDF
The Semantic Web and its Impact on International Websites
PDF
KRDB2010-GoodRelations
PDF
ISKO 2010: Linked Data in E-Commerce – The GoodRelations Ontology
PDF
ISKO2010: Linked Data in E-Commerce – The GoodRelations Ontology
PDF
Goodrelations semtech2010
PDF
SEO, RDFa, and GoodRelations: An Implementation by a Major Online Retailer
PDF
SEO, RDFa, and GoodRelations - An Implementation by a Major Online Retailer
PDF
Goodrelations Presentation from SemTech 2010
PDF
Web Page Optimization for Facebook
PDF
GoodRelations & RDFa for Deep Comparison Shopping on a Web Scale
PDF
ISWC GoodRelations Tutorial Part 1
PDF
ISWC GoodRelations Tutorial Part 3
PDF
Web 3.0. für Spezialversender
PDF
eCl@ss im Web: Mehr Kunden und bessere Stammdaten für jeden eCl@ss-Anwender
PDF
Product Variety, Consumer Preferences, and Web Technology: Can the Web of Dat...
PPTX
Deep Comparison Shopping
Web Ontologies: Lessons Learned from Conceptual Modeling at Scale
The Semantic Web – A Vision Come True, or Giving Up the Great Plan?
Extending schema.org with GoodRelations and www.productontology.org
Advertising with Linked Data in Web Content
The Semantic Web and its Impact on International Websites
KRDB2010-GoodRelations
ISKO 2010: Linked Data in E-Commerce – The GoodRelations Ontology
ISKO2010: Linked Data in E-Commerce – The GoodRelations Ontology
Goodrelations semtech2010
SEO, RDFa, and GoodRelations: An Implementation by a Major Online Retailer
SEO, RDFa, and GoodRelations - An Implementation by a Major Online Retailer
Goodrelations Presentation from SemTech 2010
Web Page Optimization for Facebook
GoodRelations & RDFa for Deep Comparison Shopping on a Web Scale
ISWC GoodRelations Tutorial Part 1
ISWC GoodRelations Tutorial Part 3
Web 3.0. für Spezialversender
eCl@ss im Web: Mehr Kunden und bessere Stammdaten für jeden eCl@ss-Anwender
Product Variety, Consumer Preferences, and Web Technology: Can the Web of Dat...
Deep Comparison Shopping

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Approach and Philosophy of On baking technology
PPTX
Cloud computing and distributed systems.
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation theory and applications.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
Review of recent advances in non-invasive hemoglobin estimation
The AUB Centre for AI in Media Proposal.docx
Spectroscopy.pptx food analysis technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Digital-Transformation-Roadmap-for-Companies.pptx
Network Security Unit 5.pdf for BCA BBA.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Approach and Philosophy of On baking technology
Cloud computing and distributed systems.
Building Integrated photovoltaic BIPV_UPV.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation theory and applications.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
cuic standard and advanced reporting.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Understanding_Digital_Forensics_Presentation.pptx

ISWC GoodRelations Tutorial Part 2

  • 1. The Web of Data for E-Commerce in Brief A Hands-on Introduction to the GoodRelations Ontology, RDFa, and Yahoo! SearchMonkey October 25, 2009 Westfields Conference Center near Washington, DC, USA Martin Hepp Universität der Bundeswehr München, Munich, Germany Richard Cyganiak Digital Enterprise Research Institute (DERI), Ireland
  • 2. Logistics 08:30-10:30 Overview and Motivation: Why the Web of Data is Now 30’ Quick Review of Prerequisites 15’ The GoodRelations Ontology: E-Commerce on the Web of Data 75’ 10:30-10:45 Coffee Break 10:45-12:30 RDFa: Bridging the Web of Documents with the Web of Data 45’ Expressing GoodRelations in RDFa: A Running Example 30’ GoodRelations – Advanced Topics 30’ 12:30-13:30 Lunch Break 13:30-16:00 Hands-on Exercise: Annotating a Web Shop 60’ Querying the Web of Data for Offerings – SPARQL 15’ Querying the Web of Data – Exercises 15’ 16:00-16:30 Coffee Break 16:30-18:00 Publishing Semantic Web Data: Make Your RDF Available 30’ Yahoo SearchMonkey and Yahoo BOSS 45’ Discussion, Conclusion, Feedback Round 15’ 2
  • 3. Quick Review of Prerequisites Martin Hepp 25.10.2009 3
  • 4. Learning Goals In this part, we will • make sure all participants have sufficient knowledge of related topics, and • show how to install the Twinkle software. 25.10.2009 4
  • 5. Prerequisites for the Tutorial • Markup Languages • Tooling and – XML, HTML, XHTML Infrastructure • Semantic Web Basics – Editors – URIs – Repositories and Reasoners – RDF – Frameworks / APIs – RDFS and OWL • Linked Data Principles 25.10.2009 5
  • 6. Core Semantic Web Technology Pillars • Global Identifiers: URIs for everything • Data Model: RDF - A data model for exchanging conceptual graphs based on triples – Compatible with the design principles of the Web (especially with its distributed nature) – Triple: (Subject, Predicate, Object) – Exchange syntax: RDF/XML, N3, RDFa etc. • Ontology Languages: RDFS and OWL - formal languages that help reduce ambiguity and codify implicit facts – foo:human rdfs:subClassOf foo:mammal • Query Language & Interface: SPARQL - standardized query language and endpoint interface for RDF data • LOD Principles: Best practices for keeping the current Web and the Web of Data compatible 6
  • 7. Global Identifiers: URIs for Everything 1. Make clear whether you are referring to something or its representation. URI1: Page URI2-x: Data items 2. Distinct URIs for • Web page distinct data items • Company • Product • Price information • etc. 7
  • 8. Creating URIs for Everything • Web of Documents – http://www.myshop.com/about.html • Web of Linked Data – http://www.myshop.com/about.html (Page) – http://www.myshop.com/about.html#BusinessEntity – http://www.myshop.com/about.html#Product – http://www.myshop.com/about.html#Warranty 8
  • 9. RDF vs. RDF/XML, N3/Turtle, RDFa • RDF – Resource Description Framework – Basically, the data model of representing conceptual graphs in the form of triples subject predicate object <http://foo.org/joe> <http://vocab.at/likes> <http://foo.org/linda>. <http://foo.org/joe> <http://vocab.at/name> “Joe Miller”. 25.10.2009 9
  • 10. Syntaxes: RDF/XML, N3/Turtle, RDFa • RDF/XML – RDF in XML • N3/Turtle – Human-readable RDF • RDFa – RDF embedded in XHTML/HTML subject predicate object <http://foo.org/joe> <http://vocab.at/likes> <http://foo.org/linda>. <http://foo.org/joe> <http://vocab.at/name> “Joe Miller”. 25.10.2009 10
  • 11. Turtle Syntax for RDF http://www.dajobe.org/2004/01/turtle/ 25.10.2009 11
  • 12. RDFa = Complete RDF N3/ Turtle RDF/ RDFa XML This is not widely known! 25.10.2009 12
  • 13. Simplified Process of Using the Semantic Web • Find or create ontology / vocabulary – “Ontology Engineering” • Create data expressed using that vocabulary – “Ontology Population” / “Knowledge Base Population” / “Annotating Data” / “RDFizing” • Publish the data • Query / reuse / combine the data 25.10.2009 13
  • 14. Tooling and Infrastructure Editors Repositories and Reasoners Frameworks / APIs 25.10.2009 14
  • 16. Parsers, Repositories, Reasoners Reasoner RDF/XML Explicit Model Query N3 Parser Implicit Model XHTML +RDFa Repository 25.10.2009 16
  • 17. Frameworks, Libraries, and APIs • Jena Semantic Web Framework: Java framework for building Semantic Web applications. – http://jena.sourceforge.net/ • RDFLib: Python library for working with RDF – http://www.rdflib.net/ • Redland RDF Libraries (aka librdf): C-based library with APIs in Perl, Python, Tcl and Java. – http://librdf.org 25.10.2009 17
  • 18. Linked Data Principles • Linked data principles, by Tim Berners- Lee, ca. 2006 – Use URIs to identify things (anything, not just documents) – Use HTTP URIs – globally unique names, distributed ownership – allows people to look up things – Provide useful information in RDF – when someone looks up a URI – Include RDF links to other URIs – to enable discovery of related information 18
  • 19. Twinkle Installations and Usage 25.10.2009 19
  • 20. Twinkle: A SPARQL Query Tool http://www.ldodds.com/projects/twinkle/ 25.10.2009 20
  • 21. Twinkle: Installation • Requires Java 1.5 or higher • Download the distribution and unzip it into a new directory: – http://www.ldodds.com/projects/twinkle/twinkle-2.0-bin.zip • Replace the file config.n3 in the "etc" subdirectory by the file available at – http://www.ebusiness-unibw.org/pubwiki/images/8/84/ Config.n3.txt – Rename it to config.n3 after downloading • Open a command prompt and execute the following: – java -jar twinkle.jar 25.10.2009 21