解决方法来查询 DBpedia 的两个关键字
我想在 DBpedia 中查询多个关键字,显然我必须搜索精确的子字符串,因此如果我想要有关埃及金字塔
的页面,搜索埃及金字塔
将不会工作,但这正是我所需要的..
所以我想也许我可以通过搜索关系来看看“金字塔”这个概念是否与“埃及”有关,但我发现很难想出 顺便说一句,我通过以下方式查询所需的 sparql 查询
I want to query DBpedia for multiple keywords, apparently I have to search for an exact substring, so if I want the page about Egyptian Pyramids
, searching for Egypt Pyramids
won't work, but that's exactly what I need..
So I was thinking maybe I can see if the concept "Pyramids" has anything to do with "Egypt", by searching through the relations, but I am finding it difficult to come up with the sparql query needed for that
BTW I query through: http://dbpedia.org/sparql
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试构建如下所示的 SPARQL 查询可能会很有用:
或者您想要不同的东西吗?
Trying to construct a SPARQL query like the following might be useful:
Or do you want something different?