Look up concept URI from freetext, e.g. "aspirin", find compound pharmacology and their target info. For each target, blast+tree on its sequence - if any.
Uses the Open PHACTs API https://dev.openphacts.org/docs/alpha and the myExperiment workflow 3369 "Blast_Align_and_Tree" http://www.myexperiment.org/workflows/3369.
Notice that in tihs workflow, most concepts won't have compounds, and most compounds won't have targets, and most targets won't have a sequence - Open PHACT API wise this mean...