Skip to content

Commit ed9ca32

Browse files
authored
Merge pull request #52 from INCATools/more-sources
Additional sources
2 parents 77fd485 + 9ff0016 commit ed9ca32

9 files changed

Lines changed: 73 additions & 328 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ tmp/
2828
.template.db
2929
./owl/
3030
reports/
31+
db/
32+
notesbooks/*.db

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ db/phenio.owl:
138138
db/bero.owl:
139139
curl -L -s https://github.com/berkeleybop/bero/releases/download/2022-05-26/bero.owl > $@.tmp && mv $@.tmp $@
140140

141+
db/aio.owl:
142+
curl -L -s https://raw.githubusercontent.com/berkeleybop/artificial-intelligence-ontology/main/aio.owl > $@.tmp && mv $@.tmp $@
143+
141144
db/reacto.owl:
142145
curl -L -s http://purl.obolibrary.org/obo/go/extensions/reacto.owl > $@.tmp && mv $@.tmp $@
143146

@@ -147,6 +150,9 @@ db/go-lego.owl:
147150
db/bao.owl:
148151
robot merge -I http://www.bioassayontology.org/bao/bao_complete.owl -o $@
149152

153+
db/biolink.owl:
154+
robot merge -I https://w3id.org/biolink/biolink-model.owl.ttl -o $@
155+
150156
# https://github.com/ontodev/rdftab.rs/issues/21
151157
db/biopax.owl:
152158
robot convert -I http://www.biopax.org/release/biopax-level3.owl -o $@

attic/prefixes/prefix.sql

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

attic/prefixes/prefixes.csv

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

attic/prefixes/prefixes_curated.csv

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

install.Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# ---
2+
### RDFTab
3+
# ---
4+
# from https://github.com/obi-ontology/obi/blob/master/Makefile#L49
5+
#
6+
# Use RDFTab to create SQLite databases from OWL files.
7+
UNAME := $(shell uname)
8+
ifeq ($(UNAME), Darwin)
9+
RDFTAB_URL := https://github.com/ontodev/rdftab.rs/releases/download/v0.1.1/rdftab-x86_64-apple-darwin
10+
SED = sed -i.bak
11+
else
12+
RDFTAB_URL := https://github.com/ontodev/rdftab.rs/releases/download/v0.1.1/rdftab-x86_64-unknown-linux-musl
13+
SED = sed -i
14+
endif
15+
16+
bin/rdftab:
17+
curl -L -o $@ $(RDFTAB_URL)
18+
chmod +x $@
19+
20+
RG_VERSION=2.2.0
21+
bin/relation-graph:
22+
curl -L -s https://github.com/balhoff/relation-graph/releases/download/v$(RG_VERSION)/relation-graph-cli-$(RG_VERSION).tgz | tar -zxv && mv relation-graph-cli-$(RG_VERSION) relation-graph && (cd bin && ln -s ../relation-graph/bin/relation-graph)
23+

0 commit comments

Comments
 (0)