Question: Create a Neo 4 j database using any domain that was not used as a classroom example. Your nodes should have Labels; they should all
Create a Neoj database using any domain that was not used as a classroom example. Your nodes should have Labels; they should all have thename attribute and any other attributes you deem necessary. Relationships should exist between nodes, but some nodes of a certain type Label may not participate in all the relevant relationships. Please make the database with at least four types of nodes. Please have at least some relationships with attributes. Please try to simulate inheritance by having some nodes with multiple Labels eg Person and Actor
Since the Neoj databases will be local, I cannot access them. Therefore, try to create at least one Neo query that will show the entire network.You might need to slide the returned nodes around to get a good picture. If it is impossible to get a screenshot of the entire network, at least let me see enough of the network to understand how you modeled the database. Create nine other interesting queries and capture the query and the results in screen shots. Some queries may return nodes; others may return specific fields. So you might have some screen shots of the graph and other screen shots of the returned data tables.
Please paste your screen shots of these ten queries into MS Word and upload a single Word document.
Try to make your queries complex. To do that, you should think about each node and each relationship. Create different use cases in your mind that can result in a realistic database with interesting query possibilities. Push yourself to develop challenging queries. The more you put into this, the more you will learn. Remember that the O'Reilly neo textbook is available on the class web site.
When designing your neo database, consider these questions:
What types of nodes will I create?
For each node, what should the attributes be
How will I identify each node preferably using thename attribute
What relationships exist between nodes?
Is there ever a time when two different relationships exist between two nodes?
In which direction should the relationships point?
Which relationships should have their own attributes? And what will they be
The easiest way to build a neo database is to make an ER diagram with your nodes and relationships. Except if you remember your ER terminology, you will make a diagram of actual Entities and not Entity Types. Then create instances of every node and instances of every relationship that pertains to those nodes. It is easy to build a neo database from a picture.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
