In this chapter, we’ll continue the work started in chapter 11: decomposing a text into a set of meaningful information and storing it in a graph. Here, we have a clear goal in mind: building a knowledge graph.
In this way we will complete the journey we started 11 chapters ago, of managing and processing data by using graphs as a core technology and mental model. Knowledge graphs represent the summit of what has been discussed throughout the entire book. In previous chapters, you learned how to store and process user-item interaction data for providing recommendations in different shapes and forms, how to deal with transactional data and social networks to fight fraud, and more. Now we will dig deeper into how to extract knowledge from unstructured data.
This chapter is a bit longer than the others and quite dense. You’ll need to read it as a whole to understand not only how to build a knowledge graph out of textual data, but also how to use it for building advanced services. Through diagrams and concrete examples, I’ve tried to make the chapter easier to read and understand; please look at them carefully as you read to be sure that you grasp the key concepts.