diff --git a/CHANGELOG.md b/CHANGELOG.md index efca497..999f4a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,17 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/) -## [Unreleased] - -### Changed - -- default value for "Maximum RAM percentage" parameter changed from 15 to 20 ## [1.0.0alpha2] 2024-06-28 ### Added -- "Annotate inferred axioms" and "Exclude duplicate axioms" parameters in Reason plugin +- "Annotate inferred axioms" parameter in Reason plugin - "Maximum RAM percentage" parameter in Reason and Validate plugins ### Changed diff --git a/cmem_plugin_reason/plugin_reason.py b/cmem_plugin_reason/plugin_reason.py index 0c29cf0..6934de7 100644 --- a/cmem_plugin_reason/plugin_reason.py +++ b/cmem_plugin_reason/plugin_reason.py @@ -160,14 +160,6 @@ description="", default_value=False, ), - PluginParameter( - param_type=BoolParameterType(), - name="exclude_duplicate_axioms", - label="Exclude duplicate axioms", - description="Do not add axioms to the output if they exist in an import.", - default_value=True, - advanced=True, - ), PluginParameter( param_type=BoolParameterType(), name="annotate_inferred_axioms", @@ -202,7 +194,6 @@ def __init__( # noqa: PLR0913 sub_class: bool = True, sub_data_property: bool = False, sub_object_property: bool = False, - exclude_duplicate_axioms: bool = True, annotate_inferred_axioms: bool = False, max_ram_percentage: int = MAX_RAM_PERCENTAGE_DEFAULT, ) -> None: @@ -255,7 +246,6 @@ def __init__( # noqa: PLR0913 self.ontology_graph_iri = ontology_graph_iri self.result_graph_iri = result_graph_iri self.reasoner = reasoner - self.exclude_duplicate_axioms = str(exclude_duplicate_axioms).lower() self.annotate_inferred_axioms = str(annotate_inferred_axioms).lower() self.max_ram_percentage = max_ram_percentage self.temp = f"reason_{uuid4().hex}" @@ -287,7 +277,7 @@ def reason(self, graphs: dict) -> None: f'--axiom-generators "{axioms}" ' f"--annotate-inferred-axioms {self.annotate_inferred_axioms} " f"--include-indirect true " - f"--exclude-duplicate-axioms {self.exclude_duplicate_axioms} " + f"--exclude-duplicate-axioms true " f"--exclude-owl-thing true " f"--exclude-tautologies all " f"--exclude-external-entities "