A Graph-based Approach For Modeling And Indexing Video Data