Knowledge Graph Generation Using Inverted Index Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing knowledge graph generation techniques are slow and inefficient due to the need for full natural language processing over every passage in a corpus, making them resource-intensive and time-consuming.

Innovation Solution

A computer-implemented method that receives a search query, identifies a subset of documents containing the query using an inverted index, processes these documents to identify entities and relations, and generates a knowledge graph based on the entities and relations, thereby reducing the scope of natural language processing and enabling real-time generation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If full natural language processing is performed over every passage in a corpus to extract knowledge, then comprehensive knowledge extraction is achieved, but processing time and resource consumption increase significantly

Engineering Contradiction:
Improveknowledge extraction completenessVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the corpus into relevant and irrelevant portions based on the search query. An inverted index is used to identify documents containing the query terms, creating a segmented subset for full NLP processing while excluding other documents from intensive processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts only the necessary documents from the full corpus using the inverted index, rather than processing the entire corpus. This extraction of relevant documents eliminates unnecessary processing of irrelevant passages while maintaining knowledge extraction completeness.

Inventive Principle:
Principle #2Taking out (Extraction)

2Measurement precision

If full natural language processing is performed over every passage in a corpus to extract knowledge, then comprehensive knowledge extraction is achieved, but resource consumption increases significantly

Engineering Contradiction:
Improveknowledge extraction completenessVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent segments the corpus into relevant and irrelevant portions based on the search query. An inverted index is used to identify documents containing the query terms, creating a segmented subset for full NLP processing while excluding other documents from intensive processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts only the necessary documents from the full corpus using the inverted index, rather than processing the entire corpus. This extraction of relevant documents eliminates unnecessary processing of irrelevant passages while maintaining knowledge extraction completeness.

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If the entire corpus is processed to generate a knowledge graph, then comprehensive knowledge coverage is achieved, but real-time generation is not possible

Engineering Contradiction:
Improveknowledge graph coverageVSAvoidknowledge graph generation speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent segments the corpus into relevant and irrelevant portions based on the search query. An inverted index is used to identify documents containing the query terms, creating a segmented subset for full NLP processing while excluding other documents from intensive processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial action by processing only the subset of documents relevant to the specific query rather than the entire corpus. This partial processing achieves sufficient knowledge graph coverage for the query context while enabling real-time generation performance.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10970339B2Generating a knowledge graph using a search index
Publication Date: 2021.04.06 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10970339B2 patent drawing
  • US10970339B2 patent drawing
  • US10970339B2 patent drawing

AI summary

A computer-implemented method that includes receiving a search query and, after receiving the search query, identifying a first subset of documents that include the search query by searching, based on the search query, an inverted index of a corpus of documents that includes the first subset of documents. The computer-implemented method additionally includes processing the first subset of documents to identify entities related to the search query and relations between the entities and the search query. The computer-implemented method additionally includes generating a knowledge graph based on the entities and the relations.