Example Rating Onotology

We can add classification information to the above data by defining a set of classes with OWL:

<r:RDF xmlns:r="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
       xmlns:p="http://www.w3.org/TR/WD-pics2.0#"
       xmlns:owl="http://www.w3.org/2002/07/owl#"
       xml:base="http://www.w3.org/2004/05/07-CS-RDF/">

   <!-- a class of voilent media: -->
   <owl:Class rdf:ID="ns#Bang">
      <owl:intersectionOf rdf:parseType="Collection">
         <owl:Class rdf:about="ns#Base" />
         <owl:Restriction>
            <owl:onProperty rdf:resource="ns#violentContent" />
            <owl:hasValue rdf:resource="9" />
         </owl:Restriction>
      </owl:intersectionOf>
   </owl:Class>

</r:RDF>