This is more of an open-ended and possibly subjective question regarding performance and organization.
Let’s say I have a music database of songs, albums, and artists. All three have names. In a relational database this is straightforward with columns and FKs.
In Dgraph I can use two basic options. I can have a single Name predicate which can be attached to any of the three. Or I can have SongName, AlbumName, ArtistName, etc. for each node type I’ll be storing.
Are there any pros/cons when all other factors are equal (indexing requirements, etc.)?