Skip to content

Clear ontology directory TODOs #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 3 additions & 16 deletions case_utils/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,9 @@ case-$(case_version).ttl: \
$(MAKE) \
--directory $(case_srcdir)/tests \
case_monolithic.ttl
#TODO This cleanup step should be removed after the 0.3.0 release of CASE-Utility-SHACL-Inheritance-Reviewer.
test ! -d $(uco_srcdir)/dependencies/CASE-Utility-SHACL-Inheritance-Reviewer/build \
|| rm -rf \
$(uco_srcdir)/dependencies/CASE-Utility-SHACL-Inheritance-Reviewer/build
#TODO This normalization step will not be needed after resolution of ONT-445.
java -jar $(RDF_TOOLKIT_JAR) \
--inline-blank-nodes \
--source $(case_srcdir)/tests/case_monolithic.ttl \
--source-format turtle \
--target _$@ \
--target-format turtle
mv _$@ $@
cp \
$(case_srcdir)/tests/case_monolithic.ttl \
$@

case-$(case_version)-subclasses.ttl: \
case-$(case_version).ttl \
Expand All @@ -59,10 +50,6 @@ case-$(case_version)-subclasses.ttl: \
$(MAKE) \
--directory $(case_srcdir)/tests \
.venv.done.log
#TODO This cleanup step should be removed after the 0.3.0 release of CASE-Utility-SHACL-Inheritance-Reviewer.
test ! -d $(uco_srcdir)/dependencies/CASE-Utility-SHACL-Inheritance-Reviewer/build \
|| rm -rf \
$(uco_srcdir)/dependencies/CASE-Utility-SHACL-Inheritance-Reviewer/build
source $(case_srcdir)/tests/venv/bin/activate \
&& python3 src/subclasses_ttl.py \
__$@ \
Expand Down