Efficient Algorithms For Querying Large-Scale Data In Relational, Xml, And Graph-Structured Data Repositories