I am trying to use common sense reasoning. In which I came across this cool thing called Conceptnet http://conceptnet5.media.mit.edu/. There is a also search page for searching different concepts. Here is the Search Page(link) for that. I wanted to use it through python. I tried this Calling conceptnet through api calls(link). But I want to set it up onto my machine locally with python and ubuntu. They have given the method for setting it up Setting concpetnet locally(link). In this they are using sqlite for indexing purpose. But I wanted to know how can I use Apache solr for the same purpose. I am new to apache solr, so will it be possible using apache solr instead od sqlite and also will that change the following method, which is being used into the current thing for calling conceptnet through python.
>>> from conceptnet5.query import lookup
>>> for assertion in lookup('/c/en/example'):
... print(assertion)
Help is appreciated. Thankz :)