GoodRelations Tutorial Part 3 - Presentation Transcript
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
The GoodRelations Ontology:
E-Commerce on the Web of Data
Martin Hepp
25.10.2009 3
GoodRelations: Language Reference
http://purl.org/goodrelations/v1.html
6
Overview
The GoodRelations Vocabulary
• A universal and free Web
vocabulary for adding
product and offering data
to your Web pages.
• Compatible with all relevant
W3C standards and
recommendations
– RDF
– OWL
http://purl.org/goodrelations/
8
GoodRelations: One Single Schema for
A Consolidated View on E-Commerce
Data Extraction
Arbitrary Query and Reuse
Manufacturers
Retailers
Payment
Delivery
Product Model Warranty
Master Data Shop Spare Parts &
Offerings Auctions Consumables
9
GoodRelations Design Principles
• Keep simple things Lightweight Heavyweight
simple and make Web of Data Web of Data
complex things
possible LOD OWL DL
• Cater for LOD and OWL RDF + a little bit
DL worlds
• Academically sound
• Industry-strength
engineering
• Practically relevant
10
GoodRelations: License
• Permanent,
royalty-free access
for commercial and
non-commercial use.
http://purl.org/goodrelations/
11
GoodRelations vs. eClassOWL etc.
GoodRelations: Products and Services
Companies & Offers Ontologies
• BusinessEntity • Industry-specific
• Offering ontologies for describing
• WarrantyPromise types of products and
services
• …
– eClassOWL
– freeClassOWL
– CEO - Consumer
Electronics Ontology
25.10.2009 12
Domain Structure and Use Cases
Albert Einstein on Ontology
Engineering
"Make everything as simple as possible, but
not simpler.“
Albert Einstein
14
Basic Structure of Offers:
Agent-Promise-Object Principle
Object or
Agent 1 Promise
Happening
Compensation Transfer of
Rights
Agent 2
15
The Minimal Scenario
• Scope
– Business entity
– Points-of-sale
– Opening hours
– Payment options
• Suitable for
– Every business
– E-commerce and
brick-and-mortar
16
The Simple Scenario
• Scope: Minimal scenario plus
– Range of products or services
– Business functions
– Eligible regions or customer
types
– Delivery options
• Suitable for
– Any business: E-Commerce and
brick-and-mortar
– Specific products or services
17
The Comprehensive Scenario
• Scope: Simple scenario plus
– Individual products or services
– Product features
– Pricing, rebates, etc.
– Availability
• Suitable for
– Any business: E-commerce and
brick-and-mortar
– Specific products or services
– Structured product database
18
Product Model Data Scenario
• Scope
– Individual product
models
– Quantitative and
qualitative features
• Suitable for
– Manufacturers of
commodities
19
Products vs. Product Models
Product Model: Products: What you buy,
“Datasheet” possess, and use
• Intangible object • (Mostly) tangible object
• “Ferdinand Porsche that can be owned and
created the VW Beetle” used.
• Not a subclass of • My VW Beetle has a
products! mileage of 42,000
• Its serial number is
123456789
25.10.2009 20
Product Models vs. Products
• Product models define the defaults for a
subset of a products features
ex:FordTModel ex:hasWeight “400”.
implies that likely (!)
ex:MyFordT ex:hasWeight “400”.
Important: Only products are offered for sale etc
25.10.2009 21
Products: Actual vs. Anonymous Individuals
• Sometimes you offer a particular object
– myMacBookPro
• Sometimes you offer products from a set
of anonymous instances
– A retailer does not expose every single book
copy on stock over the Web
– Those are only quantified existentially.
25.10.2009 22
Products: Actual vs. Anonymous Individuals
• Sometimes you offer a particular object
– Example: eBay auction
– gr:ActualProductOrServiceInstance
• Sometimes you offer products from a set of
anonymous instances
– Example: New books on Amazon
– gr:ProductOrServicesSomeInstancesPlaceholder
25.10.2009 23
Key Questions for Modeling with GoodRelations
• Who is making the offer?
– gr:BusinessEntity
• Which object is being offered?
– gr:ActualProductOrServiceInstance
– gr:ProductOrServicesSomeInstancesPlaceholder
• What are the terms and conditions of
the business transaction being offered?
– gr:Offering
25.10.2009 26
The Minimal Scenario
• Scope
– Business entity
– Points-of-sale
– Opening hours
– Payment options
• Suitable for
– Every business
– E-commerce and
brick-and-mortar
28
The Minimal Scenario (UML & RDF/N3)
25.10.2009 29
The Minimal Scenario: Full Graph
25.10.2009 30
The Minimal Scenario: Graph - Details
25.10.2009 31
The Minimal Scenario: Graph - Details
25.10.2009 32
The Minimal Scenario: Graph - Details
25.10.2009 33
The Simple Scenario
• Scope: Minimal scenario plus
– Range of products or services
– Business functions
– Eligible regions or customer
types
– Delivery options
• Suitable for
– Any business: E-Commerce and
brick-and-mortar
– Specific products or services
34
Alternative Ways of Describing the
Product or Service
• gr:ProductOrServiceSomeInstancesPlaceholder + rdfs:comment
– Textual
• Product or service ontology
– eclassOWL
– freeClass
• DBPedia URIs
• Turn proprietary hierarchy into pseudo-ontology
25.10.2009 35
The Simple Scenario: UML
25.10.2009 36
The Simple Scenario: RDF/N3 - Details
25.10.2009 37
The Simple Scenario: RDF/N3 - Full
25.10.2009 38
The Simple Scenario: Full Graph
25.10.2009 39
The Simple Scenario: Graph - Details
25.10.2009 40
The Simple Scenario: Graph - Details
25.10.2009 41
The Simple Scenario: Graph - Details
25.10.2009 42
The Comprehensive Scenario
• Scope: Simple scenario plus
– Individual products or services
– Product features
– Pricing, rebates, etc.
– Availability
• Suitable for
– Any business: E-commerce and
brick-and-mortar
– Specific products or services
– Structured product database
43
Alternative Ways of Describing the
Product or Service
• Omit it
– Minimal Example: Describe just your business & store
• gr:ProductOrServiceSomeInstancesPlaceholder + rdfs:comment
– Textual
• Product or service ontology
– eclassOWL
– freeClass
• DBPedia URIs
• Turn proprietary hierarchy into pseudo-ontology
25.10.2009 44
The Comprehensive Example: UML
25.10.2009 45
Product Properties
• gr:qualitativeProductOrServiceProperty
– Links to a gr:QualitativeValue instance
• gr:quantitativeProductOrServiceProperty
– Links to a gr:QuantitativeValueFloat or
gr:QuantitativeValueInteger instance
• gr:datatypeProductOrServiceProperty
– Links to a literal value
– For strings, boolean, datetime, and digits that are no
integer numbers
25.10.2009 46
The Comprehensive Scenario RDF/N3
• See GoodRelations Primer at
http://www.heppnetz.de/projects/goodrelations/primer/
25.10.2009 55
Using Domain Ontologies for
Describing Products or Product Models
25.10.2009 56
Instances, Placeholders, Models
25.10.2009 57
eClassOWL and GoodRelations: Class
25.10.2009 58
eClassOWL: Quantitative Properties
25.10.2009 59
eClassOWL: Qualitative Properties &
Values
Property Value
25.10.2009 60
eClassOWL 5.1.4 URIs
• Class “Pencil“: 24-24-01-01 [ AKF303003 ]
– eco:C_AKF303003-gen
• Properties
– Length, BAF559001
• eco:P_BAF559001
– Design of tip state, BAG073001
• eco:P_BAG073001
• Value “pointed”, BAC386001
– eco:V_BAC386001
25.10.2009 61
eClassOWL 5.1.4 in N3/Turtle
25.10.2009 62
eClassOWL 5.1.4 in N3/Turtle
25.10.2009 63
Other Ontologies for GoodRelations
• freeClassOWL for construction and
building materials
• CEO – Consumer Electronics Ontology
25.10.2009 64
Product Model Data Scenario
• Scope
– Individual product
models
– Quantitative and
qualitative features
• Suitable for
– Manufacturers of
commodities
65
Product Model Data
25.10.2009 66
Important: Models cannot be sold
25.10.2009 67
Product Models Define Default Values
Intuition: An actual product inherits all technical features from its make
and model, unless specified at for that particular individual specifically.
25.10.2009 68
Quizzes
• What is the difference between
gr:ProductOrService and
gr:ProductOrServiceModel?
• What is the difference between
gr:ActualProductOrService and
gr:ProductOrServiceSomeInstancesPlaceholder?
• How are quantitative values modeled in
GoodRelations?
• What does the string “C62” stand for?
25.10.2009 70
0 comments
Post a comment