Within the NIAID Data Ecosystem API, add a custom QueryBuilder to filter out any records where @type is not Dataset or ComputationalTool. This will be the equivalent of running this query by default on every single query, before the user-specified query is run.
NOTE: we should ensure that all Software or SoftwareSourceCode types are converted to ComputationalTool within the individual crawling scripts.
Within the NIAID Data Ecosystem API, add a custom QueryBuilder to filter out any records where
@type
is notDataset
orComputationalTool
. This will be the equivalent of running this query by default on every single query, before the user-specified query is run.NOTE: we should ensure that all
Software
orSoftwareSourceCode
types are converted toComputationalTool
within the individual crawling scripts.Examples: https://github.com/data2health/resource-discovery-api/blob/main/web/pipeline.py https://github.com/biothings/mygene.info/blob/master/src/web/pipeline/build.py https://docs.biothings.io/en/latest/tutorial/web.html