INCATools / INCATools/ontology-access-kit
`FunOwlImplementation`: `.entities()` and `.axioms()` produced 0 results
- Dominant language
- Python
- Stars
- 198
- Forks
- 35
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 1
Description
I used `FunOwlImplementation` and tried `.entities()` and `.axioms()`, but got empty lists.
**My version:** `oaklib==0.1.23`
I tried some other implementations, e.g. `SparqlImplementation` and `ProntoImplementation`, which returned results from `.entities()` (didn't try `.axioms()` in those cases), but I got empty lists when I tried this:
```python
ontology = FunOwlImplementation(OntologyResource(slug=ontology_path, local=True))
entities = [x for x in ontology.entities()]
entities = [x for x in ontology.axioms()]
```
Contributor guide
Research direction
Start by reproducing the example with FunOwlImplementation, OntologyResource, and the reported oaklib==0.1.23 environment. Compare the behavior of entities() and axioms() with the mentioned SparqlImplementation and ProntoImplementation; done means the FunOwlImplementation calls return the expected results for the loaded ontology instead of empty lists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100