ISWC GoodRelations Tutorial Part 3
-
Upload
martin-hepp -
Category
Technology
-
view
1.001 -
download
2
description
Transcript of ISWC GoodRelations Tutorial Part 3
![Page 1: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/1.jpg)
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
![Page 2: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/2.jpg)
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
Logistics
![Page 3: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/3.jpg)
The GoodRelations Ontology:
E-Commerce on the Web of Data
Martin Hepp
25.10.2009 3
![Page 4: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/4.jpg)
GoodRelations User‘s Guide („Primer“)
4
http://www.heppnetz.de/projects/goodrelations/primer/
![Page 5: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/5.jpg)
UML Class Diagram
gr:hasEAN_UCC-13 xsd:string gr:hasGTIN-14 xsd:stringgr:hasStockKeepingUnit xsd:stringgr:eligibleRegions xsd:stringgr:validFrom xsd:dateTimegr:validThrough xsd:dateTime
gr:Offering
gr:hasEAN_UCC-13 xsd:string gr:hasGTIN-14 xsd:stringgr:hasStockKeepingUnit xsd:string
gr:ProductOrService
gr:priceType xsd:stringgr:validFrom xsd:dateTimegr:validThrough xsd:dateTimegr:hasUnitOfMeasurement xsd:string
gr:UnitPriceSpecificationgr:eligibleRegions xsd:stringgr:DeliveryChargeSpecification
gr:hasNAICS xsd:intgr:hasISICv4 xsd:intgr:legalName xsd:stringgr:hasDUNS xsd:stringgr:hasGlobalLocationNumber xsd:string
gr:BusinessEntity
gr:WarrantyScope
gr:PaymentMethod
gr:ProductOrServiceModel
gr:hasUnitOfMeasurement xsd:stringgr:QuantitativeValue
gr:durationOfWarrantyInMonths xsd:intgr:WarrantyPromise
gr:DayOfWeek
gr:DeliveryMethod
gr:QualitativeValue
gr:amountOfThisGood xsd:floatgr:hasUnitOfMeasurement xsd:string
gr:TypeAndQuantityNode
gr:BusinessFunction
gr:hasGlobalLocationNumber xsd:stringgr:LocationOfSalesOrServiceProvisioning
gr:PaymentMethodCreditCard
gr:BusinessEntityType
gr:hasMaxValueInteger xsd:intgr:hasMinValueInteger xsd:int
gr:QuantitativeValueInteger
gr:ActualProductOrServiceInstance
gr:ProductOrServicesSomeInstancesPlaceholder
gr:opens xsd:timegr:closes xsd:time
gr:OpeningHoursSpecification
gr:PaymentChargeSpecification
gr:DeliveryModeParcelService
gr:hasCurrency xsd:stringgr:valueAddedTaxIncluded xsd:booleangr:hasMaxCurrencyValue xsd:floatgr:hasMinCurrencyValue xsd:floatgr:hasCurrencyValue xsd:float
gr:PriceSpecification
gr:hasMinValueFloat xsd:floatgr:hasMaxValueFloat xsd:float
gr:QuantitativeValueFloat
gr:seeks
gr:includesObject
gr:typeOfGood
gr:hasMakeAndModel
gr:hasMakeAndModel
gr:hasManufacturer
gr:hasPOS
gr:hasOpeningHoursSpecification
gr:availableAtOrFrom
gr:hasEligibleQuantity
gr:hasWarrantyPromise
gr:appliesToPaymentMethod
gr:hasWarrantyScope
gr:qualitativeProductOrServiceProperty
gr:quantitativeProductOrServiceProperty
gr:appliesToDeliveryMethod
gr:hasBusinessFunction
gr:availableDeliveryMethods
gr:eligibleCustomerTypes
gr:acceptedPaymentMethods
gr:hasPriceSpecification
gr:hasOpeningHoursDayOfWeek
gr:isConsumableFor
gr:isVariantOf
gr:isSimilarTo
gr:isAccessoryOrSparePartFor
gr:offers
gr:hasInventoryLevel
gr:typeOfGood
gr:includes
gr:includes
Version 1, Release 2009-07-18Martin Hepp. [email protected]
25.10.2009 5
http://www.ebusiness-unibw.org/wiki/File:Goodrelations-UML-2009-07-18.pdf
![Page 6: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/6.jpg)
GoodRelations: Language Reference
6
http://purl.org/goodrelations/v1.html
![Page 7: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/7.jpg)
Overview
![Page 8: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/8.jpg)
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
![Page 9: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/9.jpg)
GoodRelations: One Single Schema for
A Consolidated View on E-Commerce
Data
9
Product Model
Master Data Shop
Offerings Auctions Spare Parts &
Consumables
Warranty
Delivery Payment
Retailers Manufacturers
Extraction
and Reuse Arbitrary Query
![Page 10: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/10.jpg)
GoodRelations Design Principles
• Keep simple things
simple and make
complex things possible
• Cater for LOD and OWL
DL worlds
• Academically sound
• Industry-strength
engineering
• Practically relevant
10
Lightweight
Web of Data
LOD
RDF + a little bit
Heavyweight
Web of Data
OWL DL
![Page 11: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/11.jpg)
GoodRelations: License
• Permanent, royalty-free access for commercial and non-commercial use.
http://purl.org/goodrelations/
11
![Page 12: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/12.jpg)
GoodRelations vs. eClassOWL etc. GoodRelations:
Companies & Offers
• BusinessEntity
• Offering
• WarrantyPromise
• …
Products and Services
Ontologies
• Industry-specific
ontologies for describing
types of products and services
– eClassOWL
– freeClassOWL
– CEO - Consumer
Electronics Ontology
25.10.2009 12
![Page 13: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/13.jpg)
Domain Structure and Use Cases
![Page 14: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/14.jpg)
Albert Einstein on Ontology
Engineering
"Make everything as simple as possible, but
not simpler.“
Albert Einstein
14
![Page 15: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/15.jpg)
Basic Structure of Offers:
Agent-Promise-Object Principle
15
Agent 1 Object or
Happening Promise
Agent 2
Compensation Transfer of
Rights
![Page 16: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/16.jpg)
The Minimal Scenario
• Scope
– Business entity
– Points-of-sale
– Opening hours
– Payment options
• Suitable for
– Every business
– E-commerce and
brick-and-mortar
16
![Page 17: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/17.jpg)
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
![Page 18: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/18.jpg)
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
![Page 19: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/19.jpg)
Product Model Data Scenario
• Scope
– Individual product
models
– Quantitative and
qualitative features
• Suitable for
– Manufacturers of
commodities
19
![Page 20: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/20.jpg)
Products vs. Product Models Product Model:
“Datasheet”
• Intangible object
• “Ferdinand Porsche
created the VW Beetle”
• Not a subclass of
products!
Products: What you buy,
possess, and use
• (Mostly) tangible object
that can be owned and
used.
• My VW Beetle has a
mileage of 42,000
• Its serial number is
123456789
25.10.2009 20
![Page 21: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/21.jpg)
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”.
25.10.2009 21
Important: Only products are offered for sale etc
![Page 22: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/22.jpg)
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
![Page 23: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/23.jpg)
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
![Page 24: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/24.jpg)
Conceptual Structure and
Vocabulary
![Page 25: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/25.jpg)
Understanding the UML Class Diagram
gr:hasEAN_UCC-13 xsd:string gr:hasGTIN-14 xsd:stringgr:hasStockKeepingUnit xsd:stringgr:eligibleRegions xsd:stringgr:validFrom xsd:dateTimegr:validThrough xsd:dateTime
gr:Offering
gr:hasEAN_UCC-13 xsd:string gr:hasGTIN-14 xsd:stringgr:hasStockKeepingUnit xsd:string
gr:ProductOrService
gr:priceType xsd:stringgr:validFrom xsd:dateTimegr:validThrough xsd:dateTimegr:hasUnitOfMeasurement xsd:string
gr:UnitPriceSpecificationgr:eligibleRegions xsd:stringgr:DeliveryChargeSpecification
gr:hasNAICS xsd:intgr:hasISICv4 xsd:intgr:legalName xsd:stringgr:hasDUNS xsd:stringgr:hasGlobalLocationNumber xsd:string
gr:BusinessEntity
gr:WarrantyScope
gr:PaymentMethod
gr:ProductOrServiceModel
gr:hasUnitOfMeasurement xsd:stringgr:QuantitativeValue
gr:durationOfWarrantyInMonths xsd:intgr:WarrantyPromise
gr:DayOfWeek
gr:DeliveryMethod
gr:QualitativeValue
gr:amountOfThisGood xsd:floatgr:hasUnitOfMeasurement xsd:string
gr:TypeAndQuantityNode
gr:BusinessFunction
gr:hasGlobalLocationNumber xsd:stringgr:LocationOfSalesOrServiceProvisioning
gr:PaymentMethodCreditCard
gr:BusinessEntityType
gr:hasMaxValueInteger xsd:intgr:hasMinValueInteger xsd:int
gr:QuantitativeValueInteger
gr:ActualProductOrServiceInstance
gr:ProductOrServicesSomeInstancesPlaceholder
gr:opens xsd:timegr:closes xsd:time
gr:OpeningHoursSpecification
gr:PaymentChargeSpecification
gr:DeliveryModeParcelService
gr:hasCurrency xsd:stringgr:valueAddedTaxIncluded xsd:booleangr:hasMaxCurrencyValue xsd:floatgr:hasMinCurrencyValue xsd:floatgr:hasCurrencyValue xsd:float
gr:PriceSpecification
gr:hasMinValueFloat xsd:floatgr:hasMaxValueFloat xsd:float
gr:QuantitativeValueFloat
gr:seeks
gr:includesObject
gr:typeOfGood
gr:hasMakeAndModel
gr:hasMakeAndModel
gr:hasManufacturer
gr:hasPOS
gr:hasOpeningHoursSpecification
gr:availableAtOrFrom
gr:hasEligibleQuantity
gr:hasWarrantyPromise
gr:appliesToPaymentMethod
gr:hasWarrantyScope
gr:qualitativeProductOrServiceProperty
gr:quantitativeProductOrServiceProperty
gr:appliesToDeliveryMethod
gr:hasBusinessFunction
gr:availableDeliveryMethods
gr:eligibleCustomerTypes
gr:acceptedPaymentMethods
gr:hasPriceSpecification
gr:hasOpeningHoursDayOfWeek
gr:isConsumableFor
gr:isVariantOf
gr:isSimilarTo
gr:isAccessoryOrSparePartFor
gr:offers
gr:hasInventoryLevel
gr:typeOfGood
gr:includes
gr:includes
Version 1, Release 2009-07-18Martin Hepp. [email protected]
25.10.2009 25
![Page 26: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/26.jpg)
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
![Page 27: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/27.jpg)
Key Questions for Modeling with GoodRelations
25.10.2009 27
gr:hasEAN_UCC-13 xsd:string gr:hasGTIN-14 xsd:stringgr:hasStockKeepingUnit xsd:stringgr:eligibleRegions xsd:stringgr:validFrom xsd:dateTimegr:validThrough xsd:dateTime
gr:Offering
gr:priceType xsd:stringgr:validFrom xsd:dateTimegr:validThrough xsd:dateTimegr:hasUnitOfMeasurement xsd:string
gr:UnitPriceSpecification
gr:hasNAICS xsd:intgr:hasISICv4 xsd:intgr:legalName xsd:stringgr:hasDUNS xsd:stringgr:hasGlobalLocationNumber xsd:string
gr:BusinessEntity
gr:BusinessFunction
gr:ActualProductOrServiceInstancegr:hasBusinessFunction
gr:hasPriceSpecification
gr:offers
gr:includes
![Page 28: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/28.jpg)
The Minimal Scenario
• Scope
– Business entity
– Points-of-sale
– Opening hours
– Payment options
• Suitable for
– Every business
– E-commerce and
brick-and-mortar
28
![Page 29: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/29.jpg)
The Minimal Scenario (UML & RDF/N3)
25.10.2009 29
![Page 30: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/30.jpg)
The Minimal Scenario: Full Graph
25.10.2009 30
![Page 31: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/31.jpg)
The Minimal Scenario: Graph - Details
25.10.2009 31
![Page 32: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/32.jpg)
The Minimal Scenario: Graph - Details
25.10.2009 32
![Page 33: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/33.jpg)
The Minimal Scenario: Graph - Details
25.10.2009 33
![Page 34: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/34.jpg)
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
![Page 35: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/35.jpg)
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
![Page 36: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/36.jpg)
The Simple Scenario: UML
25.10.2009 36
![Page 37: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/37.jpg)
The Simple Scenario: RDF/N3 - Details
25.10.2009 37
![Page 38: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/38.jpg)
The Simple Scenario: RDF/N3 - Full
25.10.2009 38
![Page 39: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/39.jpg)
The Simple Scenario: Full Graph
25.10.2009 39
![Page 40: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/40.jpg)
The Simple Scenario: Graph - Details
25.10.2009 40
![Page 41: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/41.jpg)
The Simple Scenario: Graph - Details
25.10.2009 41
![Page 42: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/42.jpg)
The Simple Scenario: Graph - Details
25.10.2009 42
![Page 43: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/43.jpg)
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
![Page 44: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/44.jpg)
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
![Page 45: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/45.jpg)
The Comprehensive Example: UML
25.10.2009 45
![Page 46: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/46.jpg)
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
![Page 47: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/47.jpg)
47
Quantitative Values in GoodRelations
gr:ProductOrService
GRM
foo:myTVSet
rdf:type
foo:weight _value1
gr:QuantitativeValueFloat
rdf:type
gr:hasUnitOfMeasurement
gr:hasValueFloat
30.5
![Page 48: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/48.jpg)
Units of Measurement: UN/CEFACT 25.10.2009 48
![Page 49: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/49.jpg)
49
All Point Values Are Value Ranges
hasValueFloat rdfs:subPropertyOf hasMaxValueFloat, hasMinValueFloat
hasValueInteger rdfs:subPropertyOf hasMaxValueInteger, hasMinValueInteger
gr:ProductOrService
GRM
foo:myTVSet
rdf:type
foo:weight _value1
gr:QuantitativeValueFloat
rdf:type
gr:hasUnitOfMeasurement
gr:hasValueFloat
30.5
gr:ProductOrService
GRM
foo:myTVSet
rdf:type
foo:weight _value1
gr:QuantitativeValueFloat
rdf:type
gr:hasUnitOfMeasurement
gr:hasMinValueFloat
30.5
gr:hasMaxValueFloat30.5
![Page 50: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/50.jpg)
Values and Value Ranges: Example
25.10.2009 50
![Page 51: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/51.jpg)
Comprehensive Example: Basics
25.10.2009 51
![Page 52: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/52.jpg)
Product Bundles
25.10.2009 52
gr:hasEAN_UCC-13 xsd:string gr:hasGTIN-14 xsd:stringgr:hasStockKeepingUnit xsd:stringgr:eligibleRegions xsd:stringgr:validFrom xsd:dateTimegr:validThrough xsd:dateTime
gr:Offering
gr:amountOfThisGood xsd:floatgr:hasUnitOfMeasurement xsd:string
gr:TypeAndQuantityNode
gr:ProductOrServicesSomeInstancesPlaceholder
gr:includesObject
gr:typeOfGood
![Page 53: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/53.jpg)
Internally, all offers are bundles
25.10.2009 53
gr:hasEAN_UCC-13 xsd:string gr:hasGTIN-14 xsd:stringgr:hasStockKeepingUnit xsd:stringgr:eligibleRegions xsd:stringgr:validFrom xsd:dateTimegr:validThrough xsd:dateTime
gr:Offering
gr:amountOfThisGood xsd:floatgr:hasUnitOfMeasurement xsd:string
gr:TypeAndQuantityNode
gr:ProductOrServicesSomeInstancesPlaceholder
gr:includesObject
gr:typeOfGood
![Page 54: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/54.jpg)
The Comprehensive Scenario: Graph
54
![Page 55: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/55.jpg)
The Comprehensive Scenario RDF/N3
• See GoodRelations Primer at http://www.heppnetz.de/projects/goodrelations/primer/
25.10.2009 55
![Page 56: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/56.jpg)
Using Domain Ontologies for
Describing Products or Product Models
25.10.2009 56
![Page 57: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/57.jpg)
Instances, Placeholders, Models
25.10.2009 57
![Page 58: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/58.jpg)
eClassOWL and GoodRelations: Class
25.10.2009 58
![Page 59: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/59.jpg)
eClassOWL: Quantitative Properties
25.10.2009 59
![Page 60: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/60.jpg)
eClassOWL: Qualitative Properties &
Values
Property Value
25.10.2009 60
![Page 61: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/61.jpg)
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
![Page 62: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/62.jpg)
eClassOWL 5.1.4 in N3/Turtle
25.10.2009 62
![Page 63: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/63.jpg)
eClassOWL 5.1.4 in N3/Turtle
25.10.2009 63
![Page 64: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/64.jpg)
Other Ontologies for GoodRelations
• freeClassOWL for construction and
building materials
• CEO – Consumer Electronics Ontology
25.10.2009 64
![Page 65: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/65.jpg)
Product Model Data Scenario
• Scope
– Individual product
models
– Quantitative and
qualitative features
• Suitable for
– Manufacturers of
commodities
65
![Page 66: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/66.jpg)
Product Model Data
25.10.2009 66
![Page 67: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/67.jpg)
Important: Models cannot be sold
25.10.2009 67
![Page 68: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/68.jpg)
Product Models Define Default Values
25.10.2009 68
Intuition: An actual product inherits all technical features from its make
and model, unless specified at for that particular individual specifically.
![Page 69: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/69.jpg)
Buy Side: Wish Lists and Tenders
25.10.2009 69
gr:hasEAN_UCC-13 xsd:string gr:hasGTIN-14 xsd:stringgr:hasStockKeepingUnit xsd:stringgr:eligibleRegions xsd:stringgr:validFrom xsd:dateTimegr:validThrough xsd:dateTime
gr:Offering
gr:priceType xsd:stringgr:validFrom xsd:dateTimegr:validThrough xsd:dateTimegr:hasUnitOfMeasurement xsd:string
gr:UnitPriceSpecification
gr:hasNAICS xsd:intgr:hasISICv4 xsd:intgr:legalName xsd:stringgr:hasDUNS xsd:stringgr:hasGlobalLocationNumber xsd:string
gr:BusinessEntity
gr:BusinessFunction
gr:ProductOrServicesSomeInstancesPlaceholder
gr:seeks
gr:hasBusinessFunction
gr:hasPriceSpecificationgr:includes
![Page 70: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/70.jpg)
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
![Page 71: ISWC GoodRelations Tutorial Part 3](https://reader033.fdocuments.in/reader033/viewer/2022050920/54bdfe164a7959a5788b4678/html5/thumbnails/71.jpg)
Thank you.
25.10.2009 71