A graph dataset represents data through nodes, edges, their relationships, and node or edge features. Designing its structure explicitly helps test data integrity, avoid technical debt, and vary graph rules systematically in a GNN pipeline. section 8.2.2
Build the dataset around two complementary descriptions:
- Schema: specifies the graph’s structure and rules. section 8.2.2
- Instance model: applies the schema to a subset of the actual data. section 8.2.2
- Choose a simple homogeneous structure with one node and edge type, or extend it to heterogeneous graphs with multiple node and edge types, metadata, or ontologies. section 8.2.2
At left is the relationship nomenclature for ER diagrams. At right is an example of a conceptual schema using an ER diagram.
Use the ER-diagram nomenclature and conceptual schema to make entities, relationships, and constraints explicit before implementation. section 8.2.2
