This is a TRAPI web API; to query the underlying knowledge graph, submit a POST request to the /PharmacogenomicsKG/query endpoint.
/PharmacogenomicsKG/query
Please see the TRAPI documentation for info on how to craft a query.