RDF
collection
In addition to containers, RDF can describe a group of members in a collection.
The RDF collection is used to describe groups that contain only the specified members.
rdf:parseType is the "Collection" property
As you can see in the previous section, we can't close a container.
The container specifies that the contained resources are members - it does not specify that other members are not allowed.
The RDF collection is used to describe groups that contain only the specified members.
The collection is described by the property rdf:parseType .Collection.
Instance
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cd="http://recshop.fake/cd#">
<rdf:Description
rdf:about="http://recshop.fake/cd/Beatles">
<cd:artist rdf:parseType="Collection">
<rdf:Description rdf:about="http://recshop.fake/cd/Beatles/George"/>
<rdf:Description rdf:about="http://recshop.fake/cd/Beatles/John"/>
<rdf:Description rdf:about="http://recshop.fake/cd/Beatles/Paul"/>
<rdf:Description rdf:about="http://recshop.fake/cd/Beatles/Ringo"/>
</cd:artist>
</rdf:Description>
</rdf:RDF>