1. A query definition system for implementing relational algebra in a relational database, the system comprising: (a) means for associating with a relation definition a dependency matrix containing entries representing dependencies between said relation and its subparts, each subpart representing another relation, and (b) means for displaying, on a display device, structural information about said relation using the columns and rows and values from said dependency matrix.