Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Statistics within NCBO Annotator results ?

Ray Fergerson ray.fergerson at
Tue Mar 4 15:30:58 PST 2014


Search is paged because even basic queries return 1000’s of results and
often just the first page is important. Currently we do not page the
annotator results, in part because there are not so many returned classes
and in part because we suspect that people will want all of the results.
We also believe that “real” uses of the annotator would specify just a few
ontologies and this would also help to limit the returned values.

So this is our thinking. We could be wrong though and we are interested in
use cases outside of what we have considered. If we do get complaints
about the lack of paging on annotation then we could easily implement it.
Overall though paging takes a toll on the system and we want to make sure
that we need it before we implement it.


From: Clement Jonquet [mailto:jonquet at]
Sent: Monday, March 3, 2014 3:09 AM
To: 'Ray Fergerson'
Cc: support at
Subject: RE: [bioontology-support] Statistics within NCBO Annotator
results ?

Hi Ray, all,

Thanks for your response. Somehow I missed it until today ;)

I understand.

Having that information is not crucial but it’s easier when playing with
the service to figure out the results

But having the whole API uniform is also important.

Will not considering the “metadata” of an \annotator call a little bit
like a \search call


Which returns :


page": 1,

"pageCount": 44,

"prevPage": null,

"nextPage": 2,



Which are some kind of metadata about the \search call.

This will allow you in the same time:

-          Paginate \annotator service results. (what’s happening
currently if the number of annotations is too big for a single page?)

-          Include some additional metadata for all services using the
same technique for all services. Somehow, this would be relevant to have
the numbers of results of a \search call, no?



De : Ray Fergerson [mailto:ray.fergerson at]
Envoyé : mercredi 5 février 2014 20:31
À : Clement Jonquet; support at
Objet : RE: [bioontology-support] Statistics within NCBO Annotator results


It seemed to us when we created the API revision that this information was
either known to the called (parameters passed) or easily extracted from
the results (statistics). What is the use case for providing this
information? At this point it would be difficult in many calls (we want
the annotator API to work like the rest of the system) because they only
return a single object. Adding metadata would require some sort of
wrapping object.


From: bioontology-support-bounces at
[mailto:bioontology-support-bounces at] On Behalf Of
Clement Jonquet
Sent: Wednesday, February 5, 2014 7:57 AM
To: support at
Subject: [bioontology-support] Statistics within NCBO Annotator results ?

Hi all,

Is there any chance to re-implement in new Annotator the “statistics” for
every Annotator call.

-          an ID for the result, usefull

-          the number of annotations of which types (direct, hierarchy,

-          reminder of parameters used for this call

Old Annotator used to return an annotatorResultBean that contained all of

Let me know.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 47081 bytes
Desc: not available
URL: <>

More information about the bioontology-support mailing list