Suppose we just got hired to build a graph database solution for a local college. First, we should build the information model. It might look something like this:
Every course has one instructor and many students.
An instructor can teach more than one class.
An advisor has more than one student, but a student can have only one advisor.
A student may have more than one tutor, and a tutor may help more than one student.
We have five sets of objects:
Set | Description |
A | Instructors |
B | Courses |
C | Students |
D | Tutors |
E | Advisor |
Our actual database schema could look something like this: