{"repo":"JuliaComputing/SQLiteGraph.jl","free":true,"listed":false,"github":"https://github.com/JuliaComputing/SQLiteGraph.jl","clone":"git clone https://github.com/JuliaComputing/SQLiteGraph.jl.git","description":"A lightweight SQLite-based Graph Database for Julia.","language":"Julia","stars":31,"topics":["julia","sqlite","graph-database"],"license":"MIT","category":"databases-storage","readme_excerpt":"SQLiteGraph A Graph Database for Julia, built on top of SQLite.jl. Definitions SQLiteGraph.jl uses the Property Graph Model of the Cypher Query Language (PDF). - A Node describes a discrete object in a domain. - Nodes can have 0+ labels that classify what kind of node they are. - An Edge describes a directional relationship between nodes. - An edge must have a type that classifies the relationship. - Both edges and nodes can have additional key-value properties that provide further information. Edges and Nodes - Nodes and Edges have a simple representation: - With simple constructors: Adding Elements to the Graph Editing Elements insert! will not replace an existing node or edge. Instead, use replace! . Simple Queries - Use getindex to access elements. - If : is used as an index, an iterator is returned. - If s::String is used as an index, an iterator of nodes where s is one of the labels is returned. ✨ Attribution ✨ SQLiteGraph is STRONGLY influenced by https://github.com/dpapathanasiou/simple-graph. Under the Hood Details - Nodes and edges are saved in the nodes and edges tables, respectively. - nodes - id ( INTEGER ): unique identifier of a node - labels ( TEXT ): stored as ; -delimited (thus ; cannot be used in a label) - props ( TEXT ): stored as JSON3.write(props) - edges - source ( INTEGER ): id of \"from\" node ( nodes(id) is a foreign key) - target ( INTEGER ): id of \"to\" node ( nodes(id) is a foreign key) - type ( TEXT ): the \"class\" of the edge/relationship - props (","default_branch":null,"files":null,"tree":[],"storefront":"/r/JuliaComputing","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JuliaComputing/SQLiteGraph.jl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}