Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

RDF Collections

RDF Collections


RDF collections are used to describe groups that contain only the specified members.


the rdf:parseType="Collection" attribute

As seen in the previous section, we cannot close a container. A container specifies the contained resources as members - it does not specify that other members are not allowed.

RDF collections are used to describe groups that contain only the specified members.

Collections are described via the attribute rdf:parseType="Collection".

Example

xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

xmlns:cd="http://recshop.fake/cd#">

rdf:about="http://recshop.fake/cd/Beatles">