关于 RDF 的问题以及 thisweknow.org 的运作方式
我正在阅读这个问题
以及它的优秀答案。
罗杰·费德勒 |赢了 |温布尔登
我理解上面这句话是一个三元组。但如果句子是
Roger Federer won wimbledon in 2009,
我们如何将其表示为 RDF 三元组?
该网站 thisweknow.org 允许用户查询以城镇/城市开头的 data.gov 数据。有人可以举例说明他们的数据库中的数据是什么样子吗?它相当令人印象深刻,但我必须从一个城镇/城市开始,不能在州一级做到这一点(据我所知)。我认为他们很快就会允许用户查询县/州/国家级别的数据,是否可以在不对他们现在拥有的数据结构进行重大更改的情况下完成?如果是,怎么办?
I was reading through this question
and the excellent answers to it.
Roger Federer | won | wimbledon
I understand that the above sentence is a triplet. But if the sentence is
Roger Federer won wimbledon in 2009,
how do we represent it as a RDF triplet?
This site thisweknow.org allows users to query the data.gov data starting with a town/city. Can someone give an example of how the data would look like, in their db? Its quite impressive, but I have to start with a town/city, can't do it at the state level (as far as I could see). I assume they would be allowing users to query data at county/state/national level soon, can it be done without significant changes to the data structure they have now? If yes, how?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
或者,也许更清楚:
RDF 或任何其他基于节点/弧的语言中数据建模的主要技巧是了解哪里需要表示事物组合的中间对象。在这里,您需要一个包含年份、地点和获胜者的“锦标赛”节点。 “tournamentX”是它的任意ID。
Or, maybe more clearly:
The main trick to data-modeling in RDF, or any other node/arc-based language, is understanding where you need intermediate objects that represent combinations of things. Here you need a "tournament" node that has a year, a site and a winner. "tournamentX" is an arbitrary ID for it.