aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8aa5a31..6b033a9 100644
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,8 @@ learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl
-e 's,purl\.org/learn/\K(?=[^\d]),$(ONTOLOGIES_VERSION)/,g;' \
-e 's/\n\h+owl:imports <[^>]+> ;//g;' \
-e 's/(?:\G|^)\s{4}/\t/gm;' \
+ -e 's/^\S+\K\s+rdf:type\s+/ a /gm;' \
+ -e 's/^\t\Krdf:type /a /gm;' \
-e 's/\s+$$/\n/;' \
< $< > $@