Build knowledge base with snapshots