aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b033a9..0150d0b 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,7 @@ learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl
-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+ |\t)(\S+) (?:[^\s"]+) \K(?:,\s+|;\n\t\1 )([^\s"]+) ;/, $$2 ;/gm;' \
-e 's/\s+$$/\n/;' \
< $< > $@