diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-08-29 17:25:15 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-08-29 17:35:52 +0200 |
commit | cf6c637d93a0330cc2b9fe55c441c5598086cef1 (patch) | |
tree | b7dadb45436cbe28c9817114e740a62c92ee98d8 | |
parent | a5ebf93d7ce59063922ebe16c00baf601839b3bf (diff) |
tighten ontology mangling: stricten owl:import matching
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |