Knowledgecore

Latest version: v2.8.10

Safety actively analyzes 702161 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

2.4.0

------------------
* increase coverage of ROS Query test + only test reasoning if reasoner available
* kb.version + export whether reasoner available through ROS Manage service
* Contributors: Séverin Lemaignan

2.3.0

-----

*Released on 12 Apr 2022*

- Add ROS support via Revise, Query, Sparql, Manage services

2.2.1

-----

*Released on 30 Mar 2022*

- better error handling/reporting
- slightly stricter statement parsing
- updated LICENSE to 2022
- remove requirement for rdflib >= 6.0.0 (works with RDFlib 4.x.x)

2.2.0

-----

*Released on 30 Mar 2022*

- change find() API to make it more consistent

- whatever the number of variables, always returns a list of dict
with the variables as key
- the param ‘vars’ is now optional.
- if no variable is passed, search for all variables by default
- anonymous variables (starting by ``__``) are now named var1,
var2,… in the results

- removed unused ``minimalkb/services`` sub-package

2.1.0

-----

*Released on 29 Mar 2022*

- add ``kb.label`` to retrieve (multi-lingual) labels associated to a
term
- add support for querying direct classes, instances, subclasses,
superclasses (via eg ``kb.details``)
- significantly simplify the event subscription mechanism. Now, you
simply pass a list of patterns with an optional ``one_shot``
parameter (false by default)
- better `API
documentation <https://github.com/severin-lemaignan/minimalkb/blob/master/doc/api.md>`__
- remove ``kb.check`` as it was strictly equivalent to ``kb.exist``
- fix bug where loaded ontologies would not be processed by the
reasoner
- fix internal methods being mistakenly exposed in the API
- a few other minor bug fixes

2.0.0

-----

**Attention: minimalkb-2.0 is a major rewrite of minimalkb, and only
partially backward-compatible with minimalkb-1.x.x**

- complete rewrite of the core, around rdflib-6.x.x
- as a consequence, much more standard-compilant parsing of statements
- integration with
reasonable`` <https://github.com/gtfierro/reasonable>`__ for fast
OWL2 RL reasoning.
- a new ``sparql`` API method has been add, to perform raw SPARQL
queries.

Porting notes from 1.x.x:

- old compatibility (``compat``) API methods have been removed
- the ``find`` API method does not take a ``constraints`` parameter any
more
- ``retract`` has been renamed to ``remove``

Page 4 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.