使用 SPARQL 使用 Wiki 中的数据进行 Iphone 开发
我正在考虑开发将使用维基百科数据的 iPhone 应用程序。我了解到您可以使用 sparql 端点查询 wiki。有谁知道有什么网站可以用来查询这些数据。我正在尝试使用 DBPedia,但有时会出现超时错误。我正在寻找更稳定的东西。你认为如果我得到一个大的结果集,它会很慢吗?
感谢您的所有回复。
I am looking into developing Iphone app that will use Data from wikipedia. I learned that you can query wiki using sparql end point. Does any one know any websites that can be used to query such data. I am trying to use DBPedia but sometimes i get timeout errors. I am looking for something more stable. Do you think that it would be very slow if i am getting a large result set?
Thank you for all the responses.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
另一个可用于查询 DBpedia 数据集的 sparql 端点是 lod.openlinksw.com。它有更多服务器支持,但更新数据集存在滞后。无论如何,您需要构建检索小结果集的查询,以实现更好的响应时间。
Another sparql endpoint that can be used to query DBpedia dataset is lod.openlinksw.com. It is backed with more servers, but has a lag in updating dataset. Anyways, you need to construct queries that retrieve small result sets to achieve better response time.
我假设您正在查询 Virtuoso 中托管的官方 DBpedia SPARQL 端点?如果是社区驱动和托管端点,则使用时会受到限制,特别是在可返回的结果集的大小方面,该结果集的行数限制为 2000 行,以防止滥用。如果您想获得更大的结果集,那么建议使用 SPARQL LIMIT 和 OFFSET 子句来检索 2000 个块的结果。
如果您确实想要一个不受限制且在您控制之下的专用 DBpedia SPARQL 端点,OpenLink Software 提供了一个选项实例化并托管您自己的 云中的 DBpedia EC2 AMI,它是托管在 Virtuoso 中的官方 DBpedia SPARQL 端点的精确副本。
请注意,Virtuoso 中托管的 LOD 云缓存 还包括来自官方 DBpedia SPARQL 端点的 DBpedia 数据集以及大多数LOD Cloud 中的主要数据集,并托管在更大的Virtuoso 集群服务器允许每个查询最多 100000 行。
I presume you are querying against the official DBpedia SPARQL endpoint hosted in Virtuoso ? If so being a community driven and hosted endpoint there are restrictions on use, particularly in terms of the size of the result sets that can be returned which has a restricted 2000 rows to protect it from abuse. Should you want to obtain larger result sets then it is recommended the SPARQL LIMIT and OFFSET clauses be used to retrieve results in chunks of 2000.
If you really want a dedicated DBpedia SPARQL endpoint with no restrictions and under your control, OpenLink Software provide an option to instantiate and host your own DBpedia EC2 AMI in the cloud which is an exact replica of the official DBpedia SPARQL endpoint both hosted in Virtuoso.
Note the LOD Cloud Cache hosted in Virtuoso does also include the DBpedia Datasets from the official DBpedia SPARQL endpoint along with most of the major datasets in the LOD Cloud, and hosted on a larger Virtuoso clustered server allowing a maximum of 100000 rows per query.