Skip to content

Commit 01dd10a

Browse files
ODK: Update repository configuration (make update_repo)
1 parent 18cc71c commit 01dd10a

6 files changed

Lines changed: 65 additions & 2 deletions

File tree

src/ontology/Makefile

Lines changed: 23 additions & 2 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= f6b6373a03fd447b43afd97211c2e30d5767a0491b3c06e49e1d4a253d3dad81
13+
CONFIG_HASH= 271e25fe84944489cd730d77d6260c3065fdef73b5172242dbebab08467f43f9
1414

1515

1616
# ----------------------------------------
@@ -188,7 +188,7 @@ all_main: $(MAIN_FILES)
188188
# ----------------------------------------
189189

190190

191-
IMPORTS = pmdco logo tto
191+
IMPORTS = pmdco logo tto uo cryo qudt
192192

193193
IMPORT_ROOTS = $(patsubst %, $(IMPORTDIR)/%_import, $(IMPORTS))
194194
IMPORT_OWL_FILES = $(foreach n,$(IMPORT_ROOTS), $(n).owl)
@@ -516,6 +516,27 @@ mirror-tto: | $(TMPDIR)
516516
$(ROBOT) convert -I https://raw.githubusercontent.com/materialdigital/tensile-test-ontology/refs/heads/main/tto-base.owl -o $(TMPDIR)/$@.owl
517517

518518

519+
## ONTOLOGY: uo
520+
.PHONY: mirror-uo
521+
.PRECIOUS: $(MIRRORDIR)/uo.owl
522+
mirror-uo: | $(TMPDIR)
523+
$(ROBOT) convert -I https://raw.githubusercontent.com/bio-ontology-research-group/unit-ontology/refs/heads/master/uo-full.owl -o $(TMPDIR)/$@.owl
524+
525+
526+
## ONTOLOGY: cryo
527+
.PHONY: mirror-cryo
528+
.PRECIOUS: $(MIRRORDIR)/cryo.owl
529+
mirror-cryo: | $(TMPDIR)
530+
$(ROBOT) convert -I https://raw.githubusercontent.com/cmllezr/crystallography-subdomain-ontology/refs/heads/main/cryo-full.owl -o $(TMPDIR)/$@.owl
531+
532+
533+
## ONTOLOGY: qudt
534+
.PHONY: mirror-qudt
535+
.PRECIOUS: $(MIRRORDIR)/qudt.owl
536+
mirror-qudt: | $(TMPDIR)
537+
$(ROBOT) convert -I https://qudt.org/qudt-all -o $(TMPDIR)/$@.owl
538+
539+
519540
$(MIRRORDIR)/%.owl: mirror-% | $(MIRRORDIR)
520541
if [ -f $(TMPDIR)/mirror-$*.owl ]; then if cmp -s $(TMPDIR)/mirror-$*.owl $@ ; then echo "Mirror identical, ignoring."; else echo "Mirrors different, updating." &&\
521542
cp $(TMPDIR)/mirror-$*.owl $@; fi; fi

src/ontology/catalog-v001.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<uri name="https://w3id.org/pmd/microstructure/imports/pmdco_import.owl" uri="imports/pmdco_import.owl" />
55
<uri name="https://w3id.org/pmd/microstructure/imports/logo_import.owl" uri="imports/logo_import.owl" />
66
<uri name="https://w3id.org/pmd/microstructure/imports/tto_import.owl" uri="imports/tto_import.owl" />
7+
<uri name="https://w3id.org/pmd/microstructure/imports/uo_import.owl" uri="imports/uo_import.owl" />
8+
<uri name="https://w3id.org/pmd/microstructure/imports/cryo_import.owl" uri="imports/cryo_import.owl" />
9+
<uri name="https://w3id.org/pmd/microstructure/imports/qudt_import.owl" uri="imports/qudt_import.owl" />
710
<uri name="https://w3id.org/pmd/microstructure/components/imports-edit.owl" uri="components/imports-edit.owl" />
811
<uri name="https://w3id.org/pmd/microstructure/components/microstructure-shared.owl" uri="components/microstructure-shared.owl" />
912
<uri name="https://w3id.org/pmd/microstructure/components/microstructure-axioms-shared.owl" uri="components/microstructure-axioms-shared.owl" />
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Prefix(:=<https://w3id.org/pmd/microstructure/imports/cryo_import.owl>)
2+
Prefix(obo:=<http://purl.obolibrary.org/obo/>)
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(oboInOwl:=<http://www.geneontology.org/formats/oboInOwl#>)
9+
10+
Ontology(<https://w3id.org/pmd/microstructure/imports/cryo_import.owl>
11+
# This is a placeholder, it will be regenerated when makefile is first executed.
12+
)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Prefix(:=<https://w3id.org/pmd/microstructure/imports/qudt_import.owl>)
2+
Prefix(obo:=<http://purl.obolibrary.org/obo/>)
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(oboInOwl:=<http://www.geneontology.org/formats/oboInOwl#>)
9+
10+
Ontology(<https://w3id.org/pmd/microstructure/imports/qudt_import.owl>
11+
# This is a placeholder, it will be regenerated when makefile is first executed.
12+
)

src/ontology/imports/uo_import.owl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Prefix(:=<https://w3id.org/pmd/microstructure/imports/uo_import.owl>)
2+
Prefix(obo:=<http://purl.obolibrary.org/obo/>)
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(oboInOwl:=<http://www.geneontology.org/formats/oboInOwl#>)
9+
10+
Ontology(<https://w3id.org/pmd/microstructure/imports/uo_import.owl>
11+
# This is a placeholder, it will be regenerated when makefile is first executed.
12+
)

src/ontology/microstructure-edit.owl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ Import(<https://w3id.org/pmd/microstructure/components/microstructure-defects.ow
1818
Import(<https://w3id.org/pmd/microstructure/components/microstructure-microscopy.owl>)
1919
Import(<https://w3id.org/pmd/microstructure/components/microstructure-phases.owl>)
2020
Import(<https://w3id.org/pmd/microstructure/components/microstructure-shared.owl>)
21+
Import(<https://w3id.org/pmd/microstructure/imports/cryo_import.owl>)
2122
Import(<https://w3id.org/pmd/microstructure/imports/logo_import.owl>)
2223
Import(<https://w3id.org/pmd/microstructure/imports/pmdco_import.owl>)
24+
Import(<https://w3id.org/pmd/microstructure/imports/qudt_import.owl>)
2325
Import(<https://w3id.org/pmd/microstructure/imports/tto_import.owl>)
26+
Import(<https://w3id.org/pmd/microstructure/imports/uo_import.owl>)
2427
Annotation(dcterms:description "PMD Core application ontology generated via ODK Template.
2528
")
2629
Annotation(dcterms:license <https://w3id.org/pmd/microstructure.owl#CC-BY-4.0>)

0 commit comments

Comments
 (0)