Skip to content

Commit ce30107

Browse files
author
Paul Brandt
authored
Merge pull request #46 from casework/release-0.3.0
Release 0.3.0
2 parents 96200bf + 9331d25 commit ce30107

File tree

13 files changed

+380
-41
lines changed

13 files changed

+380
-41
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This software was developed at the National Institute of Standards
2+
# and Technology by employees of the Federal Government in the course
3+
# of their official duties. Pursuant to title 17 Section 105 of the
4+
# United States Code this software is not subject to copyright
5+
# protection and is in the public domain. NIST assumes no
6+
# responsibility whatsoever for its use by other parties, and makes
7+
# no guarantees, expressed or implied, about its quality,
8+
# reliability, or any other characteristic.
9+
#
10+
# We would appreciate acknowledgement if the software is used.
11+
12+
# This workflow uses Make to confirm ontology files have been
13+
# normalized according to the procedures in NORMALIZE.md.
14+
15+
name: Continuous Integration
16+
17+
on:
18+
push:
19+
branches: [ master, develop ]
20+
pull_request:
21+
branches: [ master, develop ]
22+
23+
jobs:
24+
build:
25+
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- uses: actions/checkout@v2
30+
- name: Start from clean state
31+
run: make clean
32+
- name: Run tests
33+
run: make check

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
*.pyc
22
*.pyo
33

4+
# Unit testing files
5+
.lib.done.log
6+
.*.ttl
47

58
# Pycharm files
69
.idea
710

811
# Protege files
912
catalog-v001.xml
10-
.project
13+
.project

ChangeLog

Lines changed: 40 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,56 @@
1+
2021-03-18
2+
* ONT-362: Release CASE 0.3.0, with release notes at https://caseontology.org/releases/0.3.0/
3+
4+
2021-03-18
5+
* (22b313d) ONT-413, CP-25: Defined and used prefixes for imported concepts (new feature)
6+
* CP-25: https://drive.google.com/file/d/1HUeY8AHxsnukP0sFOvsPQZRuyNbqcf6n/view
7+
8+
2021-03-17
9+
* (f754fd4) ONT-379, CP-18: Updated and improve Investigation namespace class definition comments for clarity and consistency (new feature)
10+
* CP-18: https://drive.google.com/file/d/1AmVX6x2ZORr2-h2OIXug2PiptYaHcvuh/view
11+
12+
2021-03-16
13+
* (a8209d7) ONT-363, CP-15: Removed intermediate role classes (breaking change)
14+
* CP-15: https://drive.google.com/file/d/1PLcPA3TSDqt7wX84SYlezC1thK_Sznrc/view
15+
* (b515a81) ONT-251, CP-16: Established unit tests and Continuous Integration for ontology repository (new feature)
16+
* CP-16: https://drive.google.com/file/d/1622v5k7fXo2fjDs_EzfhbTyvWIjDBZv-/view
17+
118
2020-08-19
219
* ONT-293: Release CASE 0.2.0, with release notes at https://caseontology.org/releases/0.2.0/
320

421
2020-08-13
5-
* (19b698a) ONT-314: Removed documentation generated for CASE 0.1.0 (breaking change)
6-
* (1d9b468) ONT-140: Linked Style Guidance as development practice (new feature)
7-
* (965f5e4) ONT-231: Resolved naming inconsistency and associated equivalent class complexity (breaking change)
22+
* (19b698a) ONT-314, CP-12: Removed documentation generated for CASE 0.1.0 (breaking change)
23+
* CP-12: https://drive.google.com/file/d/1LE2P12w66TjIFVah567gyKbYWYkZziP5/view
24+
* (1d9b468) ONT-140, CP-6: Linked Style Guidance as development practice (new feature)
25+
* CP-6: https://drive.google.com/file/d/1jlCFCuL4BDojJOsIzR8asJjf-lAp8uLd/view
26+
* (965f5e4) ONT-231, CP-10: Resolved naming inconsistency and associated equivalent class complexity (breaking change)
27+
* CP-10: https://drive.google.com/file/d/1lut9Km0rYp2Iaftz7m0f4u50R4YD60F6/view
828

929
2020-08-12
10-
* (12a081a) ONT-318: Updated ontology README to reflect website and Jira (bugfix)
11-
* (cd8b27f) ONT-281: Moved investigation.ttl and related vocabulary into CASE from UCO (new feature)
12-
* (fe7f069) ONT-288: ChangeLog format selected (new feature)
30+
* (12a081a) ONT-318, CP-13: Updated ontology README to reflect website and Jira (bugfix)
31+
* CP-13: https://drive.google.com/file/d/1fJoDjMjfbaXw0BWKKZ_9mK-gZzoJpgFS/view
32+
* (cd8b27f) ONT-281, CP-9: Moved investigation.ttl and related vocabulary into CASE from UCO (new feature)
33+
* CP-9: https://drive.google.com/file/d/1TNL7NtkSy4Veo1eObJGCmMGvmmxqeCJB/view
34+
* (fe7f069) ONT-288, CP-11: ChangeLog format selected (new feature)
35+
* CP-11: https://drive.google.com/file/d/1zWjQ_uhhVxEjkqS2mrcabT4tNh8s0JQx/view
1336

