<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
  <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
  <!ENTITY xsd 'http://www.w3.org/2001/XMLSchema#'>
  <!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
  <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
  <!ENTITY trait 'http://sswapmeet.sswap.info/trait/'>]>
<rdf:RDF
    xmlns:rdf="&rdf;"
    xmlns:owl="&owl;"
    xmlns:trait="&trait;"
    xmlns:xsd="&xsd;"
    xmlns:rdfs="&rdfs;">
    <owl:Ontology rdf:about="&trait;owlOntology">
        <owl:imports rdf:resource="&trait;owlOntology"/>
    </owl:Ontology>
    <owl:Class rdf:about="&trait;Trait">
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <owl:Restriction>
                        <owl:onProperty>
                            <owl:DatatypeProperty rdf:about="&trait;name"/>
                        </owl:onProperty>
                        <owl:cardinality rdf:datatype="&xsd;nonNegativeInteger"
                        >1</owl:cardinality>
                    </owl:Restriction>
                    <owl:Restriction>
                        <owl:onProperty>
                            <owl:DatatypeProperty rdf:about="&trait;symbol"/>
                        </owl:onProperty>
                        <owl:cardinality rdf:datatype="&xsd;nonNegativeInteger"
                        >1</owl:cardinality>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty>
                    <owl:DatatypeProperty rdf:about="&trait;accessionID"/>
                </owl:onProperty>
                <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger"
                >1</owl:maxCardinality>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger"
                >0</owl:minCardinality>
                <owl:onProperty>
                    <owl:DatatypeProperty rdf:about="&trait;synonym"/>
                </owl:onProperty>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Class rdf:about="&trait;Traits"/>
        </rdfs:subClassOf>
        <rdfs:comment rdf:datatype="&xsd;string">High level class for trait information.

To standardized trait specifics, assert an rdfs:subClassOf relation to any one of the Trait Ontologies (root node at: http://sswapmeet.sswap.info/TO/TO_0000387).</rdfs:comment>
    </owl:Class>
</rdf:RDF>

