On 4/1/13 11:44 AM, Jeremy Tarling wrote:
Hi Steph


On 01/04/2013 16:33, Stéphane Corlosquet wrote:
Hi Jeremy,


Your markup works fine for me. Try this on www.w3.org/2012/pyRdfa/
<http://www.w3.org/2012/pyRdfa/> or http://rdf.greggkellogg.net/distiller

<div prefix="rnews: http://iptc.org/std/rNews/2011-10-07#";>
   <span rel="rnews:about";
resource="http://www.bbc.co.uk/things/4c0ccb99-7042-49e5-bb44-338b540441eb#id";>
     <span rel="owl:sameAs"
resource="http://dbpedia.org/resource/Buckinghamshire_County_Council";></span>
   </span>
</div>

It gives:

<> rnews:about
<http://www.bbc.co.uk/things/4c0ccb99-7042-49e5-bb44-338b540441eb#id> .
<http://www.bbc.co.uk/things/4c0ccb99-7042-49e5-bb44-338b540441eb#id>
owl:sameAs <http://dbpedia.org/resource/Buckinghamshire_County_Council> .

Isn't that what you want?

Steph.

I was using www.w3.org/2012/pyRdfa/ already but you finding my snippet to work may me re-check the full document - it looks like the problem was with the owl vocab declaration. When I change from owl:sameAs to rdfs:sameAs it works:

http://www.w3.org/2007/08/pyRdfa/extract?format=turtle&uri=http://www.topdrawersausage.net/rnews-example.html

Thanks for the pointer

JT




But rdfs:sameAs doesn't exist i.e., it isn't defined anywhere, or am I missing something here?

Links:

1. http://www.w3.org/TR/rdf-schema/#ch_predicate
2. http://lists.w3.org/Archives/Public/public-semweb-lifesci/2009Jun/0096.html -- an occurrence of rdfs:sameAs .

--

Regards,

Kingsley Idehen 
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen





Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to