RDF/XML
Example
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:schema="https://schema.org/">
<schema:WebSite>
<schema:name>Named Graph</schema:name>
<schema:url rdf:resource="https://www.namedgraph.com/" />
</schema:WebSite>
</rdf:RDF>
Real World | ng:Inspector |
---|---|
RDF Vocabulary | Snapshot |
Schema.org Vocabulary | Snapshot |
Limitations
- XML directives (
<!...>
) are not supported and will halt decoding with an error.
Technical Notes
- Reference: Extensible Markup Language (XML) 1.0 (Fifth Edition); RDF 1.1 XML Syntax
- Media Type:
application/rdf+xml
(orapplication/xml
) - File Name:
*.rdf
(or*.xml
)