我需要使用本体还是数据库? [英] Whether i need to use Ontology or database?

查看:95
本文介绍了我需要使用本体还是数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一组与足球相关的关键字,与我有一组正面情绪词和负面情绪词的数据集.我的要求是将这些和搜索社交媒体相结合,以获取一些实时讨论和帖子,并进行一些统计分析并得出一些结论.这个关键字和数据集是动态更新的.现在我的问题是

I have a set of football related keywords, a data set of positive sentiments words and negative sentiments words with me. My requirement is to combine these and search is social media to get some real time discussions and posts, and do some statistical analysis and reach some conclusions. This keywords and data sets are dynamically updating one. Now my question is

  1. 处理三组数据的最佳实践是什么?使用本体结构还是结构良好的数据库?
  2. 本体中的数据是否可以从任何编程语言访问?我可以使用.NET或R或任何其他编程语言更新或检索本体中的数据吗?

谢谢

推荐答案

将相关关键字表示为本体是一个好主意,而不是存储在数据库中. SPARQL可用于访问和搜索本体以获取相关信息 如果系统是一个本体,您的系统将具有丰富的语义 如果是数据库,则访问时间可能会有所改善,但语义上不会很丰富

Representing the related keywords as an ontology is a good idea rather than storing in a database. SPARQL can be used to access and search the ontology to get related information Your system will be semantically rich if its an ontology If its a database, may be the access time may be improved but it will not be semantically rich

您可以使用apache jena,这是用于创建本体的免费Java API.

You may use apache jena which is a free Java API for creating an ontology.

Python还有许多用于生成本体的插件.

Python also has many plugins for ontology generation.

这篇关于我需要使用本体还是数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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