Freebase 地理搜索
我想知道是否有可能获取例如由纬度/经度坐标定义的地理区域中发生的所有事件。例如,诺曼底海岸的一个矩形区域应该会出现一些战斗事件。我尝试过直接 MQL,也尝试过 http://api.freebase.com 上的服务/api/service/geosearch?help,但我没有运气。有任何提示或示例吗?
感谢您提供的任何帮助!
I'm wondering if it's possible to get, for example, all events that occurred in a geographical area, as defined by lat/long coordinates. For instance a rectangular area on the shores of Normandy should pull up some battle events. I've tried straight MQL, and also the service at http://api.freebase.com/api/service/geosearch?help, but I'm having no luck. Any hints, or examples anywhere?
Thanks for any help you can give!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以获得给定区域的主题(在我的示例中为 [0,0,50,50]):http://api.freebase.com/api/service/geosearch?location=[0,0,50,50 ]&location_type=/location/location&inside=true&indent=1&format=ids
然后获取那里发生的事件:
You could get the topics for the given area ([0,0,50,50] in my example): http://api.freebase.com/api/service/geosearch?location=[0,0,50,50]&location_type=/location/location&inside=true&indent=1&format=ids
And then get the events that happened there: