Sentence: With medical ghostwriting, pharmaceutical companies pay both professional writers to produce papers and then pay other scientists or physicans to attach their names to these papers before they are published in a medical or scientific journals.
Entities:
entity1: papers
entity2: writers
Relation: Product-Producer