关系数据库到三重存储
我正在尝试编写一个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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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 :-)
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