In Continuation to the previous article on what is the Knowledge graph, we will see the algorithms and Tips for creation.

Algorithms behind Knowledge Graph?

Knowledge Graphs use two types of algorithms, one is constructive which stores and rearranges all unstructured data into structured data with a graph of concepts and relationship between entities and attributes. This interlinks the data by comparing and finding relations between concepts. The second one is query algorithms which is used to answer the questions or searches of the users by ingesting available data and finding relevant results from the attributes of the knowledge graph. Though Google knowledge graphs try to furnish accurate information about a query sometimes disparities and irrelevance of the data are observed. Unmatched results and irrelevant information are the biggest challenges for knowledge integration. It is an area to be deep-dived into and resolved.

How knowledge graphs are created?

Creating a graph involves text mining by use of sources of natural language as webpages, Named Entity Recognition (NER), and Natural Language Processing (NLP) techniques as conferencing and part of speech recognition to find correlations. Finding relations in text data is a difficult task and involves a lot of manual concentration. Therefore, techniques for applying predefined schema and pattern recognition rules are used to establish connection in concepts. Initially, Google knowledge Graph used semi-structured Wikipedia and structured databases as Metaweb’s freebases to establish interlinking of concepts. Then Google scaled up the 12 million concepts of Metaweb to 540 million concepts with 18 billion linkages and factual connections between them, after acquiring Metaweb. Text mining and manual data curation are time-consuming on a web-scale, so Google is using a new technique in its next-generation knowledge graph- called Knowledge Vault. This technique is based on- Probabilistic Knowledge Fusion.

Tips to create a Knowledge Graph?

Creation of knowledge Graph involves text mining and additional intuitive cleverness. This will remove the inevitable disparities and build a graph with accurate, relevant facts of interlinked concepts, entities with truly established relationships.

Six concepts to be considered during KG creation are as follows:

  1. Ontology and versioning mechanism: These are needed to clarify the main object in order to maintain consistency.
  2. Named Entity Linking: The extraction of named entities and their link to other KGs.
  3. Slot filling: Once the entity is identified, start filling slots as an address, mail, phone number, city, activity domain.
  4. Clean up: Data deduplication, spelling corrections mistakes, and clean-up of data is important.
  5. Linking: Linking data with other KG will provide additional data about entities.
  6. Publishing: Publishing data as linked data. Some formats are acceptable that include JASON LD. Some nice interface plus JASON LD for serving this data will take you far in the adoption of the data.