Skip to content

Commit daf6477

Browse files
committed
odk config, schema import
1 parent 736956f commit daf6477

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+125868
-236
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
widoco.jar

docs/odk-workflows/RepoManagement.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ Note: our ODK file should only have one `import_group` which can contain multipl
4545
1. Add an import statement to your `src/ontology/cto-edit.owl` file. We suggest to do this using a text editor, by simply copying an existing import declaration and renaming it to the new ontology import, for example as follows:
4646
```
4747
...
48-
Ontology(<https://nfdi4culture.de/ontology/cto/cto.owl>
49-
Import(<https://nfdi4culture.de/ontology/cto/cto/imports/ro_import.owl>)
50-
Import(<https://nfdi4culture.de/ontology/cto/cto/imports/go_import.owl>)
48+
Ontology(<https://nfdi4culture.de/ontology/cto.owl>
49+
Import(<https://nfdi4culture.de/ontology/cto/imports/ro_import.owl>)
50+
Import(<https://nfdi4culture.de/ontology/cto/imports/go_import.owl>)
5151
...
5252
```
5353
2. Add your imports redirect to your catalog file `src/ontology/catalog-v001.xml`, for example:
@@ -68,7 +68,7 @@ Import(<http://purl.obolibrary.org/obo/cto/imports/go_import.owl>)
6868
in your editors file (the ontology) and
6969
7070
```
71-
<uri name="https://nfdi4culture.de/ontology/cto/cto/imports/go_import.owl" uri="imports/go_import.owl"/>
71+
<uri name="https://nfdi4culture.de/ontology/cto/imports/go_import.owl" uri="imports/go_import.owl"/>
7272
```
7373
7474
in your catalog, tools like `robot` or Protégé will recognize the statement

docs/odk-workflows/RepositoryFileStructure.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ These are the current imports in CTO
1717
| Import | URL | Type |
1818
| ------ | --- | ---- |
1919
| nfdicore | https://raw.githubusercontent.com/ISE-FIZKarlsruhe/nfdicore/refs/heads/main/nfdicore.ttl | mirror |
20+
| schema | https://raw.githubusercontent.com/schemaorg/schemaorg/refs/tags/v28.1-release/data/releases/28.1/schemaorg.owl | custom |
2021

2122
## Components
2223
Components, in contrast to imports, are considered full members of the ontology. This means that any axiom in a component is also included in the ontology base - which means it is considered _native_ to the ontology. While this sounds complicated, consider this: conceptually, no component should be part of more than one ontology. If that seems to be the case, we are most likely talking about an import. Components are often not needed for ontologies, but there are some use cases:

docs/odk-workflows/components.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ components:
1717
3) Add the component to your catalog file (src/ontology/catalog-v001.xml)
1818

1919
```
20-
<uri name="https://nfdi4culture.de/ontology/cto/cto/components/your-component-name.owl" uri="components/your-component-name.owl"/>
20+
<uri name="https://nfdi4culture.de/ontology/cto/components/your-component-name.owl" uri="components/your-component-name.owl"/>
2121
```
2222

2323
4) Add the component to the edit file (src/ontology/cto-edit.obo)
2424
for .obo formats:
2525

2626
```
27-
import: https://nfdi4culture.de/ontology/cto/cto/components/your-component-name.owl
27+
import: https://nfdi4culture.de/ontology/cto/components/your-component-name.owl
2828
```
2929

3030
for .owl formats:
3131

3232
```
33-
Import(<https://nfdi4culture.de/ontology/cto/cto/components/your-component-name.owl>)
33+
Import(<https://nfdi4culture.de/ontology/cto/components/your-component-name.owl>)
3434
```
3535

3636
5) Refresh your repo by running `sh run.sh make update_repo` - this should create a new file in src/ontology/components.

docs/widoco/index-en.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
<!-- SCHEMA.ORG METADATA -->
20-
<script type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","url":"https://nfdi4culture.de/ontology/cto.owl","image":"http://vowl.visualdataweb.org/webvowl/#iri=https://nfdi4culture.de/ontology/cto.owl","name":"NFDI4Culture Ontology (CTO)", "headline":"Document describing the ontology https://nfdi4culture.de/ontology/cto.owl", "dateReleased":"Fri Mar 14 12:59:47 CET 2025", "version":"2025-03-14", "license":"https://creativecommons.org/publicdomain/zero/1.0/"}</script>
20+
<script type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","url":"https://nfdi4culture.de/ontology/cto/cto.owl","image":"http://vowl.visualdataweb.org/webvowl/#iri=https://nfdi4culture.de/ontology/cto/cto.owl","name":"NFDI4Culture Ontology (CTO)", "headline":"Document describing the ontology https://nfdi4culture.de/ontology/cto/cto.owl", "dateReleased":"Fri Mar 14 15:04:02 CET 2025", "version":"2025-03-14", "license":"https://creativecommons.org/publicdomain/zero/1.0/"}</script>
2121

2222
<script src="resources/jquery.js"></script>
2323
<script src="resources/marked.min.js"></script>
@@ -76,12 +76,12 @@ <h1>NFDI4Culture Ontology (CTO)</h1>
7676

