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