This patent application describes a system for managing semi-structured data stored as triples in a triple store. The system includes a principal triple store and an auxiliary triple store. A management program monitors query frequency and migrates triples that are frequently returned as query results from the principal store to the auxiliary store. This reduces the number of rows that must be searched to execute queries. The management program also repatriates triples back to the principal store if they are no longer frequently accessed.