Skip to main content

Tying It Together - Build a Graph

If you run through all the Adds (and maybe Updates) but skip the Deletes in the examples in this "Start With Basics" section, your ApertureDB instance will now contain

  • an Ingredient,
  • a Dish with some information and its image,
  • a connection between Dish and Ingredient
  • a cooking video,
  • an embedding in a collection (descriptor set),
  • a bounding box on the Dish image,
  • a polygon on the Dish image,
  • a video clip from the cooking video, and
  • a frame from the cooking video.

Let's say we were to connect the relevant objects to each other in a more application-aware manner, the figure below shows us the schema we will arrive at, which, as you can see, represents a property graph.

png

If we keep building an application this way, we can build our own knowledge graph of recipes, dishes, ingredients, their nutrients, and a lot of other information that might help you answer relevant queries with appropriate insights.