【问题标题】:Cannot initialize a graphdb repo with a SHACL Sail无法使用 SHACL Sail 初始化 graphdb 存储库
【发布时间】:2020-09-17 07:19:23
【问题描述】:
  1. 免费设置当前的 graphdb(已在 9.3.3 和 9.4.0 中试用)
  2. 在已启用 SHACL 验证的工作台中创建新存储库
  3. 导出到 ttl
  4. 将其设置为 graphdb 在启动时导入的 init 存储库
  5. 观察 graphdb 启动失败并显示消息 Only graphdb repositories are supported

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

【问题讨论】:

    标签: graphdb shacl


    【解决方案1】:

    您可以使用 config.ttl 模板以编程方式创建 repo,如 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-shacl-repository 中描述的 9 个新参数的 Turtle 属性名称,并将它们包含在 /configs/templates/config.ttl

    【讨论】:

    • 请注意,是否有首选方法来归档可疑的 graphdb 错误?我想我找到了一个并在这里发布了github.com/Ontotext-AD/graphdb-workbench/issues/242
    • @fkleedorfer,这不是正确的项目,但是在 github 中拥有它可以让我轻松地 ping 相关人员(在本例中为 Jeen Broekstra)。如果结果是 GraphDB 错误,我将在我们的 |Jira 中发布。以后可以在ontotext上写支持
    猜你喜欢
    • 1970-01-01
    • 2015-05-21
    • 2016-02-02
    • 1970-01-01
    • 1970-01-01
    • 2021-09-16
    • 1970-01-01
    • 1970-01-01
    • 2016-02-03
    相关资源
    最近更新 更多