在本地托管DBpedia以获取类别 [英] Host DBpedia locally for categories

查看:132
本文介绍了在本地托管DBpedia以获取类别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到您可以下载DBpedia数据的整个数据转储,但是我不确定如何从我的PHP应用程序中获取它。目前,我需要通过
http:这样的URL远程访问当前正在执行的类别信息。 //dbpedia.org/resource/Category:Cities_in_England ,但该网站运行缓慢,有时会离线。是否可以通过类似的方式在本地托管DBpedia?我正在使用PHP,也许有更好的方法吗?

I've noticed you can download whole data dumps of DBpedia data, but I'm not sure how to get to it from my PHP application. At the moment, I need to access category information which I am currently doing remotely through URLs like http://dbpedia.org/resource/Category:Cities_in_England, but the site is slow and sometimes offline. Is there any way of hosting DBpedia locally in a similar way? I'm using PHP, is there perhaps a better way of doing this?

推荐答案

您可以参考此链接进行设置virtuso三元组存储设置Virtuso Triple存储

you can refer to this link for setting up a virtuso triple store Setting up Virtuso Triple store

开始运行virtuso服务器并向其中添加文件。您可以在本地sparql端点上本地获取数据,可以在SPARQL的帮助下进行查询。

By starting running virtuso server and adding files to it. You can have the data locally at a local sparql endpoint which you can query with the help of SPARQL.

这篇关于在本地托管DBpedia以获取类别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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