7777
<dl>
7878
<dt>This version:</dt>
79-
<dd><a href="https://nfdi4culture.de/ontology/releases/2025-03-14/cto.owl">https://nfdi4culture.de/ontology/releases/2025-03-14/cto.owl</a></dd>
79+
<dd><a href="https://nfdi4culture.de/ontology/cto/cto/releases/2025-03-14/cto.owl">https://nfdi4culture.de/ontology/cto/cto/releases/2025-03-14/cto.owl</a></dd>
8080
<dt>Revision:</dt>
8181
<dd>2025-03-14</dd>
8282
<dt>Download serialization:</dt><dd><span><a href="ontology.jsonld" target="_blank"><img src="https://img.shields.io/badge/Format-JSON_LD-blue.svg" alt="JSON-LD" /></a> </span><span><a href="ontology.owl" target="_blank"><img src="https://img.shields.io/badge/Format-RDF/XML-blue.svg" alt="RDF/XML" /></a> </span><span><a href="ontology.nt" target="_blank"><img src="https://img.shields.io/badge/Format-N_Triples-blue.svg" alt="N-Triples" /></a> </span><span><a href="ontology.ttl" target="_blank"><img src="https://img.shields.io/badge/Format-TTL-blue.svg" alt="TTL" /></a> </span></dd><dt>License:</dt><dd><a href="https://creativecommons.org/publicdomain/zero/1.0/" target="_blank"><img src="https://img.shields.io/badge/License-https://creativecommons.org/publicdomain/zero/1.0/-blue.svg" alt="https://creativecommons.org/publicdomain/zero/1.0/" /></a>
8383
</dd><!-- <dt>Evaluation:</dt><dd><a href="OOPSevaluation/oopsEval.html#" target="_blank"><img src="https://img.shields.io/badge/Evaluate_with-OOPS! (OntOlogy Pitfall Scanner!)-blue.svg" alt="Evaluate with OOPS!" /></a></dd> --><dt>Cite as:</dt>
84-
<dd> NFDI4Culture Ontology (CTO). Revision: 2025-03-14. Retrieved from: https://nfdi4culture.de/ontology/releases/2025-03-14/cto.owl</dd>
84+
<dd> NFDI4Culture Ontology (CTO). Revision: 2025-03-14. Retrieved from: https://nfdi4culture.de/ontology/cto/cto/releases/2025-03-14/cto.owl</dd>
8585
</dl>
8686

8787
<a href="provenance/provenance-en.html" target="_blank">Provenance of this page</a><hr/>

