Gemma icon indicating copy to clipboard operation
Gemma copied to clipboard

/annotations/search endpoint returns incorrect results

Open oganm opened this issue 1 year ago • 1 comments

It appears that /annotations/search endpoint returns incorrect value-value.URI pairings on occasion. Some examples are

This may be related to some misannotations within gemma but trying to search for the datasets using the filters failed so far. Another possibility is predicate pairings returning wrong term from the statement as a match

oganm avatar Jul 30 '24 02:07 oganm

Yes, free text annotations of time point won't have a URI but it would be part of a Statement.

select * from CHARACTERISTIC WHERE VALUE_URI='http://purl.obolibrary.org/obo/OBI_0000025' and VALUE <> 'reference substance role'; returns three records (one with a NULL class so it is probably not active) those are some kind of curation or conversion error. Factor values 266568 and 81940. I'll investigate the other term later and take it to the curators.

ppavlidis avatar Jul 30 '24 16:07 ppavlidis

@oganm is this still affecting you?

arteymix avatar Oct 23 '24 19:10 arteymix

The examples given seem to be returning the correct results now

oganm avatar Oct 23 '24 20:10 oganm