@startuml compareware-erd-nf skinparam linetype ortho hide circle left to right direction '!theme sandstone !theme blueprint entity User { Id: Autoumber -- Name Pass } entity Tag { Id: Autoumber -- Key: String Value: String } entity ItemTag { (FK) ReviewId (FK) TagId -- } entity Item { WikidataId: String -- } entity Review { Id: Autoumber -- (FK) AuthorId Text } entity ReviewTag { (FK) ReviewId (FK) TagId -- } entity ItemReview { (FK) ItemId (FK) ReviewId -- } User ||--o{ Review::AuthorId: Writes Item ||--o{ ItemTag Review ||--o{ ReviewTag ItemTag::TagId ||--o| Tag::Id ReviewTag::TagId ||--o| Tag::Id Item::WikidataId ||--o{ ItemReview::ItemId ItemReview::ReviewId }|--|| Review::Id User }|--|{ User: Trusts @enduml