Skip to content

Empty response #14

Open
Open
@YaserJaradeh

Description

I have followed the instructions to run SQG with all the dependencies (with all the noted versions) and it seems to run smoothly and without any problem.

I am trying to run the example call you have provided in the README file but the response is returned as {}. I have played around with the query and tried

{
   "question":"What is the birth place of Barack Obama?",
   "relations":[
      {
         "surface":"",
         "uris":[
            {
               "confidence":1,
               "uri":"http://dbpedia.org/ontology/birthPlace"
            }
         ]
      }
   ],
   "entities":[
      {
         "surface":"",
         "uris":[
            {
               "confidence":1,
               "uri":"http://dbpedia.org/resource/Barack_Obama"
            }
         ]
      }
   ],
   "kb":"dbpedia"
}

and another query:

{
   "question":"Who is the wife of Barack Obama?",
   "relations":[
      {
         "surface":"",
         "uris":[
            {
               "confidence":1,
               "uri":"http://dbpedia.org/ontology/spouse"
            }
         ]
      }
   ],
   "entities":[
      {
         "surface":"",
         "uris":[
            {
               "confidence":1,
               "uri":"http://dbpedia.org/resource/Barack_Obama"
            }
         ]
      }
   ],
   "kb":"dbpedia"
}

I always get the same response (am empty set of queries):

{}

I have checked the errors.log and the info.log files and there is nothing out of the ordinary going on there, plus I am checking the python console for any errors/warnings and there is nothing to see also.
I am running the code on Ubuntu 18.04.1 LTS Desktop with Intel(R) Xeon(R) W-2133 CPU and 64GB of Ram.

If you could point me in the direction of what might be the cause of the problem or something like this?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions