dice-group / dice-group/gerbil

Add available API methods for experiment types to DBpedia Sportlight

Open
#330 0 comments 0 reactions 0 assignees View on GitHub
type:enhancement type:question
Dominant language
Java
Stars
231
Forks
55
PR merge metrics
No merged PRs in 30d

Description

### 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:

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the DBpedia Spotlight annotator entry in src/main/properties/annotators.properties and compare the documented /annotate, /spot, and /candidates methods in the DBpedia Spotlight API. Determine whether /spot maps to ERec and whether /candidates matches an experiment type, then add the corresponding adapters and configuration for the supported mappings.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.