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