rdf:parseType="Resource"                   

Definition

Blank nodes (not RDF URI reference nodes) in RDF graphs can be written in a form that allows the <rdf:Description> </rdf:Description> pair to be omitted. The omission is done by putting an rdf:parseType="Resource" attribute on the containing property element that turns the property element into a property-and-node element, which can itself have both property elements and property attributes.

Example listing

Triple

 

RDF/XML

<ex:editor>

    <rdf:Description ex:fullName="Dave Beckett">

        <ex:homePage rdf:resource="http://purl.org/net/dajobe/" />

    </rdf:Description>

</ex:editor>

can, using rdf:parseType="Resource", be replaced with a blank node:

<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF/XML Syntax Specification (Revised)">

    <ex:editor rdf:parseType="Resource">

        <ex:fullName>Dave Beckett</ex:fullName>

        <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>

    </ex:editor>

</rdf:Description>

Other information

Property attributes and the rdf:nodeID attribute are not permitted on property-and-node elements.

Use in ISO 15926