Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Neo4j

Leo Soto
February 11, 2015

 Neo4j

Leo Soto

February 11, 2015

Transcript

34 slides
  1. Graph Nodes records data in Nodes have Properties Nodes Relationships

    are organized by Relationships have Properties
  2. Graph Nodes records data in Nodes have Properties Nodes Relationships

    are organized by Relationships have Properties Nodes Labels are grouped by Indexes Properties map from Nodes/Rels to
  3. Crear todo junto CREATE (bci {name: "Bci"} )-[r:works_in {since: 1937}]->(f

    {name: "Finance"} ) SET bci:Company SET f:Industry
  4. Patrones MATCH ( :Company {name: “Continuum”} )<-[:fan_of]-( fan:Person )-[red:knows*1..3]->( contacto

    )-[:works_in]->( :Industry {name: "Venture Capital”} ) RETURN fan, red, contacto
  5. Schema Index CREATE INDEX ON :Company(name) CREATE INDEX ON :Industry(name)

    MATCH (c:Company)-[r:works_in]->(i:Industry) WHERE c.name = "Continuum" RETURN c,r,i

More Decks by Leo Soto

Other Decks in Technology