From 1f0129186e62ea63d466a007efdbe117f5530295 Mon Sep 17 00:00:00 2001 From: muddymudskipper Date: Tue, 25 Jun 2024 10:28:12 +0100 Subject: [PATCH] remove redundant input from unmerge --- cmem_plugin_robotreason/plugin_robotreason.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmem_plugin_robotreason/plugin_robotreason.py b/cmem_plugin_robotreason/plugin_robotreason.py index 93e5761..2585389 100644 --- a/cmem_plugin_robotreason/plugin_robotreason.py +++ b/cmem_plugin_robotreason/plugin_robotreason.py @@ -329,7 +329,6 @@ def set_axioms(self) -> str: def reason(self, graphs: dict) -> None: """Reason""" data_location = f"{self.temp}/{graphs[self.data_graph_iri]}" - vocab_location = f"{self.temp}/{graphs[self.ontology_graph_iri]}" utctime = str(datetime.fromtimestamp(int(time()), tz=UTC))[:-6].replace(" ", "T") + "Z" cmd = ( f'java -jar {ROBOT} merge --input "{data_location}" ' @@ -342,7 +341,7 @@ def reason(self, graphs: dict) -> None: f"--exclude-tautologies all " f"--exclude-external-entities " f"reduce --reasoner {self.reasoner} " - f'unmerge --input "{data_location}" --input "{vocab_location}" ' + f'unmerge --input "{data_location}" ' f'annotate --ontology-iri "{self.result_iri}" ' f"--remove-annotations " f'--language-annotation rdfs:label "Eccenca Reasoning Result {utctime}" en '