Problem 1 - Statement

Given the graph below, construct a query to return the encircled sub-graph:

  • return Application with property sealId=?
  • return all ApplicationModules owned by Application
  • return all APIs provided for each ApplicationModule
  • return Request with max version property for each API

Problem 1 - Solutions

Problem 2 - Statement

Given the graph below, construct a query to return the encircled sub-graph:

  • return Application with property sealId=?
  • return all ApplicationModules owned by Application
  • return all APIs provided for each ApplicationModule (return only the relationship with highest version property) ← ADDITIONAL CONSTRAINT
  • return Request with max version property for each API

Problem 2 - Solution

Resources