Great!<br>Thanks for the tips, Martin.<br><br>A.<br><br><div class="gmail_quote">2010/6/11 Martin Hepp (UniBW) <span dir="ltr"><<a href="mailto:martin.hepp@ebusiness-unibw.org">martin.hepp@ebusiness-unibw.org</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Andrés,<br>
thanks for your post.<br>
<br>
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.<br>

<br>
So in a page at <a href="http://someblog.com" target="_blank">someblog.com</a>, you should rather have<br>
<br>
<div typeof="sioc:Post" about="#post><br>
<br>
than<div class="im"><br>
<br>
<div typeof="sioc:Post" about="<a href="http://myindex.com#post" target="_blank">http://myindex.com#post</a>><br>
<br></div>
Otherwise, someone trying to look up the definition for ...#post from the "semantic web" data will be directed to "<a href="http://myindex.com" target="_blank">http://myindex.com</a>", which does not contain that markup.<br>

<br>
Note that "about" in RDFa does not define the topic of the post, but teh URI to associate with the current HTML element.So @ <a href="http://someblog.com/" target="_blank">someblog.com/</a> we have something like the following:<div class="im">
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
This is some content related to the product.<br>
It also includes a<span typeof="gr:Offering" about="<br>
<a href="http://myindex.com#offer" target="_blank">http://myindex.com#offer</a>"><a rel="foaf:page"<br>
href="<a href="http://somestore.com" target="_blank">http://somestore.com</a>">special<br>
discount offer</a></span>  of the product.<br>
</span><br>
<span rel="sioc:about" resource="<br>
<a href="http://www.savingsocrates.com/market/atrapalocl_12#offer" target="_blank">http://www.savingsocrates.com/market/atrapalocl_12#offer</a>"></span><br>
</div><br>
<br>
   <br>
</blockquote></div>
At first view, that looks okay.<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
@ <a href="http://myindex.com" target="_blank">myindex.com</a>, something like this:<br>
(xml name spaces are not shown)<br>
<br>
<div typeof="gr:Offering" about="#offer"><br>
     (some gr markup)<br>
     <a rel="foaf:page" href="<a href="http://somestore.com" target="_blank">http://somestore.com</a>">Buy it here!</a><br>
</div><br>
<br>
   <br>
</blockquote></div>
At first view, that looks okay.<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
@ <a href="http://somestore.com" target="_blank">somestore.com</a>, plain and simple: no RDFa markup, just buy the product.<br>
   <br>
</blockquote></div>
I would also put RDFa for the offer into the somestore pages.<br>
<br>
As for authoring (and debugging) such markup, I suggest:<br>
<br>
1. Use the Turtle RDF syntax for modeling the data.<br>
2. Convert Turtle to RDF/XML with <a href="http://www.rdfabout.com/demo/validator/" target="_blank">http://www.rdfabout.com/demo/validator/</a> <<a href="http://www.rdfabout.com/demo/validator/" target="_blank">http://www.rdfabout.com/demo/validator/</a>><br>

3. Convert resulting RDF/XML to RDFa snippet with <a href="http://www.ebusiness-unibw.org/tools/rdf2rdfa/" target="_blank">http://www.ebusiness-unibw.org/tools/rdf2rdfa/</a><br>
<br>
For checking whether your markup is correct, use the PyRDFa extractor and check the resulting RDF in Turtle syntax:<br>
<br>
<a href="http://www.w3.org/2007/08/pyRdfa/" target="_blank">http://www.w3.org/2007/08/pyRdfa/</a><br>
<br>
Also see<br>
<br>
<a href="http://www.ebusiness-unibw.org/wiki/RDFaAuthoring" target="_blank">http://www.ebusiness-unibw.org/wiki/RDFaAuthoring</a><br>
<br>
Best wishes<br><font color="#888888">
<br>
Martin Hepp<br>
</font><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
I already checked out quite some of the GR recipes, as well as the recent<br>
updates. My main concern is to get relation between URIs correctly, really.<br>
Am I making the correct connections between the 3 different URLs?<br>
Also, I tried out <a href="http://myindex.com" target="_blank">myindex.com</a> with google's Rich Snippet preview tool, and<br>
it only works with reviews and location markup. I'm sure it should be a<br>
problem with my syntaxis, though.<br>
<br>
<br>
Hope this raises some debate :D. Hope I was clear enough, too.<br>
<br>
Andrés<br>
<br>
ps. If you recognize my last name, I'm Aldo's evil marketing twin.<br>
<br>
   <br>
<br></div><div class="im">
_______________________________________________<br>
goodrelations mailing list<br>
<a href="mailto:goodrelations@ebusiness-unibw.org" target="_blank">goodrelations@ebusiness-unibw.org</a><br>
<a href="http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations" target="_blank">http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations</a><br>
   <br>
</div></blockquote>
<br>
-- <br><div><div></div><div class="h5">
--------------------------------------------------------------<br>
martin hepp<br>
e-business&  web science research group<br>
universitaet der bundeswehr muenchen<br>
<br>
e-mail:  <a href="mailto:hepp@ebusiness-unibw.org" target="_blank">hepp@ebusiness-unibw.org</a><br>
phone:   +49-(0)89-6004-4217<br>
fax:     +49-(0)89-6004-4620<br>
www:     <a href="http://www.unibw.de/ebusiness/" target="_blank">http://www.unibw.de/ebusiness/</a> (group)<br>
         <a href="http://www.heppnetz.de/" target="_blank">http://www.heppnetz.de/</a> (personal)<br>
skype:   mfhepp<br>
twitter: mfhepp<br>
<br>
Check out GoodRelations for E-Commerce on the Web of Linked Data!<br>
=================================================================<br>
<br>
Project page:<br>
<a href="http://purl.org/goodrelations/" target="_blank">http://purl.org/goodrelations/</a><br>
<br>
Resources for developers:<br>
<a href="http://www.ebusiness-unibw.org/wiki/GoodRelations" target="_blank">http://www.ebusiness-unibw.org/wiki/GoodRelations</a><br>
<br>
Webcasts:<br>
Overview - <a href="http://www.heppnetz.de/projects/goodrelations/webcast/" target="_blank">http://www.heppnetz.de/projects/goodrelations/webcast/</a><br>
How-to   - <a href="http://vimeo.com/7583816" target="_blank">http://vimeo.com/7583816</a><br>
<br>
Recipe for Yahoo SearchMonkey:<br>
<a href="http://www.ebusiness-unibw.org/wiki/GoodRelations_and_Yahoo_SearchMonkey" target="_blank">http://www.ebusiness-unibw.org/wiki/GoodRelations_and_Yahoo_SearchMonkey</a><br>
<br>
Talk at the Semantic Technology Conference 2009:<br>
"Semantic Web-based E-Commerce: The GoodRelations Ontology"<br>
<a href="http://www.slideshare.net/mhepp/semantic-webbased-ecommerce-the-goodrelations-ontology-1535287" target="_blank">http://www.slideshare.net/mhepp/semantic-webbased-ecommerce-the-goodrelations-ontology-1535287</a><br>

<br>
Overview article on Semantic Universe:<br>
<a href="http://www.semanticuniverse.com/articles-semantic-web-based-e-commerce-webmasters-get-ready.html" target="_blank">http://www.semanticuniverse.com/articles-semantic-web-based-e-commerce-webmasters-get-ready.html</a><br>

<br>
Tutorial materials:<br>
ISWC 2009 Tutorial: The Web of Data for E-Commerce in Brief: A Hands-on Introduction to the GoodRelations Ontology, RDFa, and Yahoo! SearchMonkey<br>
<a href="http://www.ebusiness-unibw.org/wiki/Web_of_Data_for_E-Commerce_Tutorial_ISWC2009" target="_blank">http://www.ebusiness-unibw.org/wiki/Web_of_Data_for_E-Commerce_Tutorial_ISWC2009</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Andrés Bucchi<br>SavingSocrates.com<br>