Skip to content

Commit

Permalink
fix axiom generator DisjointClasses
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Jun 24, 2024
1 parent b9f8f12 commit 3b7ce22
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmem_plugin_robotreason/plugin_robotreason.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def convert_iri_to_filename(value: str) -> str:
),
PluginParameter(
param_type=BoolParameterType(),
name="disjoint_class",
label="Disjoint_Class",
name="disjoint_classes",
label="DisjointClasses",
description="",
default_value=False,
advanced=True,
Expand Down Expand Up @@ -219,7 +219,7 @@ def __init__( # noqa: PLR0913
reasoner: str = "elk",
sub_class: bool = True,
equivalent_class: bool = False,
disjoint_class: bool = False,
disjoint_classes: bool = False,
data_property_characteristic: bool = False,
equivalent_data_properties: bool = False,
sub_data_property: bool = False,
Expand All @@ -240,7 +240,7 @@ def __init__( # noqa: PLR0913
self.temp = f"robot_{uuid4().hex}"
self.sub_class = sub_class
self.equivalent_class = equivalent_class
self.disjoint_class = disjoint_class
self.disjoint_classes = disjoint_classes
self.data_property_characteristic = data_property_characteristic
self.equivalent_data_properties = equivalent_data_properties
self.sub_data_property = sub_data_property
Expand Down Expand Up @@ -300,7 +300,7 @@ def set_axioms(self) -> str:
axioms_dict = {
"sub_class": "SubClass",
"equivalent_class": "EquivalentClass",
"disjoint_class": "DisjointClass",
"disjoint_classes": "DisjointClasses",
"data_property_characteristic": "DataPropertyCharacteristic",
"equivalent_data_properties": "EquivalentDataProperties",
"sub_data_property": "SubDataProperty",
Expand Down

0 comments on commit 3b7ce22

Please sign in to comment.