Based on this dataset It seems the schema has errors regarding the containerOf edge:
- wrong arrow direction: The schema shows a connection from a
Post to a Forum but it should be the opposite, since the Post has a column ContainerForumId. The schema wrongly indicates that the Forum has the foreign key to a Post.
- missing connection: The data includes the column
ParentPostId but there is no connection between a Comment to a Post. It seems there should be a link from a Comment to a Post that is not displayed in the diagram.
In both cases, the label of the edge could be labelled hasContainer, instead of containerOf.
See https://github.com/ldbc/ldbc_snb_docs/blob/dd444ead15c3ebad5bcaf426a0d123809e2d2736/figures/schema-comfortable.pdf
Based on this dataset It seems the schema has errors regarding the
containerOfedge:Postto aForumbut it should be the opposite, since thePosthas a columnContainerForumId. The schema wrongly indicates that theForumhas the foreign key to aPost.ParentPostIdbut there is no connection between aCommentto aPost. It seems there should be a link from aCommentto aPostthat is not displayed in the diagram.In both cases, the label of the edge could be labelled
hasContainer, instead ofcontainerOf.See https://github.com/ldbc/ldbc_snb_docs/blob/dd444ead15c3ebad5bcaf426a0d123809e2d2736/figures/schema-comfortable.pdf