From the course: Hands-On AI: Knowledge Graphs for Generative AI Use Cases
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Adding instances and annotations
From the course: Hands-On AI: Knowledge Graphs for Generative AI Use Cases
Adding instances and annotations
- [Instructor] So, we already covered how an instance should be the lowest common denominator you need to answer questions from your graph and LLM use case. But modeling instances versus classes can take a few different modeling directions. In our TTOO or Two Trees Olive Oil case, we are modeling the following tables. We will keep these small for now. That is customer database, product catalog, purchase orders, and our vendor list. To start, let's add the names of customers and states as instances. So, customer and state. And remember, we're getting all of the data throughout this course through the tables that we just reviewed. So, for Florida, you could take the individual state names as classes if you wanted each state to relate to other nodes, like state flag, short name, other information like that. In our TTOO case, we don't need that level of detail. We just need to know which state a customer is from. So, the individual states will be instances in our model. It's another way…
Contents
-
-
-
-
(Locked)
What to keep in mind when graph modeling for LLMs1m 54s
-
How to connect nodes with relationships4m 47s
-
(Locked)
Desktop Protege IRI setup3m 19s
-
(Locked)
Adding instances and annotations5m 9s
-
(Locked)
How to populate a graph3m 10s
-
(Locked)
Adding a few constraints4m 29s
-
(Locked)
How to update your graph4m 7s
-
(Locked)
How to version your graph3m 45s
-
(Locked)
-
-
-
-