Skip to content

Commit 660ff4b

Browse files
committed
therealthing and concepts
1 parent 029b820 commit 660ff4b

File tree

9 files changed

+138
-63
lines changed

9 files changed

+138
-63
lines changed

docs/odk-workflows/RepositoryFileStructure.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ These are the current imports in CTO
1818
| ------ | --- | ---- |
1919
| nfdicore | https://raw.githubusercontent.com/ISE-FIZKarlsruhe/nfdicore/main/nfdicore.ttl | mirror |
2020
| schema | https://raw.githubusercontent.com/schemaorg/schemaorg/refs/tags/v28.1-release/data/releases/28.1/schemaorg.owl | custom |
21-
| dcterms | https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_terms.ttl | custom |
2221
| skos | http://www.w3.org/TR/skos-reference/skos.rdf | slme |
2322

2423
## Components

src/ontology/Makefile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# More information: https://github.com/INCATools/ontology-development-kit/
1111

1212
# Fingerprint of the configuration file when this Makefile was last generated
13-
CONFIG_HASH= 54fb155357e1ff9f5d25c7ed13696031762f10d7e18309adf8e52440c1f03d81
13+
CONFIG_HASH= ac6d4d8c5106493b34d9c9853b25ae71f9f7e6a51738c204ad5e22bf3a2cc2bf
1414

1515

1616
# ----------------------------------------
@@ -160,7 +160,7 @@ all_main: $(MAIN_FILES)
160160
# ----------------------------------------
161161

162162

163-
IMPORTS = nfdicore schema dcterms skos
163+
IMPORTS = nfdicore schema skos
164164

165165
IMPORT_ROOTS = $(patsubst %, $(IMPORTDIR)/%_import, $(IMPORTS))
166166
IMPORT_OWL_FILES = $(foreach n,$(IMPORT_ROOTS), $(n).owl)
@@ -379,10 +379,6 @@ $(IMPORTDIR)/nfdicore_import.owl: $(MIRRORDIR)/nfdicore.owl $(IMPORTDIR)/nfdicor
379379

380380
$(IMPORTDIR)/schema_import.owl: $(MIRRORDIR)/schema.owl
381381
echo "ERROR: You have configured your default module type to be custom; this behavior needs to be overwritten in cto.Makefile!" && false
382-
## Module for ontology: dcterms
383-
384-
$(IMPORTDIR)/dcterms_import.owl: $(MIRRORDIR)/dcterms.owl
385-
echo "ERROR: You have configured your default module type to be custom; this behavior needs to be overwritten in cto.Makefile!" && false
386382
## Module for ontology: skos
387383

388384
$(IMPORTDIR)/skos_import.owl: $(MIRRORDIR)/skos.owl $(IMPORTDIR)/skos_terms_combined.txt
@@ -437,13 +433,6 @@ mirror-schema: | $(TMPDIR)
437433
$(ROBOT) convert -I https://raw.githubusercontent.com/schemaorg/schemaorg/refs/tags/v28.1-release/data/releases/28.1/schemaorg.owl -o $(TMPDIR)/$@.owl
438434

439435

440-
## ONTOLOGY: dcterms
441-
.PHONY: mirror-dcterms
442-
.PRECIOUS: $(MIRRORDIR)/dcterms.owl
443-
mirror-dcterms: | $(TMPDIR)
444-
$(ROBOT) convert -I https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_terms.ttl -o $(TMPDIR)/$@.owl
445-
446-
447436
## ONTOLOGY: skos
448437
.PHONY: mirror-skos
449438
.PRECIOUS: $(MIRRORDIR)/skos.owl

src/ontology/catalog-v001.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
<uri name="https://nfdi4culture.de/ontology/cto/imports/schema_import.owl" uri="imports/schema_import.owl"/>
88

9-
<uri name="https://nfdi4culture.de/ontology/cto/imports/dcterms_import.owl" uri="imports/dcterms_import.owl"/>
10-
119
<uri name="https://nfdi4culture.de/ontology/cto/imports/skos_import.owl" uri="imports/skos_import.owl"/>
1210

1311

src/ontology/cto-edit.owl

Lines changed: 87 additions & 21 deletions
Large diffs are not rendered by default.

src/ontology/cto-odk.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ import_group:
2222
# module_type_slme: SUBSET
2323
# slme_individuals: exclude
2424

