Whether i need to use Ontology or database?

我的未来我决定 提交于 2019-12-11 03:26:05

问题


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. What is the best practice to handle the three sets of data? Using an Ontology structure or Well structured database?
  2. Whether the data in the ontology is able to access from any programming languages? can i update or retrieve the data in Ontology using .NET or R or with any other programming language?

Thank you


回答1:


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

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

Python also has many plugins for ontology generation.



来源:https://stackoverflow.com/questions/23950515/whether-i-need-to-use-ontology-or-database

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!