rdf:value                                                  

Definition

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)

Schema

    <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:label>value</rdfs:label>

        <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"/>

    </rdf:Property>

Example listing

Triple

 

RDF/XML

<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"/>

    </exterms:weight>

</rdf:Description>

Other information

 

Use in ISO 15926