Dev8D Lightning Talk: RDFa 1.1

Damian Steer
Linked Data requirements are scary!
RDFa = RDF in attributes – way of integrating structured data into HTML pages – people can read page, machines can read data

Example

<html xmlns:foaf=”http://xmlns.com/foaf/0.1/”>
<div about=”#person” typeof=:foaf:Person”>
<h2 property=”foaf:name”>Damian Steer</h2>
</div>

The attributes allow you to say what the data is that you are representing, data lives in the page – in this case div attributes say you are going to talk about a ‘person’ – saying it is a foaf:Person means external consumer will know it is the same type of thing as other foaf:Persons. h2 attribute say you have a foaf:name, and then contents of h2 is the name

Tips:
Augment your HTML – don’t write RDF
If you have more than two RDFa attributes on an element reconsider your design

Who is using RDFa? Google (Rich Snippets uses RDFa and other stuff), Facebook (Open Graph Protocol – dumbed down RDFa), Yahoo (Search Monkey), Rotten Tomatoes

Analysis of use of Microformats and RDFa
http://tinyurl.com/rdfa-deploy
Can see spike in RDFa usage

RDFa 1.1
        Coming into html5
        Simplify prefixes
        Allows use of full URIs (instead of prefixes)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.