Changelog
v0.9.2 (2024 Oct)
Added
- Add external references to
OAEI-Bio-ML
.
Changed
- Refine
deeponto.onto.taxonomy
and add more options.
v0.9.1 (2024 Mar)
Changed
- Move
openprompt
to extra dependencies as its supported version ofsentencepiece
has known conflicts with many packages. - Add
nltk
andtqdm
as 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.subs
todeeponto.complete
. - Move
deeponto.probe.ontolama
intodeeponto.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.OntologyReasoner
for convenience of changing the reasoner type and removereload_reasoner()
method as it is a special case ofload_reasoner()
. - Add
rdflib
into the dependencies for building graph-related features. - Add
deeponto.onto.taxonomy
for building the taxonomy over ontologies and potentially other structured data.
Changed
- Change printing to appropriate logging (gradually).
- Change
read_table_mappings()
method atdeeponto.align.mapping
from 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
slf4j
towarn
to 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_type
argument 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.OntologyVerbaliser
including: -
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-correction
option for fixing entity names.keep_iri
option for keeping entity IRIs.-
add_quantifier_word
option 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_individuals
attribute 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.vocabs
atdeeponto.onto.OntologyVerbaliser
. - Change default
apply_lowercasing
value toFalse
for 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_alignment
annotation in BERTMap for the OAEI. - Add OAEI utilities at
deeponto.align.oaei
.
Changed
- Change the
read_table_mappings
method to allowNone
for 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
f1
andMRR
method 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
transformers
totransformers[torch]
.
v0.7.5 (2023 June)
Changed
- Change Java dependencies from using
lib
from mowl to direct import. - Change
get_owl_object_annotations
by addinguniqify
at 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.OntologyPruner
as 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_annotations
atdeeponto.onto.Ontology
by preserving the relative order of annotation retrieval, i.e., createset
first and use the.add()
function instead of casting thelist
intoset
in the end.
Fixed
- Fix the function
check_deprecated
atdeeponto.onto.Ontology
by 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_axiom
for removing an axiom from the ontology atdeeponto.onto.Ontology
(note that the counterpartadd_axiom
has already been available). - Add the method
check_named_entity
for checking if an entity is named atdeeponto.onto.Ontology
. - Add the method
get_subsumption_axioms
for getting subsumption axioms subject to different entity types atdeeponto.onto.Ontology
. - Add the method
get_asserted_complex_classes
for getting all complex classes that occur in ontology (subsumption and/or equivalence) axioms atdeeponto.onto.Ontology
. - Add the methods
get_asserted_parents
andget_asserted_children
for getting asserted parent and children for a given entity atdeeponto.onto.Ontology
. - Add the method
check_deprecation
for checking an owl object's deprecation (annotated) atdeeponto.onto.Ontology
.
Changed
- Move the spacy
en_core_web_sm
download 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_entities
sub_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:
November 21, 2024
Created: March 31, 2023
Created: March 31, 2023
GitHub: