如何绘制 RDF 图进行检查?
W3 有一个 RDF 验证器,可以绘制 RDF 图。您知道类似的桌面实用程序吗?
忘了说。我在Mac上。
The W3 has a RDF validator that plots the RDF graph. Do you know a similar utility desktop side ?
Forgot to say. I'm on a mac.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
例如, raptor 具有 rapper 命令行实用程序,可以解析各种 RDF 语法并输出要绘制的 DOT与 GraphViz。
(披露:我是 raptor 项目的提交者。)
For example, raptor has the rapper command line utility that can parse various RDF syntaxes and output DOT to be plotted with GraphViz.
(Disclosure: I'm a committer in the raptor project.)
+1 使用 Raptor 和 Graphviz。下面介绍了如何一次性完成此操作(假设您的 RDF 采用 Turtle 语法):
输出写入 graph.pdf。
+1 for using Raptor and Graphviz. Here's how to do it one go (assuming that your RDF is in Turtle syntax):
The output is written to graph.pdf.
就像 laalto 所说,GraphViz 是典型的使用方式,许多 RDF API 都内置支持生成要使用 ut 绘制的 DOT
例如我开发的 API (dotNetRDF) 有一个 GraphVizWriter 类,您可以使用它来生成 DOT 文件,然后您可以使用 dot.exe 命令行实用程序将其转换为所需格式的图像,该实用程序是 GraphViz 的
一部分在 Mac 上,我的 API 对您个人来说可能没有多大用处 - 但无论如何 GraphViz 绝对是正确的选择。
Like laalto said GraphViz is the typical thing to use and many RDF APIs have support built in for generating DOT to be plotted with ut
For example the API I develop (dotNetRDF) has a GraphVizWriter class that you can use to generate DOT files which you can then turn into images in your desired format with the dot.exe command line utility which is part of GraphViz
Though seeing as you're on a Mac my API is probably not much use to you personally - but regardless GraphViz is definitely the way to go.