Closed tschaffter closed 2 months ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
Issues
0 New issues
3 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
Closes #2633
Description
Update the challenge service to enable the user to query EDAM concepts associated to one or more EDAM concept topics (e.g. operation, data, format, etc.).
Two solutions were considered to index concept section values in Elasticsearch:
http://edamontology.org/format_1478
=>format
http://edamontology.org/data_1
=>data
null
:http://www.geneontology.org/formats/oboInOwl#ObsoleteClass
=>null
http://www.w3.org/2002/07/owl#DeprecatedClass
=>null
I went with Solution 1 because the data model is not modified and there is no need to add (~duplicated) data to the SQL DB.
cc: @rrchai @gaiaandreoletti
Changelog
sections
search query parameterssection
in Elasticsearch whose value is dynamically generated from the concept class IDPreview
Search with the challenge service
List the EDAM concepts that belong to the "data" or "format" section.
Elasticsearch queries used to explore EDAM concepts during development
Check that the property
section
is indexes by Elasticsearch:Check the value of
section
for a few documents:Find all the concepts that belong to the "data" section with ES: