Cog stores graph as triples:
vertex <predicate> vertex
alice follows bob
bob follows fred
bob status cool_person
charlie follows bob
charlie follows dani
dani follows bob
dani follows greg
dani status cool_person
emily follows fred
fred follows greg
greg status cool_person
```python
from cog.torque import Loader
from cog.torque import Graph... read more
Cog is a graph database implemented purely in python. Torque is Cog’s graph query language. Cog also provides a low level API to its fast key-value store.
Cog is ideal for python applications that does not require a full featured database. Cog can easily be used as a library from within a Python application. It is written purely in Python so it has no dependencies other than Python standard library.... read more