Text this: An inference method from multi-layered structure of biomedical data