Skip to content
Sierra Moxon edited this page Feb 19, 2018 · 8 revisions

AGR Neo4j Schema

Formatting

  • Node class names follow camel case with uppercase first letter (e.g. SecondaryIds). If the term is an abbreviation, keep all abbreviated letters as uppercase (e.g. GOTerm).
  • Field names follow camel case with lowercase first letter (e.g. geneSynopsisUrl).
  • Relationship names use all capital letters (e.g. ASSOCIATION).

Objects

  • Nodes
  • Relationships
  • Constraints

Visualizing Schema

  • Build out a local copy of the neo4j database by using the README file for this repository, or loading an image from triggered builds of this repo on the development servers.
  • From the neo4j browser: CALL db.schema() to see a visual representation of the "schema" -- it looks like nodes and edges, but is really a generic representation of the kinds of nodes and edges found in the database.