Open danidi opened 8 years ago
Using min-score of 2, entity_type target, and pageSize all returns a list of all entities (even those that should be filtered out). The only difference is, that only _about is given for the filtered entities, all other parameters are removed. https://beta.openphacts.org/2.1/patent/entities/pages?uri=http%3A%2F%2Frdf.ebi.ac.uk%2Fresource%2Fsurechembl%2Fpatent%2FEP-1339685-A2&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1&min-score=2&entity_type=target&_pageSize=all&_format=json
Removing pageSize all, but keeping the min-score filter returns entities with a score less then 2 as well. https://beta.openphacts.org/2.1/patent/entities/pages?uri=http%3A%2F%2Frdf.ebi.ac.uk%2Fresource%2Fsurechembl%2Fpatent%2FEP-1339685-A2&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1&min-score=2&entity_type=target&_format=json
The corresponding count call works fine.
Using min-score of 2, entity_type target, and pageSize all returns a list of all entities (even those that should be filtered out). The only difference is, that only _about is given for the filtered entities, all other parameters are removed. https://beta.openphacts.org/2.1/patent/entities/pages?uri=http%3A%2F%2Frdf.ebi.ac.uk%2Fresource%2Fsurechembl%2Fpatent%2FEP-1339685-A2&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1&min-score=2&entity_type=target&_pageSize=all&_format=json
Removing pageSize all, but keeping the min-score filter returns entities with a score less then 2 as well. https://beta.openphacts.org/2.1/patent/entities/pages?uri=http%3A%2F%2Frdf.ebi.ac.uk%2Fresource%2Fsurechembl%2Fpatent%2FEP-1339685-A2&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1&min-score=2&entity_type=target&_format=json
The corresponding count call works fine.