summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-04-29 06:25:00 +0200
committerJonas Smedegaard <dr@jones.dk>2024-04-29 06:25:00 +0200
commitbfcf99f825538035d0570c347f4fe2e8dbe505d3 (patch)
treea0aa07d168930545aae518cbf13f4a7a70dadf7d
parent1a4eb72899f774783f3c556a16f84a0990fa9b8d (diff)
use extension ttl (not rdf) for turtle-serialized rdf data, and reuse file for visualization
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cc799bb..97bfd58 100644
--- a/Makefile
+++ b/Makefile
@@ -157,8 +157,8 @@ $(ONTOLOGIES:%=rdf/%-er.svg): rdf/%-er.svg: rdf/%.sdm
$(ONTOLOGIES:%=rdf/%-uml.svg): rdf/%-uml.svg: rdf/%.sdm
sdml draw --diagram uml-class -i $< -f svg -o $@
-$(ONTOLOGIES:%=rdf/%.rdf): rdf/%.rdf: rdf/%.sdm
+$(ONTOLOGIES:%=rdf/%.ttl): rdf/%.ttl: rdf/%.sdm
sdml convert -i $< -f rdf -o $@ --no-color
-$(ONTOLOGIES:%=rdfs-graf-of-%): rdfs-graf-of-%: rdf/%.sdm
- sdml convert -f rdf -i $< --no-color | rdfs2dot | xdot -
+$(ONTOLOGIES:%=rdfs-graf-of-%): rdfs-graf-of-%: rdf/%.ttl
+ rdfs2dot -f turtle $< | xdot -