<?xml version="1.0"?>

<!-- Resource Indication - Multiple Special Classes -->


<rdf:RDF
  xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:xsd ="http://www.w3.org/2000/10/XMLSchema#"
  xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
  xmlns     ="http://www.daml.org/validator/examples/cv1.daml#"
>

<!-- A Class can not be more than one special class:
     oneOf, complementOf, unionOf, or intersectionOf -->

<!-- OK -->
<daml:Class rdf:ID="Color"/>

<daml:Class rdf:ID="PrimaryColors">
  <daml:oneOf rdf:parseType="daml:collection">
    <Color rdf:ID="red"/>
    <Color rdf:ID="blue"/>
    <Color rdf:ID="yellow"/>
  </daml:oneOf>
</daml:Class>


<!-- OK -->
<daml:Class rdf:ID="Animal"/>

<daml:Class rdf:ID="Plant"/>

<daml:Class rdf:ID="LivingThings">
  <daml:unionOf rdf:parseType="daml:collection">
    <daml:Class rdf:about="#Animal"/>
    <daml:Class rdf:about="#Plant"/>
  </daml:unionOf>
</daml:Class>


<!-- OK -->
<daml:Class rdf:ID="NonPrimaryColors">
   <daml:complementOf rdf:resource="#PrimaryColors"/>
</daml:Class>


<!-- OK -->
<daml:Class rdf:ID="GreenThing"/>
<daml:Class rdf:ID="RoundThing"/>

<daml:Class rdf:ID="RoundGreenThings">
  <daml:intersectionOf rdf:parseType="daml:collection">
    <daml:Class rdf:about="#GreenThing"/>
    <daml:Class rdf:about="#RoundThing"/>
  </daml:intersectionOf>
</daml:Class>
    


</rdf:RDF>
