Sentence: He bought tickets for the local train from the ticket machines or staffed kiosks.
Entities:
entity1: tickets
entity2: machines
Relation: Entity-Origin