rdf:value is an instance of rdf:Property that may be used in describing structured values.

rdf:value has no meaning on its own. It is provided as a piece of vocabulary that may be used in idioms such as illustrated below. Despite the lack of formal specification of the meaning of this property, there is value in defining it to encourage the use of a common idiom in examples of this kind.

The rdfs:domain and rdfs:range of rdf:value are rdfs:Resource.

EXAMPLE:    The weight of something is expressed in an rdf:value of the rdf:datatype with a value of "2.4" and in the unit "kilogram" (see RDF/XML below)


    <rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#value">

        <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>


        <rdfs:comment>Idiomatic property used for structured values.</rdfs:comment>

        <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>

        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>


Example listing




<rdf:Description rdf:about="http://www.example.com/2002/04/products#item10245">

    <exterms:weight rdf:parseType="Resource">

        <rdf:value rdf:datatype="&xsd;decimal">2.4</rdf:value>

        <exterms:units rdf:resource="http://www.example.org/units/kilograms"/>



Other information


Use in ISO 15926