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

Implement the mapping_ontologies parameter to specify the ontologies to use when mapping semantic expansion is activated #15

Open
jonquet opened this issue Nov 18, 2016 · 2 comments

Comments

@jonquet
Copy link

jonquet commented Nov 18, 2016

This task consists of implementing a parameter in the Annotator proxy (this project) that will enable to specify the ontologies to use to expand using the mappings in the case where the &expand_mappings=true is used.

The idea is that &ontologies= will always be used to specify the "ontologies to keep in result" which are the ontologies in which the user do want the final annotations.
However, when the mapping semantic expansion is used, instead of using always (which will stay the by default behaviour) the same ontologies to expand with the mappings, we will be able to specify to the Annotator the ones to explicitly used (or all) for mappings.

For example:
http://services.bioportal.lirmm.fr/annotator?text=mélanome&ontologies=MDRFRE,MSHFRE&longest_only=false&exclude_numbers=false&whole_word_only=true&exclude_synonyms=false&expand_mappings=true
will annotate "mélanome" with MSHFRE and MDRFRE, but if we specify
&mapping_ontologies=MEDLINEPLUS,SNMIFRE
then this 2 last ontologies will actually be used to generate direct annotations then the mappings MEDLINEPLUS->MSHFRE, SNMIFRE->MSHFRE, MEDLINEPLUS->MDRFRE, SNMIFRE->MDRFRE, will be used to generate new annotations within MSHFRE and MDREFRE.

This will need to be present in the UI also.

@jonquet jonquet changed the title Implement the mapping_ontologies parameter to specify the ontologies to use when mappign semantic expansion is activated Implement the mapping_ontologies parameter to specify the ontologies to use when mapping semantic expansion is activated Jan 25, 2017
@syphax-bouazzouni
Copy link
Contributor

syphax-bouazzouni commented Apr 3, 2024

@Bilelkihal is this the thing that you were asked to check if it does work? (mappings expansion) (#48)

@jonquet was it implemented ?
Same for #13

@jonquet
Copy link
Author

jonquet commented Apr 4, 2024

No this is a different issue but related. We can address this in the proxy.

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

No branches or pull requests

2 participants