Skip to content

Commit

Permalink
merge with develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-KOUAGOU committed Nov 14, 2024
2 parents a95e426 + 77fae24 commit a58496c
Show file tree
Hide file tree
Showing 62 changed files with 1,935 additions and 5,697 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip3 install -e .
pip3 install -e .["full"]
- name: Lint with ruff
run: |
ruff check ontolearn/learners/ --line-length=200
- name: Test with pytest
run: |
Expand Down
26 changes: 1 addition & 25 deletions docs/usage/06_concept_learners.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,28 +363,4 @@ you pass this url to `triplestore_address` argument, you have to add the

You can now create a triplestore knowledge base or a reasoner that uses this URL for their
operations:

```python
from ontolearn.triple_store import TripleStoreKnowledgeBase

father_kb = TripleStoreKnowledgeBase("http://localhost:3030/father/sparql")

# ** Continue to execute the learning algorithm as you normally do. ** .
```

-------------------------------------------------------------------


In this guide, we have shown the prerequisites of running a concept learner,
how to configure it's input properties and how to run it to successfully
learn class expressions for learning problems in an ontology. We showed as well how to set up
a triplestore server that can be used to execute the concept learner. There is also a jupyter
notebook for each of these concept learners:

- [NCES notebook](https://github.com/dice-group/Ontolearn/blob/develop/examples/simple-usage-NCES.ipynb)
- [CLIP notebook](https://github.com/dice-group/Ontolearn/blob/develop/examples/clip_notebook.ipynb)
- [DRILL notebook](https://github.com/dice-group/Ontolearn/blob/develop/examples/drill_notebook.ipynb)
- [EvoLearner notebook](https://github.com/dice-group/Ontolearn/blob/develop/examples/evolearner_notebook.ipynb)
- [CELOE notebook](https://github.com/dice-group/Ontolearn/blob/develop/examples/celoe_notebook.ipynb)
- [OCEL notebook](https://github.com/dice-group/Ontolearn/blob/develop/examples/ocel_notebook.ipynb)
- [TDL example](https://github.com/dice-group/Ontolearn/blob/develop/examples/concept_learning_with_tdl_and_triplestore_kb.py)
TODO
303 changes: 0 additions & 303 deletions examples/carcinogenesis_lp.json

This file was deleted.

Loading

0 comments on commit a58496c

Please sign in to comment.