Changelog 
v0.9.3 (2025 Mar)
Changed
- [
chore] Refactor with ruff linter. - [
feat] Add option to skip reverse translation in normalisation.
v0.9.2 (2024 Oct)
Added
- Add external references to
OAEI-Bio-ML.
Changed
- Refine
deeponto.onto.taxonomyand add more options.
v0.9.1 (2024 Mar)
Changed
- Move
openpromptto extra dependencies as its supported version ofsentencepiecehas known conflicts with many packages. - Add
nltkandtqdmas a dependency.
v0.8.9 (2024 Mar)
Added
- Add empty annotation index warning for BERTMap, related to issue #18.
- Add
check_consistency()atdeeponto.onto.Ontology. - Add a warning message for empty vocab at
deeponto.onto.OntologyVerbaliser.
Changed
- Remove dependency version restrictions.
- Change
.instances_of()toget_instances()atdeeponto.onto.OntologyReasoner. - Change
deeponto.substodeeponto.complete. - Move
deeponto.probe.ontolamaintodeeponto.complete.
v0.8.8 (2023 October)
Added
- Add object property domain/range verbalisation at
deeponto.onto.OntologyVerbaliser. - Add new reasoner type
"struct"(Structural Reasoner) atdeeponto.onto.OntologyReasoner. - Add
load_reasoner()method atdeeponto.onto.OntologyReasonerfor convenience of changing the reasoner type and removereload_reasoner()method as it is a special case ofload_reasoner(). - Add
rdflibinto the dependencies for building graph-related features. - Add
deeponto.onto.taxonomyfor building the taxonomy over ontologies and potentially other structured data.
Changed
- Change printing to appropriate logging (gradually).
- Change
read_table_mappings()method atdeeponto.align.mappingfrom usingdataframe.iterrows()todataframe.itertuples()which is much more efficient. - Change the default lowcasing argument of
deeponto.utils.process_annotation_literal()toFalse. - Change the default logging level of
slf4jtowarnto prevent tons of printing at ELK (issue (#13)[https://github.com/KRR-Oxford/DeepOnto/issues/13]).
v0.8.7 (2023 September)
Added
- Add the OAEI evaluation code for the main track global matching, local ranking, and the special sub-track bio-llm at
deeponto.align.oaei. - Add
reasoner_typeargument atdeeponto.onto.OntologyReasoner, now supportinghermit(default) andelk. - Add
get_all_axioms()method atdeeponto.onto.Ontology. -
Add
get_iri()method atdeeponto.onto.Ontology. -
Add new features into
deeponto.onto.OntologyVerbaliserincluding: -
verbalise_object_property_subsumption()for object property subsumption axioms. - property chain verbalisation at
verbalise_class_expression(). verbalise_class_subsumption()for class subsumption axioms;verbalise_class_equivalence()for class equivalence axioms;verbalise_class_assertion()for class assertion axioms;verbalise_relation_assertion()for relation assertion axioms;auto-correctionoption for fixing entity names.keep_irioption for keeping entity IRIs.-
add_quantifier_wordoption for adding quantifier words as in the Manchester syntax. -
Add
get_assertion_axioms()method atdeeponto.onto.Ontology. - Add
get_axiom_type()method atdeeponto.onto.Ontology. - Add
owl_individualsattribute atdeeponto.onto.Ontology.
Changed
- Change
get_owl_objects()method to be anonymous as it is only used for creating pre-processed entity index atdeeponto.onto.Ontology. - Change
get_owl_object_from_iri()method toget_owl_object()atdeeponto.onto.Ontology. -
Change the log level of the ELK reasoner to.ERROR
Fixed
- Fix the file path problem of loading ontologies for Windows systems.
- Fix the version of ELK to the latest by manually adding in the dependencies. See download link at https://github.com/liveontologies/elk-reasoner/wiki/GettingElk.
v0.8.5 (2023 September)
Added
- Add
set_seed()method atdeeponto.utils.
Changed
- Change the layout of all utility methods by making them stand-alone instead of static methods.
- Change the
.verbalise_class_expression()method by adding an option to keep entity IRIs without verbalising them using.vocabsatdeeponto.onto.OntologyVerbaliser. - Change default
apply_lowercasingvalue toFalsefor both.get_annotations()and.build_annotation_index()methods atdeeponto.onto.Ontology. - Change the method
.get_owl_object_annotations()to.get_annotations()atdeeponto.onto.Ontology. - Change the LogMap debugger memory options for BERTMap's mapping repair.
- Change the default jar command timeout to 1 hour.
Fixed
- Fix duplicate logging in running BERTMap due to progapagation.
v0.8.4 (2023 July)
Added
- Add specific check of
use_in_alignmentannotation in BERTMap for the OAEI. - Add OAEI utilities at
deeponto.align.oaei.
Changed
- Change the
read_table_mappingsmethod to allowNonefor threshold.
Fixed
- Fix BERTMap error and add corresponding warning when an input ontology has no sibling class group, related to Issue #10.
- Fix BERTMap error and add corresponding warning when an input ontology has some class with no label (annotation), related to Issue #10.
v0.8.3 (2023 July)
Changed
- Change the mapping extension from using reasoner to direct assertions.
- Change the name of pruning function in
deeponto.onto.OntologyPruner. - Change the verbalisation function by setting quantifier words as optional (by default not adding).
- Change sibing retrieval from using reasoner to direct assertions.
Fixed
- Fix the minor bug for the
f1andMRRmethod indeeponto.align.evaluation.AlignmentEvaluator.
v0.8.0 (2023 June)
Added
- Add the ontology normaliser at
deeponto.onto.OntologyNormaliser. - Add the ontology projector at
deeponto.onto.OntologyProjector.
Changed
- Change the dependency
transformerstotransformers[torch].
v0.7.5 (2023 June)
Changed
- Change Java dependencies from using
libfrom mowl to direct import. - Change
get_owl_object_annotationsby addinguniqifyat the end to preserve the order.
Fixed
- Fix BERTMap's non-synonym sampling when the class labels are not available using the try-catch block.
v0.7.0 (2023 April)
Added
- Add the BERTSubs module at
deeponto.subs.bertsubs; its inter-ontology setting is also imported atdeeponto.align.bertsubs.
Changed
- Move the pruning functionality into
deeponto.onto.OntologyPruneras a separate module. - Amend JVM checking before displaying the JVM memory prompt from importing
deeponto.onto.Ontology; if started already, skip this step. - Change the function
get_owl_object_annotationsatdeeponto.onto.Ontologyby preserving the relative order of annotation retrieval, i.e., createsetfirst and use the.add()function instead of casting thelistintosetin the end.
Fixed
- Fix the function
check_deprecatedatdeeponto.onto.Ontologyby adding a check for the \(\texttt{owl:deprecated}\) annotation property -- if this property does not exist in the current ontology, returnFalse(not deprecated).
v0.6.1 (2023 April)
Added
- Add the method
remove_axiomfor removing an axiom from the ontology atdeeponto.onto.Ontology(note that the counterpartadd_axiomhas already been available). - Add the method
check_named_entityfor checking if an entity is named atdeeponto.onto.Ontology. - Add the method
get_subsumption_axiomsfor getting subsumption axioms subject to different entity types atdeeponto.onto.Ontology. - Add the method
get_asserted_complex_classesfor getting all complex classes that occur in ontology (subsumption and/or equivalence) axioms atdeeponto.onto.Ontology. - Add the methods
get_asserted_parentsandget_asserted_childrenfor getting asserted parent and children for a given entity atdeeponto.onto.Ontology. - Add the method
check_deprecationfor checking an owl object's deprecation (annotated) atdeeponto.onto.Ontology.
Changed
- Move the spacy
en_core_web_smdownload into the initialisation ofOntologyVerbaliser. - Change the method of getting equivalence axioms by adding support to different entity types at
deeponto.onto.Ontology. - Rename the methods of getting inferred super-entities and sub-entities at
deeponto.onto.OntologyReasoner: super_entities_of\(\rightarrow\)get_inferred_super_entitiessub_entities_of\(\rightarrow\)get_inferred_sub_entities
Fixed
- Fix the top and bottom data property iris (from "https:" to "http:") at
deeponto.onto.Ontology.
v0.6.0 (2023 Mar)
- Add the OntoLAMA module at
deeponto.lama. - Add the verb auto-correction and more precise documentation for
deeponto.onto.verbalisation.
v0.5.x (2023 Jan - Feb)
- Add the preliminary ontology verbalisation module at
deeponto.onto.verbalisation. - Fix PyPI issues based on the new code layout.
- Change code layout to the
src/layout. - Rebuild the whole package based on the OWLAPI.
- Remove owlready2 from the essential dependencies.
Deprecated (before 2023)
The code before v0.5.0 is no longer available.
Last update:
March 10, 2025
Created: March 31, 2023
Created: March 31, 2023
GitHub: