﻿# Vocabulary for points in three-dimensional spaces.
#
# <foaf:Person>
#    <foaf:based_near>
#       <ungeo:Point rdf:about="#moon_unit_zappa">
#          <ungeo:x>12.1</ungeo:x>
#          <ungeo:y>-32.8</ungeo:y>
#          <ungeo:z>4</ungeo:z>
#          <ungeo:sys>
#             <ungeo:ReferenceSystem>
#                <rdfs:label>Standard lunar coördinates</rdfs:label>
#                <ungeo:body rdf:resource="http://dbpedia.org/resource/Moon" />
#             </ungeo:ReferenceSystem>
#          </ungeo:sys>
#       </ungeo:Point>
#    </foaf:based_near>
# </foaf:Person>
#

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 

# This ontology.
@prefix ungeo:    <http://buzzword.org.uk/rdf/ungeo#> .

# Stock imports.
@prefix cc:       <http://creativecommons.org/ns#> .
@prefix dc:       <http://purl.org/dc/terms/> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/> .
@prefix foaf:     <http://xmlns.com/foaf/0.1/> .
@prefix link:     <http://www.w3.org/2006/link#> .
@prefix owl:      <http://www.w3.org/2002/07/owl#> .
@prefix rdf:      <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:     <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos:     <http://www.w3.org/2004/02/skos/core#> .
@prefix vs:       <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix xhv:      <http://www.w3.org/1999/xhtml/vocab#> .
@prefix xsd:      <http://www.w3.org/2001/XMLSchema#> .

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 

ungeo: 
	rdfs:label "UNGEO"@en ;
	foaf:maker _:toby ;
	dc:issued "2008-12-09"^^xsd:date ;
	dc:modified "2008-12-09"^^xsd:date ,
		"2008-12-22"^^xsd:date ;
	cc:license <http://creativecommons.org/licenses/by-sa/2.0/uk/deed.en_GB> ;
	cc:attributionName "Toby Inkster" ;
	cc:attributionURL ungeo: .

_:toby
	a foaf:Person ;
	foaf:name "Toby Inkster";
	foaf:homepage <http://tobyinkster.co.uk/> .
	
# Points

ungeo:Point
	a rdfs:Class ;
	vs:term_status "testing" ;
	rdfs:label "Point"@en ;
	rdfs:comment "A point in a three-dimensional space."@en .

ungeo:x
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:subPropertyOf <http://sweet.jpl.nasa.gov/2.0/spaceCoordinates.owl#coordinate_1> ;
	rdfs:label "x" ;
	rdfs:comment "A numerical coördinate on the 'x' axis."@en ;
	rdfs:domain ungeo:Point .

ungeo:y
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:subPropertyOf <http://sweet.jpl.nasa.gov/2.0/spaceCoordinates.owl#coordinate_2> ;
	rdfs:label "y" ;
	rdfs:comment "A numerical coördinate on the 'y' axis."@en ;
	rdfs:domain ungeo:Point .

ungeo:z
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:subPropertyOf <http://sweet.jpl.nasa.gov/2.0/spaceCoordinates.owl#coordinate_3> ;
	rdfs:label "z" ;
	rdfs:comment "A numerical coördinate on the 'z' axis."@en ;
	rdfs:domain ungeo:Point .

ungeo:longitude
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:subPropertyOf ungeo:x ;
	rdfs:label "longitude" ;
	rdfs:comment "A numerical coördinate on the 'x' axis of a non-Euclidean Earth-like coördinate system."@en ;
	rdfs:domain ungeo:Point .

ungeo:latitude
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:subPropertyOf ungeo:y ;
	rdfs:label "latitude" ;
	rdfs:comment "A numerical coördinate on the 'y' axis of a non-Euclidean Earth-like coördinate system."@en ;
	rdfs:domain ungeo:Point .

ungeo:altitude
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:subPropertyOf ungeo:z ;
	rdfs:label "altitude" ;
	rdfs:comment "A numerical coördinate on the 'z' axis of a non-Euclidean Earth-like coördinate system."@en ;
	rdfs:domain ungeo:Point .

ungeo:system
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:label "system"@en ;
	rdfs:comment "A group of coördinates only makes sense when interpreted within a given reference system."@en ;
	rdfs:domain ungeo:Point ;
	rdfs:range ungeo:ReferenceSystem .

# Reference Systems

ungeo:ReferenceSystem
	a rdfs:Class ;
	vs:term_status "testing" ;
	rdfs:label "Reference System"@en ;
	rdfs:comment "A reference system defining a three-dimensional space's axes and other properties."@en .

ungeo:axis-definition
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:comment "A definition of an axis of the system, possibly including its direction with reference to landmarks, and its customary units."@en ,
		"Don't use ungeo:axis-definition directly: use ungeo:x-axis, ungeo:y-axis and ungeo:z-axis instead."@en ;
	rdfs:domain ungeo:ReferenceSystem .

ungeo:x-axis
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:subPropertyOf ungeo:axis-definition ;
	rdfs:label "x axis"@en .

ungeo:y-axis
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:subPropertyOf ungeo:axis-definition ;
	rdfs:label "y axis"@en .

ungeo:z-axis
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:subPropertyOf ungeo:axis-definition ;
	rdfs:label "z axis"@en .

ungeo:origin
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:label "origin"@en ;
	rdfs:comment "A definition of the location (0,0,0), possibly by reference to landmarks."@en ;
	rdfs:domain ungeo:ReferenceSystem .
	
ungeo:body
	a rdfs:Property ;
	vs:term_status "testing" ;
	rdfs:label "body"@en ;
	rdfs:domain ungeo:ReferenceSystem .

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 
