Patent attributes
A document such as a book or textbook includes multiple sections such as chapters. Concept phrases are determined for each of the sections based on the text of each section. A set of content items such as videos is received, and each content item is associated with one or more queries that were submitted by users who were provided the content item in a set of search results. These queries are processed to determine concept phrases that are associated with the content items. The content items and their associated concept phrases are compared with the concept phrases associated with the sections to determine, for some or all of the content items, a minimum subset of the sections whose associated concept phrases cover most of the concept phrases that are associated with the content item. The content items are inserted or linked with the sections in their corresponding minimum subsets.