rdf:subject                                               

Definition

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

The rdfs:domain of rdf:subject is rdf:Statement. The rdfs:range of rdf:subject is rdfs:Resource.

Schema

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

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

        <rdfs:label>subject</rdfs:label>

        <rdfs:comment>The subject 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:subject  R  states that S is an instance of rdf:Statement and that the subject of S is R.

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