25-
- id: dcterms
26-
mirror_from: "https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_terms.ttl"
27-
module_type: custom
28-
# module_type: slme
29-
# module_type_slme: SUBSET
30-
# slme_individuals: exclude
31-
3225
- id: skos
3326
mirror_from: "http://www.w3.org/TR/skos-reference/skos.rdf"
3427
# module_type: custom

src/ontology/cto.Makefile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@ $(IMPORTDIR)/schema_import.owl: $(MIRRORDIR)/schema.owl $(IMPORTDIR)/schema_term
1919
query --update ../sparql/inject-subset-declaration.ru --update ../sparql/inject-synonymtype-declaration.ru --update ../sparql/postprocess-module.ru \
2020
$(ANNOTATE_CONVERT_FILE); fi
2121

22-
#################################################################
23-
## import dcterms custom
24-
#################################################################
25-
26-
$(IMPORTDIR)/dcterms_import.owl: $(MIRRORDIR)/dcterms.owl $(IMPORTDIR)/dcterms_terms_combined.txt
27-
if [ $(IMP) = true ]; then $(ROBOT) query -i $< --update ../sparql/preprocess-module.ru \
28-
extract -T $(IMPORTDIR)/dcterms_terms_combined.txt --copy-ontology-annotations true --force true --individuals exclude --method SUBSET \
29-
query --update ../sparql/inject-subset-declaration.ru --update ../sparql/inject-synonymtype-declaration.ru --update ../sparql/postprocess-module.ru \
30-
$(ANNOTATE_CONVERT_FILE); fi
31-
3222
#################################################################
3323
## import skos custom
3424
#################################################################

