How will we use Neo4j?

What's the problem case?


The current API is RESTful.

What will the schema look like?


ViLO schema.xml

What will the queries look like?


Creating a simple graph:

CREATE (Java:Resource {title: "Java", institution: "St Andrews"})
CREATE (OOP:Concept {title: "Object Oriented Programming"})
CREATE (encap:Concept {title: "Encapsulation"})
CREATE (inher:Concept {title: "Inheritance"})
CREATE (encapDesc:Description {body: "Encapsulation is..."})
CREATE (inherDesc:Description {body: "Inheritance is..."})
CREATE
	  (Java)-[:TEACHES]->(OOP),
    (OOP)-[:TEACHES]->(encap),
    (OOP)-[:TEACHES]->(inher),
    (encap)-[:CONTAINS]->(encapDesc),
    (inher)-[:CONTAINS]->(inherDesc)

Output the graph:

MATCH (compSciJava {name: "Java"}) RETURN compSciJava
// OR
MATCH (n) RETURN n