Odessapy2013 - Graph databases and Python
graph-databasespythonneo4jarangodbnosql
Abstraction: Comparison of graph database options Neo4j, ArangoDB, and PostgreSQL with Python
Key points:
- PostgreSQL can model graphs with nodes/edges tables, unique index on LEAST/GREATEST pair to prevent duplicate edges, and constraint to prevent self-loops
- Neo4j is the most popular graph DB (1,333 GitHub mentions cited); uses Cypher query language; Python libraries include Py2Neo, Neomodel, neo4django, bulbflow
- ArangoDB is a NoSQL document-graph hybrid; uses AQL (Arango Query Language) and supports Gremlin; edge collections can carry properties
- Demonstrated building a Twitter social graph (favorites network) using ArangoDB Python client
- Graph model advantages: native traversal queries vs. recursive SQL joins in relational model
Connections: Neo4j · Arangodb · Postgresql · Graph Databases · Nosql · Knowledge Graphs
Source: http://de.slideshare.net/MaxKlymyshyn/odessapy2013-pdf