A Bag (a resource having type rdf:Bag) represents a group of resources or literals, possibly including duplicate members, where there is no significance in the order of the members.
EXAMPLE: A Bag might be used to describe a group of part numbers in which the order of entry or processing of the part numbers does not matter.
<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag">
<rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
<rdfs:label>Bag</rdfs:label>
<rdfs:comment>The class of unordered containers.</rdfs:comment>
<rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>
</rdfs:Class>
<rdf:Description rdf:about="http://example.org/courses/6.001">
<s:students>
<rdf:Bag>
<rdf:li rdf:resource="http://example.org/students/Amy"/>
<rdf:li rdf:resource="http://example.org/students/Mohamed"/>
<rdf:li rdf:resource="http://example.org/students/Johann"/>
</rdf:Bag>
</s:students>
</rdf:Description>
To describe a resource as being a Bag, the resource
is given an rdf:type property whose value is the predefined
resources rdf:Bag.
The rdf:Bag class is the class of RDF 'Bag' containers. It is a
subclass of rdfs:Container. Whilst formally it is no
different from an rdf:Seq or an rdf:Alt, the rdf:Bag class is used
conventionally to indicate to a human reader that the container is intended to
be unordered.