Typically, thematic roles originate in the meaning of verbs and prepositions. In a typical active sentence, a verb assigns an agent role to its subject NP and a theme role to its object NP. As to a preposition, it assigns a role (often a source, goal, or location) to its complement.