β01-20-2019 02:48 PM
Please help me model this
Course need some qualification. course sometimes requires any of N qualification. How can I model this scenario?
I was thinking to have a node which can have property "any" or "all" so my model look like
course -----> (any) --------- of N Qualifications
Course ------> (All)---------------> of N Qualifications
β01-20-2019 02:53 PM
your idea sounds good, that property could also have a number
otherwise you might model the "required" information on the relationship
(course)-->(requirement:Requirement:All)-[:NEEDS]->(qualification)
(course)-->(requirement:Requirement:Any)-[:NEEDS]->(qualification)
β01-21-2019 05:17 PM
Thanks Michael. In your example, Is βRequirementβ a node or relationship?
β01-21-2019 05:21 PM
Hi there, in Cypher, nodes are always in parenthesis, and relationships are in square brackets.
All the sessions of the conference are now available online