create new tag
, view all tags

Cypher Query Language

A new query language, code-named “Cypher” allows for expressive and efficient querying of the graph store without having to write traversers in code.

Cypher is designed to be a humane query language, suitable for both developers and operations professionals who want to make ad-hoc queries on the database. Its constructs are based on English prose and neat iconography, which helps to make it (somewhat) self-explanatory.

Example 1: Find a user called John in an index and then traverse the graph looking for friends of Johns friends (though not his direct friends) before returning both John and any friends-of-friends that are found.


Example 2: Take a list of users (by node ID) and traverse the graph looking for those other users that have an outgoing friend relationship, returning only those followed users who are older than 18.



-- Contributors: PeterThoeny - 2011-09-16


Interesting concept. Could be used to define a new query language for TWiki?

-- PeterThoeny - 2011-09-16

Topic revision: r1 - 2011-09-16 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.