G-Node / G-Node/python-odml

Definition from ontologies

未关闭
#138 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
25
派生
30
PR 合并指标
30 天内没有已合并 PR

描述

It would be great if the definition of an object is automatic set when an ontology reference is given.

We could test this functionality with the [G-Node OEN](https://github.com/G-Node/OEN) which should already contain the (one layer) sections and corresponding properties of the odML terminologies.

Example:
```python
ontology_url = "http://purl.org/incf/ontology/ExperimentalNeurophysiology/oen_term.owl/oen_0000442"
sec = odml.Section("MySubject", type="subject", reference=ontology_url) # or url to
sec.definition
# printout: "The investigated experimental subject (animal or person). May contain the Cell and Preparation sections as subsections."
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。