1437
2020-07-29
15-
* (07e6c12) ONT-144: Moved examples directory to own repository, CASE-Examples (new feature, breaking change)
38+
* (07e6c12) ONT-144, CP-7: Moved examples directory to own repository, CASE-Examples (new feature, breaking change)
39+
* CP-7: https://drive.google.com/file/d/1DiLxBTQYt0FQSdjn3mX6RabhqK9QbiDo/view
1640

1741
2020-06-16
18-
* (2fed9a5) ONT-5: Established ontology normalization procedure (new feature)
42+
* (2fed9a5) ONT-5, CP-3: Established ontology normalization procedure (new feature)
43+
* CP-3: https://caseontology.org/resources/references/CASE%20Change%20Proposal%203.zip
1944

2045
2020-04-01
21-
* (5c2a19b) ONT-201: Renamed "propertyBundle" to "hasPropertyBundle", per CASE Style Guide
46+
* (5c2a19b) ONT-201, CP-8: Renamed "propertyBundle" to "hasPropertyBundle", per CASE Style Guide
47+
* CP-8: https://caseontology.org/resources/references/CASE%20Change%20Proposal%208.zip
2248

2349
2019-08-06
24-
* (ca5ca15) ONT-51: Separated CASE ontology files by namespace (breaking change)
50+
* (ca5ca15) ONT-51, CP-4: Separated CASE ontology files by namespace (breaking change)
2551

2652
2019-07-13
27-
* (93b40ac) ONT-51: Removed prototype contents of case.ttl file (breaking change)
28-
* (93b40ac) ONT-53: Changed namespace to caseontology.org (new feature, breaking change)
53+
* (93b40ac) ONT-51, CP-4: Removed prototype contents of case.ttl file (breaking change)
54+
* CP-4: https://drive.google.com/file/d/1CE9sfrc-czegRX15Q5xeqaffAfAH06ov/view
55+
* (93b40ac) ONT-53, CP-2: Changed namespace to caseontology.org (new feature, breaking change)
56+
* CP-2: https://drive.google.com/file/d/1_J3994JiPA5PMIHfno9x-NeXKaHFVCrJ/view

Makefile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/usr/bin/make -f
2+
3+
# This software was developed at the National Institute of Standards
4+
# and Technology by employees of the Federal Government in the course
5+
# of their official duties. Pursuant to title 17 Section 105 of the
6+
# United States Code this software is not subject to copyright
7+
# protection and is in the public domain. NIST assumes no
8+
# responsibility whatsoever for its use by other parties, and makes
9+
# no guarantees, expressed or implied, about its quality,
10+
# reliability, or any other characteristic.
11+
#
12+
# We would appreciate acknowledgement if the software is used.
13+
14+
all:
15+
16+
.lib.done.log:
17+
$(MAKE) \
18+
--directory lib
19+
touch $@
20+
21+
check: \
22+
.lib.done.log
23+
$(MAKE) \
24+
--directory ontology \
25+
check
26+
27+
clean:
28+
@rm -f .lib.done.log
29+
@$(MAKE) \
30+
--directory ontology \
31+
clean

lib/.gitignore

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

lib/Makefile

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#!/usr/bin/make -f
2+
3+
# This software was developed at the National Institute of Standards
4+
# and Technology by employees of the Federal Government in the course
5+
# of their official duties. Pursuant to title 17 Section 105 of the
6+
# United States Code this software is not subject to copyright
7+
# protection and is in the public domain. NIST assumes no
8+
# responsibility whatsoever for its use by other parties, and makes
9+
# no guarantees, expressed or implied, about its quality,
10+
# reliability, or any other characteristic.
11+
#
12+
# We would appreciate acknowledgement if the software is used.
13+
14+
SHELL := /bin/bash
15+
16+
all: \
17+
rdf-toolkit.jar
18+
19+
# Downloading rdf-toolkit was previously done following the directions
20+
# at:
21+
# https://github.com/edmcouncil/rdf-toolkit
22+
# However, on the file becoming temporarily unavailable, CASE has placed
23+
# a verified copy at a custom location, as a fallback for an alternative
24+
# retrieval from an EDM Council member's repository.
25+
# The checksum of the original file from EDM Council's build server is
26+
# confirmed before moving file into position. (This practice will
27+
# probably require frequent updates, unless a signed checksum for the
28+
# jar can be retrieved somehow.)
29+
# In case there are concerns on potentially multiple writes to the same
30+
# file, the documentation for wget's "--output-document file" flag notes
31+
# that "... file will be truncated immediately, and all downloaded
32+
# content will be written there."
33+
rdf-toolkit.jar:
34+
test -r rdf-toolkit.jar.sha512
35+
# Try retrieval from Github, then from files.caseontology.org.
36+
wget \
37+
--output-document $@_ \
38+
https://github.com/trypuz/openfibo/blob/1f9ab415e8ebd131eadcc9b0fc46241adeeb0384/etc/serialization/rdf-toolkit.jar?raw=true \
39+
|| wget \
40+
--output-document $@_ \
41+
http://files.caseontology.org/rdf-toolkit.jar
42+
test \
43+
"x$$(openssl dgst -sha512 $@_ | awk '{print($$NF)}')" \
44+
== \
45+
"x$$(head -n1 rdf-toolkit.jar.sha512)"
46+
mv $@_ $@

lib/rdf-toolkit.jar.sha512

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24890b4aa484a46803841fbe5938daf60bf2d0889c0e231102c033d71cb84a2bfa8b44419df3ad896d833609afddd4b3910d2ce28660b3350cca22bea0770dad

ontology/Makefile

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
#!/usr/bin/make -f
2+
3+
# This software was developed at the National Institute of Standards
4+
# and Technology by employees of the Federal Government in the course
5+
# of their official duties. Pursuant to title 17 Section 105 of the
6+
# United States Code this software is not subject to copyright
7+
# protection and is in the public domain. NIST assumes no
8+
# responsibility whatsoever for its use by other parties, and makes
9+
# no guarantees, expressed or implied, about its quality,
10+
# reliability, or any other characteristic.
11+
#
12+
# We would appreciate acknowledgement if the software is used.
13+
14+
all:
15+
16+
top_srcdir := ..
17+
18+
.PHONY: \
19+
check-investigation \
20+
check-master \
21+
check-vocabulary \
22+
clean-investigation \
23+
clean-master \
24+
clean-vocabulary
25+
26+
check: \
27+
check-master \
28+
check-investigation \
29+
check-vocabulary
30+
31+
check-investigation: \
32+
$(top_srcdir)/.lib.done.log
33+
$(MAKE) \
34+
--directory investigation \
35+
check
36+
37+
check-master: \
38+
$(top_srcdir)/.lib.done.log
39+
$(MAKE) \
40+
--directory master \
41+
check
42+
43+
check-vocabulary: \
44+
$(top_srcdir)/.lib.done.log
45+
$(MAKE) \
46+
--directory vocabulary \
47+
check
48+
49+
clean: \
50+
clean-investigation \
51+
clean-master \
52+
clean-vocabulary
53+
54+
clean-investigation:
55+
@$(MAKE) \
56+
--directory investigation \
57+
clean
58+
59+
clean-master:
60+
@$(MAKE) \
61+
--directory master \
62+
clean
63+
64+
clean-vocabulary:
65+
@$(MAKE) \
66+
--directory vocabulary \
67+
clean

ontology/investigation/Makefile

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
#!/usr/bin/make -f
2+
3+
# This software was developed at the National Institute of Standards
4+
# and Technology by employees of the Federal Government in the course
5+
# of their official duties. Pursuant to title 17 Section 105 of the
6+
# United States Code this software is not subject to copyright
7+
# protection and is in the public domain. NIST assumes no
8+
# responsibility whatsoever for its use by other parties, and makes
9+
# no guarantees, expressed or implied, about its quality,
10+
# reliability, or any other characteristic.
11+
#
12+
# We would appreciate acknowledgement if the software is used.
13+
14+
top_srcdir := ../..
15+
16+
all:
17+
18+
.check-investigation.ttl: \
19+
$(top_srcdir)/.lib.done.log \
20+
investigation.ttl
21+
java -jar $(top_srcdir)/lib/rdf-toolkit.jar \
22+
--infer-base-iri \
23+
--inline-blank-nodes \
24+
--source investigation.ttl \
25+
--source-format turtle \
26+
--target _$@ \
27+
--target-format turtle
28+
mv _$@ $@
29+
30+
.check-investigation-da.ttl: \
31+
$(top_srcdir)/.lib.done.log \
32+
investigation-da.ttl
33+
java -jar $(top_srcdir)/lib/rdf-toolkit.jar \
34+
--infer-base-iri \
35+
--inline-blank-nodes \
36+
--source investigation-da.ttl \
37+
--source-format turtle \
38+
--target _$@ \
39+
--target-format turtle
40+
mv _$@ $@
41+
42+
check: \
43+
.check-investigation.ttl \
44+
.check-investigation-da.ttl
45+
diff investigation.ttl .check-investigation.ttl
46+
diff investigation-da.ttl .check-investigation-da.ttl
47+
48+
clean:
49+
@rm -f \
50+
.check-*.ttl \
51+
_*

0 commit comments

Comments
 (0)