Menu

cog / Blog: Recent posts

Torque - Cog's graph query language.

Torque is a query language inspired by Gizmo

Cog stores graph as triples:

vertex <predicate> vertex

Sample data

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

Loading triples:

```python
from cog.torque import Loader
from cog.torque import Graph... read more

Posted by Arun Mahendra 2018-07-27

Cog - A Python lightweight graph database

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

Posted by Arun Mahendra 2018-07-25
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.