Re: owl:sameAs assertions in RDFa

Hi Jeremy,


On Mon, Apr 1, 2013 at 6:26 AM, Jeremy Tarling <jeremy.tarling@bbc.co.uk>wrote:

> hello all
>
> I am trying to make an owl:sameAs assertion in some RDFa but when I test
> it only the first statement (rnews:about bbc:thing) is being picked up, the
> owl:sameAs to the corresponding dbpedia URI is being ignored:
>
> <span rel="rnews:about" resource="http://www.bbc.co.**
> uk/things/4c0ccb99-7042-49e5-**bb44-338b540441eb#id<http://www.bbc.co.uk/things/4c0ccb99-7042-49e5-bb44-338b540441eb#id>
> ">
>     <span rel="owl:sameAs" resource="http://dbpedia.org/**
> resource/Buckinghamshire_**County_Council<http://dbpedia.org/resource/Buckinghamshire_County_Council>
> "></span>
> </span>
>

Your markup works fine for me. Try this on 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 have declared the rnews and owl prefixes elsewhere in the doc)
>
> Anyone tell me what I'm doing wrong here?
>
> thanks
>
> JT
>
> --
> Jeremy Tarling
> Data Architect, BBC News
> Future Media News & Knowledge
> 4th floor New Broadcasting House
> London W1A 1AA
> tel: 07799 510 992
>
>


-- 
Steph.

Received on Monday, 1 April 2013 15:33:56 UTC