Skip to content

Commit

Permalink
Output to RDF/XML and convert to Turtle using riot.
Browse files Browse the repository at this point in the history
  • Loading branch information
balhoff committed Aug 3, 2023
1 parent 4b53fef commit 96e25a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,13 @@ oarcs-base.owl: oarcs.owl
--trim false \
--output $@

# Passing through RDF/XML to riot is due to https://github.com/INCATools/ubergraph/issues/126
ontologies-merged.ttl: mirror
$(ROBOT) merge $(addprefix -i mirror/,$(shell ls mirror)) \
remove --axioms 'disjoint' --trim true --preserve-structure false \
remove --term 'owl:Nothing' --trim true --preserve-structure false \
reason -r ELK -D debug.ofn -o $@
reason -r ELK -D debug.ofn -o $@.owl &&\
riot -q --nocheck --output=turtle $@.owl >$@

ontologies-merged.ofn.gz: ontologies-merged.ttl
$(ROBOT) convert -i $< -o ontologies-merged.ofn && gzip ontologies-merged.ofn
Expand Down

0 comments on commit 96e25a0

Please sign in to comment.