关系数据库到三重存储

发布于 2024-12-20 22:50:56 字数 108 浏览 5 评论 0原文

我正在尝试编写一个java程序将MySQL表中的信息转换为三元组,这样我以后就可以将它们导入到三元组存储中。是否可以在不创建辅助 RDF/XML 文件的情况下执行此操作?如何?

I am trying to write a java program to transform the information from a MySQL table into triples, so I can later import them into a triple store. Is it possible to do so without creating an auxilliary RDF/XML file? How?

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

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

发布评论

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

评论(2

倾城月光淡如水﹏ 2024-12-27 22:50:56

Java 中有许多不同的接口用于与三元组交互。你有 Jena、Sesame 和 OWLApi。耶拿有一个三元组的内存存储。它可以输出多种不同的符号,包括 RDF/XML,还有 N3、二进制格式、SQL 数据库……

我认为这些 API 还允许您使用标准协议直接连接到三元组存储。

请参阅 http://www.scribd.com/doc/32983777/An-open-portable-AST-for-software-engineering-tools#outer_page_46" scribd.com/doc/32983777/An-open-portable-AST-for-software-engineering-tools#outer_page_46了解更多信息信息,我在我的论文中写了一小部分:-)

There are a lot of different interfaces for interacting with triples in Java. You have Jena, Sesame, and OWLApi. Jena has an in-memory store for triples. It can output to several different notations, including RDF/XML but also N3, binary format, SQL database...

I think these APIs also allow you to directly connect to a triple store using standard protocols.

See http://www.scribd.com/doc/32983777/An-open-portable-AST-for-software-engineering-tools#outer_page_46 for more information, I have written a small part about this in my thesis :-)

魂牵梦绕锁你心扉 2024-12-27 22:50:56

Python 脚本:dbview.py 提供来自 mySQL 的映射,生成链接的虚拟 RDF 数据文件。

http://www.w3.org/wiki/ConverterToRdf

从未直接这样做过

Python script :dbview.py provides a mapping from a mySQL, producing linked virtual RDF data files.

http://www.w3.org/wiki/ConverterToRdf

Never did it directly

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