简体   繁体   English

从 GraphDB 存储库中导入的 rdf 文件中删除三元组

[英]Removing triples from imported rdf files in a GraphDB repository

I am new to GraphDB and RDF.我是 GraphDB 和 RDF 的新手。 Currently my repository consists of multiple.ttl files that I have imported separately.目前我的存储库包含多个我单独导入的.ttl 文件。 If I delete a previously imported file from the import window, the triples remain in the repository.如果我从导入 window 中删除以前导入的文件,则三元组仍保留在存储库中。 The only way I can see to remove triples from the repository is to clear the repository completely ( Explore>Graphs overview>Clear repository ), and then re-import all of the files I want manually ( Import>RDF ).我可以看到从存储库中删除三元组的唯一方法是完全清除存储库( Explore>Graphs overview>Clear repository ),然后手动重新导入我想要的所有文件( Import>RDF )。

Is there a more efficient way to achieve this?有没有更有效的方法来实现这一目标? Ideally I would want to remove the.ttl files from the list on the import page and then refresh the repository only with the files that remain.理想情况下,我想从导入页面的列表中删除 .ttl 文件,然后仅使用剩余的文件刷新存储库。 Is this possible or is there a better way of achieving this?这是可能的还是有更好的方法来实现这一点?

In addition to Damyan's answer, removing the files in the Import page does not remove them from the repository - it removes them from the list.除了 Damyan 的回答之外,删除 Import 页面中的文件不会将它们从存储库中删除 - 它会从列表中删除它们。 The best approach is Damyan's - this way you can easy track your changes.最好的方法是 Damyan 的 - 这样您就可以轻松跟踪您的更改。 You can find more information on managing graphs in the documentation - http://graphdb.ontotext.com/documentation/free/sparql-compliance.html您可以在文档中找到有关管理图形的更多信息 - http://graphdb.ontotext.com/documentation/free/sparql-compliance.html

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

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