http://omv.ontoware.org/2005/05/ontology#Location
Instances of ontology:Location can have the following properties:
PROPERTY | TYPE | DESCRIPTION | RANGE |
---|---|---|---|
From class ontology:Location | |||
ontology:city | owl:DatatypeProperty | Name of the city (and zip code). | xsd:string |
ontology:country | owl:DatatypeProperty | The name of the country | xsd:string |
ontology:state | owl:DatatypeProperty | The state of a country. | xsd:string |
ontology:street | owl:DatatypeProperty | Name of the street and number (address). | xsd:string |
@prefix : <http://omv.ontoware.org/2005/05/ontology#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
:Location a owl:Class ;
rdfs:label "Location"^^xsd:string ;
rdfs:comment "The geographical location of a party. To keep things simple we use only DatatypeProperties instead of introducing classes for country, street, etc."^^xsd:string ;
rdfs:subClassOf [ a owl:Restriction ;
owl:allValuesFrom xsd:string ;
owl:onProperty :city ],
[ a owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty :state ],
[ a owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty :city ],
[ a owl:Restriction ;
owl:allValuesFrom xsd:string ;
owl:onProperty :state ],
[ a owl:Restriction ;
owl:allValuesFrom xsd:string ;
owl:onProperty :country ],
[ a owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty :country ],
[ a owl:Restriction ;
owl:allValuesFrom xsd:string ;
owl:onProperty :street ],
[ a owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty :street ] .