Owlready2 0.14 has been released!

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Owlready2 0.14 has been released!

Jiba
Administrator
Hi all,

Owlready2 0.14 has been released. This new version adds the ability to infer property values (as in Protégé) and to use SWRL rules. It improves class properties and it can import UMLS (still undocumentated!).
It also fixes several bugs.

Here are the changes in version 0.14:

* UMLS support (owlready2.pymedtermino2 package)
* Can infer object property values when reasoning (thanks W Zimmer)
* New implementation of property values; use INDIRECT_prop to get indirect values
* Support several class property types : some, only, some + only, and direct relation
* Automatically create defined classes via class properties
* Support anonymous individuals, e.g. Thing(0)
* Optimize search() when only the number of returned elements is used
* Optimize FTS search() when using also non-FTS statements
* Can restrict reasoning to a list of ontologies
* Union searches (i.e. default_world.search(...) | default_world.search(...))
* Bugfixes:
  - Fix functional class properties with inheritance
  - Fix dupplicated instance list restrictions when calling close_world(ontology)
  - Fix use of '*' in search
  - Fix synchronization, using contextvars for global variables
     
The new version be downloaded from PyPI (Python Package Index):
https://pypi.python.org/pypi/Owlready2
Reply | Threaded
Open this post in threaded view
|

Re: Owlready2 0.14 has been released!

jritch33
Awesome! Thank you for fixing the synchronization!
rdk
Reply | Threaded
Open this post in threaded view
|

Re: Owlready2 0.14 has been released!

rdk
In reply to this post by Jiba
Congratulations on the new release!

When can we expect an example of using SWRL rules within owlready2?
Should they come in a separate file?

Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: Owlready2 0.14 has been released!

Jiba
Administrator
Hi,

Simple SWRL rules already works; I integrated the following simple test in the Owlready2 test suite :

https://bitbucket.org/jibalamy/owlready2/src/default/test/test_rule.owl

It should work on more complex rules, but more tests are required.

Rules can be written directly in the ontology (e.g. using Protégé).

Best regards,
Jiba