# US 2015/0106309 A1 · Automatically deriving context when extracting a business rule

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0106309 A1
- Document ID: US20150106309A1
- Status: Published application
- Kind: A1
- Application number: 14/050,577
- Filed: 2013-10-10
- Published: 2015-04-16
- Earliest claimed: 2013-10-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: James E. Bostick; John M. Ganci, Jr.; Paul E. Hensler; Craig M. Trim
- Web page: https://patentgrep.com/patent/US20150106309A1

## CPC

- G06N 5/048: Fuzzy inferencing
- G06N 5/025: Extracting rules from data
- G06Q 10/067: Enterprise or organisation modelling
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A method and associated system for automatically deriving context of a business rule that is being inferred from an information source, such as legacy computer-program source code, a system specification, or a description of a business function or operation. A first generation of context-dependent conditions upon the business rule is identified by analyzing the information source and other, related, sources, and the business rule is modified to account for this first generation of context-dependent conditions. Context-dependent conditions that place constraints upon the previously identified first-generation conditions are then identified and the business rule is further modified to account for this next generation of context-dependent conditions. This process repeats iteratively through multiple generations of identifications, until the business rule has been modified to accommodate all contextual information that may be gleaned from all analyzed information sources. These sources may include extrinsic sources like Web pages, standards, or public documents.

## Claims

### Claim 1

A method for automatically deriving a context of a business rule when extracting the business rule from an information source, wherein a context of the business rule indicates an association between the business rule and a context-dependent characteristic of the business rule, the method comprising:
a processor of a computer system inferring the business rule as a function of a first element of information, wherein the first element of information is comprised by a first information source;
the processor identifying a second element of information that is associated with a first context of the first element of information, wherein the first context indicates an association between the first element and a context-dependent characteristic of the first element, and wherein the second element of information is comprised by a second information source; and
the processor modifying the business rule as a function of the second element of information.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
the processor attempting to recognize a next element of information that is associated with a second context of the second element of information, wherein the second context indicates an association between the second element and a context-dependent characteristic of the second element, and wherein the next element of information is comprised by a third information source;
the processor updating the business rule if the processor successfully recognizes the next element of information.

### Claim 3 (depends on 1)

The method of claim 1, wherein the second information source and the third information source are not distinct.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first information source, the second information source, and the third information source are each selected from the group comprising: computer-software source code; computer software logic; a specification associated with computer program code; data stored on a computer-readable medium; a description of a procedure, workflow, convention, or standard; a data structure; a data model; a business-process model; an ontology; an infrastructure description; an other description of a characteristic of a business function.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first information source comprises a first set of computer-program instructions, the first element of information comprises a first subset of the first set of computer-program instructions, and the second element of information is selected from the group comprising:
a data element that is directly or indirectly processed by the first subset of the first set of computer-program instructions,
a data element that is otherwise associated with the first subset of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a time, platform, or manner of performance of the first subset of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a scope of the first subset of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a time, platform, or manner of performance of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a scope of the first subset of the first set of computer-program instructions,
a third set of computer-program instructions that comprises a reference to the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a reference to the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a scope of the first subset of the first set of computer-program instructions,
a reference to an extrinsic information source that is associated with a context of the first subset of the first set of computer-program instructions;
a business process that is associated with a context of the first subset of the first set of computer-program instructions, and
a business goal that is associated with a context of the first subset of the first set of computer-program instructions.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first information source comprises a first set of computer-program instructions, the first element of information comprises a first subset of the first set of computer-program instructions, and the first context identifies an association selected from the group comprising:
an association between a context-dependent characteristic of the business rule and an element of information comprised by the first information source;
an association between a context-dependent characteristic of the business rule and an element of data that is directly or indirectly processed by the business rule;
an association between a context-dependent characteristic of the business rule and a schedule that is associated with the time or frequency of performance of the business rule;
an association between a context-dependent characteristic of the business rule and a description of a business function; and
an association between a context-dependent characteristic of the business rule and an element of information comprised by an extrinsic information source that determines the time, platform, or manner of performance of the business rule.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first context and the second context are functions of a one or more contextual parameters, and wherein a contextual parameter of the one or more contextual parameters is selected from the group comprising:
an element of information comprised by the first information source;
an element of information comprised by the second information source;
an element of information comprised by the third information source;
a characteristic of an element of data associated by the business rule;
a performance schedule associated with the business rule;
a business function associated with the business rule; and
a characteristic of a software application upon which a performance of a function associated with the business rule depends.

### Claim 8 (depends on 2)

The method of claim 2, further comprising providing at least one support service for at least one of creating, integrating, hosting, maintaining, and deploying computer-readable program code in the computer system, wherein the computer-readable program code in combination with the computer system is configured to implement the inferring, identifying, modifying, attempting to recognize, and updating.

### Claim 9

A computer program product, comprising a computer-readable hardware storage device having a computer-readable program code stored therein, said program code configured to be executed by a processor of a computer system to implement a method for automatically deriving a context of a business rule when extracting the business rule from an information source, wherein a context of the business rule indicates an association between the business rule and a context-dependent characteristic of the business rule, the method comprising:
the processor inferring the business rule as a function of a first element of information, wherein the first element of information is comprised by a first information source;
the processor identifying a second element of information that is associated with a first context of the first element of information, wherein the first context indicates an association between the first element and a context-dependent characteristic of the first element, and wherein the second element of information is comprised by a second information source;
the processor modifying the business rule as a function of the second element of information.

