This document has sample RDF/A markup to use as a test for an RDFA2RDFXML.xsl extraction stylesheet. The samples come from existing documents about RDF/A. Future RDF/A test documents could demonstrate more samples movie timetables, flight schedules, lists of restaurants with ratings, and so forth.
These samples are taken from the 2006-03-10 version of the Primer.
Hello. This is Jo Lambda's home page.
If you want to contact me at work, you can either email me, or call +1 777 888 9999.
According to the primer, the following should be extracted from the preceding paragraph:
<> foaf:name "Jo Lambda"^^rdf:XMLLiteral ; foaf:mbox <mailto:jo.lambda@example.org> ; foaf:phone "+1 777 888 9999"^^rdf:XMLLiteral .
Hello. Welcome to the Widget Development Department.
According to the primer, the following should be extracted from the preceding paragraph:
<> rdf:type foaf:Group ; foaf:name "Widget Development Department."^^rdf:XMLLiteral ; foaf:member <http://jo-lambda.example.org/> <> foaf:member <#andrew> . <#andrew> foaf:firstname "Andrew"^^rdf:XMLLiteral ; foaf:surname "Smith"^^rdf:XMLLiteral ; foaf:phone "+1 777 888 9999" .
Should create this (note that not all "Vacation in the South of France" examples are included here, because the overlap in the similar examples would make for confusing triples):
<> dc:title "Vacation in the South of France"^^XMLLiteral . <> dc:creator "Mark Birbeck"^^XMLLiteral .
Should create:
<> dc:creator </user/markb> .
This document is licensed under a Creative Commons Non-Commercial License .
Should yield:
</user/markb/photo/23456> dc:title "Sunset in Nice"^^XMLLiteral ; dc:creator </user/markb> ; cc:license <http://creativecommons.org/licenses/by-nc/2.5/> . </user/markb/photo/34567> dc:title "W3C Meeting in Mandelieu"^^XMLLiteral ; dc:creator </user/stevenp> ; cc:license <http://creativecommons.org/licenses/by/2.5/> .