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 (UniBW)
martin.hepp at ebusiness-unibw.org
Fri Jun 11 14:43:28 CEST 2010
Hi Andrés, thanks for your post. 1. In general, I would suggest to use relative URIs for the "about" attribute so that the final element will have a hash URI reference that point to the page containing the markup, rather than to an external page. So in a page at someblog.com, you should rather have <div typeof="sioc:Post" about="#post> than <div typeof="sioc:Post" about="http://myindex.com#post> Otherwise, someone trying to look up the definition for ...#post from the "semantic web" data will be directed to "http://myindex.com", which does not contain that markup. Note that "about" in RDFa does not define the topic of the post, but teh URI to associate with the current HTML element.So @ someblog.com/ we have something like the following: > This is some content related to the product. > It also includes a<span typeof="gr:Offering" about=" > http://myindex.com#offer"><a rel="foaf:page" > href="http://somestore.com">special > discount offer</a></span> of the product. > </span> > <span rel="sioc:about" resource=" > http://www.savingsocrates.com/market/atrapalocl_12#offer"></span> > </div> > > At first view, that looks okay. > @ myindex.com, something like this: > (xml name spaces are not shown) > > <div typeof="gr:Offering" about="#offer"> > (some gr markup) > <a rel="foaf:page" href="http://somestore.com">Buy it here!</a> > </div> > > At first view, that looks okay. > @ somestore.com, plain and simple: no RDFa markup, just buy the product. > I would also put RDFa for the offer into the somestore pages. As for authoring (and debugging) such markup, I suggest: 1. Use the Turtle RDF syntax for modeling the data. 2. Convert Turtle to RDF/XML with http://www.rdfabout.com/demo/validator/ <http://www.rdfabout.com/demo/validator/> 3. Convert resulting RDF/XML to RDFa snippet with http://www.ebusiness-unibw.org/tools/rdf2rdfa/ For checking whether your markup is correct, use the PyRDFa extractor and check the resulting RDF in Turtle syntax: http://www.w3.org/2007/08/pyRdfa/ Also see http://www.ebusiness-unibw.org/wiki/RDFaAuthoring Best wishes Martin Hepp > I already checked out quite some of the GR recipes, as well as the recent > updates. My main concern is to get relation between URIs correctly, really. > Am I making the correct connections between the 3 different URLs? > Also, I tried out myindex.com with google's Rich Snippet preview tool, and > it only works with reviews and location markup. I'm sure it should be a > problem with my syntaxis, though. > > > Hope this raises some debate :D. Hope I was clear enough, too. > > Andrés > > ps. If you recognize my last name, I'm Aldo's evil marketing twin. > > > > > _______________________________________________ > goodrelations mailing list > goodrelations at ebusiness-unibw.org > http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations > -- -------------------------------------------------------------- martin hepp e-business& web science research group universitaet der bundeswehr muenchen e-mail: hepp at ebusiness-unibw.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! ================================================================= Project page: http://purl.org/goodrelations/ Resources for developers: http://www.ebusiness-unibw.org/wiki/GoodRelations Webcasts: Overview - http://www.heppnetz.de/projects/goodrelations/webcast/ How-to - http://vimeo.com/7583816 Recipe for Yahoo SearchMonkey: http://www.ebusiness-unibw.org/wiki/GoodRelations_and_Yahoo_SearchMonkey Talk at the Semantic Technology Conference 2009: "Semantic Web-based E-Commerce: The GoodRelations Ontology" http://www.slideshare.net/mhepp/semantic-webbased-ecommerce-the-goodrelations-ontology-1535287 Overview article on Semantic Universe: http://www.semanticuniverse.com/articles-semantic-web-based-e-commerce-webmasters-get-ready.html Tutorial materials: ISWC 2009 Tutorial: The Web of Data for E-Commerce in Brief: A Hands-on Introduction to the GoodRelations Ontology, RDFa, and Yahoo! SearchMonkey http://www.ebusiness-unibw.org/wiki/Web_of_Data_for_E-Commerce_Tutorial_ISWC2009