graphqlite

SQLite graph database extension for querying graph data structures

brewmacoslinux
Try with needOr install directly
Source

About

SQLite graph database extension

Commands

graphqlite

Examples

Load the GraphQLite extension into SQLite$ sqlite3 mydb.db '.load graphqlite'
Create a graph and query relationships between nodes$ sqlite3 mydb.db "SELECT * FROM graph_query WHERE source='node1' AND target='node2';"
Initialize a new graph database and add vertices$ sqlite3 mydb.db "INSERT INTO vertices (id, label) VALUES (1, 'user'), (2, 'post');"