### Claim 10 (depends on 9)

The computer program product of claim 9, further comprising:
the processor attempting to recognize a next element of information that is associated with a second context of the second element of information, wherein the second context indicates an association between the second element and a context-dependent characteristic of the second element, and wherein the next element of information is comprised by a third information source;
the processor updating the business rule if the processor successfully recognizes the next element of information.

### Claim 11 (depends on 9)

The computer program product of claim 9, wherein the second information source and the third information source are not distinct.

### Claim 12 (depends on 9)

The computer program product of claim 9, wherein the first information source, the second information source, and the third information source are each selected from the group comprising: computer-software source code; computer software logic; a specification associated with computer program code; data stored on a computer-readable medium; a description of a procedure, workflow, convention, or standard; a data structure; a data model; a business-process model; an ontology; an infrastructure description; an other description of a characteristic of a business function.

### Claim 13 (depends on 9)

The computer program product of claim 9, wherein the first information source comprises a first set of computer-program instructions, the first element of information comprises a first subset of the first set of computer-program instructions, and the second element of information is selected from the group comprising:
a data element that is directly or indirectly processed by the first subset of the first set of computer-program instructions,
a data element that is otherwise associated with the first subset of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a time, platform, or manner of performance of the first subset of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a scope of the first subset of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a time, platform, or manner of performance of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a scope of the first subset of the first set of computer-program instructions,
a third set of computer-program instructions that comprises a reference to the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a reference to the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a scope of the first subset of the first set of computer-program instructions,
a reference to an extrinsic information source that is associated with a context of the first subset of the first set of computer-program instructions;
a business process that is associated with a context of the first subset of the first set of computer-program instructions, and
a business goal that is associated with a context of the first subset of the first set of computer-program instructions.

### Claim 14 (depends on 9)

The computer program product of claim 9, wherein the first information source comprises a first set of computer-program instructions, the first element of information comprises a first subset of the first set of computer-program instructions, and the first context identifies an association selected from the group comprising:
an association between a context-dependent characteristic of the business rule and an element of information comprised by the first information source;
an association between a context-dependent characteristic of the business rule and an element of data that is directly or indirectly processed by the business rule;
an association between a context-dependent characteristic of the business rule and a schedule that is associated with the time or frequency of performance of the business rule;
an association between a context-dependent characteristic of the business rule and a description of a business function; and
an association between a context-dependent characteristic of the business rule and an element of information comprised by an extrinsic information source that determines the time, platform, or manner of performance of the business rule.

### Claim 15 (depends on 9)

The computer program product of claim 9, wherein the first context and the second context are functions of a one or more contextual parameters, and wherein a contextual parameter of the one or more contextual parameters is selected from the group comprising:
an element of information comprised by the first information source;
an element of information comprised by the second information source;
an element of information comprised by the third information source;
a characteristic of an element of data associated by the business rule;
a performance schedule associated with the business rule;
a business function associated with the business rule; and
a characteristic of a software application upon which a performance of a function associated with the business rule depends.

### Claim 16

A computer system comprising a processor, a memory coupled to said processor, and a computer-readable hardware storage device coupled to said processor, said storage device containing program code configured to be run by said processor via the memory to implement a method for automatically deriving a context of a business rule when extracting the business rule from an information source, wherein a context of the business rule indicates an association between the business rule and a context-dependent characteristic of the business rule, the method comprising:
the processor inferring the business rule as a function of a first element of information, wherein the first element of information is comprised by a first information source;
the processor identifying a second element of information that is associated with a first context of the first element of information, wherein the first context indicates an association between the first element and a context-dependent characteristic of the first element, and wherein the second element of information is comprised by a second information source;
the processor modifying the business rule as a function of the second element of information.

### Claim 17 (depends on 16)

The computer system of claim 16, further comprising:
the processor attempting to recognize a next element of information that is associated with a second context of the second element of information, wherein the second context indicates an association between the second element and a context-dependent characteristic of the second element, and wherein the next element of information is comprised by a third information source;
the processor updating the business rule if the processor successfully recognizes the next element of information.

### Claim 18 (depends on 16)

The computer system of claim 16, wherein the second information source and the third information source are not distinct.

### Claim 19 (depends on 16)

The computer system of claim 16, wherein the first information source, the second information source, and the third information source are each selected from the group comprising: computer-software source code; computer software logic; a specification associated with computer program code; data stored on a computer-readable medium; a description of a procedure, workflow, convention, or standard; a data structure; a data model; a business-process model; an ontology; an infrastructure description; an other description of a characteristic of a business function.

### Claim 20 (depends on 16)

The computer system of claim 16, wherein the first information source comprises a first set of computer-program instructions, the first element of information comprises a first subset of the first set of computer-program instructions, and the second element of information is selected from the group comprising:
a data element that is directly or indirectly processed by the first subset of the first set of computer-program instructions,
a data element that is otherwise associated with the first subset of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a time, platform, or manner of performance of the first subset of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a scope of the first subset of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a time, platform, or manner of performance of the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a scope of the first subset of the first set of computer-program instructions,
a third set of computer-program instructions that comprises a reference to the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a reference to the first set of computer-program instructions,
a second computer-program instruction that imposes a condition upon a scope of the first subset of the first set of computer-program instructions,
a reference to an extrinsic information source that is associated with a context of the first subset of the first set of computer-program instructions;
a business process that is associated with a context of the first subset of the first set of computer-program instructions, and
a business goal that is associated with a context of the first subset of the first set of computer-program instructions.
