About Cayley a scalable graph database

2015-08-03

  This is fast tutorial of using the Caylay graph database (with MongoDB as backend): Cayley is “not a Google project, but created and maintained by a Googler, with permission from and assignment to Google, under the Apache License, version 2.0”

{
"database": "mongo",
"db\_path": "cayley.redaelli.org:27017",
"read\_only": false,
"host": "0.0.0.0"
}
  • ./cayley init -config=cayley.cfg
  • ./cayley http -config=cayley.cfg -host=“0.0.0.0” &
  • create a file demo.n3
"/user/matteo" "is\_manager\_of" "/user/ele" .
"/user/matteo" "has" "/workstation/wk0002" .
"/user/matteo" "lives\_in" "/country/italy" .
{
 "result": \[
  {
   "id": "/workstation/wk0002",
   "predicate": "has"
  },
  {
   "id": "/country/italy",
   "predicate": "lives\_in"
  },
  {
   "id": "/user/ele",
   "predicate": "is\_manager\_of"
  }
 \]

Enter your instance's address


More posts like this