Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-12-2021 09:19 PM
Hi
I would like to try to build a graph database of career trajectories that could be used to identify possible trajectories for new employees. In particular I would like to include education, internships, job types with specifics. For example:
As mentioned above I would like to be able to use the database model to identify possible career and education trajectories while taking into consideration both the specifics of the degrees earned and the job experience, and the order in which they all occurred. (This of course is made a little complicated by the M.Sc. degree being earned after starting one position but before finishing another position.) Also of interest are the schools attended and the hospitals worked at, as some schools are better than others and some work locations are better than others.
If yes, would I be able to take a similar but smaller graph for a new employee and then look for all graphs that started in a similar way?
Thanks . . .
Phil Troy
07-13-2021 11:09 AM
Here is my attempt::
merge (p:Person {name: "Mary"})
merge (a:EarnedDegree {degree: "Bachelors of Science", field: "Nursing", year: 2018})
merge (b:CareerGoal {career: "Nursing"})
merge (p)-[:CAREER_GOAL]->(b)
merge (b)-[:EARNED_DEGREE]->(a)
merge (c:Hospital {hospital: "Jewish General Hospital", city: "Montreal", country: "Canada", graduationYear: 2021})
merge (a)-[:INTERNSHIP]->(c)
merge (d:Job {position: "Nurse", department: "ED", endingYear: 2023})
merge (c)-[:FIRST_JOB]->(d)
merge (d1:Job {position: "Nurse", department: "Recovery Room", shift: "Night Duty", endingYear:2024})
merge (d)-[:NEXT_MOVE]->(d1)
merge (f:HigherEducation {degree: "Masters of Science", university: "McGill", graduationYear: 2024})
merge (d)-[:HIGHER_EDUCATION]->(f)
merge (g:Job {position: "Manager", department: "CCU", hospital: "Universite Montreal"})
merge (d1)-[:NEXT_MOVE]->(g)
Result:
07-13-2021 01:05 PM
Hi
Thanks for responding to my question!
Are you suggesting that the data be structured as a sequence of nodes in date order, or are you suggesting that dates be treated as entities?
If you are suggesting that the data be structured as a sequence of nodes in date order, that would work very well for the type of question I asked, but would it work well for finding all the individuals that are currently in a particular type or class of positions?
I used Arrows.app to try out (partially) the second approach. It looks different than what you suggested but I would appreciate your feedback on it. FYI, I left out one of the positions as well as the internship, but I think they could readily be included using the same approach.
THANKS . . .
Phil Troy
07-14-2021 12:52 PM
Your approach is also good and is date centric. I just tested with small data. This is how it looks.
All the sessions of the conference are now available online