src/ontology/imports/schema_import.owl

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
1-
Prefix(:=<https://nfdi4culture.de/ontology/imports/schema_import.owl#>)
1+
Prefix(:=<https://nfdi4culture.de/ontology/cto/imports/schema_import.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#>)
77

88

9-
Ontology(<https://nfdi4culture.de/ontology/imports/schema_import.owl>
10-
<https://nfdi4culture.de/ontology/3.0.0/imports/schema_import.owl>
11-
Annotation(owl:versionInfo "3.0.0")
9+
Ontology(<https://nfdi4culture.de/ontology/cto/imports/schema_import.owl>
10+
<https://nfdi4culture.de/ontology/cto/releases/2025-03-28/imports/schema_import.owl>
11+
Annotation(owl:versionInfo "2025-03-28")
1212

1313
Declaration(Class(<https://schema.org/AudioObject>))
14+
Declaration(Class(<https://schema.org/Book>))
1415
Declaration(Class(<https://schema.org/DataFeed>))
1516
Declaration(Class(<https://schema.org/DataFeedItem>))
1617
Declaration(Class(<https://schema.org/ImageObject>))
18+
Declaration(Class(<https://schema.org/LandmarksOrHistoricalBuildings>))
1719
Declaration(Class(<https://schema.org/MediaObject>))
20+
Declaration(Class(<https://schema.org/Sculpture>))
21+
Declaration(Class(<https://schema.org/SheetMusic>))
22+
Declaration(Class(<https://schema.org/TheaterEvent>))
1823
Declaration(ObjectProperty(<https://schema.org/associatedMedia>))
1924
Declaration(ObjectProperty(<https://schema.org/dataFeedElement>))
2025
Declaration(ObjectProperty(<https://schema.org/item>))
@@ -64,6 +69,12 @@ AnnotationAssertion(rdfs:isDefinedBy <https://schema.org/AudioObject> <https://s
6469
AnnotationAssertion(rdfs:label <https://schema.org/AudioObject> "AudioObject"@en)
6570
SubClassOf(<https://schema.org/AudioObject> <https://schema.org/MediaObject>)
6671

72+
# Class: <https://schema.org/Book> (Book)
73+
74+
AnnotationAssertion(rdfs:comment <https://schema.org/Book> "A book."@en)
75+
AnnotationAssertion(rdfs:isDefinedBy <https://schema.org/Book> <https://schema.org/Book>)
76+
AnnotationAssertion(rdfs:label <https://schema.org/Book> "Book"@en)
77+
6778
# Class: <https://schema.org/DataFeed> (DataFeed)
6879

6980
AnnotationAssertion(rdfs:comment <https://schema.org/DataFeed> "A single feed providing structured information about one or more entities or topics."@en)
@@ -83,11 +94,35 @@ AnnotationAssertion(rdfs:isDefinedBy <https://schema.org/ImageObject> <https://s
8394
AnnotationAssertion(rdfs:label <https://schema.org/ImageObject> "ImageObject"@en)
8495
SubClassOf(<https://schema.org/ImageObject> <https://schema.org/MediaObject>)
8596

97+
# Class: <https://schema.org/LandmarksOrHistoricalBuildings> (LandmarksOrHistoricalBuildings)
98+
99+
AnnotationAssertion(rdfs:comment <https://schema.org/LandmarksOrHistoricalBuildings> "An historical landmark or building."@en)
100+
AnnotationAssertion(rdfs:isDefinedBy <https://schema.org/LandmarksOrHistoricalBuildings> <https://schema.org/LandmarksOrHistoricalBuildings>)
101+
AnnotationAssertion(rdfs:label <https://schema.org/LandmarksOrHistoricalBuildings> "LandmarksOrHistoricalBuildings"@en)
102+
86103
# Class: <https://schema.org/MediaObject> (MediaObject)
87104

88105
AnnotationAssertion(rdfs:comment <https://schema.org/MediaObject> "A media object, such as an image, video, audio, or text object embedded in a web page or a downloadable dataset i.e. DataDownload. Note that a creative work may have many media objects associated with it on the same web page. For example, a page about a single song (MusicRecording) may have a music video (VideoObject), and a high and low bandwidth audio stream (2 AudioObject's)."@en)
89106
AnnotationAssertion(rdfs:isDefinedBy <https://schema.org/MediaObject> <https://schema.org/MediaObject>)
90107
AnnotationAssertion(rdfs:label <https://schema.org/MediaObject> "MediaObject"@en)
91108

109+
# Class: <https://schema.org/Sculpture> (Sculpture)
110+
111+
AnnotationAssertion(rdfs:comment <https://schema.org/Sculpture> "A piece of sculpture."@en)
112+
AnnotationAssertion(rdfs:isDefinedBy <https://schema.org/Sculpture> <https://schema.org/Sculpture>)
113+
AnnotationAssertion(rdfs:label <https://schema.org/Sculpture> "Sculpture"@en)
114+
115+
# Class: <https://schema.org/SheetMusic> (SheetMusic)
116+
117+
AnnotationAssertion(rdfs:comment <https://schema.org/SheetMusic> "Printed music, as opposed to performed or recorded music."@en)
118+
AnnotationAssertion(rdfs:isDefinedBy <https://schema.org/SheetMusic> <https://pending.schema.org/SheetMusic>)
119+
AnnotationAssertion(rdfs:label <https://schema.org/SheetMusic> "SheetMusic"@en)
120+
121+
# Class: <https://schema.org/TheaterEvent> (TheaterEvent)
122+
123+
AnnotationAssertion(rdfs:comment <https://schema.org/TheaterEvent> "Event type: Theater performance."@en)
124+
AnnotationAssertion(rdfs:isDefinedBy <https://schema.org/TheaterEvent> <https://schema.org/TheaterEvent>)
125+
AnnotationAssertion(rdfs:label <https://schema.org/TheaterEvent> "TheaterEvent"@en)
126+
92127

93128
)

src/ontology/imports/schema_terms.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ https://schema.org/AudioObject
88
https://schema.org/license
99
https://schema.org/dateCreated
1010
https://schema.org/dateModified
11-
https://schema.org/associatedMedia
11+
https://schema.org/associatedMedia
12+
https://schema.org/Sculpture
13+
https://schema.org/TheaterEvent
14+
https://schema.org/Book
15+
https://schema.org/LandmarksOrHistoricalBuildings
16+
https://schema.org/SheetMusic

src/ontology/imports/skos_import.owl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
Prefix(:=<https://nfdi4culture.de/ontology/imports/skos_import.owl#>)
1+
Prefix(:=<https://nfdi4culture.de/ontology/cto/imports/skos_import.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#>)
77

88

9-
Ontology(<https://nfdi4culture.de/ontology/imports/skos_import.owl>
10-
<https://nfdi4culture.de/ontology/3.0.0/imports/skos_import.owl>
11-
Annotation(owl:versionInfo "3.0.0")
9+
Ontology(<https://nfdi4culture.de/ontology/cto/imports/skos_import.owl>
10+
<https://nfdi4culture.de/ontology/cto/releases/2025-03-28/imports/skos_import.owl>
11+
Annotation(owl:versionInfo "2025-03-28")
1212

1313
Declaration(Class(<http://www.w3.org/2004/02/skos/core#Concept>))
1414
Declaration(AnnotationProperty(<http://purl.org/dc/terms/contributor>))

0 commit comments

Comments
 (0)