HACKER Q&A
📣 youssefabdelm

The Simplest Graph Database?


I'm looking for something with syntax like this:

  person was influenced by person

    weight 0.5

    reference

      url https://www.google.com

      source reporter

  person influenced person

How would you parse the above?

Simple:

1. Split by first and last space. First element is a variable/vertex, last element is a variable. Central "was influenced by" is an edge

2. Tabs = properties. In this case weight is a property of the connection as a whole. So you can think of it like: person_was_influenced_by_person.weight

So I want:

1. As close to English/Python as humanly possible.

2. No curly braces allowed!!11111!!

3. No "end" ... no need to "end" in python

4. No *

5. Maybe >, (, ), ... but dont overdo it.

6. So close to English a toddler could understand it


  👤 youssefabdelm Accepted Answer ✓
The nearest thing I've come across btw is Aspen: https://github.com/thepeergroup/aspen

Though does not seem to be in active development, and not quite as simple.


👤 distcs
Just wondering if something like a YAML file would be a simple enough graph database for you or if you are looking for something complex?