W3C home > Mailing lists > Public > public-lod@w3.org > March 2010

Re: RDFa for Turtles

From: Toby Inkster <tai@g5n.co.uk>
Date: Thu, 11 Mar 2010 09:58:46 +0000
To: Paul Houle <ontology2@gmail.com>
Cc: Linked Data community <public-lod@w3.org>
Message-ID: <1268301526.27087.121.camel@ophelia2.g5n.co.uk>
On Wed, 2010-03-10 at 12:03 -0500, Paul Houle wrote:

> <meta rel="{predicate}" content="{object}" /> 
> <meta rel="{predicate}" content="{object}" datatype="{type_of_object}" />   

You want to use @property, not @rel. Also, don't forget @xml:lang!

> Am I missing anything?

To bullet-proof it, you may want to explicitly set @about on *all* the
<link> and <meta> elements, plus @xml:lang on all <meta> elements, to
avoid chaining, and avoid inheriting language tags from <head> or
<html>.

> Requirement: Ability to embed RDFa in a document that is not, 
> globally,  a valid XHTML document

Why not just use the HTML+RDFa draft being worked on by the HTML WG in
conjunction with the RDFa WG? It specifies how RDFa can be used in
so-called "tag soup" HTML.

I know of at least three tools that implement HTML+RDFa at least
experimentally:

* RDF::RDFa::Parser - my own Perl RDFa parser.
* PyRDFa - the code that powers the W3C's "RDFa distiller" service.
* Damien Steer's Java RDFa parser which I can't remember the name of.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Thursday, 11 March 2010 09:59:26 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:25 UTC