From bfcf99f825538035d0570c347f4fe2e8dbe505d3 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 29 Apr 2024 06:25:00 +0200 Subject: use extension ttl (not rdf) for turtle-serialized rdf data, and reuse file for visualization --- Makefile | 6 +++--- 1 file 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 - -- cgit v1.2.3