I am trying to use Pengines in NodeRed to receive a .owl file over MQTT and to load the axioms in Prolog. Ideally, I’d like to have Prolog process the sent file without saving it to the file system, but I don’t see a way to do that. Instead, I’ve been saving the incoming owl to a file and using the thea/owl2_io:load_axioms/1 command to load that file dynamically, but I get this error from NodeRed:
No permission to call sandboxed `'$current_module'(_2660,_2662)'
Reachable from:
'$syspreds':current_module(A)
'$syspreds':property_predicate(A,owl2_io:B)
owl2_io:predicate_property(A,B)
owl2_io:load_prolog_axioms(A,B)
owl2_io:load_axioms(A,B,C)
user:load_axioms(A,B)
'66c85067-fd49-42c5-954e-4b140e792d68':load_owl(A)
Any idea how to fix this or how to avoid writing to the file system in the first place?
Thanks!