From bd43eb53dcd0a3318d397aec2873f6ef5977e353 Mon Sep 17 00:00:00 2001 From: Huseyin Kir <73784267+hkir-dev@users.noreply.github.com> Date: Mon, 25 Sep 2023 15:20:07 +0100 Subject: [PATCH] Create hbao.yml Human Brain Atlas Ontology Purl --- config/ontology/hbao.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 config/ontology/hbao.yml diff --git a/config/ontology/hbao.yml b/config/ontology/hbao.yml new file mode 100644 index 0000000..5b29268 --- /dev/null +++ b/config/ontology/hbao.yml @@ -0,0 +1,38 @@ +# PURL configuration for https://purl.brain-bican.org/ontology/hbao +# Human Brain Atlas Ontology (HBAO) + +idspace: HBA +base_url: /ontology/hbao + + +products: +# https://purl.brain-bican.org/ontology/hbao/hbao.owl +- hbao.owl: https://raw.githubusercontent.com/brain-bican/human_brain_atlas_ontology/main/hbao.owl +- hbao.obo: https://raw.githubusercontent.com/brain-bican/human_brain_atlas_ontology/main/hbao.obo +- hbao.json: https://raw.githubusercontent.com/brain-bican/human_brain_atlas_ontology/main/hbao.obo + +term_browser: ols +example_terms: +- HBA_0000000 + +entries: + +# https://purl.brain-bican.org/ontology/hbao/hbao-base.owl +- exact: /hbao-base.owl + replacement: https://raw.githubusercontent.com/brain-bican/human_brain_atlas_ontology/main/hbao-base.owl + +# https://purl.brain-bican.org/ontology/hbao/latest/hbao.owl +- prefix: /latest/ + replacement: https://github.com/brain-bican/human_brain_atlas_ontology/blob/main/ + +# https://purl.brain-bican.org/ontology/hbao/releases/2022-11-02/hbao.owl +- regex: ^/ontology/hbao/releases/(.*)/hbao\.owl$ + replacement: https://raw.githubusercontent.com/brain-bican/human_brain_atlas_ontology/$1/hbao.owl + tests: + - from: /hbao/releases/2022-11-02/hbao.owl + to: https://raw.githubusercontent.com/brain-bican/human_brain_atlas_ontology/2022-11-02/hbao.owl + + +## generic fall-through, serve direct from github by default +- prefix: / + replacement: https://raw.githubusercontent.com/brain-bican/human_brain_atlas_ontology/main/