Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SearResultsWidget: missing labels in OLS4 response #153

Open
jusa3 opened this issue Oct 18, 2024 · 1 comment
Open

SearResultsWidget: missing labels in OLS4 response #153

jusa3 opened this issue Oct 18, 2024 · 1 comment

Comments

@jusa3
Copy link
Collaborator

jusa3 commented Oct 18, 2024

Missing "label" for some results in OLS4 search response (e.g. snomed):
http://ols4-nfdi4health.qa.km.k8s.zbmed.de/ols4/api/search?exact=false&obsoletes=false&q=*&groupField=true&type=ontology&rows=10&start=0

Versus OLS3 response:
https://semanticlookup.zbmed.de/ols/api/search?exact=false&obsoletes=false&q=*&groupField=true&type=ontology&rows=20&start=0

@Pooya-Oladazimi
Copy link
Collaborator

Pooya-Oladazimi commented Oct 18, 2024

@jusa3

I guess it is because you set the type=ontology in the call as they do not have any labels. For example, this does not have any type of filter and label field is there:
http://ols4-nfdi4health.qa.km.k8s.zbmed.de/ols4/api/search?exact=false&obsoletes=false&q=snomed&groupField=true&rows=10&start=0

Update:
It was my mistake. EBI provides the label even on type ontology:
https://www.ebi.ac.uk/ols4/api/search?exact=false&obsoletes=false&q=*&groupField=true&type=ontology&rows=10&start=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants