123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- // NODES //
- N::Professor {
- name: String,
- title: String,
- page: String,
- bio: String,
- }
- // We have this node so that we can link professors by research area + description
- N::ResearchArea {
- research_area: String,
- }
- N::Department {
- name: String,
- }
- N::University {
- name: String,
- }
- N::Lab {
- name: String,
- research_focus: String,
- }
- // Connect Professor to Lab
- E::HasLab {
- From: Professor,
- To: Lab,
- }
- // Connect Professor to Research Area
- E::HasResearchArea {
- From: Professor,
- To: ResearchArea,
- }
- // EDGES //
- // Connect Professor to University
- E::HasUniversity {
- From: Professor,
- To: University,
- Properties: {
- since: Date DEFAULT NOW,
- }
- }
- // Connect Professor to Department
- E::HasDepartment {
- From: Professor,
- To: Department,
- Properties: {
- since: Date DEFAULT NOW,
- }
- }
- // VECTORS //
- // Connect Professor to Research Area + Description
- V::ResearchAreaAndDescriptionEmbedding {
- areas_and_descriptions: String,
- }
- E::HasResearchAreaAndDescriptionEmbedding {
- From: Professor,
- To: ResearchAreaAndDescriptionEmbedding,
- Properties: {
- areas_and_descriptions: String,
- }
- }
|