Skip to content

Commit 9299a97

Browse files
committed
adding graph parameter
1 parent 25f52d6 commit 9299a97

File tree

18 files changed

+1826
-5875
lines changed

18 files changed

+1826
-5875
lines changed

Makefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,19 @@ include ontologies.Makefile
2727
all: build_all stage_all
2828
build_all: $(patsubst %, all-%, $(ALL_ONTS))
2929
echo building $(ALL_ONTS)
30+
stats_all: $(patsubst %, statistics/%.statistics.yaml, $(ALL_ONTS))
31+
echo building $(ALL_ONTS)
32+
validate_all: $(patsubst %, validation/%.validate.tsv, $(ALL_ONTS))
33+
echo building $(ALL_ONTS)
3034
stage_all: $(STAGED_ONTOLOGIES)
3135
echo done $(STAGED_ONTOLOGIES)
3236

3337
selected: $(patsubst %,all-%,$(SELECTED_ONTS))
3438

3539
all-%: db/%.db
3640
sqlite3 $< "SELECT COUNT(*) FROM statements"
37-
stage/%.db.gz: db/%.db
38-
gzip -c $< > $@.tmp && mv $@.tmp $@
41+
stage/%.db.gz: STAMP
42+
gzip -c db/$*.db > $@.tmp && mv $@.tmp $@
3943
#stage/%.db.gz:
4044
# gzip -c db/$*.db > [email protected] && mv [email protected] $@
4145
.PRECIOUS: stage/%.db.gz
@@ -102,6 +106,11 @@ db/%.db: db/%.owl
102106
$(RUN) semsql make $@
103107
.PRECIOUS: db/%.db
104108

109+
statistics/%.statistics.yaml: db/%.db
110+
runoak -i $< statistics --group-by-prefix -o $@
111+
112+
validation/%.validate.tsv: db/%.db
113+
runoak -i $< validate -o $@
105114

106115
# ---
107116
# OBO Registry

ddl/obo.sql

Lines changed: 0 additions & 1278 deletions
This file was deleted.

ddl/omo.sql

Lines changed: 0 additions & 1185 deletions
This file was deleted.

ddl/owl.sql

Lines changed: 0 additions & 868 deletions
This file was deleted.

0 commit comments

Comments
 (0)