A super fast Graph Database uses GraphBLAS under the hood for its sparse adjacency matrix graph representation. Our goal is to provide the best Knowledge Graph
A super fast Graph Database uses GraphBLAS under the hood for its sparse adjacency matrix graph representation. Our goal is to provide the best Knowledge Graph
Our goal is to build a high-performance Knowledge Graph tailored for Large Language Models (LLMs), prioritizing exceptionally low latency to ensure fast and efficient information delivery through our Graph Database.
FalkorDB is the first queryable Property Graph database to leverage sparse matrices for representing the adjacency matrix in graphs and linear algebra for querying.
Sparse Matrix Representation: Utilizes sparse matrices to represent adjacency matrices, optimizing storage and performance.
Linear Algebra Querying: Employs linear algebra for query execution, enhancing computational efficiency.
Property Graph Model Compliance: Supports nodes and relationships with attributes, adhering to the Property Graph Model.
OpenCypher Support: Compatible with OpenCypher query language, including proprietary extensions for advanced querying capabilities.
Explore FalkorDB in action by visiting the Demos.
To quickly try out FalkorDB, launch an instance using docker:
docker run -p 6379:6379 -p 3000:3000 -it --rm -v ./data:/var/lib/falkordb/data falkordb/falkordbThen, open your browser and navigate to http://localhost:3000.
You can also interact with FalkorDB using any of the supported Client Libraries
In this example, we'll use the FalkorDB Python client to create a small graph representing a subset of motorcycle riders and teams participating in the MotoGP league. After creating the graph, we'll query the data to explore its structure and relationships.
…You can call FalkorDB's commands from any Redis client. Here are several methods:
redis-cli$ redis-cli
127.0.0.1:6379> GRAPH.QUERY social "CREATE (:person {name: 'roi', age: 33, gender: 'male', status: 'married'})"You can interact with FalkorDB using your client's ability to send raw Redis commands.
Note: Depending on your client of choice, the exact method for doing that may vary.
This code snippet shows how to use FalkorDB with from Python using falkordb-py:
from falkordb import FalkorDB
# Connect to FalkorDB
db = FalkorDB(host='localhost', port=6379)
# Select the social graph
g = db.select_graph('social')
reply = g.query("CREATE (:person {name:'roi', age:33, gender:'male', status:'married'})")Note: Some languages have client libraries that provide support for FalkorDB's commands:
| Project | Language | License | Author | Stars | Package | Comment |
|---|---|---|---|---|---|---|
| jfalkordb | Java | BSD | FalkorDB | Maven | ||
| falkordb-py | Python | MIT | FalkorDB | pypi | ||
| falkordb-ts | Node.JS | MIT | FalkorDB | npm | ||
| falkordb-rs | Rust | MIT | FalkorDB | Crate | ||
| falkordb-go | Go | BSD | FalkorDB | GitHub | ||
| NFalkorDB | C# | Apache-2.0 | FalkorDB | nuget |
| Project | Language | License | Author | Stars | Package | Comment |
|---|---|---|---|---|---|---|
| nredisstack | .NET | MIT | Redis | nuget | ||
| redisgraph-rb | Ruby | BSD | Redis | GitHub | ||
| redgraph | Ruby | MIT | pzac | GitHub | ||
| redisgraph-go | Go | BSD | Redis | GitHub | ||
| rueidis | Go | Apache 2.0 | Rueian | GitHub | ||
| ioredisgraph | JavaScript | ISC | Jonah | GitHub | ||
| @hydre/rgraph | JavaScript | MIT | Sceat | GitHub | ||
| php-redis-graph | PHP | MIT | KJDev | GitHub | ||
| redisgraph_php | PHP | MIT | jpbourbon | GitHub | ||
| [redisgraph-ex][redisgraph-ex-url] | Elixir | MIT | [crflynn][redisgraph-ex-author] | [![redisgraph-ex-stars]][redisgraph-ex-url] | [GitHub][redisgraph-ex-url] | |
| [redisgraph-rs][redisgraph-rs-url] | Rust | MIT | [malte-v][redisgraph-rs-author] | [![redisgraph-rs-stars]][redisgraph-rs-url] | [GitHub][redisgraph-rs-url] | |
| [redis_graph][redis_graph-url] | Rust | BSD | [tompro][redis_graph-author] | [![redis_graph-stars]][redis_graph-url] | [GitHub][redis_graph-url] | |
| [rustis][rustis-url] | Rust | MIT | [Dahomey Technologies][rustis-author] | [![rustis-stars]][rustis-url] | Crate | Documentation |
| [NRedisGraph][NRedisGraph-url] | C# | BSD | [tombatron][NRedisGraph-author] | [![NRedisGraph-stars]][NRedisGraph-url] | [GitHub][NRedisGraph-url] | |
| [RedisGraph.jl][RedisGraph.jl-url] | Julia | MIT | [xyxel][RedisGraph.jl-author] | [![RedisGraph.jl-stars]][RedisGraph.jl-url] | [GitHub][RedisGraph.jl-url] |
[redislabs-redisgraph-php-author]:
No open issues yet, or sync has not completed.