The GRAPH engine is a computation engine for handling hierarchies (trees) and graphs (friend-of-a-friend, etc) cleanly through standard SQL.