rdf:predicate                                           

Definition

rdf:predicate is an instance of rdf:Property that is used to state the predicate of a statement.

The rdfs:domain of rdf:predicate is rdf:Statement and the rdfs:range is rdfs:Resource.

Schema

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

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

        <rdfs:label>predicate</rdfs:label>

        <rdfs:comment>The predicate of the subject RDF statement.</rdfs:comment>

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

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

    </rdf:Property>

Example listing

Triple

S  rdf:predicate  P  states that S is an instance of rdf:Statement, that P is an instance of rdf:Property and that the predicate of S is P.

RDF/XML

    <rdf:Statement rdf:about="#triple12345">

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

        <rdf:predicate rdf:resource="http://www.example.com/terms/weight"/>

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

        <dc:creator rdf:resource="http://www.example.com/staffid/85740"/>

    </rdf:Statement>

Other information

 

Use in ISO 15926