RDF Collections
RDF collections describe groups that can ONLY contain the specified members.
The rdf:parseType="Collection" Attribute
As seen in the previous chapter, a container says that the containing resources are members - it does not say
that other members are not allowed.
RDF collections are used to describe groups that can ONLY contain the specified members.
A collection is described by the attribute rdf:parseType="Collection".
Example
<?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>
Color Picker