| RDF/XML | Comments | RDF/N3 | Comments |
| Expected "=" to follow "?" | XML declaration | No equivalent | |
| <rdf:RDF | Top level element, only one per RDF/XML file. | A N3 file is the container |
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">|| Namespace Declarations||@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.||
<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
<dc:title>RDF/XML Syntax Specification (Revised)</dc:title> <ex:editor rdf:parseType="Resource">
<ex:fullName>Dave Beckett</ex:fullName> <ex:homePage rdf:resource="http://purl.org/net/dajobe/" />
</ex:editor>
</rdf:Description>
</rdf:RDF>