<?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 map 'http://sswapmeet.sswap.info/map/'>
  <!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
  <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>]>
<rdf:RDF
    xmlns:rdf="&rdf;"
    xmlns:owl="&owl;"
    xmlns:map="&map;"
    xmlns:xsd="&xsd;"
    xmlns:rdfs="&rdfs;">
    <owl:Ontology rdf:about="&map;owlOntology">
        <owl:imports rdf:resource="&map;owlOntology"/>
    </owl:Ontology>
    <owl:Class rdf:about="&map;MapCorrespondence"/>
    <owl:Class rdf:about="&map;Map"/>
    <owl:Class rdf:about="&map;Maps"/>
    <owl:Class rdf:about="&map;MapSet"/>
    <owl:Class rdf:about="&map;MapPosition"/>
    <owl:Class rdf:about="&map;MappableObject">
        <rdfs:subClassOf rdf:resource="&map;Maps"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:allValuesFrom rdf:resource="&map;MapPosition"/>
                <owl:onProperty>
                    <owl:ObjectProperty rdf:about="&map;atMapPosition"/>
                </owl:onProperty>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:allValuesFrom rdf:resource="&map;MapCorrespondence"/>
                <owl:onProperty>
                    <owl:ObjectProperty rdf:about="&map;hasObjectCorrespondence"/>
                </owl:onProperty>
            </owl:Restriction>
        </rdfs:subClassOf>
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <owl:Restriction>
                        <owl:onProperty>
                            <owl:ObjectProperty rdf:about="&map;belongsToMap"/>
                        </owl:onProperty>
                        <owl:allValuesFrom rdf:resource="&map;Map"/>
                    </owl:Restriction>
                    <owl:Restriction>
                        <owl:someValuesFrom rdf:resource="&map;Map"/>
                        <owl:onProperty rdf:resource="&map;belongsToMap"/>
                    </owl:Restriction>
                    <owl:Restriction>
                        <owl:maxCardinality rdf:datatype="&xsd;int"
                        >1</owl:maxCardinality>
                        <owl:onProperty>
                            <owl:ObjectProperty rdf:about="&map;hasMapPosition"/>
                        </owl:onProperty>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <owl:disjointWith rdf:resource="&map;MapSet"/>
        <rdfs:comment rdf:datatype="&xsd;string">The class of things that can be mapped onto a map.</rdfs:comment>
    </owl:Class>
</rdf:RDF>

