The extraction happens based on a schema of nodes and edges. So, let's say you have 2 docs that have related data on a company, then they both will be connected. We use Entity resolution to combine them.
Quit my job few months back and working on an unstructured data to Knowledge Graph building tool - https://graphora.io. The goal is to make Knowledge Graph building and maintenance easier.