Re:GenosDB (GDB) – Decentralized P2P Graph Database
by estebanrfp on Thursday July 31, 2025 @07:17PM
(#44751308)
Exactly, it is clearly explained in the following link to the AI module. It shows you an example of how to make queries with natural language, of the type {
"prompt": "Get post id 5"
}, the link to the experimental module is https://estebanrfp.github.io/gdb/examples/AIQuery.html
I understand that you can create and store a node and then link that node to another node, but how could I query for nodes based on that link/relationship?
E.g.,
```
```I see that an `edges` property is added on result nodes from one of the examples[1] and I'm not familiar with Mongo-style queries[2] to know if there's a better operator, but the query above is meant to find nodes that have connected/edge nodes that have an age greater than 30 (e.g., Bob).
(Also, I'm not sure what it'd look like to check against direct AND indirect edges? e.g., Bob and Dwight)
Anyways, my question/point is, is there support (or plans to support) querying and traverse a directed graph?
[1] https://github.com/estebanrfp/gdb/wiki/.map()#b-query-langua... [2] https://estebanrfp.github.io/gdb/examples/testlinks.html