This issue compares the queries in the CAM-KP-API Integration Tests with the output from Automat-CAM-KP. Just running the test against the new endpoint doesn't work (it returns a 422 Unprocessable Entity error), and I can't immediately figure out why. However, running these queries directly against CAM-KP-API and Automat-CAM-KP using the Swagger endpoint works.
This seems to be because biolink:positively_regulates is no longer in Biolink (although a better error message would be nice). Replacing that with biolink:regulates works, but returns zero results.
This query does work if you use the normalized form of CHEBI:15361 -- which is PUBCHEM.COMPOUND:107735 -- instead. So that's probably the only reason it doesn't work.
This issue compares the queries in the CAM-KP-API Integration Tests with the output from Automat-CAM-KP. Just running the test against the new endpoint doesn't work (it returns a
422 Unprocessable Entity
error), and I can't immediately figure out why. However, running these queries directly against CAM-KP-API and Automat-CAM-KP using the Swagger endpoint works.Tests returning results on both CAM-KP-API and Automat-CAM-KP.
Tests failing
Here are some queries that currently work on CAM-KP-API but fail on Automat-CAM-KP with an Internal Server Error:
biolink:positively_regulates
is no longer in Biolink (although a better error message would be nice). Replacing that withbiolink:regulates
works, but returns zero results.biolink:affects_activity_of
is no longer in Biolink; replacing it withbiolink:affects
works, but returns zero results.Tests that return results on CAM-KP-API but return no results on Automat-CAM-KP