Data2Semantics/CDSInterface — Issue #1: Annotation data problems
Author: LaurensRietveld
Created: 2012-01-26 13:12:33+00:00
State: open

The SnippetLoader.java class (com.data2semantics.cds.ui.server.loaders) loads the annotations, and uses the values prefix, exact, postfix to create a snippet. The retrieval is currently inaccurate and plain wrong, because the annotations in the dataset consist of messy, wrong and duplicate entries. The queries in the SnippetLoader.java file are tweaked (in a bad way) for demo purposes, to retrieve multiple distinct snippets.

Solution:
- create proper annotations
- match them with a publication uri instead of a filename, so we need to have pdf files within our system, but we can refer to the publication
- fix the queries in the snippet loader