W3C home > Mailing lists > Public > public-rdfa@w3.org > April 2013

Re: owl:sameAs assertions in RDFa

From: Gregg Kellogg <gregg@greggkellogg.com>
Date: Mon, 1 Apr 2013 09:59:02 -0700
Cc: public-rdfa@w3.org
Message-Id: <D5C401D7-C3E7-47AF-98E3-BA787E7E3E67@greggkellogg.com>
To: Jeremy Tarling <jeremy.tarling@bbc.co.uk>
On Apr 1, 2013, at 8:17 AM, Jeremy Tarling <jeremy.tarling@bbc.co.uk> wrote:

> hello all
> 
> I am trying to make an owl:sameAs assertion in some RDFa. I have the following code:
> 
> <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>
> 
> (I have declared the rnews and owl prefixes elsewhere in the doc)
> 
> When I test it only the first statement (rnews:about bbc:thing) is being picked up by linked data extraction tools, the owl:sameAs to the corresponding dbpedia URI is being ignored. Can anyone tell me what I'm doing wrong here please?

Using my distiller [1], If I use the followiing input:

<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>

I get the following output:

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rnews: #> .

<> rnews:about > .

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

Looks okay to me. Note "owl" is defined in the RDFa initial context.

Gregg

[1] http://rdf.greggkellogg.net/distiller

> JT
> 
> -- 
> Jeremy Tarling
> Data Architect, BBC News
> Future Media News & Knowledge
> 4th floor New Broadcasting House
> London W1A 1AA
> tel: 07799 510 992
> 
Received on Monday, 1 April 2013 16:59:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:10 UTC