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.
Martin Hepp
martin.hepp at ebusiness-unibw.org
Mon Oct 10 08:42:58 CEST 2011
Dear all: Here is a short example of how to model licensing issues in GoodRelations, e.g. if you want to state that you offer a certain license on a certain media object for a certain price. Best Martin Hepp Begin forwarded message: > The basic approach of using licenses with GoodRelations is to create a subclass of gr:BusinessFunction and describe the license therein. > > We may add this to the official GoodRelations elements with the next service release, but you could safely do this in your own name space for the time being: > > a) RDFa > <!-- on the terms and conditions page, we define the rights offered on the good --> > <div typeof="gr:BusinessFunction about="http://acme.com/legal/#imagelicense"> > <h1 property="gr:name">ACME Image License</h1> > <div property="gr:description">...legal fineprint...</div> > </div> > > <!-- on the offer page, indicate the scope of rights offered --> > <div typeof="gr:Offering" about="#offer"> > <div property="gr:name">1000 royalty-free images</div> > <div rel="gr:hasBusinessFunction" href="http://acme.com/legal/#imagelicense" ></div> > <!-- other offer properties follow here --> > ... > </div> > > b) Microdata > <!-- on the terms and conditions page, we define the rights offered on the good --> > <h1 itemscope itemtype="http://purl.org/goodrelations/v1#BusinessFunction" > itemprop="http://schema.org/name" > itemid="http://acme.com/legal/#imagelicense" itemref="licencetext">ACME Image License</h1> > <div id="licencetext" itemprop="http://schema.org/description">...legal fineprint...</div> > > <!-- on the offer page, indicate the scope of rights offered --> > <div itemscope itemtype="http://schema.org/Offer" itemid="#offer"> > <div itemprop="name">1000 royalty-free images</div> > <link itemprop="http://purl.org/goodrelations/v1#hasBusinessFunction" > href="http://acme.com/legal/#imagelicense" /> > <!-- other offer properties follow here --> > ... > </div> > > >