aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 35f97aa..7089f8b 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl
-e 's,\Q$(BASE_URI)stub/foaf#,http://xmlns.com/foaf/0.1/,g;' \
-e 's,\Q$(BASE_URI)stub/doap#,http://usefulinc.com/ns/doap#,g;' \
-e 's,purl\.org/learn/\K(?=[^\d]),$(ONTOLOGIES_VERSION)/,g;' \
- -e 's,\n\s*owl:imports\s[^\n]+;(?=\n),,g;' \
+ -e 's/\n\h+owl:imports <[^>]+> ;//g;' \
< $< > $@
learn/%_sdm.qmd: learn/$(ONTOLOGIES_VERSION)/%.ttl