docs/widoco/ontology.jsonld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11147,7 +11147,7 @@
1114711147
"@id" : "https://nfdi.fiz-karlsruhe.de/ontology/NFDI_0000001"
1114811148
} ]
1114911149
}, {
11150-
"@id" : "https://nfdi4culture.de/ontology/cto.owl",
11150+
"@id" : "https://nfdi4culture.de/ontology/cto/cto.owl",
1115111151
"@type" : [ "http://www.w3.org/2002/07/owl#Ontology" ],
1115211152
"http://purl.org/dc/terms/description" : [ {
1115311153
"@value" : "The CTO ontology models cultural heritage research data and builds upon the NFDIcore ontology."
@@ -11159,7 +11159,7 @@
1115911159
"@value" : "NFDI4Culture Ontology (CTO)"
1116011160
} ],
1116111161
"http://www.w3.org/2002/07/owl#versionIRI" : [ {
11162-
"@id" : "https://nfdi4culture.de/ontology/releases/2025-03-14/cto.owl"
11162+
"@id" : "https://nfdi4culture.de/ontology/cto/cto/releases/2025-03-14/cto.owl"
1116311163
} ],
1116411164
"http://www.w3.org/2002/07/owl#versionInfo" : [ {
1116511165
"@value" : "2025-03-14"

docs/widoco/ontology.nt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<https://nfdi4culture.de/ontology/cto.owl> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> .
2-
<https://nfdi4culture.de/ontology/cto.owl> <http://www.w3.org/2002/07/owl#versionIRI> <https://nfdi4culture.de/ontology/releases/2025-03-14/cto.owl> .
3-
<https://nfdi4culture.de/ontology/cto.owl> <http://purl.org/dc/terms/description> "The CTO ontology models cultural heritage research data and builds upon the NFDIcore ontology." .
4-
<https://nfdi4culture.de/ontology/cto.owl> <http://purl.org/dc/terms/license> <https://creativecommons.org/publicdomain/zero/1.0/> .
5-
<https://nfdi4culture.de/ontology/cto.owl> <http://purl.org/dc/terms/title> "NFDI4Culture Ontology (CTO)" .
6-
<https://nfdi4culture.de/ontology/cto.owl> <http://www.w3.org/2002/07/owl#versionInfo> "2025-03-14" .
1+
<https://nfdi4culture.de/ontology/cto/cto.owl> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> .
2+
<https://nfdi4culture.de/ontology/cto/cto.owl> <http://www.w3.org/2002/07/owl#versionIRI> <https://nfdi4culture.de/ontology/cto/cto/releases/2025-03-14/cto.owl> .
3+
<https://nfdi4culture.de/ontology/cto/cto.owl> <http://purl.org/dc/terms/description> "The CTO ontology models cultural heritage research data and builds upon the NFDIcore ontology." .
4+
<https://nfdi4culture.de/ontology/cto/cto.owl> <http://purl.org/dc/terms/license> <https://creativecommons.org/publicdomain/zero/1.0/> .
5+
<https://nfdi4culture.de/ontology/cto/cto.owl> <http://purl.org/dc/terms/title> "NFDI4Culture Ontology (CTO)" .
6+
<https://nfdi4culture.de/ontology/cto/cto.owl> <http://www.w3.org/2002/07/owl#versionInfo> "2025-03-14" .
77
#
88
#
99
# #################################################################

docs/widoco/ontology.owl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
2-
<rdf:RDF xmlns="https://nfdi4culture.de/ontology/cto.owl#"
3-
xml:base="https://nfdi4culture.de/ontology/cto.owl"
2+
<rdf:RDF xmlns="https://nfdi4culture.de/ontology/cto/cto.owl#"
3+
xml:base="https://nfdi4culture.de/ontology/cto/cto.owl"
44
xmlns:dc="http://purl.org/dc/elements/1.1/"
55
xmlns:obo="http://purl.obolibrary.org/obo/"
66
xmlns:owl="http://www.w3.org/2002/07/owl#"
@@ -19,8 +19,8 @@
1919
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#"
2020
xmlns:ontology="https://nfdi.fiz-karlsruhe.de/ontology/"
2121
xmlns:edamontology="http://edamontology.org/">
22-
<owl:Ontology rdf:about="https://nfdi4culture.de/ontology/cto.owl">
23-
<owl:versionIRI rdf:resource="https://nfdi4culture.de/ontology/releases/2025-03-14/cto.owl"/>
22+
<owl:Ontology rdf:about="https://nfdi4culture.de/ontology/cto/cto.owl">
23+
<owl:versionIRI rdf:resource="https://nfdi4culture.de/ontology/cto/cto/releases/2025-03-14/cto.owl"/>
2424
<terms:description>The CTO ontology models cultural heritage research data and builds upon the NFDIcore ontology.</terms:description>
2525
<terms:license rdf:resource="https://creativecommons.org/publicdomain/zero/1.0/"/>
2626
<terms:title>NFDI4Culture Ontology (CTO)</terms:title>

docs/widoco/ontology.ttl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
@prefix : <https://nfdi4culture.de/ontology/cto.owl#> .
1+
@prefix : <https://nfdi4culture.de/ontology/cto/cto.owl#> .
22
@prefix owl: <http://www.w3.org/2002/07/owl#> .
33
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
44
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
55
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
66
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7-
@base <https://nfdi4culture.de/ontology/cto.owl#> .
8-
9-
<https://nfdi4culture.de/ontology/cto.owl> rdf:type owl:Ontology ;
10-
owl:versionIRI <https://nfdi4culture.de/ontology/releases/2025-03-14/cto.owl> ;
11-
<http://purl.org/dc/terms/description> "The CTO ontology models cultural heritage research data and builds upon the NFDIcore ontology." ;
12-
<http://purl.org/dc/terms/license> <https://creativecommons.org/publicdomain/zero/1.0/> ;
13-
<http://purl.org/dc/terms/title> "NFDI4Culture Ontology (CTO)" ;
14-
owl:versionInfo "2025-03-14" .
7+
@base <https://nfdi4culture.de/ontology/cto/cto.owl#> .
8+
9+
<https://nfdi4culture.de/ontology/cto/cto.owl> rdf:type owl:Ontology ;
10+
owl:versionIRI <https://nfdi4culture.de/ontology/cto/cto/releases/2025-03-14/cto.owl> ;
11+
<http://purl.org/dc/terms/description> "The CTO ontology models cultural heritage research data and builds upon the NFDIcore ontology." ;
12+
<http://purl.org/dc/terms/license> <https://creativecommons.org/publicdomain/zero/1.0/> ;
13+
<http://purl.org/dc/terms/title> "NFDI4Culture Ontology (CTO)" ;
14+
owl:versionInfo "2025-03-14" .
1515

1616
#################################################################
1717
# Annotation properties

docs/widoco/provenance/provenance-en.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<body>
99
<div class="head">
10-
<h1>Provenance for NFDI4Culture Ontology (CTO) Documentation (https://nfdi4culture.de/ontology/releases/2025-03-14/cto.owl)</h1>
10+
<h1>Provenance for NFDI4Culture Ontology (CTO) Documentation (https://nfdi4culture.de/ontology/cto/cto/releases/2025-03-14/cto.owl)</h1>
1111
<ul>
1212
<li>The ontology documentation was the result of using the <a href="https://github.com/dgarijo/Widoco">Widoco tool</a> (which itself uses <a href="http://www.essepuntato.it/lode/">LODE</a> for generating the crossreference section).</li>
1313
</ul>

0 commit comments

Comments
 (0)