gerbil icon indicating copy to clipboard operation
gerbil copied to clipboard

Add available API methods for experiment types to DBpedia Sportlight

Open MichaelRoeder opened this issue 5 years ago • 0 comments

Descritpion

GERBIL comes with a general DBpedia spotlight annotator used for the OKE_Task1 experiment type (see https://github.com/dice-group/gerbil/blob/master/src/main/properties/annotators.properties#L47). However, the API states that it offers two additional methods https://www.dbpedia-spotlight.org/api which we should use.

Solution

Add additional adapters for DBpedia Spotlight based on the methods that are offered by the API. From a quick view on the documentation, I would suggest the following mapping:

  • /annotate comprises spotting, candidate mapping, disambiguation and linking = OKE_Task1 (the currently used method)
  • /spot comprises only spotting = ERec (:warning: should be checked)
  • /candidates comprises spotting and candidate mapping = unclear whether it fits to one of our experiment types :warning:

MichaelRoeder avatar Sep 10 '19 11:09 MichaelRoeder