将HTML转换为RDF [英] Converting HTML to RDF

查看:115
本文介绍了将HTML转换为RDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个通用的API / web服务/工具/等......它允许将一个给定的HTML页面转换为尽可能具体的RDF图形(最可能使用骨骼本体和/或映射器) 。

解决方案

我使用XQuery从给定的网页集中提取数据。我必须为网页编写自定义查询。我认为这是针对特定的一组HTML文件采取的最直接的方法。但是,对一般情况来说显然不好。对于不同的网页集,需要编写其他自定义查询。

I'm looking for a general purpose API/web service/tool/etc... that allows convert a given HTML page to an RDF graph as specific as possible (most probably using a back bone ontology and/or mapper).

解决方案

I used XQuery to extract the data out of the given set of web pages. I had to write custom queries for the web pages. I think this is the most straight forward approach to take for a specific set of HTML files. However, it is obviously not good for the general case. For a different set of web pages other custom queries are need to be written.

这篇关于将HTML转换为RDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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