Warning: This tool or project is no longer maintained and kept available only for archival purposes. Since GoodRelations and schema.org have evolved significantly in the past years, the current status available on this page is unlikely to function as expected. We take no responsibility for any damage caused by the use of this outdated work, to the extent legally possible.

Due to a lack of resources, we are unable to provide support for this project outside of consulting projects or sponsored research. Please contact us if you can contribute resources to update and enhance these resources.

GoodRelations - The Web Vocabulary for E-Commerce

This is the archive of the goodrelations dicussion list

GoodRelations is a standardized vocabulary for product, price, and company data that can (1) be embedded into existing static and dynamic Web pages and that (2) can be processed by other computers. This increases the visibility of your products and services in the latest generation of search engines, recommender systems, and other novel applications.

[goodrelations] LOC Dataspace, Quering for GoodRelations Data

Martin Hepp (UniBW) martin.hepp at ebusiness-unibw.org
Fri Sep 11 14:31:04 CEST 2009

Dear all:

As the amount of GoodRelations data is growing, I wanted to stress that 
you can use the Virtuoso dataspace at


for queries. We are currently trying to get all available GoodRelations 
data into that space and keep it up-to-data.

That means that application developers

- don't have to crawl the whole Web for relevant RDF
- can use the powerful parallelization techniques and SPARQL extensions 
from Virtuoso.

If you want to give it a try: Simply paste the following query: It lists 
the first 50 items in the space that cost between 5 and 10 EUR or 7 and 
14 USD.

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX gr:<http://purl.org/goodrelations/v1#>

SELECT ?s ?p ?c
?s a gr:Offering.
?s gr:hasPriceSpecification ?ps.
?ps gr:hasCurrencyValue ?p.
?ps gr:hasCurrency ?c.
FILTER ((regex(?c, "EUR") && ?p >"5"^^xsd:float && ?p <"10"^^xsd:float) 
|| (regex(?c, "USD") && ?p >"7"^^xsd:float && ?p <"14"^^xsd:float))

} LIMIT 50

Also, you can use the next query to watch the growth in instance data. 
It lists all GoodRelations classes and determines the amount of instances.

# List of Class Frequency

SELECT ?class, count(?instance) as ?freq WHERE
    ?instance a ?class.
    {SELECT ?class FROM <http://purl.org/goodrelations/v1#> WHERE
     {?class a owl:Class. }

Since Virtuoso is a quad store, you can constrain the expressions to 
individual graphs or graph groups. This is how the previous query 
constraints the list of classes to those defined in GoodRelations.

Also, note that Virtuoso supports nesting and subqueries.

Best wishes


martin hepp
e-business & web science research group
universitaet der bundeswehr muenchen

e-mail:  mhepp at computer.org
phone:   +49-(0)89-6004-4217
fax:     +49-(0)89-6004-4620
www:     http://www.unibw.de/ebusiness/ (group)
         http://www.heppnetz.de/ (personal)
skype:   mfhepp 
twitter: mfhepp

Check out GoodRelations for E-Commerce on the Web of Linked Data!


Recipe for Yahoo SearcMonkey:

Talk at the Semantic Technology Conference 2009: 
"Semantic Web-based E-Commerce: The GoodRelations Ontology"

Overview article on Semantic Universe:

Project page:

Resources for developers:

Tutorial materials:
CEC'09 2009 Tutorial: The Web of Data for E-Commerce: A Hands-on Introduction to the GoodRelations Ontology, RDFa, and Yahoo! SearchMonkey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: martin_hepp.vcf
Type: text/x-vcard
Size: 308 bytes
Desc: not available
URL: <http://ebusiness-unibw.org/pipermail/goodrelations/attachments/20090911/ceec6875/attachment.vcf>

More information about the goodrelations mailing list