Skip to content

2.3.0

Compare
Choose a tag to compare
@althonos althonos released this 21 Sep 15:46
· 102 commits to master since this release
v2.3.0

Added

  • Retrieval of entities via their alternate IDs on the source Ontology.
  • Direct edition of entity relationships via the Relationships view.
  • __all__ attribute to all modules of the data model.
  • RelationshipSet container like TermSet with shortcut attributes and
    proxying of actual Relationship instances.
  • Relationship.subproperties and Relationship.superproperties methods
    to add, remove, clear and iterate over the subproperties and superproperties
    of a Relationship instance.
  • Ontology.synonym_types method to count (via SizedIterator) and iterate
    over the synonym types of an ontology and all of its imports.
  • Ontology.get_synonym_type method to retrieve a single synonym type by ID
    from an ontology or one of its imports.

Changed

  • Management of sub-properties / super-properties is now consistent with
    the management of subclasses / superclasses.
  • consider, disjoint_from, disjoint_over, equivalent_to, replaced_by
    transitive_over and union_of properties of Relationship now return
    a RelationshipSet.

Fixed

  • Outdated documentation in Term.subclasses describing the performances of
    the previous algorithm.
  • Possible AttributeError with the setter of the Entity.synonyms property.
  • Issue with synonym types declared in imported ontologies not being usable
    with synonyms of the actual ontology.
  • Various type annotations not updated since version 2.2.2.