将 Eye Reasoner 查询结果导出到文件中

问题描述 投票:0回答:1

我使用 Eye Reasoner 作为一组 N3 格式的事实和规则的推理引擎。我的问题是如何将 Eye Reasoner 查询的结果保存到文件中以便在系统的下一步中使用? 谢谢。

rdf reasoning n3
1个回答
0
投票

似乎Eye Reasoner没有能力将结果保存到文件中。因此,我使用

Python
中的 os.system() 函数来处理它,该函数运行终端命令并能够将结果保存到文件中。

© www.soinside.com 2019 - 2024. All rights reserved.