openphacts / explorer2

Ember JS web application used for browsing the Open PHACTS Discovery Platform
MIT License
2 stars 1 forks source link

Arbitrary ordering of pharmacology results #22

Open stain opened 9 years ago

stain commented 9 years ago

https://explorer.openphacts.org/compounds/pharmacology?uri=http%3A%2F%2Fops.rsc.org%2FOPS161515 shows (50 of 550 results loaded) - where 50 increases if you scroll.

However, in the underlying API call for /compound/pharmacology/pages there is no particular ordering - hence paging here gives an arbitrary selection of results which does not make much sense for the end user.

I believe as the RDF store does not change underneath, the ordering will be consistent, but only per Virtuoso install per Open PHACTS (and possibly Virtuoso) version.

I am not sure what would be a good default ordering, and if this should be done on the Explorer or API side.

jmartasek commented 9 years ago

Also if you click on the Target Name column you do not get the results ordered at all (at least not by the stuff that is displayed).

ianwdunlop commented 9 years ago

I think there are some API issues with the ordering which are being investigated. See openphacts/GLOBAL#291