[prev] 127 [next]

GDb Queries

Graph data models require a graph-oriented query framework

Types of queries in GDbs

  • node properties   (like SQL where clauses)
    • e.g.   is there a Person called John?   how old is John?
  • adjacency queries
    • e.g. is John the parent of Jane?
  • reachability queries
    • e.g. is William one of John's ancestors?
  • summarization queries   (like SQL aggregates)
    • e.g. how many generations between William and John?