@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix : <http://data.ordnancesurvey.co.uk/ontology/geometry/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl2xml: <http://www.w3.org/2006/12/owl2-xml#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<http://data.ordnancesurvey.co.uk/ontology/geometry/> a owl:Ontology ;
	rdfs:isDefinedBy <http://www.ordnancesurvey.co.uk/ontology/geometry.owl> ;
	dct:creator <http://data.ordnancesurvey.co.uk/id/ordnancesurvey> ;
	dct:publisher <http://data.ordnancesurvey.co.uk/id/ordnancesurvey> ;
	rdfs:label "Geometry Ontology"^^xsd:string ;
	rdfs:comment "A ontology to describe abstract geometries."^^xsd:string ;
	dc:creator "Ordnance Survey."^^xsd:string .

dc:creator a owl:AnnotationProperty .

rdfs:label a owl:AnnotationProperty .

rdfs:comment a owl:AnnotationProperty .

:extent a owl:ObjectProperty ;
	rdfs:isDefinedBy <http://www.ordnancesurvey.co.uk/ontology/geometry.owl> ;
	rdfs:label "extent"^^xsd:string ;
	rdfs:comment "This relates any object to is two-dimensional geometrical extent."^^xsd:string ;
	rdfs:range :AbstractGeometry .

:asGML a owl:DatatypeProperty ;
	rdfs:isDefinedBy <http://www.ordnancesurvey.co.uk/ontology/geometry.owl> ;
	rdfs:label "as GML" ;
	rdfs:comment "This property relates abstract geometry types to a GML (Geographic Markup Language) representation of that geometry. This GML representation is stored as an rdf:XMLLiteral." ;
	rdfs:domain :AbstractGeometry ;
	rdfs:range rdf:XMLLiteral .

:hectares a owl:DatatypeProperty ;
	rdfs:isDefinedBy <http://www.ordnancesurvey.co.uk/ontology/geometry.owl> ;
	a owl:FunctionalProperty ;
	rdfs:label "hectres" , "The area of a geometry in hectres." ;
	rdfs:range xsd:double .

:AbstractGeometry a owl:Class ;
	rdfs:isDefinedBy <http://www.ordnancesurvey.co.uk/ontology/geometry.owl> ;
	rdfs:label "Abstract Geometry" ;
	rdfs:subClassOf _:node1791sn5uix2 .

_:node1791sn5uix2 a owl:Restriction ;
	owl:onProperty :asGML ;
	owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
	owl:onDataRange rdf:XMLLiteral .

:AbstractGeometry rdfs:comment "A superclass of all geometry types such as points, lines and polygons. This is currently a place holder class and likely to change when some standard way of representing geometries in RDF is agreed." .

<http://data.ordnancesurvey.co.uk/ontology/geometry/1kmGridSquare> a owl:Class ;
	rdfs:isDefinedBy <http://www.ordnancesurvey.co.uk/ontology/geometry.owl> ;
	rdfs:label "1 km Grid Square" .

<http://data.ordnancesurvey.co.uk/ontology/geometry/20kmGridSquare> a owl:Class ;
	rdfs:isDefinedBy <http://www.ordnancesurvey.co.uk/ontology/geometry.owl> ;
	rdfs:label "20km Grid Square" .
