From 5b0a23c623a2e8d2f1483baa13cfedb844945562 Mon Sep 17 00:00:00 2001 From: Jim Balhoff Date: Thu, 3 Aug 2023 13:40:22 -0400 Subject: [PATCH] Output to RDF/XML and convert to Turtle using riot. (#128) --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 74a9c6f..612c683 100644 --- a/Makefile +++ b/Makefile @@ -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