Database Reference
In-Depth Information
Figure 3.5. Introducing
type
properties to differentiate between
User
and
Movie
elements
You're almost there—the final step is to add the movie-lovers element to the social net-
work.Let'ssaythatJohnliked
Fargo
andgaveitfivestars,Katesaw
Heat
andgaveitthree
stars,andJackliked
Fargo
andgaveitfourstarsand
Alien
andgaveitfivestars.
Figure 3.6
illustrates the modeling board after adding movie ratings.