INCATools / INCATools/ontology-access-kit
axioms of `info` output have wrong labels
- Dominant language
- Python
- Stars
- 198
- Forks
- 35
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 1
Description
I run this command:
```
> runoak --input sqlite:obo:obi info device -D all
COB:0001300 ! device capable of: [ BFO:0000015 "device"] i: [ COB:0000026 "device"] "A processed material entity
which is designed to be capable of a process." isDefinedBy: COB
```
In this part
`capable of: [ BFO:0000015 "device"] i: [ COB:0000026 "device"]` the two labels `"device"` are wrong. Following the CURIEs it should be:
`capable of: [ BFO:0000015 "process"] i: [ COB:0000026 "processed material entity"]`
Compare:
| IRI | concept label |
| --- | --- |
| http://purl.obolibrary.org/obo/COB_0001300 | device |
| http://purl.obolibrary.org/obo/COB_0000026 | processed material entity |
| http://purl.obolibrary.org/obo/BFO_0000015 | process |
| http://purl.obolibrary.org/obo/RO_0002215 | capable of |
Regardless of that the output could be improved like:
- mention the CURIE of `capable of`
- visually separate the info blocks: label, axioms, defined by
Contributor guide
Research direction
Start by reproducing the `runoak --input sqlite:obo:obi info device -D all` command and trace the `info` entry point that formats axiom labels. Verify that labels are resolved from the displayed CURIEs, then check the requested CURIE and block-separation improvements; done means the output uses `process` and `processed material entity` for the two axioms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sqlite
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100