Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
biolink-model 4.0.0 has a significant repo refactoring component, which moves the location of both the owl.ttl file and the prefix map.  This
  • Loading branch information
sierra-moxon authored Nov 29, 2023
1 parent a7721bb commit 8aac3b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARQ=$(JVM_ARGS) arq

SCALA_RUN=$(JAVA_ENV) COURSIER_CACHE=/workspace/coursier-cache scala-cli run --server=false

BIOLINK=v3.4.3
BIOLINK=v4.0.0

owlrl-datalog:
git clone https://github.com/balhoff/owlrl-datalog.git
Expand Down Expand Up @@ -116,15 +116,15 @@ inferred.csv: quad.facts ontology.dir owlrl-datalog/bin/owl_rl_abox_quads

# Step 12. Download the Biolink model.
biolink-model.owl.ttl:
curl -L -O 'https://raw.githubusercontent.com/biolink/biolink-model/$(BIOLINK)/biolink-model.owl.ttl'
curl -L -O 'https://raw.githubusercontent.com/biolink/biolink-model/$(BIOLINK)/project/owl/biolink_model.owl.ttl'

# Step 13. Convert Biolink model into an n-triples file.
biolink.facts: biolink-model.owl.ttl
riot -q --syntax=turtle --output=ntriples $< | sed 's/ /\t/' | sed 's/ /\t/' | sed 's/ \.$$//' >$@

# Step 14. Download the Biolink Model prefix map.
biolink-model-prefix-map.json:
curl -L -O 'https://raw.githubusercontent.com/biolink/biolink-model/$(BIOLINK)/prefix-map/biolink-model-prefix-map.json'
curl -L -O 'https://raw.githubusercontent.com/biolink/biolink-model/$(BIOLINK)/project/prefixmap/biolink_model_prefix_map.json'

# Step 15. Load all the data and ontologies.
# - ./scripts/kg_edges: compiled from ./scripts/kg_edges.dl with Souffle (see above).
Expand Down

0 comments on commit 8aac3b1

Please sign in to comment.