Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download don't build released envo.db #31

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions data-vs-ontology-reports.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,17 @@ data-vs-ontology-reports/report-class-ids.tsv: downloads/envo.owl
--input $< \
--query $(subst .tsv,.rq,$(subst data-vs-ontology-reports,data-vs-ontology-sparql,$@)) $@

# requires a newer version of relation-graph from the rest of this repo?! Like 2+
# sbt is required for building relation-graph
# requires sqlite. ubuntu calls sqlite3 sqlite3 and an alisa/link is required
# requires robot
# building rdftab.rs requires rustup
downloads/envo.db: downloads/envo.owl
@echo "Converting..."
cd $(dir $@) ; $(RUN) semsql make $(notdir $@)

## requires relation-graph 2+, but the ontology build requires ~ 1.2
## sbt is required for building relation-graph
## requires sqlite. ubuntu calls sqlite3 'sqlite3' (not 'sqlite') and an alias/link is required
## requires robot
## building rdftab.rs requires rustup
#downloads/envo.db: downloads/envo.owl
# @echo "Converting..."
# cd $(dir $@) ; $(RUN) semsql make $(notdir $@)

downloads/envo.db:
poetry run semsql download envo -o $@

downloads/envo-idranges.owl.omn:
@echo "Downloading..."
Expand Down
Loading