Skip to content

Commit 4430b2d

Browse files
authored
Merge pull request #8 from situx/dev
added metadata in the ontology
2 parents b2e3b37 + 1443b59 commit 4430b2d

File tree

2 files changed

+112
-0
lines changed

2 files changed

+112
-0
lines changed

.github/workflows/blank.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Ontology Documentation CI
2+
3+
on: [push]
4+
5+
jobs:
6+
7+
build:
8+
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Install dependencies
13+
run: |
14+
sudo apt-get update
15+
sudo apt-get install python3 python3-setuptools python3-pip python3-dev -y
16+
sudo apt-get install gcc libpq-dev -y
17+
sudo apt-get install doxygen graphviz -y
18+
sudo apt-get install python3-venv python3-wheel -y
19+
sudo pip3 install wheel pylode==2.13.2
20+
- name: Create Ontology Documentation 🔧
21+
run: |
22+
mkdir docs
23+
cd docs
24+
pylode -o index.html -i ../crsdraft.ttl
25+
- name: Deploy 🚀
26+
uses: JamesIves/github-pages-deploy-action@v4.3.3
27+
with:
28+
BRANCH: gh-pages
29+
FOLDER: docs/
30+
clean: false

crsdraft.ttl

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
@prefix : <http://situx.github.io/ontology-crs/> .
2+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
3+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4+
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
5+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7+
@prefix dcterms: <http://purl.org/dc/terms/> .
8+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
9+
@prefix cc: <http://creativecommons.org/ns#> .
10+
@base <http://situx.github.io/ontology-crs/> .
11+
12+
<http://situx.github.io/ontology-crs> rdf:type owl:Ontology ;
13+
owl:versionIRI <http://situx.github.io/ontology-crs/0.1> ;
14+
dcterms:issued "2024-XX-XX"^^xsd:date ;
15+
dcterms:modified "2024-XX-XX"^^xsd:date ;
16+
owl:versionInfo "Version 0.1" ;
17+
dcterms:title "CRS Core Ontology" ;
18+
dcterms:description "A core ontology aligned with ISO 19111:2019 for Coordinate Reference Systems (CRS) on the Web"@en ;
19+
dcterms:creator <https://orcid.org/0000-0002-9499-5840>, <https://orcid.org/0000-0003-1562-6922> , <https://orcid.org/0000-0002-5851-2071>, <https://orcid.org/0000-0003-3789-2260> ;
20+
cc:license <http://creativecommons.org/licenses/by/2.0/> ;
21+
.
22+
23+
#################################################################
24+
# Classes
25+
#################################################################
26+
27+
### http://situx.github.io/ontology-crs#Axis
28+
:Axis rdf:type owl:Class ;
29+
rdfs:label "Axis"@en .
30+
31+
32+
### http://situx.github.io/ontology-crs#AxisDirection
33+
:AxisDirection rdf:type owl:Class ;
34+
rdfs:label "axis direction"@en .
35+
36+
37+
### http://situx.github.io/ontology-crs#CompoundCRS
38+
:CompoundCRS rdf:type owl:Class ;
39+
rdfs:subClassOf :CoordinateReferenceSystem ;
40+
rdfs:label "compound crs"@en .
41+
42+
43+
### http://situx.github.io/ontology-crs#CoordinateReferenceSystem
44+
:CoordinateReferenceSystem rdf:type owl:Class ;
45+
rdfs:subClassOf :SpatialReferenceSystem ;
46+
rdfs:label "coordinate reference system"@en .
47+
48+
49+
### http://situx.github.io/ontology-crs#CoordinateSystem
50+
:CoordinateSystem rdf:type owl:Class ;
51+
rdfs:label "coordinate system"@en .
52+
53+
54+
### http://situx.github.io/ontology-crs#Datum
55+
:Datum rdf:type owl:Class ;
56+
rdfs:label "datum"@en .
57+
58+
59+
### http://situx.github.io/ontology-crs#PrimeMeridian
60+
:PrimeMeridian rdf:type owl:Class ;
61+
rdfs:label "prime meridian"@en ;
62+
rdfs:comment """ Meridian from which the longitudes of other meridians are quantified. Cf. ISO 19111:2007:2007-07, part 10.2.1, table 35 and annex B.3.2.2."""@en .
63+
64+
65+
### http://situx.github.io/ontology-crs#ReferenceSystem
66+
:ReferenceSystem rdf:type owl:Class ;
67+
rdfs:label "reference system"@en .
68+
69+
70+
### http://situx.github.io/ontology-crs#SingleCRS
71+
:SingleCRS rdf:type owl:Class ;
72+
rdfs:subClassOf :CoordinateReferenceSystem ;
73+
rdfs:label "single CRS"@en .
74+
75+
76+
### http://situx.github.io/ontology-crs#SpatialReferenceSystem
77+
:SpatialReferenceSystem rdf:type owl:Class ;
78+
rdfs:subClassOf :ReferenceSystem ;
79+
rdfs:label "spatial reference system"@en .
80+
81+
82+
### Generated by the OWL API (version 4.5.29.2024-05-13T12:11:03Z) https://github.com/owlcs/owlapi

0 commit comments

Comments
 (0)