summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-06-01 11:22:26 +0200
committerJonas Smedegaard <dr@jones.dk>2024-06-04 17:35:42 +0200
commit7f79c2f881b5bd4d627da3d2ef0fc350975d6064 (patch)
treebc946c6c40fb5efa28bee1241bc2d3b374fec318 /Makefile
parentd4f30b185e74fa4467040148b1fb81d3e3618880 (diff)
add ontology bisected
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 282d7d2..e6b0ac4 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ BASE_URI = https://thoughtroam.xn--abcdefghijklmnopqrstuvxyz-0fc0a81c.dk/
ARTICLES = waste worlding
ONTOLOGIES = learn waste
-ONTOLOGIES_LEARN = tentacular
+ONTOLOGIES_LEARN = tentacular bisected
ONTOLOGIES_VERSION = 0.1
GRAPHS = $(patsubst ex/%.ttl,%,$(wildcard ex/*.ttl))
@@ -37,7 +37,7 @@ prepare: $(patsubst %,learn/$(ONTOLOGIES_VERSION)/%.ttl,core $(ONTOLOGIES_LEARN)
learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl
mkdir --parents learn/0.1
perl -gp \
- -e 's,\b$(subst tentacular,learn10tac,$(subst core,learn,$*)):,:,g;' \
+ -e 's,\b$(subst bisected,learn2sect,$(subst tentacular,learn10tac,$(subst core,learn,$*))):,:,g;' \
-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;' \