Skip to content

Commit 1a0e8af

Browse files
committed
add initial version of ontology
1 parent 855e7af commit 1a0e8af

2 files changed

Lines changed: 174 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Deploy all ontology versions on pages
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
workflow_dispatch:
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
concurrency:
12+
group: "pages"
13+
cancel-in-progress: false
14+
jobs:
15+
deploy: # a free machine-readable name for this job
16+
environment:
17+
name: github-pages
18+
url: ${{ steps.deployment.outputs.page_url }}
19+
runs-on: ubuntu-latest # specify the base operating system
20+
steps:
21+
- name: Checkout repo content # fetch the contents of the repository
22+
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Prepare build environment
26+
run: | # multiple Bash commands follow
27+
mkdir -p build
28+
touch build/.nojekyll
29+
- name: Run widoco
30+
uses: docker://ghcr.io/fusion-jena/ontology-docs-deployer:main
31+
- name: Setup Pages
32+
uses: actions/configure-pages@v5
33+
- name: Upload artifact
34+
uses: actions/upload-pages-artifact@v3
35+
with:
36+
# Upload only "out" directory which contains the bundeled widoco versions
37+
path: 'out/'
38+
- name: Deploy to GitHub Pages
39+
id: deployment
40+
uses: actions/deploy-pages@v4

ontology/gpc.ttl

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
@prefix dct: <http://purl.org/dc/terms/> .
2+
@prefix gpc: <https://w3id.org/gerps/ontology/codelist/> .
3+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
4+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
5+
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
6+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
7+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
8+
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
9+
@prefix provo: <https://www.w3.org/ns/prov#> .
10+
@prefix schema: <http://schema.org/> .
11+
@base <http://www.w3.org/2002/07/owl#> .
12+
13+
<https://w3id.org/gerps/ontology/codelist/> rdf:type owl:Ontology ;
14+
dct:abstract "Ontology mapping the XöV-Standard Codelists."@en ,
15+
"Ontologie zur Abbildung von XöV-Codelisten."@de ;
16+
dct:contributor "Heinz Conti Zacherl",
17+
"Maximilian Enderling" ;
18+
dct:creator "openDVA" ;
19+
dct:license <http://creativecommons.org/licenses/by/4.0/> ;
20+
dct:title "GerPS-Codeliste"@de ,
21+
"GerPS-Codelist"@en .
22+
23+
#################################################################
24+
# Annotation properties
25+
#################################################################
26+
27+
### https://w3id.org/gerps/ontology/codelist/ColumnLongName
28+
gpc:ColumnLongName rdf:type owl:AnnotationProperty ;
29+
rdfs:label "Column long name"@en ,
30+
"Langer Spaltenname"@de ;
31+
rdfs:comment "The long name of a codelist column."@en ,
32+
"Der Langname einer Codelisten-Spalte."@de ;
33+
rdfs:range xsd:string ;
34+
rdfs:domain gpc:Column .
35+
36+
37+
### https://w3id.org/gerps/ontology/codelist/ColumnShortName
38+
gpc:ColumnShortName rdf:type owl:AnnotationProperty ;
39+
rdfs:label "Column short name"@en ,
40+
"Kurzer Spaltenname"@de ;
41+
rdfs:comment "The short name of a codelist column."@en ,
42+
"Der Kurzname einer Codelisten-Spalte."@de ;
43+
rdfs:range xsd:string ;
44+
rdfs:domain gpc:Column .
45+
46+
47+
### https://w3id.org/gerps/ontology/codelist/FetchedAt
48+
gpc:FetchedAt rdf:type owl:AnnotationProperty ;
49+
rdfs:label "Fetched at"@en ,
50+
"Abgerufen am"@de ;
51+
rdfs:comment "The date and time when the codelist was fetched."@en ,
52+
"Datum und Uhrzeit, zu der die Codeliste abgerufen wurde."@de ;
53+
rdfs:range xsd:dateTime ;
54+
rdfs:domain gpc:Codelist .
55+
56+
57+
### https://w3id.org/gerps/ontology/codelist/HandbookVersion
58+
gpc:HandbookVersion rdf:type owl:AnnotationProperty ;
59+
rdfs:label "Handbook version"@en ,
60+
"Handbuchversion"@de ;
61+
rdfs:comment "The version of the handbook associated with the codelist."@en ,
62+
"Die Versionsnummer des Handbuchs, das der Codeliste zugeordnet ist."@de ;
63+
rdfs:range xsd:string ;
64+
rdfs:domain gpc:Codelist .
65+
66+
67+
### https://w3id.org/gerps/ontology/codelist/KeyColumn
68+
gpc:KeyColumn rdf:type owl:AnnotationProperty ;
69+
rdfs:label "is key column"@en ,
70+
"ist Schlüsselspalte"@de ;
71+
rdfs:comment "Indicates whether a column is the key column of a codelist."@en ,
72+
"Gibt an, ob eine Spalte die Schlüsselspalte einer Codeliste ist."@de ;
73+
rdfs:range xsd:boolean ;
74+
rdfs:domain gpc:Column .
75+
76+
77+
### https://w3id.org/gerps/ontology/codelist/SourceUrl
78+
gpc:SourceUrl rdf:type owl:AnnotationProperty ;
79+
rdfs:label "has source URL"@en ,
80+
"hat Quell-URL"@de ;
81+
rdfs:comment "The URL of the source from which the codelist was retrieved."@en ,
82+
"Die URL der Quelle, aus der die Codeliste bezogen wurde."@de ;
83+
rdfs:range xsd:string ;
84+
rdfs:domain gpc:Codelist .
85+
86+
87+
### https://w3id.org/gerps/ontology/codelist/Use
88+
gpc:Use rdf:type owl:AnnotationProperty ;
89+
rdfs:label "has use"@en ,
90+
"Verwendung"@de ;
91+
rdfs:comment "Indicates whether a column is optional or required."@en ,
92+
"Gibt an, ob eine Spalte optional oder verpflichtend ist."@de ;
93+
rdfs:range xsd:string ;
94+
rdfs:domain gpc:Column .
95+
96+
97+
#################################################################
98+
# Data properties
99+
#################################################################
100+
101+
### https://w3id.org/gerps/ontology/codelist/CodelistProperty
102+
gpc:CodelistProperty rdf:type owl:DatatypeProperty ;
103+
rdfs:domain gpc:Codelist ;
104+
rdfs:range xsd:string ;
105+
rdfs:label "Codelist property"@en ,
106+
"Codelisten-Eigenschaft"@de ;
107+
rdfs:comment "Base property for all column-based values in codelists."@en ,
108+
"Basiseigenschaft für alle spaltenbasierten Werte in Codelisten."@de .
109+
110+
111+
### https://w3id.org/gerps/ontology/codelist/Column
112+
gpc:Column rdf:type owl:DatatypeProperty ;
113+
rdfs:subPropertyOf gpc:CodelistProperty ;
114+
rdfs:domain gpc:Codelist ;
115+
rdfs:range xsd:string ;
116+
rdfs:label "Column"@en ,
117+
"Spalte"@de ;
118+
rdfs:comment "Specialised codelist property for codelist columns."@en ,
119+
"Spezialisierte Codelisten-Eigenschaft für Codelisten-Spalten."@de .
120+
121+
122+
#################################################################
123+
# Classes
124+
#################################################################
125+
126+
### https://w3id.org/gerps/ontology/codelist/Codelist
127+
gpc:Codelist rdf:type owl:Class ;
128+
rdfs:label "Codelist"@en ,
129+
"Codeliste"@de ;
130+
rdfs:comment "A structured codelist as defined by the XöV standard."@en ,
131+
"Eine strukturierte Codeliste gemäß XöV-Standard."@de .
132+
133+
134+
### Generated by the OWL API (version 4.5.29.2024-05-13T12:11:03Z) https://github.com/owlcs/owlapi

0 commit comments

Comments
 (0)