Re: rNews RDFa in BBC News

Jeremy, are you not using HTTP URIs with UUIDs as the local part, as in 
BBC Sports, Music, etc.?

Barry


On 23/01/13 08:53, Gregg Kellogg wrote:
> On Jan 23, 2013, at 9:27 AM, Jeremy Tarling <jeremy.tarling@bbc.co.uk> wrote:
>
>> Hello all
>>
>> I am working with BBC News on implementing some RDFa in article pages on
>> http://www.bbc.co.uk/news. rNews seems like the best candidate for us in
>> terms of expressiveness and wider adoption, so I am thinking, as a first
>> iteration, we will add something like this to article pages:
>>
>> <head prefix="rnews: http://iptc.org/std/rNews/2011-10-07#"
>> resource="{published URL}"
>> typeof="rnews:NewsItem">
>> <meta property="rnews:headline" content="{headline}"/>
>> <meta property="rnews:description" content="{description}"/>
>> <meta property="rnews:thumbnailUrl" content="{thumbnail URL}"/>
>> <meta property="rnews:datePublished" content="{date published}"/>
>> <meta property="rnews:creator" content="<http://www.bbc.co.uk/news>"/>
>> …
>> </head>
>>
>> We are currently working on an internal project to identify the
>> real-world concepts mentioned in our stories and associate them back
>> with the published article; when this is available we will add the
>> following:
>>
>> <meta property="rnews:about" content="{GUID for
>> person/place/organisation}"/>
>> <meta property="rnews:mentions" content="{GUID for
>> person/place/organisation} "/>
>>
>> Separately we will publish the BBC GUIDs we have created for
>> person/place/organisations with sameAs links towikidata/freebase/dbpedia.
>>
>> Does anyone see any problems with this approach?
> If the GUID and and thumbnailURL objects are intend to be IRIs, you should use <link> instead of <meta>. The <content> element is only used for literal values. Try the following:
>
> <head prefix="rnews: http://iptc.org/std/rNews/2011-10-07#"
> resource="{published URL}"
> typeof="rnews:NewsItem">
> <meta property="rnews:headline" content="{headline}"/>
> <meta property="rnews:description" content="{description}"/>
> <link property="rnews:thumbnailUrl" resource="{thumbnail URL}"/>
> <meta property="rnews:datePublished" content="{date published}"/>
> <link property="rnews:creator" resource="<http://www.bbc.co.uk/news>"/>
> <link property="rnews:about" resource="{GUID for person/place/organisation}"/>
> < link property="rnews:mentions" resource="{GUID for person/place/organisation} "/>
> </head>
>
> (Note, you could use @href instead of @resource, but technically the value range of @href is URL, not IRI, so a GUID (expressed as a URN) wouldn't be valid).
>
> Of course, if the about and mentions properties DatatypeProperties rather than ObjectProperties, the use of <meta> and @content is fine, but you might want to consider providing an appropriate datatype with @datatype.
>
> Gregg
>
>> Thanks
>>
>> JT
>>
>> -------
>> Jeremy Tarling
>> Data Architect, BBC News
>> 4th Floor New Broadcasting House
>> London W1A 1AA
>>
>>
>>
>

Received on Wednesday, 23 January 2013 09:15:21 UTC