Results: Here, we have implemented JSON for Linking Data (JSON-LD) technology on the BioThings APIs that we have developed, MyGene.info , MyVariant.info and MyChem.info . JSON-LD provides a standard way to add semantic context to the existing JSON data structure, for the purpose of enhancing the interoperability between APIs. We demonstrated several use cases that were facilitated by semantic annotations using JSON-LD, including simpler and more precise query capabilities as well as API cross-linking.
Conclusions: We believe that this pattern offers a generalizable solution for interoperability of APIs in the life sciences.
Keywords: API; API interoperability; JSON-LD; Knowledge discovery; Linking APIs; Semantic web.