Disclosed is a relation information generating device including a data relation definition input unit 2 for inputting a data relation definition defining a relation between data in a data set, a data relation definition analysis unit 3 for analyzing the relation between the data defined in the data relation definition inputted thereto by the data relation definition input unit 2, and a data relation information generating unit 4 for generating data relation information in which data related to each other in the data set are set on the basis of the results of the analysis of the data relation definition by the data relation definition analysis unit 3. 展开▼