1
  1. 免费设置当前的 graphdb(尝试使用 9.3.3 和 9.4.0)
  2. 在启用了 SHACL 验证的工作台中创建一个新存储库
  3. 导出到 ttl
  4. 将其设置为 graphdb 在启动时导入的 init 存储库
  5. 观察 graphdb 启动失败并显示消息 Only graphdb repositories are supported

当尝试使用准备好的数据库设置自动部署时,这让我们很痛苦。有什么建议可以解决吗?

4

1 回答 1

3

您可以使用 config.ttl 模板以编程方式创建存储库,如http://graphdb.ontotext.com/documentation/standard/configuring-a-repository.html#configure-a-repository-programmatically中所述:

curl -X POST --header "Content-Type:multipart/form-data" -F "config=@./config.ttl"
  "http://localhost:7200/rest/repositories"

但我不知道你应该使用什么道具名称。所以我发布了一个问题(GDB-5031)来记录http://graphdb.ontotext.com/documentation/standard/shacl-validation.html#creating-and-configuring-a中描述的 9 个新参数的 Turtle 道具名称-shacl-repository并将它们包含在/configs/templates/config.ttl

于 2020-09-18T07:26:45.253 回答