RDFa 1.0

Created on March 26, 2013, 1:42 p.m. by Hevok & updated by Hevok on May 2, 2013, 5:21 p.m.

RDFa 1.0 is the way to encode RDF inside XHTML Document.

<html>
...
<div xmlns:dc="http://purl.org/dc/elements/1.1/">] # Namespace
    I'm currently reading
    <span about "urn:ISBN:12345"> # Subject
        <span property="dc:title"> # Property
            Programming A Denigm # Object (Literal)
        </span>
        by
        <span property="dc:creator">Hevok<</span>
    </span>.
</div>
...
</html>

If one wants to use RDF one has to RDFa in XHMTL one has to use a specific Namespace that is able to process also RDFa 1.0:

<?xml version="1.0" encoding="UTF-8"?> 
    <html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.0"
        xml:lang="en">
        <head>...</head>
        <body>...</body>
    </html>
</xml>
code-300x225.jpg

Tags: web, RDF, structured data, rdf, version, information
Categories: Concept
Parent: RDFa

Update entry (Admin) | See changes

Comment on This Data Unit