Natural Language Rule Extraction via Grammatical Parsing and SWRL

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Enterprise systems face challenges in efficiently extracting and verifying business rules from large pools of unstructured natural language documents, which is time-consuming and prone to human error.

Innovation Solution

A method and system for rule creation from natural language text using grammatical parsing, ontological representation, and semantic web rules language (SWRL) to automatically extract and verify operational rules by parsing sentences into noun and verb phrase sub-trees, splitting into 3-grams, comparing with predefined classes and data properties, and assigning subscripts to create formal rules.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual interpretation and verification of rules from unstructured documents is performed, then human understanding and context awareness are improved, but time consumption and error rates increase significantly

Engineering Contradiction:
Improveaccuracy of rule extractionVSAvoidtime for manual verification
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs self-service by automatically extracting rules from unstructured documents using grammatical parsing and SWRL generation, eliminating the need for manual human verification while maintaining high accuracy through automated reasoning engines

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical human verification process with an automated computational system that uses grammatical parsing, ontological matching, and SWRL rule generation to extract and verify business rules from documents, significantly reducing time while maintaining reliability

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Loss of information

If manual verification of a large pool of documents is performed, then comprehensive rule extraction is achieved, but effort and time requirements become unmanageable

Engineering Contradiction:
Improvecompleteness of rule extractionVSAvoidefficiency of rule extraction
Core Design Contradiction:
Loss of informationVSProductivity

Solution Approach 1:

The system segments the complex task of rule extraction into distinct phases: grammatical parsing of sentences, extraction of noun and verb phrases, conversion to SWRL rules, and verification by reasoning engines. This segmentation enables automated processing of large document pools while maintaining completeness of rule extraction

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces SWRL (Semantic Web Rules Language) as an intermediary formal representation between unstructured natural language documents and structured business rules. This intermediary enables automated processing and verification while preserving the complete meaning and intent of the original documents

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If automated rule extraction from natural language text is implemented, then processing speed and consistency are improved, but complexity of the extraction system increases

Engineering Contradiction:
Improvespeed of rule extractionVSAvoidcomplexity of extraction system
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system performs preliminary grammatical parsing and identification of noun/verb phrases before rule generation. This preliminary action simplifies the subsequent SWRL conversion process by pre-structuring the extracted information in a standardized format, reducing overall system complexity despite the automated processing

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10650190B2System and method for rule creation from natural language text
Publication Date: 2020.05.12 TATA CONSULTANCY SERVICES LTD
  • US10650190B2 patent drawing
  • US10650190B2 patent drawing
  • US10650190B2 patent drawing

AI summary

Techniques for rule creation from natural language text (NLT) are disclosed. In an embodiment, a rule statement in the NLT is grammatically parsed to obtain a parse tree. Further, each of noun phrase (NP) core sub-tree and verb phrase (VP) core sub-tree, in the parse tree, is partitioned into at least one sub-tree. Furthermore, one or more operators are extracted using at least one sub-tree of NP or VP core sub-trees. The rule statement is substantially simultaneously splitted into groups of 3 adjacent words (3-grams). Each of the 3-grams is then compared with a predefined list to extract data properties and class concepts associated with the rule statement. Moreover, subscripts are assigned to the data properties, class concepts and operators. A rule head is then created based on the data properties and operators. Also, a rule is created using the data properties, operators, class concepts, associated subscripts and rule head.