-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Semantic caching algorithm added #512
Conversation
@Louis-Mozart please fix the errors |
I think the error comes from the fact that the dice file system is not working. See below: ` --2025-01-27 14:49:20-- (try:19) https://files.dice-research.org/projects/Ontolearn/KGs.zip --2025-01-27 14:51:44-- (try:20) https://files.dice-research.org/projects/Ontolearn/KGs.zip |
Hi @Louis-Mozart, would it be possible for you to add some test cases for your code in |
Hi, sorry was on leave. Alright, I guess the error was because I wrote the code on an old version of Ontolearn (0.7.3), I upgraded to the latest version and added the tests as requested see tests/test_semantic_cache. |
I was having a look at the error that caused the test to fail, its because the JVM is stopped in a previous operation (and the JVM cannot be restarted - a limitation from Jpype). |
It's done but still not working. Could it be that the test is executed on the family which requires a bit of time? |
Family ontology is not that large actually. I re-run the tests to see when it does fail, and it fails as soon as it enters your test. So the scenario that it takes time and memory is overloaded does not seem very likely. I would say, try to test it locally using |
Yes, all the tests work locally on Father and Family datasets, see below.
|
Code for the semantic caching paper.