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] Different page sizes give (after page collection) different results

Aaron Baker ab4 at bcm.edu
Wed Oct 22 08:37:58 PDT 2014


Hi,

I noticed the following behavior which I thought was strange and that I 
should bring to your attention. As noted in the subject, page sizes 
affects the results of the requests. Consider the number of terms 
returned in the "collection" key of the JSON envelope you provide for 
the following two examples.

Example 1:

http://data.bioontology.org/ontologies/NCIT/classes/http%3A%2F%2Fncicb.nci.nih.gov%2Fxml%2Fowl%2FEVS%2FThesaurus.owl%23C12219/descendants?apikey={apikey}&format=json&include=prefLabel%2Cdefinition%2Csynonym&include_context=false&include_links=true&page=2&pagesize=5000

http://data.bioontology.org/ontologies/NCIT/classes/http%3A%2F%2Fncicb.nci.nih.gov%2Fxml%2Fowl%2FEVS%2FThesaurus.owl%23C12219/descendants?apikey={apikey}&format=json&include=prefLabel%2Cdefinition%2Csynonym&include_context=false&include_links=true&page=2&pagesize=5000

Example 2:

http://data.bioontology.org/ontologies/NCIT/classes/http%3A%2F%2Fncicb.nci.nih.gov%2Fxml%2Fowl%2FEVS%2FThesaurus.owl%23C12219/descendants?apikey={apikey}&format=json&include=prefLabel%2Cdefinition%2Csynonym&include_context=false&include_links=true&page=1&pagesize=4999

http://data.bioontology.org/ontologies/NCIT/classes/http%3A%2F%2Fncicb.nci.nih.gov%2Fxml%2Fowl%2FEVS%2FThesaurus.owl%23C12219/descendants?apikey={apikey}&format=json&include=prefLabel%2Cdefinition%2Csynonym&include_context=false&include_links=true&page=2&pagesize=4999

Adding up the number of terms in each url's "collection", in example 1, 
the number of terms is 5000 + 0. In example 2, the number of terms is 
4999 + 1683. This behavior has persisted for a few hours now (I tried 
last night with the same URLs, and again this morning).

Is there an issue with using page size 5000? Please let me know if I 
should modify my request parameters.

Thanks,
Aaron


More information about the bioontology-support mailing list