繁体   English   中英

是否有任何命令可以从 GraphDB 导出图形?

[英]Is there any command to export graph from GraphDB?

我知道 GraphDB 工作台提供的导出功能。 但是,我想知道是否有任何命令行实用程序可以使用控制台快速导出图形。

例如,有importrdf命令离线加载数据。 还应该有一个导出数据的命令。 https://graphdb.ontotext.com/documentation/10.0/command-line-tools.html

谢谢。

您可以使用bin/storage-tool脚本使用命令export

使用源索引 ( srcIndex ) 将存储库数据导出到目标文件 ( destFile )。 支持的目标文件扩展名格式:.trig、.ttl、.nq。 例如,使用 POS 索引将存储库数据转储到 f.trig 文件中:

bin/storage-tool -command=export -storage=/repo/storage -srcIndex=pos -destFile=/repo/storage/f.trig

更多细节在这里: https://graphdb.ontotext.com/documentation/10.0/storage-tool.html#examples

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM