rdf:List is an instance of rdfs:Class that can be used to build descriptions of lists and other list-like structures.

An RDF collection is a group of things represented as a list structure in the RDF graph. This list structure is constructed using a predefined collection vocabulary consisting of the predefined type rdf:List, the predefined properties rdf:first and rdf:rest, and the predefined resource rdf:nil.


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

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


        <rdfs:comment>The class of RDF Lists.</rdfs:comment>

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


Example listing




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

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


        <rdfs:comment>The empty list, with no items in it. If the rest of a list is nil then the list has no more items in it.</rdfs:comment>


Other information


Use in ISO 15926