diff --git a/Makefile b/Makefile index c75e83c..506acbf 100644 --- a/Makefile +++ b/Makefile @@ -199,13 +199,13 @@ oarcs-base.owl: oarcs.owl --trim false \ --output $@ -ontologies-merged.ttl: mirror +ontologies-merged.ttl: mirror unmerge.ofn $(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 \ - query --update build-sparql/filter-bad-uri-values.ru \ + unmerge -i unmerge.ofn \ reason -r ELK -D debug.ofn -o $@.owl &&\ - $(RIOT) -q --nocheck --stream=ntriples $@.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 diff --git a/unmerge.ofn b/unmerge.ofn new file mode 100644 index 0000000..9139665 --- /dev/null +++ b/unmerge.ofn @@ -0,0 +1,18 @@ +Prefix(:=) +Prefix(dc:=) +Prefix(go:=) +Prefix(obo:=) +Prefix(owl:=) +Prefix(rdf:=) +Prefix(xml:=) +Prefix(xsd:=) +Prefix(obo1:=) +Prefix(rdfs:=) +Prefix(terms:=) +Prefix(terms2:=) +Prefix(oboInOwl:=) + + +Ontology( +AnnotationAssertion(obo:IAO_0000233 obo:GO_0034512 "- [ ] box C/D RNA 5'-end processing -> box C/D sno(s)RNA 5'-end processing"^^xsd:anyURI) +)