From 73ee56be3184bc6ecaab5f6efc0a6f315006ac8f Mon Sep 17 00:00:00 2001 From: muddymudskipper Date: Thu, 8 Aug 2024 15:41:15 +0100 Subject: [PATCH] edit parameter label --- cmem_plugin_reason/plugin_reason.py | 4 ++-- cmem_plugin_reason/plugin_validate.py | 2 +- cmem_plugin_reason/utils.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmem_plugin_reason/plugin_reason.py b/cmem_plugin_reason/plugin_reason.py index 0fadf2d..f13678b 100644 --- a/cmem_plugin_reason/plugin_reason.py +++ b/cmem_plugin_reason/plugin_reason.py @@ -57,7 +57,7 @@ param_type=ChoiceParameterType(REASONERS), name="reasoner", label="Reasoner", - description="Reasoner option. Additionally, enable axiom generators below.", + description="Reasoner option. Additionally, select axiom generators below.", default_value="", ), PluginParameter( @@ -282,7 +282,7 @@ def __init__( # noqa: PLR0913, C901 def generate_input_schema(self) -> EntitySchema: """Generate the output schema.""" return EntitySchema( - type_uri="urn:row", + type_uri="reason", paths=[EntityPath(path="profile"), EntityPath(path="ontology")], ) diff --git a/cmem_plugin_reason/plugin_validate.py b/cmem_plugin_reason/plugin_validate.py index 79bdf16..0558929 100644 --- a/cmem_plugin_reason/plugin_validate.py +++ b/cmem_plugin_reason/plugin_validate.py @@ -137,7 +137,7 @@ def generate_output_schema(self) -> EntitySchema: if self.validate_profile: paths.append(EntityPath(path="profile")) return EntitySchema( - type_uri="https://eccenca.com/plugin_validateontology/type", + type_uri="validate", paths=paths, ) diff --git a/cmem_plugin_reason/utils.py b/cmem_plugin_reason/utils.py index 95bb321..b157a16 100644 --- a/cmem_plugin_reason/utils.py +++ b/cmem_plugin_reason/utils.py @@ -44,7 +44,7 @@ ONTOLOGY_GRAPH_IRI_PARAMETER = PluginParameter( param_type=GraphParameterType(classes=["http://www.w3.org/2002/07/owl#Ontology"]), name="ontology_graph_iri", - label="Ontology_graph_IRI", + label="Ontology graph IRI", description="The IRI of the input ontology graph.", )