Skip to content

Commit

Permalink
Add case_prov_check review, permitting warnings initially
Browse files Browse the repository at this point in the history
This is part of retiring CASE-Examples review from the `case-prov`
repository.

A follow-on patch will regenerate Make-managed files.

References:
* casework/CASE-Implementation-PROV-O#89

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
  • Loading branch information
ajnelson-nist committed Sep 19, 2023
1 parent 7a7c736 commit 08b103f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/postvisit.mk
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ all: \

check: \
check-prov-constraints \
kb-case_prov_check.ttl \
undefined_concepts.txt \
undefined_kindOfRelationships.tsv \
used_concepts.txt \
Expand All @@ -69,6 +70,26 @@ clean:
used_concepts.txt \
used_kindOfRelationships.tsv

# TODO - Update all examples to the point where the --allow-warnings flag can be removed.
kb-case_prov_check.ttl: \
kb-prov-time.ttl
rm -f __$@ _$@
source $(top_srcdir)/venv/bin/activate \
&& case_prov_check \
--allow-warnings \
--format turtle \
kb-prov-time.ttl \
kb.ttl \
> __$@
java -jar $(rdf_toolkit_jar) \
--inline-blank-nodes \
--source __$@ \
--source-format turtle \
--target _$@ \
--target-format turtle
rm __$@
mv _$@ $@

kb-prov-time.ttl: \
kb.ttl
rm -f __$@ _$@
Expand Down

0 comments on commit 08b103f

Please sign in to comment.