对于您的语义 Web 类型应用程序,您是否使用 RDF 或专有模型进行内部表示?

发布于 2024-07-07 06:54:53 字数 173 浏览 6 评论 0原文

如果您从事过一个存储用于语义网络的数据的项目,您是否使用 RDF 甚至 OWL 作为内部数据格式,或者您是否拥有自己的数据模型/本体并映射到 RDF 以实现互操作性?

如果您使用 RDF,您在实现诸如循环类层次结构之类的各种事物方面有何经验?

如果你自己做的话,它和RDF/OWL有什么不同?

If you've worked on a project that stores data for use with the semantic web, do you use RDF or even OWL as the internal data format or do you have your own data model/ontology that you map to RDF for interoperability?

If you use RDF, what are your experiences with implementing various things like cyclical class hierachies?

If you do your own thing, how does it differ from RDF/OWL?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

凉城已无爱 2024-07-14 06:54:53

我与 HP 的 Jena 团队一起工作(事实上,我自己也为 Jena 做出了贡献),因此在我们的团队中使用 Jena 是一个相当简单的选择。 然而,除了“下一个长凳”的便利之外,还有更多原因。 语义网的各种标准包含相当多的细节和复杂性,要​​自己做到这一点并不是一件容易的事。 我遇到过许多可下载的本体和其他数据集,例如,它们不符合 IRI 规范。 在一个完全独立的应用程序中,如果您违反标准走捷径,可能并不重要,但在这种情况下,您首先需要问为什么要使用语义 Web 技术。 对我来说,应用程序的 semweb 方法的一个强大价值是数据互操作和开放数据链接,在这种情况下,标准一致性非常重要。

我的大部分数据都在三元组存储中,但我确实使用自定义表作为常见查询的索引。 如果您提前知道查询模式,那么对于通用的无模式三元组存储来说,良好的数据库引擎中的索引良好的表将很难被击败。

显然,使用 Jena 的一个缺点是它是 Java 特定的。 我确实将 Jena 与 jruby 一起使用,但我期待一个好的本机 Ruby RDF 库(工作是 正在进行)。 当我们制作复杂的富客户端界面时,我还希望 Javascript 和 Flex 能够提供更完整的 RDF/OWL 支持。

伊恩

I work alongside the Jena team at HP (indeed, have contributed to Jena myself), so using Jena is a fairly straightforward choice in our team. However, there are more reasons than just "next-bench" convenience. The various standards for the semantic web contain quite a bit of detail and complexity, and getting that right isn't an easy thing to do by yourself. I've come across a number of downloadable ontologies and other datasets that, for example, don't conform to the IRI spec. In an entirely self-contained application it probably doesn't matter too much if you cut corners against the standards, but in that case you need to ask why you are using semantic web techniques in the first place. For me, a strong value in the semweb approach for an application would be data-interop and open data linking, in which case standards conformance is pretty central.

Most of my data is in a triple store, but I do use custom tables as indexes for commonly asked queries. If you know the query pattern ahead of time, a well-indexed table in a good db engine is going to be hard to beat for a generic schemaless triple store.

Obviously, one drawback to using Jena is that it's Java specific. I do use Jena with jruby, but I'm looking forwards to a good native Ruby RDF library (work is underway). I'd also like more complete RDF/OWL support in Javascript and Flex for when we're doing complex rich client interfaces.

Ian

不弃不离 2024-07-14 06:54:53

我目前正在该领域从事一些非常小的项目,并且我“主要”在那里使用 RDF,尽管出于解析目的,我使用简单的 URI 注册表以避免数据结构本身的循环。 尽管如此,我不得不说我仍处于这些项目的概念阶段。 最后,我主要依赖第三方存储后端,如 Jena、rdflib 等。

I'm currently working on some really small projects in this area and I "mostly" use RDF there, although for parsing purposes I use a simple URI-registry in order to avoid cycles in the data structure itself. Although, I have to say that I'm still in the conceptual stage of these projects. In the end I rely mostly on 3rd-party storage backends like Jena, rdflib et al.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文