On April 22nd 2010, the W3C RDFa Working Group released the first public Working Draft of RDFa 1.1 (Core) specifications. To explain the main new things of those specifications, Ivan Herman wrote a very nice post that I suggest reading to anyone who wants to understand the basics.
The W3C specifications are oriented to detail how an RDFa Processor should elaborate a page to extract the embedded RDF triples thereof. However, a person who wants simply to embed RDF triples in her pages is interested in the opposite approach.
In trying to understand myself how the new RDFa 1.1 works, I therefore prepared some sample pages and files to play with. Since no RDFa 1.1 distiller is yet available, I'm not 100% sure that my experiment is correct. However, I rely on my old and trustworthy friend Operator that helped me a lot in the "debugging" phase.
The material I developed and that I want to share with you here is the following:
- an RDFa 1.1 profile (also with .html extension) defining the various prefix/namespace couples (one of the novelty of RDFa 1.1);
- a sample HTML page to be annotated, which I derived from the examples provided in the working draft;
- a sample N3 file containing all the RDF triples to be embedded in the page;
- the HTML+RDFa 1.1 page obtained from the HTML one by embedding the RDF triples (which of course is only one of the possible "solutions").
A possible exercise would therefore be trying to embed the RDF triples from the N3 file into the non-annotated HTML page and then comparing the result with the HTML+RDFa page. Sooner or later, I would like to derive a simple tutorial based on this "exercise".
I really hope it will be useful to somebody! Please, email me if you find any mistake or if you have any comment/suggestion for improvement.
May 2nd, 2010