Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Definition from ontologies

Open
#138 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start by locating odml.Section's handling of the reference and definition arguments. Investigate the linked G-Node OEN ontology URL and how its section and property information could be read. Done means supplying an ontology reference automatically populates sec.definition, matching the example behavior.

Written by the indexing model from the issue text.

Description

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 which should already contain the (one layer) sections and corresponding properties of the odML terminologies.

Example:

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."
Dominant language
Python
Stars
25
Forks
30
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from G-Node/python-odml

All issues in G-Node/python-odml

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.