G-Node / G-Node/python-odml

Definition from ontologies

Đang mở
#138 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
25
Fork
30
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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."
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.