从XML文件中提取信息作为RDF三元组 [英] extract information from xml file as RDF triples

查看:359
本文介绍了从XML文件中提取信息作为RDF三元组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以推荐一个教程,或者告诉我如何构建一个Java程序来从xml文件中提取信息,并使用现有的本体以RDF三元组的形式产生输出.一个例子真的很有帮助.

Could any one please recommend a tutorial or tell me how can I build a java program for extracting information from xml files and produce the out put as RDF triples using an existing ontology. an example would be really helpful.

谢谢

推荐答案

有现成的工具可以解决此问题,例如此示例应该与您要查找的内容非常接近.

There are ready-made tools that address this problem, such as XSPARQL. You can write an XSPARQL query that queries the XML and produces RDF triples as output. This example should be pretty close to what you're looking for.

这篇关于从XML文件中提取信息作为RDF三元组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