Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
AUGMENTED KNOWLEDGE BASE AND REASONING WITH UNCERTAINTIES AND/OR INCOMPLETENESS
Document Type and Number:
WIPO Patent Application WO/2013/170008
Kind Code:
A2
Abstract:
A knowledge-based system under uncertainties and/or incompleteness, referred to as augmented knowledge base (AKB) is provided, including constructing, reasoning, analyzing and applying AKBs by creating objects in the form E→A, where A is a rule in a knowledgebase and E is a set of evidences that supports the rule A. A reasoning scheme under uncertainties and/or incompleteness is provided as augmented reasoning (AR).

Inventors:
SANTOS EUGENE (US)
SANTOS EUNICE (US)
SANTOS EVELYN (US)
SANTOS EUGENE JR (US)
Application Number:
PCT/US2013/040317
Publication Date:
November 14, 2013
Filing Date:
May 09, 2013
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SANTOS EUGENE (US)
SANTOS EUNICE (US)
SANTOS EVELYN (US)
SANTOS EUGENE JR (US)
International Classes:
G06N5/02
Foreign References:
US5402526A1995-03-28
US20070156720A12007-07-05
US5355445A1994-10-11
US20080021912A12008-01-24
US20090271358A12009-10-29
Other References:
See references of EP 2847713A4
Attorney, Agent or Firm:
SHEIKERZ, Mehdi (LLP1201 New York Ave., N.W.,Suite 70, Washington District of Columbia, US)
Download PDF:
Claims:
Docket No. 2330.1001 PCT

CLAIM(S)

What is claimed is:

1 . A method for representing a knowledge base, comprising:

creating objects in the form E→ A, where A is a rule in the knowledge base, and E is a set of evidences that supports the rule A; and

computing a composite set of evidences G, the composite set of evidences G being a combination of sets of evidences £ in the knowledge base in support of a target rule L implied by a combination of rules in the knowledge base, thereby providing deductive reasoning.

2. The method according to claim 1 , wherein the computing of the composite set of evidences G comprises:

determining a largest composite set of evidences that supports the target rule L by union of the composite set of evidences.

3. The method according to claim 1 , wherein the method further comprises:

determining a plausibility of the target rule L by taking set complement of a largest composite set of evidences that supports negation of the target rule L, the largest composite set evidences being a union of the composite sets of evidences.

4. The method according to claim 1 , wherein £ is a subset of evidences from l/ and the computing of the composite set of evidences G further comprises:

determining a largest composite set of evidences that supports the target rule L by adding a negated target rule U supported by the evidence U to the knowledgebase, thereby providing an expanded knowledgebase; and

determining a largest composite set of evidences in the expanded knowledgebase that supports a logical falsehood Fcreated on basis of the negated target rule U.

5. The method according to claim 1 , wherein £ is a subset of evidences L/ and the method further comprises:

determining a largest composite set of evidences corresponding to a plausibility of the target rule L by adding the target rule L supported by the evidence l/to the knowledge base, thereby providing an expanded knowledge base; and Docket No. 2330.1001 PCT determining in the expanded knowledge base a plausibility of a logical truth Tcreated by addition of the target rule L.

6. The method according to claim 1 , wherein £ is subset of evidences L/ and the rule A is uncertain and/or incomplete by being supported the subset £.

7. The method according to claim 1 , wherein the method further comprises:

determining complement of the objects E→ A, complement of an object being a complement of £ and a negation of the rule A that is supported by £, thereby producing a new knowledge base; and

applying the deductive reasoning to the new knowledge base and the negation of the target rule L, thereby performing inductive reasoning.

8. The method according to claim 4, wherein the determining of the largest composite set of evidences comprises:

combining or unifying two or more composite objects, where composite objects is a combination of the objects into a single object by merging corresponding associated rules and taking intersection of corresponding associated sets of evidences.

9. The method according to claim 1 , wherein the deductive reasoning further comprises determining a value of G using a selected extension scheme.

10. The method according to claim 1 , wherein the set of evidences £ are from a plurality of different information sources that support a composite rule r(w) in the

knowledgebase from which the target rule L is implied, the method further comprising:

associating the G with a composite object w, where a composite object w is a combination of the objects, and where the target rule L implies the composite rule r(w) as a combination of rules associated with the composite object w.

11 . The method according to claim 1 , wherein a construction of consistent higher order knowledge base comprises different methods of removing objects in the original knowledge that are inconsistent with other objects. Docket No. 2330.1001 PCT

12. The method according to claim 1 , wherein the knowledgebase is a Free-Form Data Base and the method further comprises:

converting relational data bases and deductive data bases to the Free-Form Databases; and

applying the deductive reasoning to the deductive databases.

13. The method according to claim 7, wherein the knowledgebase is a Free-Form Data Base and the method further comprises:

applying the inductive reasoning to Free-Form Data Bases to extract new knowledge from the Free-Form Data Base.

14. The method according to claim 1 , further comprising:

extending a measure of the G, where a measure is a function which associates each set of evidences Ewith a value, by:

selecting the measure defined on the knowledge base which is probabilistic; representing a collection of constraints in form of relations among sets of evidences £ using directed and undirected graphs;

insuring that a graph representation of the collection of constraints is admissible and compatible with the selected measure.

preprocessing the selected measure subject to the collection of constraints to obtain a new measure free of any constraints; and

applying the new measure to determine strength of any set of evidences including the G.

15. The method according to claim 1 , wherein the computing of the composite set of evidences G comprises processing input relations among the set of evidences as constraints.

16. An apparatus, comprising:

a computer readable storage medium configured to support managing objects in the form E→ A, where A is a rule in the knowledge base, and E is a set of evidence that supports the rule A; and a hardware processor to execute computing a composite set of evidences G, the composite set of evidences G being a combination of sets of evidences £ in the knowledge base in support of a target rule L implied by a combination of rules in the knowledge base.

17. The apparatus according to claim 16, wherein the hardware processor further executes:

determining complement of the objects E→ A, complement of an object being a complement of £ and a negation of the rule A that is supported by £, thereby producing a new knowledge base; and

applying the deductive reasoning to the new knowledge base and the negation of the target rule L, thereby performing inductive reasoning.

Description:
TITLE

AUGMENTED KNOWLEDGE BASE AND REASONING WITH UNCERTAINTIES AND/OR

INCOMPLETENESS

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001 ] This application is based upon and claims priority to both US Provisional Patent Application No. 61 /645,241 filed on May 10, 2012, and US Non-Provisional Patent Application No. 13/836,637 filed on March 15, 2013, the entire contents of which are incorporated herein by reference.

FIELD

[0002] The embodiments of the present invention relate to a computer implemented knowledge-based system and reasoning with uncertainties and/or incompleteness.

BACKGROUND

[0003] Reasoning with uncertainties and/or incompleteness refers to the various processes leading from evidences or clues to conclusions or guesses using uncertain, vague, partial, incomplete and/or limited information. Reasoning with uncertainties mostly refers to information which are uncertain, vague and/or inexact; while reasoning with incompleteness refers to information which are incomplete, partial and/or limited. A knowledge-based system under uncertainties and/or incompleteness is a knowledge base where reasoning with uncertainties and/or incompleteness are involved.

[0004] Knowledge-based systems involving uncertainties and/or incompleteness have been studied widely in the literature. Many approaches have been introduced to model such knowledge bases, but none are satisfactory in general.

[0005] The basic building blocks of knowledge bases are knowledge, which are usually represented as rules, propositions, or other equivalent means.

[0006] Moreover, in most traditional knowledge bases with uncertainties and/or

incompleteness, each piece of knowledge in the knowledge base is associated with or mapped to a number, variably referred to as belief, certainty factor, likelihood, weight, etc.

[0007] To perform reasoning/inferences, either an extension scheme for the mapping mentioned above, or a conditioning/composition rule must be specified. Docket No. 2330.1001 PCT

SUMMARY

[0008] According to embodiments of the invention, a new knowledge-based system under uncertainties and/or incompleteness, referred to as augmented knowledge base (AKB) is provided; and methods for constructing, reasoning, analyzing and applying AKBs are provided. In addition, a new method for reasoning under uncertainties and/or incompleteness is provided. This method will be referred to as augmented reasoning (AR). Advantages and powers of are described herein.

[0009] According to an aspect of an embodiment, a method and apparatus are provided for representing a knowledge base by creating objects in the form E→ A, where A is a rule in the knowledge base, and E is a set of evidences that supports the rule A; and determining, by deductive reasoning using the knowledge in the knowledge base and/or inducting or extracting new knowledge from the knowledge base; and constructing higher order knowledge bases to insure that the knowledge base is consistent. Such knowledge base will be referred to as augmented knowledge base. For example, a composite set of evidences G is computed, the composite set of evidences G is a combination of sets of evidences £ in the knowledge base in support of a target rule L that is implied by a combination of rules in the knowledge base.

[0010] These and other embodiments, together with other aspects and advantages which will be subsequently apparent, reside in the details of construction and operation as more fully hereinafter described and claimed, reference being had to the accompanying drawings forming a part hereof, wherein like numerals refer to like parts throughout.

BRIEF DESCRIPTION OF DRAWINGS

[0011 ] FIG. 1 is a functional block diagram of an augmented knowledge base (AKB) computer system, according to an embodiment of the present invention.

[0012] FIG. 2 is an example data structure of an AKB with example data entries, according to an embodiment of the present invention.

[0013] FIG. 3 provides the basic mechanism for deductive reasoning on an AKB, according to an embodiment of the present invention.

[0014] FIG. 4 is a flow diagram of an example unification algorithm, according to an aspect of an embodiment of the invention. Docket No. 2330.1001 PCT

[0015] FIG. 5 provides types of measures for representing the strength of a body of evidences, according to an embodiment of the present invention.

[0016] FIG. 6 is a flow diagram of deductive inference in AKB, according to an embodiment of the present invention.

[0017] FIG. 7 is a table of methods for testing and ensuring properties of AKB, according to an embodiment of the present invention.

[0018] FIG. 8 is a flow diagram of inductive inference in AKB, according to an embodiment of the present invention.

[0019] FIG. 9 is a flow diagram of constructing consistent higher order AKBs, according to an embodiment of the present invention.

[0020] FIG. 10 is a diagram for illustrating the relations for generating a free-form database, augmented relational database, augmented deductive database and augmented inductive database, according to an embodiment of the present invention.

[0021 ] FIG. 11 is a flow diagram for generating graph representations of constraints for bodies of evidences, according to an embodiment of the present invention.

[0022] FIG. 12 is a flow diagram of checking for admissibility, according to an embodiment of the present invention.

[0023] FIG. 13 is a flow diagram of checking for compatibility between the measure and the collection of constraints, according to an embodiment of the present invention.

[0024] FIG. 14 is a flow diagram of guaranteeing compatibility, according to an embodiment of the present invention.

[0025] FIG. 15 is a flow diagram of preprocessing, according to an embodiment of the present invention.

[0026] FIG. 16 is a functional block diagram of a computer, which is a machine, for implementing embodiments of the present invention.

DETAILED DESCRIPTION OF EMBODIMENT(S)

[0027] Section 1. Augmented Knowledge Base

[0028] According to an aspect of an embodiment, a knowledge based system refers to a system comprising a knowledge base for representing knowledge, acquisition mechanisms and Docket No. 2330.1001 PCT inference mechanisms, an augmented knowledge base κ includes one or more objects of the form E→ A, where A is a logical sentence in a first-order logic, a proposition and/or a rule (referred to collectively herein as 'a rule') in the traditional sense; and E is a set of evidences (a plurality of evidences) as a body of evidences that supports A. Moreover, each given body of evidences (not each rule as in a typical knowledge base) is mapped to or associated with a value.

[0029] Since bodies of evidences are sets, in an aspect of an embodiment, the relations among the bodies of evidences are considered. The ability of AKBs to deal with relationships among the bodies of evidences, or its capability to take into account constraints imposed on the bodies of evidences, is a unique feature of AKB, which can lead to more powerful, robust, accurate and/or refined characterizations of the knowledge base.

[0030] In an embodiment of the present invention, inference or reasoning in an AKB is done in two separate phases: Form the body of evidences that supports the target rule, and then determine the value associated with the resulting body of evidences. The second phase can be done in many different ways, including the reasoning scheme AR based on constraint stochastic independence method, which is part of this invention. AR provides a clear probabilistic semantics, resulting in the elimination of virtually all known anomalies associated with existing formalisms of uncertain reasoning and knowledge bases.

[0031 ] In addition, in an aspect of an embodiment, we provide methods for testing and ensuring certain properties of AKBs, including consistency, completeness, monotonicity, contribution, vulnerability, deception, etc.

[0032] Moreover, in an aspect of an embodiment, we show how AKBs can be used for inductive inference. Indeed, we show that inductive inference can be used to extract meaningful new knowledge from AKBs provided certain consistency conditions are met.

[0033] Furthermore, in an aspect of an embodiment, we provide methods to guarantee (also referred to herein as a substantial guarantee) a required (or specified) consistency via higher order AKBs.

[0034] Lastly, in an aspect of an embodiment, we show how AKBs can be used to build free- form database (FFDB). We then show how FFDB can be used to formulate augmented relational databases, augmented deductive databases and augmented inductive databases. Docket No. 2330.1001 PCT

The latter can be used for extracting new information from relational databases (e.g. data mining).

[0035] In an embodiment of the present invention, a method for solving the following aged- old problem is provided: Given two arbitrary sets A and B, if the probabilities, p(A and ρ(β), of both sets are known, what is the probability of their intersection, i.e., p(A n Β)Ί This problem could be trivial if the probability is defined over the entire probability space. However, in many important applications, such as reasoning with uncertainty, which is one of the main concerns of this invention, the probabilities of only a few sets are given and there is a need to determine the probabilities of other sets formed from these sets, i.e., extending the probability measure from a given collection of sets to a larger collection of sets formed from the given sets. Knowing how to compute p(A n B) from p(A) and p(B) provides the cornerstone for the extension schemes.

[0036] The extension scheme given in an embodiment of the present invention uses an average method to determine the probability of the new set. It has a clear probabilistic semantics, and therefore not subject to the anomalies that are usually associated with other extension schemes.

[0037] Moreover, in an aspect of an embodiment, the present invention is capable of dealing with constraints imposed on the sets that are given.

[0038] Furthermore, in an aspect of an embodiment, necessary and sufficient conditions for the extension to be well-defined, as well as, necessary and sufficient conditions for compatibility are provided.

[0039] Lastly, in an embodiment of the present invention, a preprocessing algorithm is provided so that the extension can be computed more efficiently.

[0040] Let K be an AKB. The A in (E→ A) is a rule in κ, which can be a logical sentence in a first-order logic, a proposition and/or a rule in a traditional knowledge base. In this case, we say that A e £, i.e., A is a member of £, where £ is the collection of all knowledge of interest. On the other hand, the E in (E→ A) is a set, representing a body of evidences, and is not a rule. In this case, we say that E <≡ U, i.e., E is a subset of U, where U is a universal set of evidences.

Moreover, the (E→ A) is not a rule either. It specifies that the body of evidences E supports the rule A. More precisely, if E is established or true, then A is true. This signifies that the full force of E devolves on A. Associating a body of evidences (i.e., a set of evidences) with a rule is a novel feature of this invention and is a central characteristic of augmented knowledge bases. Docket No. 2330.1001 PCT

The bodies of evidences supporting a rule can be obtained from many different sources

(including expert opinions, scientific literature, news articles, blogs, etc.) and can be determined either subjectively or objectively.

[0041 ] In the rest of this document, _≡ will always denote 'is a subset of, while e will denote 'is a member of or 'belonging to'.

[0042] In most traditional knowledge-based systems that deal with uncertainties and/or incompleteness, rules are associated with numbers. These numbers are variably referred to as beliefs, certainty factors, likelihood, weight, etc. On the other hand, as illustrated in FIG. 1 , in an AKB computer system 100, each rule A in an AKB is associated with a 'set' E— the body of evidences (plural or two or more evidences) that supports the rule. In addition, in contrast to typical knowledge bases, according to an embodiment of, a set of evidences £ as a given body of evidences (not each rule) is mapped to or associated with a value (e.g., weight) (see also FIG. 2). These are several unique features of AKB. In FIG. 1 , a computer 120 is configured to provide the described augmented knowledge base functions, including storing an augmented knowledge base 1 30. Experts and other sources 1 10 refer to one or more processing devices (e.g., computer, mobile device, mobile phone, etc.) as sources of evidences (E) and/or rules (A) to the AKB computer 120 over one or more data communication technologies, such as Internet, wire, wireless, cellular phone network, etc. The form of information of the experts and other sources 1 10 can be a database, blog, chat rooms data, social network website databases, other knowledge bases, etc. The FIG. 2 is an example data structure of an augmented knowledge base (AKB)150 with example data entries for the AKB, according to an embodiment of the present invention. The embodiments utilize entries of the AKB, such as FIG. 2, to further augment a knowledgebase of rules in £ 1 54 by determining (outputting or computing) support for a desired (target) rule L, namely an unknown rule that would like to be established.

According to an aspect of an embodiment a target rule L can be added to the rules in £ 154 in the AKB 150.

[0043] In FIG. 2, for example, 1 54 is £, which is the collection of all knowledge in form of rules A 155 of interest. The body of evidences 1 60 (£) support the respective rules 1 55 (A) (i.e., (β→ A)). In FIG. 2, the body of evidences 1 60 (£) is mapped to a number 160, variably referred to as belief, certainty factor, likelihood, weight, etc. Sources 11 0 for the evidences are also provided. The constraints 1 65 are relationships among the bodies of evidences Es 156 (the capability to take into account constraints 1 65 imposed on the bodies of evidences Es 1 56), Docket No. 2330.1001 PCT which is a feature of AKB to derive more powerful, robust, accurate and/or refined

characterizations of the knowledgebase rules £. For example, in FIG. 2, E106 is a subset of E104, since the pH level in E106 contains that of E104.

[0044] An object generated includes a set of evidences £ 156 and the rule A 156 supported by E 156. According to an aspect of an embodiment, an object in the form of E→ A may be implemented as a data object (a data structure, a class) for electronically storing a set of evidences £ 156 and a rule A 156 supported by E 156. The data object may be associable or include links to (a) value (e.g., weight) for £ 160, (b) sources in support of £ 110, and (c) constraints for £ 165, as discussed in more detail herein.

[0045] An apparatus is provided including a computer readable storage medium configured to support managing (by way of storing) objects in the form E→ A, where A is a rule in the knowledge base, and E is a set of evidence that supports the rule A; and a hardware processor (for example, computer processor and/or circuitry) to execute computing a composite set of evidences G, the composite set of evidences G being a combination of sets of evidences £ in the knowledge base in support of a target rule L implied by a combination of rules in the knowledge base. £ and A are electronically represented in computer readable media as data values (identifiers), including other values associated with £ and/or A, such as weight values assigned to £, for processing, for example, generation (formation), computations or

determinations of set(s) of data values and relations among the sets to deduce and/or induce target rule L as well as indicate validity or strength of target rule L.

[0046] Since bodies of evidences are sets, AKB could explicitly consider the relations among the bodies of evidences. The ability of AKBs to deal explicitly with relationships among the bodies of evidences, or its capability to take into account constraints imposed on the bodies of evidences, is another unique feature of AKB, which can lead to more powerful, robust, accurate and/or refined characterizations of the knowledge base.

[0047] In an AKB, evidences (the Es) and rules (the ,4s) can represent completely different objects and each play an essential but separate role in the operations of an AKB. The dichotomy between rules and evidences is a novel approach, and is one of the critical differences between AKB and all the known models of knowledge bases. The power and flexibility offered by such a separation is yet another unique feature of AKB. Docket No. 2330.1001 PCT

[0048] In an AKB, for example, no conditions are imposed on either E or A. Therefore, for example, it is further possible to have both E x → A and E 2 → A in the AKB. This means two or more sets (a set being two or more evidences Es also referred to as 'body of evidences') of evidences can support the same rule, thereby allowing, among other things, multiple

experts/sources to be involved in designing a single AKB. Since typical knowledge bases do not associate evidences with rules, they would not be readily capable of dealing with multiple experts/sources for consolidating rules from different experts/sources. On the other hand, AKBs allow experts/sources to interact freely and completely, if necessary. AKBs could even monitor the experts/sources to determine their reliabilities and possible deceptions (see Sections 4). This is another unique feature of AKB.

[0049] Let K be an AKB. The extension οίκ, denoted by k, is defined recursively as follows:

1 . (0→ K F), (U→ K T) e K, where T and F represent the logical constants TRUE and

FALSE, respectively.

2. if ω = (β→ L) e K then E→ K L) e k.

3. if ω 1 = ( ! K L t ), ω 2 = {E 2 K L 2 ) e k then ω 1 v ω 2 = ((E t u E 2 )→ K (L t v L 2 )) e k and ω 1 Α ω 2 = ((£Ί Π E 2 )→ K (L t A L 2 )) 6 k.

k extends κ so that AKBs can deal with composite objects ω, associated with combinations of sets of evidences £ in the knowledge base and combinations of rules in the knowledge base. Therefore, the embodiments utilize both composite evidences and composite rules to establish support for a target rule..

[0050] In the rest of this document, u and n denote 'set union' and 'set intersection', respectively, while v and Λ denote 'logical or' and 'logical and', respectively.

[0051 ] Let K be an AKB.

If ω = (a→ K β) e k, then Ζ(ω) = a and τ(ω) = β.

ω is a composite object, Ζ(ω) denotes a composite set of evidences associated with ω, and Γ(ω) denotes the composite rules associated with co.This enable k to extract the rule portion and the associated set of evidences portion from ω, where ω represents a composite object of a plurality of E→ A. Docket No. 2330.1001 PCT

[0052] Let K be an AKB, G _≡ U (G is a body of evidences from universal set of evidences U) and L e £, where £ is the collection of knowledge or rules (given or otherwise) which we are d

interested in. In Fig. 3, the basic operation at 210 for deductive reasoning is G→ K L, where G is a composite set of evidences and L is a target rule. A target rule L refers to a rule in £ or an unknown rule that would like to be established. More detail explanations can be found throughout this section.

d

G→ K L where, d denotes deductive reasoning, if and only if there exists ω e such that

Ζ(ω) = G and τ(ω) = L.

Ζ(ω) = G means that G is the composite set of evidences that supports τ(ω), ω being a composite object of a plurality of E→ A, and τ(ω) = L means that the if the composite rule τ(ω) is true, then the target rule L is true. In other words, = stands for 'logical implication.'

d

G→ K L is one of the key concepts for dealing with deductive reasoning and other aspects of AKBs. Among other things, it provides a natural way to show how a given L e £ is deductively d

related to κ. (See also Fig. 3). To put it in another way, G→ K L means there exists a composite object ω in the AKB κ (ω is formed from objects of a plurality of E→ A, in κ), where G is the composite set of evidences associated with ω, and the composite rule associated with ω implies (inferred by) L.

[0053] As an example, consider the partial AKB given in Fig. 2. Assume the target rule L is:

Velvet disease is TRUE or the fish color is yellowish.

[0054] To determine G, we will use the following objects in the AKB:

1 . (£ " 101→ A ' \ 0 ' \ ) where .4101 is the rule 'water pH level less than 6.0' and the weight of £101 is .0014.

2. (£ " 102→ Αλ 02) where Αλ 02 is the rule 'water pH level is in [6.0, 7.0), i.e., the water pH level is greater than or equal to 6.0 but less than 7.0' and the weight of Ελ 02 is .1930.

3. (£121→ Αλ 21 ) where Αλ 21 is the rule 'water condition is acidic when water pH level is less that 6.0 or (6.0, 7.0)' and weight of £ " 121 is 1 .0000.

4. (£133→ Αλ 33) where Αλ 33 is the rule 'fish color is discolored - yellowish when water condition is acidic and velvet disease is false and weight of E~\ 33 is 0.3028. Docket No. 2330.1001 PCT [0055] Since L = (4101 v A 102) Λ 4121 Λ 4133, therefore G→ K L where G = (£Ί 01 u £102) d

n £ " 121 n £133. It is possible to have many other G where G→ K L. For example, it is not

d

necessary to use both objects 1 and 2. G→ K L holds by using only one or the other alone.

Following the line of reasoning given above, if we observed that 'the fish color is not yellowish', d

then we can show that any G, where G→ K L, is a set of evidences that supports the target rule 'velvet disease is TRUE'.

[0056] Let K be an AKB and L e £.

• At 220, the "support" of a target rule L with respect to the augmented knowledge base, d

(also denoted by σ κ (Ι)), is equal to the largest G _≡ U where G→ K L.

• At 230, the "plausibility of target rule L with respect to the augmented knowledge base, ( also denoted by ¾(£)), is equal to [σ κ (Ι')]'.

[0057] At 220, the concept of "Support" of L provides a natural way to determine the set of evidences included in and derivable from κ that deductively supports L. While at 230 the concept of "plausibility" of L determines the set of evidences included in and derivable from κ that does not deductively support {not L.) (See also Fig. 3). At 210, whether "support' of L and/or "plausibility of L should be taken into account can depend upon whether strict and/or plausible support is sought.

[0058] 240 and 250 are alternative determinations of the "support" of a target rule L and a "plausibility" of a target rule L. If G is a set or a subset of some universal set U, then G' will denote the complement of the set G, i.e., G' contains all the elements in U that is not in G.

[0059] Let K be an AKB and L t. One way of determining the support and plausibility are: σ κ (Ι) = σ Κο (F) where κ 0 = κ U {U→ L'} (240), and K ) = K0 (T) where κ 0 = κ U {U→ L] (250).

[0060] In other words, to compute the support of L with respect to the AKB κ, add the object U→ V (where /.' is a negated target rule L) to the AKB κ, and then compute the support of F with respect to the expanded AKB. The plausibility can be computed in a similar manner. Docket No. 2330.1001 PCT

Thus, the above methods (240 and 250) can be used to determine the support and plausibility of any L e £ by extending the original AKB κ. It is a universal method since it is only necessary to know how to determine the support of F or the plausibility of T for any AKBs. (See also Fig. 3)

[0061 ] Various algorithms for determining a K (F), some polynomial and some non-polynomial, are given in Section 15 (Unification Algorithms) below (see FIG. 4 which is a flow diagram of an example unification algorithm, according to an aspect of an embodiment of the invention). In light of the above results, these algorithms can be used to determine the body of evidences that supports any L in an AKB.

[0062] In the above definition of AKB, we assume that it is universally accepted that E→ A is true. If that is not the case, then E→ A is supported by some body of evidences, say G 0 . In other words, G 0 → (E→ A). If the latter is universally accepted, then we can stop there. Otherwise, it in turn is supported by yet another body of evidences, ad infinitum. The latter are clearly higher order AKB. Since G 0 → (E→ A) is equivalent to (G 0 n E)→ A, thus, in most cases, it is only necessary to consider first-order AKB, the one defined above (see Section 7 for more detail discussions of higher order AKBs, as well as, the role of higher order AKBs). It is worthwhile to observe that if E = U for all (E→ A) e κ, then we have a deterministic knowledge base, or a knowledge base without uncertainty.

[0063] According to an aspect of an embodiment, the way uncertainties and/or

incompleteness is dealt with by 220, 230, 240 and/or 250 for deductive reasoning is unique and new, because both the composite rules and the composite sets of evidences are involved providing a more general, vigorous and stronger reasoning scheme.

[0064] Section 2. Evidences, Measures and Extensions

[0065] Any collection of sets is partially ordered by _≡. Therefore the support function σ, or the plausibility function σ, induced a partial ordering on £. Using this partial ordering, if L 1 ; L 2 e £ and a(L t ) _≡ σ(Ι 2 ), we can say that L t has lesser support than L 2 . However, if a(L t ) and σ(Ι 2 ) are incomparable, then we don't have any measure of the relative strength of support for L t and L 2 . In this section, we shall discuss the extension of the partial order into a linear order, or, more importantly, the definition of an absolute measure of strength of support for members of £.

[0066] Unlike other knowledge-based systems, evidences play a front and center role in AKBs. However, a body of evidences could be an abstract concept. It is difficult, if not impossible, to completely specify all the evidences. Fortunately, in an embodiment of this Docket No. 2330.1001 PCT invention, it is not essential to specify completely what the body of evidences consists of. One needs only to know the relations among the bodies of evidences, and the strength or validity of each body of evidences. These can in turn be used to determine the strength or validity of L e £.

[0067] We now present various methods, in the form of functions or mappings with domain 2 U , the collection of all subsets of U, for use with AKBs to measure the strength or validity of the body of evidences associated with a rule.

[0068] FIG. 5 provides the types of measures, used for representing the strength or validity of the body of evidences, according to an embodiment of the present invention.

[0069] Let 8 _≡ 2 U , where 2 U denotes the collection of all subsets of U. A measure m over 8 is a function from 8 into a linear ordered set, such that for all E x , E 2 e 8, m(E 1 )≤ m(E 2 ) whenever E x _≡ E 2 . In other words, in an aspect of an embodiment of this invention, measures are monotonic.

[0070] Let 8 _≡ 2 ϋ . A probability measure m over s is function from 8 u {0, U] into [0,1 ], the close unit interval, which satisfies the following conditions:

1. m(0) = 0 and m(U) = 1.

2. m(E 0 )≥ m(E ) + m(E 2 ) for all E 0 , E t , E 2 6 8 where E t n E 2 = 0 and E t , E 2 <≡ E 0 .

3. m(E 1 U E 2 )≤ m(E ) + m(E 2 ) for all E t , E 2 6 8 where E t U E 2 E 8.

[0071 ] In the above definition, as well as the rest of this document, 0 denotes the 'empty set' or the set that contains no elements.

[0072] Clearly, every probability measure over £ is a measure over 8. Moreover, if 8 = 2 U , then the definition of probability measure given above is equivalent to the usual definition of probability measure.

[0073] Measures are also used in virtually all of the existing knowledge-based systems that deal with uncertainty. However, the measure considered in AKBs map a body of evidences into a member of a linear ordered set or into a real number. On the other hand, measures in existing knowledge-based systems map a rule directly into a real number.

[0074] Let K be an AKB. m is a (probability) κ-measure if and only if m is a (probability) measure over 8 K , the collection of all sets (body of evidences) given in an AKB. Docket No. 2330.1001 PCT

[0075] Let K be an AKB. The extension of £ K , denoted by £ K , is the smallest collection of subsets of U that contains all the sets in £ and is closed under complement, union, and intersection. In other words, £ K includes sets which can be formed from £ in a natural manner.

[0076] Moreover, let m a (probability) κ-measure. An extension fh ofm is a (probability) measure over £ K such that fh E) = m(E) for all E e £.

[0077] In the case where fh is probabilistic, the value m(a K (L)), for L e £, can be interpreted as the probability that L is true.

[0078] By viewing conditioning/composition rules as extension schemes, it is clear that the ability to extend m to fh is equivalent to the ability to infer or to reason in existing knowledge- based systems. In an AKB, inference or reasoning can be done in two separate phases:

1 . Form the body of evidences that supports the target rules.

2. Determine the value of fh for the body of evidences obtained in the first phase.

[0079] There are many schemes for extending a κ-measure m with domain £ K to fh with domain £ K . Many try to capture the essence of the following, which holds for probability measure.

[0080] Let m be a probability measure over 2 U and G, G t , G 2 _≡ U. Then m satisfies the following conditions:

1. m(£") = 1 - m{E).

2. m x(0, m(G ) + m(G 2 )— 1) < m(G 1 Π G 2 )≤ min(m(G ), m(G 2 )).

3. m x(m(G 1 ), m(G 2 )) < m(G 1 U G 2 )≤ min(l, m(G ) + m(G 2 )).

[0081 ] The above observation, which can also be found in Eugene S. Santos and Eugene Santos, Jr. Reasoning with uncertainty in a knowledge-based system. In Proceedings of the seventeenth international symposium on multi-value logic, Boston, MA, pages 75-81 , 1987 - the result are the same but are use differently), was used there to compute the probabilities of the union and intersection, are used in this invention to determine a lower bound and an upper bound for m(E), for every E e £, provided m is a probability measure. Unfortunately, after applying the results a few times, the lower and upper bound quickly approaches 0 and 1, respectively, yielding very minimal useful information.

[0082] Schemes for extending a measure m over £ to a measure fh over £ are provided. Docket No. 2330.1001 PCT

1 . m(£") = 1 - m(E),

in(E 1 Π E 2 ) = min(m(E ), m(E 2 )), and

in(E 1 U E 2 ) = max(m(E ), m(E 2 )).

2. m(£") = 1 - m(E),

in(E 1 Π E 2 ) = m x(0, m(E ) + m(E 2 ) — 1), and

n^-L U £ " 2 ) = min(l, m(E ) + m(E 2 )).

3. m(£") = 1 - m( ),

τη(£Ί Π E 2 ) = m E 1 ) m E 2 ), and m{E 1 U £ " 2 ) = 1 - (1 - η(£Ί)) (1 - m{E 2 )).

[0083] Schemes 1 , 2 and 3 above all satisfy the DeMorgan's law, and can be applied to compute m(E) for any E e £ K . However, one could run into various problems by using these schemes indiscriminately, as witness by many existing knowledge-based systems that use expressions similar to some of those given above to manipulate their numbers. Worst yet, for all three schemes above, the values of m(E), where E e £ K , may not be unique, since they may depend on how E is expressed. Moreover, Schemes 1 and 2 are not probabilistic (they are not additive). On the other hand, Scheme 3 implicitly assume that all the sets in £ are stochastically independent. Due to this implicit assumption, Scheme 3 has not been strictly applied in real applications.

[0084] Of course, many other schemes existed in the literature. Many are ad-hoc, such as the composition rule for certainty factors used in the original MYCIN (Bruce G. Buchanan and Edward H. Shortliffe. Rule-Based Expert Systems. Addison Wesley, 1984). There are also other schemes that are essentially modifications and/or combinations of the above schemes, such as the composition rule (orthogonal sum) used by the Dempster-Shafer approach (G. Shafer. A Mathematical Theory of Evidence. Princeton University Press, 1976). Finally, there is a natural scheme for extending a probabilistic m into a probabilistic fh, namely, the constraint stochastic independence method introduced in the latter part of this invention, which can be used to form a new reasoning scheme, the augmented reasoning. This scheme is particularly suited for AKBs.

[0085] It is not necessary to select just one extension scheme for m for a given AKB. It is possible, and, in fact, beneficial at times to use more than one schemes either simultaneously Docket No. 2330.1001 PCT and/or conditionally. In the latter case, several schemes may be provided and based on L and/or how L is formed, a particular scheme is then selected to evaluate the validity of L. A version of multiple schemes that is being used conditionally is given in ( L. A. Zadeh. A simple view of the Dempster-Shafer theory of evidence and its implication for the rule of combination. Al

Magazines, 7:85-90, 1986) in connection with fuzzy knowledge bases. However, in this case, as in virtually all existing cases, the extension is applied directly to the rules rather than the bodies of evidences.

[0086] Clearly, a complete formulation of an AKB requires the specifications of κ, m, and the scheme for extending m to fh. The extension scheme is just one of the facets in an AKB, and any scheme could be used for that purpose. By selecting appropriately the E, the A, and the E→ A, as well as, m and the extension scheme for m, most of the well-known approaches to knowledge bases and uncertain reasoning, including probabilistic logic ( N. J. Nilsson.

Probabilistic logic. Artificial Intelligence, 28:71-87, 1986), Dempster-Shafer theory ( G. Shafer. A Mathematical Theory of Evidence. Princeton University Press, 1976), Bayesian network( Judea Pearl. Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann, 1988), Bayesian knowledge base Eugene Santos, Jr. and Eugene S.

Santos. A framework for building knowledge-bases under uncertainty. Journal of Experimental and Theoretical Artificial Intelligence, 1 1 :265-286, 1999), fuzzy logic ( L. A. Zadeh. The role of fuzzy logic in the management of uncertainty in expert systems. Fuzzy Sets and Systems, 1 1 :199-227, 1983; L. A. Zadeh. Fuzzy sets. Information and Control, 8:338-353, 1965. 41 ; R. Yager. Using approximate reasoning to represent default knowledge. Artificial Intelligence, 31 :99— 1 12, 1987), numerical ATMS (Johan DeKleer. An assumption-based TMS. Artificial Intelligence, 28:163-196, 1986), incidence calculus ( Alan Bundy. Incidence calculus: A mechanism for probabilistic reasoning. Journal of Automated Reasoning, 1 (3):263-283, 1985; Weiru Liu and Alan Bundy. Constructing probabilistic atmss using extended incidence calculus. International Journal of Approximate Reasoning, 15(2):145— 182, 1996), etc. can be formulated as special cases of AKBs (see Section 3).

[0087] Section 3. Comparative Studies

[0088] The definition of AKB given in Section 1 encompasses virtually all of the widely used formalisms of uncertain reasoning and knowledge bases. As we shall see below, these existing systems can be formulated as AKBs according to the embodiments of the present invention by Docket No. 2330.1001 PCT imposing certain restrictions on the relations among the E, the A, and the (E→ A) in κ, as well as, on how the κ-measure m is extended.

[0089] For illustration purposes, we shall consider the following well-known formalisms: probabilistic logic( N. J. Nilsson. Probabilistic logic. Artificial Intelligence, 28:71-87, 1986), Bayesian network( Judea Pearl. Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann, 1988) and Bayesian knowledge base (Eugene Santos, Jr. and Eugene S. Santos. A framework for building knowledge-bases under uncertainty.

Journal of Experimental and Theoretical Artificial Intelligence, 1 1 :265-286, 1999), and

Dempster-Shafer theory( G. Shafer. A Mathematical Theory of Evidence. Princeton University Press, 1976).

[0090] A probabilistic logic can be defined by an ordered pair (P, p), where P is a finite collection of elements in £, a first order logic, and p is a function from P into [0,1]. For simplicity, instead of a first order logic, assume that £ is a propositional calculus. For each P e P, associate the set E P , and let κ be the AKB including all E P → P and E P '→ P', where P E P.

(There is a one-to-one correspondence between P and E P , where E P is the set version of the logical expression P.) Moreover, define m such that m(E P ) = p(P) for all P E P. Extend m into fh that satisfies the 3 properties of probabilistic measure given in Section 2. It can be shown that the resulting AKB κ is equivalent to (P, p).

[0091 ] Both Bayesian networks and Bayesian knowledge bases can be defined by specifying a finite collection P of conditional probabilities subject to certain restrictions. Let P denote the collection of all random variables used in the Bayesian network or Bayesian knowledge base, and for each X e P, let I x represents the set of all possible instantiations of X. A typical element A of P is of the form: p(X = a\X t = a t , X 2 = a 2 , ... , X k = a k ), where X e P, a e I x , and for all 1 < i < k, Xi E P, and cii E I x ..

[0092] Associate with each element A E P : the rule

(¾ = «¾) Λ (¾ = α 2 ) Λ ·· · Λ (X k = a k ) => (X = a), and the set E A .

[0093] Let K be the AKB containing one or more (e.g., all) objects of the form E A → A where A E P. Moreover, define m such that:

m(E A ) = p(X = a\X t = a t , X 2 = a 2 , ... , X k = a k ). Docket No. 2330.1001 PCT

[0094] Let A = ((¾ = a t ) A (¾ = a 2 ) A ·· · Λ (X k = a k ) => (X = a)) e A K , and = ((¾ = b t ) A (Y 2 = b 2 ) A - A (XI = bi = (Y = b)) e A K . A ~ B means for all 1 < i≤ k and 1 < j≤ I, a t = bj whenever Xi = Yj . In other words, A and B are antecedent-compatible. In order to capture the properties of conditional probabilities, the following conditions are needed: For every A, B e A K , if A ~ B, X = Y but a≠ b, then E A n E B = 0.

[0095] However, for Bayesian knowledge bases, an additional property is needed: For every A, B e A K , \ A ~ B,X = Y and a = b, then ¾ = £ B . (This is the exclusivity property given in Eugene Santos, Jr. and Eugene S. Santos. A framework for building knowledge-bases under uncertainty. Journal of Experimental and Theoretical Artificial Intelligence, 1 1 :265-286, 1999.)

[0096] On the surface, it might seem that Bayesian networks and Bayesian knowledge bases can deal with relationships or constraints among the sets. Actually, they cannot handle constraints unless they are inherent in probability theory or in their definition. In other words, neither can handle externally imposed constraints.

[0097] Bayesian networks and Bayesian knowledge bases essentially employed Scheme 2 given in Section 2 with the proviso that fh(A n B) = 0 whenever A n B = 0. It can be shown that the resulting AKB κ, as defined above, are equivalent to the corresponding Bayesian network or Bayesian knowledge base.

[0098] Another well-known reasoning scheme is based on Dempster-Shafer theory (DST)( G. Shafer. A Mathematical Theory of Evidence. Princeton University Press, 1976). Using DST terminology, consider a simple support function 5 with focal element A and degree of support s. S can be represented by the objects E→ A and E'→ A', with m(E) = s and m(£") = 1 - s. If relations exist among the focal elements, then additional objects have to be included in the AKB. For example, suppose A and B are disjoint focal elements, then we need to include the object U→ A' v B' in the AKB. (Although focal elements in DST are sets, we view them as propositions to fit them into our formulation.) If the frame of discernment Θ is given, another way of representing the support functions, without resorting to using additional objects to specify the relations among focal elements, is to write: A = θ 2 , ... , 6 k ] _≡ Θ as Q x v θ 2 v - v ¾.

[0099] In this case, we need only add, once and for all, the objects U→ a' v b' for distinct a, b e Θ. DST employed Scheme 2 given in Section 2 to extend the κ-measure m and then normalized the result by dividing it by 1 - m(a K (F)). It can be shown that the orthogonal sum used in DST can be derived from the above representation. Although DST emphasized Docket No. 2330.1001 PCT evidence in its formulation, like all other existing models, it did not distinguish between the evidence and the proposition it supports.

[00100] Section 4. Augmented Knowledge Base Inference Engine

[00101 ] In this section, we shall show how inference or reasoning is done in an AKB. From the above discussions, it is clear that, in an embodiment of this invention, the functions of the augmented knowledge base engine (AKBE) can be divided neatly into two phases. The first phase deals only with the AKB κ (or any desired subset thereof, in the case of distributed knowledge bases), while the second phase deals with the κ-measure and its extension. As noted earlier, it is possible to use more than one extension schemes in a single AKB. Moreover, depending on the extension scheme(s) used, it may not be necessary to complete the first phase before starting the second phase. In particular, the two phases, as well as the extension schemes, if two or more schemes are used simultaneously, maybe carried out in parallel to make the process more efficient.

[00102] The main thrust of the first phase of an AKBE is the evaluation of σ κ (Ι). By virtue of results given in Section 1 , we need only provide a method for determining <r K (F) for arbitrary AKB K. Many such algorithms are given in Section 15 (Unification Algorithms).

[00103] The main thrust of the second phase of an AKBE is the computation of m(a K (F)). This clearly depends on the scheme used for extending m. As stated earlier, the result in Section 2 can be used to provide a lower bound and an upper bound for m(E) for any probabilistic extension of m as long as m itself is probabilistic. Unfortunately, after applying the theorem a few times, the lower and upper bound quickly approaches 0 and 1, respectively, yielding very minimal useful information. Nevertheless, both the lower and upper bounds can be computed easily, and thus it provides a very efficient way for bounding the value of m(E).

[00104] Several extension schemes are given in Section 2. Clearly, all of those schemes are intended to be used to compute m(E) directly, provided E e £ K , without any regard to the relations among the sets in £ K (e.g. Is E x a subset of E 2 , or are they disjoint?). There are many other known extension schemes and/or conditioning/composition rules. However, they are either too restrictive, or have no clear semantics and thus suffer from various anomalies.

[00105] A promising approach is the use of the extension scheme based on constraint stochastic independence method mentioned earlier and discussed in detail below. It provides a unique point value for m(E), and forms the basis for a new computational model of uncertain Docket No. 2330.1001 PCT reasoning. A unique feature of this new reasoning scheme is its ability to deal with relationships among the bodies of evidences, or its capability to take into account constraints imposed on the bodies of evidences. This is a clear departure from all existing formalisms for uncertain reasoning, which are incapable of dealing with such constraints. This added feature can lead to more powerful, robust, accurate and/or refined characterizations of the knowledge base. In addition, because of its clear probabilistic semantics, virtually all of the known anomalies associated with existing knowledge-based systems disappear.

[00106] Although our discussion on AKBE focuses on σ κ , the same method can be used for or other appropriate functions. In addition, if κ is consistent (see Section 5), and both σ κ and are considered, then one can determine an interval value (m(a K (L)), mio^L))) for any L e £.

[00107] In general, AKBs allow rules to be supported by bodies of evidences that are related to other bodies of evidences. For example, two different rules may be supported by the same body of evidences, or a rule is supported by E while another rule is supported by E'. If one needs to know which specific rules, not just which specific bodies of evidences, that are applied to obtain the desired results, such as in PROLOG-like query, ∑ K (L) = {ω e κ|τ(ω) = L) can first be determined. Clearly, all the rules involve in the inference are included in∑ K (L). One can then use the definition, together with the given constraints, to determine o K (L).

[00108] Providing explanations on how results were obtained by any knowledge-based system will go a long way in bolstering the user's confidence on the system. For AKBs, the explanation is built-in. All the rules that are involved in deducing the final results are given in∑ K (L).

Moreover, the overall body of evidences supporting L is given in σ κ (Ι). Furthermore, all constraints involved, when constraint stochastic independence method is employed, can be readily extracted during the second inference phase.

[00109] It is worth noting that the∑ K (L) and/or σ κ (Ι) obtained in the first phase of the AKBE, contains a mountain of treasures (information) waiting to be exploited. We have seen how it can be used to determine the support of L, as well as, how to explain awayL. Many other concepts, such as consistency, reliability, vulnerability, etc., which are central to many different complex systems, as well as, deception, which is central to knowledge-based systems, can also be formulated and determined via∑ K (L), σ κ (Ι) and/or fh (see Section 5 below).

[00110] Section 5. Properties of AKB Docket No. 2330.1001 PCT

[00111 ] FIG. 7 is a table of methods for testing and ensuring properties of AKB, according to an embodiment of the present invention.

[00112] In this section, certain basic properties of AKBs are presented together with methods for testing and ensuring that the AKB possesses the properties.

d

[00113] Let K be an AKB. κ is consistent if and only if G = 0, subject to C K , whenever G→ K F. C K is the collection of all constraints involving κ. This means that for consistent κ, if a rule is FALSE, then it is not supported by any evidences.

[00114] Consistency is an important issue involving an AKB. It specifies the internal consistencies of the contents of the AKB. For example, if both E x → A and E 2 → A' are in κ, then E x and E 2 should be disjoint for κ to be consistent. We need a higher order AKB to deal with inconsistencies (see Section 7). If an AKB is not consistent, then the (E→ A) in κ may not be universally accepted. Inconsistency is closely related to reliability. It could also be a precursor of something important, such as deception, when dealing with knowledge bases not known for their inconsistencies.

[00115] AKBs associated with Probabilistic logic( N. J. Nilsson. Probabilistic logic. Artificial Intelligence, 28:71-87, 1986), Bayesian networks( Judea Pearl. Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann, 1988) and Bayesian knowledge-bases( Eugene Santos, Jr. and Eugene S. Santos. A framework for building knowledge-bases under uncertainty. Journal of Experimental and Theoretical Artificial

Intelligence, 1 1 :265-286, 1999) are consistent. On the other hand, consistency is not strictly observed in Dempster-Shafer theory ( G. Shafer. A Mathematical Theory of Evidence. Princeton University Press, 1976). This omission, together with its composition rule, can lead to certain anomalies ( L. A. Zadeh. On the validity of Dempster's rule of combination of evidence.

Technical Report 79/24, University of California, Berkeley, 1979; L. A. Zadeh. A mathematical theory of evidence (book review). Al Magazines, 55:81 -83, 1984; L. A. Zadeh. A simple view of the Dempster-Shafer theory of evidence and its implication for the rule of combination. Al Magazines, 7:85-90, 1986).

[00116] In general, consistency imposed certain conditions that the £"s should satisfy. Some criteria for consistency are given below:

[00117] Let K be an AKB. The following statements are equivalent: Docket No. 2330.1001 PCT

1 . K is consistent.

d

2. G = 0, subject to C K , whenever G→ K F.

3. For every ω e tc, Ζ(ω) = 0 whenever τ(ω) = F.

4. a K {F) = 0.

5. ^(T = U.

6. For every Let, a K (L) n a K (U) = 0.

7. For every L 6 £, ¾(L) u = U.

8. For every L e £, σ κ (Ι) _≡ ^.(L).

[00118] Any of the criteria above can be used to test and ensure that the AKB is consistent. As observed earlier, an inconsistent AKB is actually a higher order AKB. Although

inconsistencies can be removed from an AKB κ by adding the constraint <r K (F) = 0, this method may not be advisable since it could alter the nature of the AKB. Besides, all inconsistencies should be handled with care. They may occur due to errors. More importantly, they may occur due to possible deceptions (see below), especially if the AKB is not known to have

inconsistencies.

[00119] Let K be an AKB. κ is complete if and only if for every L e £, c¾.(L) _≡ σ κ (Ι). κ is perfect if and only if for every L e £, c¾.(L) = σ κ (Ι).

[00120] Perfect AKBs are those AKBs whose support and plausibility for any L e £ are equal. This turns out to be a very powerful property.

[00121 ] Additional methods for testing and ensuring that an AKB is perfect are given below:

[00122] Let K be an AKB. The following statements are equivalent:

1 . K is perfect.

2. For every L e £, c¾.(L) = σ κ (Ι).

3. K is both consistent and complete.

4. K satisfies the following conditions:

a) a K {V) = (L)]'; Docket No. 2330.1001 PCT b) a K L A L 2 ) = a K (Li) Π a K (L 2 ) ; and

C) a K (L t V L 2 ) = a K (Li) U σ κ 2 ) .

[00123] In light of 4 of the above result, if κ is perfect, then for every L e £, σ κ (Ι) is completely determined by σ κ (Α) , where e £ a , and £ a is the collection of all atomic proposition in £. An atomic proposition is a proposition that is indivisible, i.e., it cannot be expressed in terms of other propositions. A rule A is a combination of or formed of one or more atomic propositions.

[00124] We shall now present some other important properties involving AKBs, and show their possible applications.

[00125] Let K be an AKB, m a κ-measure, fh an extension of m over £ κ , λ _≡ κ, and L e £.

ψ κ (λ, L) = m(a K (L)) - m(a K _ A (L)).

[00126] ψ κ (λ, L) will be referred to as the contribution οίλ overL. If μ e κ, then we shall also write: κ (μ, L) 1οΐ ψ κ ({μ], L).

[00127] The concept of contribution can be used to detect and overcome vulnerabilities, as well as, detect possible deceptions (see below).

[00128] Let K be an AKB, μ e κ and L e £. μ is an essential support forL if and only if ψ κ μ, L) > 0.

[00129] Clearly, all the vulnerabilities of κ with respect to L can be determined from 5 K (L) = {μ e κ\μ is an essential support for L), which can in turn be obtained from∑ K (L). As a matter of fact, we can order the elements μ of S K (L) in descending order of ψ κ (μ, L). In this way, one can pinpoint all the major vulnerabilities of κ with respect to L. Sometimes, vulnerabilities are not due to a single element of κ. In this case,∑ K (L) should be examined to determine group of elements of κ that may be the root cause of major vulnerabilities.

[00130] Detecting possible deceptions involving L can become more complicated since it involves human and/or another corrupted machine. Nevertheless, a method to start the detection process can be carried out by first determining the major single and/or multiple vulnerabilities with respect to L, as explained above, and carefully examining which of the major single and/or multiple vulnerabilities are plugged using questionable sources. In general, deceptions might involved altering, adding and/or deleting multiple elements of κ. For security purposes, no existing element of κ should be allowed to be removed without thorough Docket No. 2330.1001 PCT investigation to assure that the element in question is useless, not appropriate and/or superseded. All changes should be introduced as new members of κ (deletion of (E→ L) e κ can be accomplished by temporarily adding the new member 0→ L to κ). A log should be provided for any changes, addition or physical deletion of any member of κ.

[00131 ] Section 6. Inductive Inference

[00132] FIG. 8 is flow diagram of inductive inference in AKB, according to an embodiment of the present invention.

[00133] Inductive inference comes in many different flavors and has been widely studied in the literature (Aidan Feeney and Evan Heit, editors, inductive Reasoning : Experimental, Developmental, and Computational Approaches. Cambridge University Press, 2007; John H. Holland, Keith J. Holyoak, Richard E. Nisbett, and Paul R. Thaggard. Induction : Process of Inference, Learning, and Discovery. MIT Press, 1989). In this section, we provide a method for performing inductive inference in AKBs. The inductive inference presented in this document is not only more general (capable of handling uncertainties and/or incompleteness), but also more robust, than traditional inductive inference. Together with the results given above, AKB can serve as a unified framework for deductive and inductive reasoning. Furthermore, in view of the results that will be presented in this section, we can view deductive reasoning and inductive reasoning as dual of each other.

[00134] Let K be an AKB, G <≡ U and L e £.

i

G→ K L (where / dentoes inductive reasoning) if and only if there exists L 0 e £ where L 0 refers to a composite rule such that the target rule L→i 0 and G→ K L 0 .

[00135] This is equivalent to there exists ω e κ such that Ζ(ω) = G and L = τ(ω). Observe the i d

difference between G→ K L and G→ K L.

i

[00136] In other words, G→ K L means there exists a composite object ω in the AKB κ (ω is formed from objects in κ), where G is the set of evidences associated with ω, and the rule

i

associated with ω is implied by L. G→ K L is one of the key concepts for dealing with inductive reasoning and other aspects of AKBs. Among other things, it provides a natural way to show how a given L e £ is inductively related to /c.Let κ be an AKB and L e £. Docket No. 2330.1001 PCT

1 . The inductive plausibility for L with respect to κ, (also denoted by φ κ {1)), is the smallest G _≡ U where G→ K L.

2. The inductive support for L with respect to κ, (also denoted by φ κ {1)), is equal to

[0 * (£')]'■

In other words, inductive plausibility for L with respect to κ is the smallest set of evidences G i

such that G→ K L, while inductive support for L with respect to κ is the largest set of evidences G i

such that G→ K V.

[00137] Let K be an AKB. Let ω e k. The complement ω' of ω is defined recursively as follows:

1 . If ω = (E→ A) where ω e κ, then ω' = (£"→ A').

2. If ω 1( ω 2 6 κ, then (a^ v ω 2 )' = Λ ω 2 ' and (ω 1 A ω 2 )' = v ω 2 '.

Clearly, for any composite object of ω, ω' is obtained from ω by taking the complement of the set of evidences portion of ω, and the negation of the rule portion of ω. The complement ω' of ω is needed to show the relations between deductive inference and inductive inference.

[00138] Let Ω c K. Ω = {ω' | ω 6 Ω).

[00139] Let τ _≡ κ. τ = {ω' | ω 6 τ). When κ is viewed as an AKB, then = C K .

[00140] The following properties show that inductive support and inductive plausibility with respect to κ are closely related to plausibility and support with respect to κ. They also provide a method for computing the inductive support and inductive plausibility with respect to κ using the Unification Algorithms (see Section 15) for computing the support and plausibility with respect to

K.

[00141 ] Let K be an AKB and L e £. 0 K (L) = ¾(L) and 0 K (L) =

[00142] Clearly, reasoning using σ κ corresponds to deductive inference or reasoning. On the other hand, reasoning using φ κ may be viewed as inductive inference or reasoning. φ κ can be used for extracting new knowledge from κ. In view of the above results, κ may be viewed as the AKB induced by κ using inductive inference. However, it should be observed that, even if κ is consistent, new knowledge extracted from κ, need not be consistent with one another; i.e., κ need not be consistent. In the rest of this section, we shall provide necessary and sufficient conditions for the new knowledge extracted from κ to be consistent. Docket No. 2330.1001 PCT

[00143] In view of the previous paragraphs, inductive inference can be accomplished using deductive inference, as follows: construct the complement κ (410) from κ (400), construct the negation L' (412) from L (405), perform deductive inference on κ and V (420) to determine the support of V with respect to κ, and other items in (422), and then use the relation 0 K (L) = c½(L) given above to compute inductive plausibility of L with respect to κ, as well as other items (424).

[00144] Let K be an AKB. The following statements are equivalent:

1 . K is i-consistent.

i

2. G = U, subject to C K , whenever G→ K T.

3. For every ω e tc, Ζ(ω) = U whenever τ(ω) = T

4. φ κ (Τ = U.

5. 0 K (F) = 0.

6. For every L t, 0 K (L) u 0 K (L') = U.

7. For every L e t, 0 K (L) n φ κ {ϋ) = 0.

8. For every L e £, 0 K (L) £≡ 0 K (L).

9. K is consistent.

[00145] Any of the criteria above can be used to test and ensure that the AKB is i-consistent. It follows from the above results that if κ is i-consistent, then κ is consistent. In this case, the new knowledge extracted from κ will be consistent with each other.

[00146] Since κ is i-consistent if and only if κ is consistent, in the same manner, we shall say that K is /-xxx if and only if κ is xxx. Moreover, we shall say that κ is dual-xxx if and only if both κ and K are xxx. Therefore, all results given in Section 5 can be transformed into corresponding results involving i-complete and/or i-perfect using the above results.

[00147] Let K be an AKB. κ is monotonic if and only if for every ω 1( ω 2 e κ, if ν ω 1 ) = τ(ω 2 ), then _≡ Ζ(ω 2 ).

[00148] Let K be an AKB. The following statements are equivalent:

1 . K is monotonic. Docket No. 2330.1001 PCT

2. K is monotonic.

3. For every ω 1 , ω 2 e k, if τ ω 1 )≡ r(o> 2 ), then 1 ω ) = Ζ(ω 2 ).

4. For every ω e k, Ζ(ω) = σ κ (τ(ω)).

5. For every ω e k, Ζ(ω) = φ κ (τ(ω)).

6. For every ω e k, a K (r(a>)) = φ κ (τ(ω)).

7. For every L e £, σ κ (Ι) _≡ 0 K (L).

8. For every L e £, σ κ (Ι) _≡ ^.(L).

9. K is consistent, where k = κ u κ, where C ¾ =

[00149] Any of the criteria above can be used to test and ensure that the AKB is monotonic.

[00150] If k is consistent, then the original knowledge in κ and the newly extracted knowledge associated with κ are all consistent with each other.

[00151 ] Section 7. Higher Order AKB

[00152] FIG. 9 is a flow diagram of constructing consistent higher order AKBs, according to an embodiment of the present invention. Fig, 9 is a list of 3 higher order AKBs and how they are constructed. All 3 types are described in this section.

[00153] In this section, unless otherwise stated, we shall assume that n is a positive integer. We shall now present higher order AKBs using induction.

1 . A 1-st order AKB is an AKB (as defined above).

2. Let K Q be an n-th order AKB. An (n + l)-th order AKB X is a finite collection of objects of the form G→ μ, where G _≡ U and μ e X 0 . G will be referred to as the reliability of μ, and X an immediate extension ofx 0 .

3. A general AKB is a n-th order AKB.

[00154] Let X be a general AKB. Since the objects in X have the same form as objects in an AKB, many of the basic concepts and notations for AKB can be carried over to X, e.g., £ Κ , X, r(), Z(), etc. Moreover, C K is the collection of all relations among the sets or bodies of evidences involved in X and/or in A K . Docket No. 2330.1001 PCT

[00155] Let X be an n-th order AKB and n > l. X i = {/(ω) n Z(r(co))→ τ(Γ(ω)) |ω e X}.

Observe the Xi is an (n - l)-th order AKB. This provides a way to reduce an n-th order AKB into an (n - l)-th order AKB. Moreover, X is consistent if and only if X^ is consistent.

[00156] In the rest of this section, we shall present several methods for constructing consistent second order AKBs. It includes the constructions of X°, X^, and different varieties of X .

[00157] Let K be an AKB. X° = {σ^ (Γ(μ))→ μ|μ e κ).

[00158] If K is a deterministic AKB, then contains only the elements of κ which are consistent with all the other elements of κ. Thus, for example, if κ contains both L is TRUE and L' is TRUE, then neither elements will be included in X°.

[00159] Let K be an AKB and X is a second order AKB.

• X is an ideal immediate extension of κ if and only if X = {ΰ μ → μ |μ e κ] and for every τ e Μ Κ , α κ (τ) c υ μετ G„ ' where α κ (τ) = Π μετ Z (μ) and /? κ (τ) = Α μ£τ τ ( μ γ,

• τ is F-minimal if and only if (i) β κ (τ) = F and (ii) β κ 0 )≠ F whenever τ 0 is a proper subset of τ; and

• M K is the collection of all F-minimal subset of κ.

The above definitions and notations are needed to properly define X and X% .

[00160] Let K be an AKB. X = {(κ(μ))'→ μ \μ e κ), where for μ e κ, Γ κ (μ) = {τ e Μ κ \ μ e τ) and γ(μ) = ϋ τ£Τκ(μ) κ (τ) if Γ κ (μ)≠ 0. Otherwise, κ(μ) = 0.

[00161 ] Given an AKB κ. Construct X^ of κ.

1 . Let % = 0.

2. For each τ ε M K and each μ e τ, let G (JI, T) be a new symbol in E K .

3. For each τ e K , add to C K the constraint that the collection {β(μ, τ) |μ e τ) forms a

partition of α κ (τ).

4. For each μ e κ, add to X the object Π τ(Ε Γ κ (μ)( G G"< Ό)' → 4 -

5. Return s.

[00162] Let K be an AKB and X an ideal immediate extension of κ. If m is a κ-measure, then m can be extended to a X|-measure . In particular, if X = X% , then we can assign (β(μ, τ)) Docket No. 2330.1001 PCT to be any nonnegative values, for every τ ε M K and μ e τ; provided Σ μετ (β(μ, τ)) = 1 for every μ e K. More information and/or human intervention will be needed in order to assign specific values for (G^, r)). However, if no such information is forthcoming, assign M(G (JI, T)) = 1/\τ\ .

[00163] The above discussions show how one could construct second order AKBs to guarantee consistency in κ, κ and/or k. It follows from the above results that new knowledge can be extracted from κ in meaningful ways. Thus, AKBs provides a computational framework for knowledge extraction and data mining. Moreover, the selection of different ideal immediate extension for an AKB gives rise to different knowledge extractions / data mining schemes (See Section 8).

[00164] Section 8. Free-Form Database

[00165] FIG. 10 is a diagram for illustrating the relations for generating a free-form database, according to an embodiment of the present invention. In this section, we provide methods for constructing free-form databases (FFDB), which are special type of AKBs, and show how relational databases can be transformed into FFDBs. Among other things, we show that by so doing, one can automatically deals with uncertainties and/or incompleteness in relational databases in a natural manner. Moreover, we shall use FFDBs to construct deductive and inductive databases.

[00166] Let K be an AKB (over £ and U). κ is a free-form database (FFDB) (500) if and only if every atomic proposition in £ is of the form v = v, where v is a variable and v e V v , the collection of all possible values for v. In addition, every variable v in an FFDB satisfies the following two conditions;

1 . ((v = v ) A ( = v 2 )≡ F whenever v , v 2 e V v and v ≠ v 2 ; and

2- ^ O = v)≡ T;

[00167] Observe that a relational database > is made up of a finite set of relations. Consider a relation R " \ \ > with header ^, ... , A K . Then any member of 31 can be represented in the form:

(A = <¾) Λ ... Λ (A K = a fc ) => CD = T), (1 ) where (T> = T) can be interpreted as the relation is in the database >, and = is material implication in £. Docket No. 2330.1001 PCT

[00168] Let © be a relational database. κ ν is smallest FFDB which contains the collection of all U→ p, over all relations 31 in Ί), where p is an expression of the form given in (1 ) above.

[00169] Only deterministic relational databases are defined above. However, in the new representation, uncertainties and/or incompleteness could be readily incorporated in κ ν by changing the U in κ ν to any appropriate subset E of i/.Moreover, by using the above

representation, not only is it possible to specify which relation is in the database, but it is also possible to specify which relation is NOT in the database by setting (T> = F) instead of (T> = T).

[00170] The dependencies/independencies among the data are of paramount importance in traditional databases, since these databases are subject to constant updating. Violations of these dependencies/independencies are the main sources of anomalies in these databases. The dependencies can be characterized by one-to-one and/or many-to-one relationships (dependencies). A many-to-one dependency (or functional dependency) can be expressed as:

Af =1 ( vf = vf) => (A? =1 ( * = vf)) A CD = T), (2) where e V V L and vf e V V R for all i = 1, 2, k and j = 1, 2, n. A one-to-one dependency can be expressed as two many-to-one dependencies.

[00171 ] Expression (2) reduces to expression (1 ) when n = 0. The left hand side of expression (2), for n≥ 0, represent independencies. In other words, the values of the variables

of variables forms a key. The concept of multi-valued dependency and join dependency ( R. Fagin. A normal form for relational databases that is based on domain and keys. ACM Transaction on Database Systems, 6:387-415, 1981 ) can be viewed as some sort of

independencies/dependencies, and thus can be reformulated as such.

[00172] Let T> be a relational database. /<¾ is smallest FFDB which contains the collection of all U→ p, where p is an expression of the form given in (2) above, with n≥ 0 , over all dependencies/independencies in >. In addition, κ ν = κ ν υ /¾. In this case, we shall also say that K is an augmented relational database (510).

[00173] The expression given by (2) above can be decomposed into the n expressions:

(A =1 Of = vf)) => (vf = vf), j = l, 2, n, and the expression (A =1 Of = vf)) => = T . Docket No. 2330.1001 PCT

[00174] Each of these expressions, after decomposition, is a Home clause. Since expressions given by (1 ) are also Home clauses, therefore unification for any augmented relational database can be carried out in polynomial time.

[00175] The power of FFDBs is manifested not just in its capability and flexibility in

representing relational databases (Amihai Motro. Imprecision and incompleteness in relational databases: Survey. Information and Software Technology, 32(9):279-588, 1990; S.K. Lee. An extended relational database model for uncertain and imprecise information. Proceedings of VLDB, pages 21 1 -220, 1992) with uncertainties and/or incompleteness, but also, as is shown below, in its ability to represent any deductive database ( Raymond T. Ng. Reasoning with uncertainty in deductive databases and logic programs. International Journal of Uncertainty, Fuzziness and Knowledge-based Systems, 5(3):261-316, 1997) under uncertainty, i.e, augmented deductive database. Moreover, the concept of FFDB lends itself to the construction of augmented inductive databases. These databases can serve as formal framework for extracting new information from relational databases.

[00176] Clearly, an augmented deductive database, i.e., a deductive database centered on the relational database >, can be represented by a FFDB κ, where κ ν _≡ κ. Using such a representation, the full force of the results obtained for AKBs can be applied to deductive databases. Therefore, unlike existing deductive databases, the augmented deductive database is capable of handling full-fledge uncertainties and/or incompleteness (520 and 525). According to an aspect of an embodiment, at 520, the deduction of 220 in Fig. 3 is applied to FFDB to obtain augmented deductive databases. According to an aspect of an embodiment, at 530, an inductive version of 230, defined in Paragraph 137, is applied to FFDB to obtain augmented inductive databases.

[00177] Consider an FFDB κ where K V Q K and > is a relational database. If inductive reasoning (see Section 6) are employed instead of deductive reasoning, i.e., using φ κ instead of σ κ , then we have an augmented inductive database (530 and 535). Unlike deductive databases, we are not interested in searching, deducing, and/or generating views for inductive databases. Instead, we are interested in acquiring possible new knowledge from the database, i.e., data mining.

[00178] Most FFDBs are consistent. Nevertheless, κ may not be consistent. Thus, the construction of second order AKBs associated with κ given in Section 7 is central to data mining in a relational database. Docket No. 2330.1001 PCT

[00179] As discussed in Section 7, there are many different ways to guarantee consistency by selecting different associated second order AKBs. The different selections give rise to various natural schemes that can be used in data mining.

[00180] From the above discussions, it is clear that augmented inductive database can serve as general framework and formal model for knowledge acquisition and data mining in relational databases, with or without uncertainties and/or incompleteness.

[00181 ] Section 9. Average and Stochastic Independence

[00182] The main objective of the rest of this document is to show how to extend the measure m, with domain 8, to fh, with domain 8. We are particularly interested in those cases where both m and fh are probability measures. This problem is central to many applications, in particular, reasoning in a knowledge-based system involving uncertainties and/or incompleteness, such as AKBs.

[00183] In the rest of this document, we shall denote by J the set of all non-negative integers, and denote by J + the set of all positive integers.

[00184] Let us interpret the probabilities as frequencies. In other words, let 8 _≡ 2 U (8 is a subset of the universal set U), \ U\ = n (the universal set U has n elements), and let m denotes a function from 8 into [0, 1] such that for every E in 8, m(E) = k/n, where k = \E\. (\E\ denotes the cardinality of E, i.e., the number of elements in E). Thus, m is a probability measure over 8, and m(E) represents the probability of E.

[00185] If the sets in 8 are explicitly specified, the problem of extending a measure m to fh can be based upon determining the cardinality of any set in 8. Unfortunately, this might not be the case. If E is in 8 and \E\ = k, then E can stand for any subset of U with cardinality k, subject to possibly some other constraints which will be discussed in subsequent sections.

[00186] A natural probabilistic extension for a measure m with domain 8 to fh with domain 8 can be obtained by taking the average of the probabilities of all allowable sets in 8.

[00187] Let £ _≡ 2 U , and A, B e 8. Let \ U\ = n, \A\ = a and |β| = b. Assume that A can represent any subset of U whose cardinality is a, and B can represent any subset of U whose cardinality is b. Then the average probability of A n B is given by: Docket No. 2330.1001 PCT

[00188] The probability of any E e £ above can be determined in a similar manner. In particular, it can be shown that fh(A n B') = m(A) [1 - m(B)] and fh(A u fi) = m(A) + m(B) - m(A) m(B).

[00189] Under the assumption that no constraints are imposed, the average method used to compute fh turns out to be the same as Scheme 2 given above. On the other hand Scheme 2 is based on the implicit assumption that the sets in £ are stochastically independent. Because of this, Scheme 2 fails completely if constraints exist among the sets in £. If constraints exist, the sets may no longer be stochastically independent. For example, under Scheme 2, fn(A n B) = m(A) m(B) for all A and B, regardless, even in the cases where A Q B or A n B = 0.

[00190] Constraints among the sets in £ could be inherent in most applications. The average method discussed above will still work even when such constraints exist. This will be examined in detail in the subsequent sections. Indeed, as we shall see below, using the average method, a new measure over £ may be created which takes into consideration one or more of (e.g., all) the constraints involved; and under the new measure, the sets in £ may be viewed as stochastically independent. For this reason, we shall refer to this new method as the constraint stochastic independence method.

[00191 ] The constraint stochastic independence method is the basis of a new computational model of uncertain reasoning— augmented reasoning. One of the important advantages of this method is its ability to deal with relationships among the bodies of evidences, or its capability to take into account constraints imposed on the bodies of evidences. For knowledge-based systems, this provides a unique mechanism to resolve relationships among the bodies of evidences. As stated earlier, this is a clear departure from all existing knowledge bases, which are incapable of supporting such constraints. This added feature can lead to more powerful, robust, accurate and/or refined characterizations of knowledge bases.

[00192] Section 10. Constraints

[00193] Let £ _≡ 2 U , and A, B, C e £, where the cardinality of U, A, B and C are n, a, b and c, respectively. Suppose the only constraint is (A u B) n C = 0. (This is equivalent to the two constraints A n C = 0 and B n C = 0.) In other words, A, B and C can represent any subsets of Docket No. 2330.1001 PCT

U with cardinality a, b and c, respectively, satisfying (A u B) n C = 0. In this case, provided m(A) + m(C) < 1 and m(B) + m(C) < 1, the average probability of A n B can be computed as follows:

[00194] The above example illustrates the roles constraints play in the extension of m to m, as well as, the restrictions constraints imposed on the values of the original m.

[00195] It is clear from the above discussions that we do not have to be interested in the specific subsets of U. Each member E in £ represents a potential subset of U where \E\ is fixed and E satisfies the constraints specified. The notation £ _≡ 2 U does not accurately reflect this concept. Therefore, in an embodiment of this invention, we shall introduce the new notation £ < 2 U , together with certain related new concepts.

[00196] In the new notation £ < 2 U , we can view each member of £ as a set variable which can be assigned certain subsets of U. For each E e £, all subsets of U that can be assigned to E should have the same cardinality. This common cardinality will be denoted by \E\ .

[00197] Given £ < 2 U , £ is completely defined only if \E\ is specified for every E e £.

Alternatively, we can specify a function m from £ into [0, 1] and let \E\ = m(E) x \ U\ for all E e £. Observe that m(E) is the probability of any subset of U that can be assigned to E. We shall refer to m as a measure over £, and denote by | · | m the cardinality induced by m, i.e., \E\ m = m(E) x \ U\ for all E e £. Clearly, if m(E) = 0, then E can only be assigned the subset 0; and if m(E) = 1, then E can only be assigned the subset U. For simplicity, we shall also denote by 0 (U) the set variable that can be assigned only the set 0 (U).

[00198] The members of £, where £ < 2 U , may be subject to certain constraints as illustrated above. Each constraint imposed further restrictions on the subsets of U that can be assigned to the set variables in £. It is clear from the above example that given a probability measure m and a collection of constraints C for £, some additional conditions may have to be imposed to insure that m and C are compatible. Docket No. 2330.1001 PCT

[00199] More formally, we start with a collection 8 of objects. The collection 8 is defined recursively as follows:

1 . If E e 8, then £ is in 8.

2. If Z, z 1( Z 2 e 8, then z', Z u Z 2 and Z 1 n 2 are in 8.

[00200] A constraint for 8 is an expression of the form Z x rel Z 2 , where Z x , Z 2 e 8 and rel is one of the following relational operators: <≡, , c, <£, 3, =>, i>, =,≠.

[00201 ] A complete instantiation ζ of 8 is a mapping from ε into 2 17 . If ( is a complete instantiation of 8, and W any expression or relation involving members of 8, then ((W) is the expression or relation, obtained by replacing each E e 8 that occurred in W by ζ(Ε). In particular, if W is a constraint for 8, then " (W) is the set relation, obtained by replacing each E e Sthat occurred in W by ζ (£). If ζ is a complete instantiation of 8, and C is a collection of constraints for 8, then is the collection of all " (W) where W e C. Let C be a collection of constraints for 8, and W a constraint for 8. W is derivable from C if and only if for all complete instantiation ζ of £, " (W) follows from < " (£) . Let and C 2 be collections of constraints for 8. t and C 2 are equivalent if and only if for every constraint W for £, W is derivable from t whenever W is derivable from C 2 , and vice versa.

[00202] A complete definition of 8 < 2 17 requires the specification of a collection C of constraints for 8 (C may be empty, i.e., no constraint is imposed on 8), and a measure m over £. A measure m over 8 is a function from 8 into [0, 1] such that for every E e 8, \E\ m = \ U\ x m(£) e 7.

[00203] A complete instantiation ζ of ε is legitimate over m and C if and only if for each E e 8, \ζ(Ε) I = \E\ m , and for every W e C, ζ( ) holds.

[00204] Let m be a measure over 8 and " a legitimate complete instantiation of 8 over m and C. Let ( m be a function from ζ(£) = {ζ(Ε) \Ε e £) into [0, 1] , where ( m (£(£)) = m(£). Clearly, ( m is a probability measure over " (£).

[00205] If there is at least one complete instantiation legitimate over m and C, then m and C are compatible (or m is compatible with C). C is consistent if and only if m and C are compatible for some measure m over £. The issue of compatibility is addressed in Section 13 below. Docket No. 2330.1001 PCT

[00206] Let C be a collection of constraints for 8 < 2 U , and m a measure over 8. Let W be a relation involving m and members of 8. W is valid if and only if for all complete instantiation ζ of 8 legitimate over m and C, " (W) holds.

[00207] In what follows, if C is a collection of constraints for 8 < 2 U , then C is assumed to be consistent. Moreover, given 8 < 2 U , if the concepts or results hold for arbitrary C, then C will not be specified. In other words, no C doesn't mean that C is empty. Similarly, if the concepts or results hold for arbitrary m, then m will not be specified.

[00208] Let 8 < 2 U , C a collection of constraints for 8, and m a measure over 8 which is compatible with C. fh is the function from 8 into [0, 1], such that for every E e 8, fh E) is the average of all \ζ(β) \ , where ζ is taken over all complete instantiations of 8 which are legitimate over m and C.

[00209] Clearly, in the above definition, the extension of m to fh corresponds to using the average for finding the probability of the new set. The compatibility of m and C guarantees that fh is a 'probability measure'.

[00210] In both the examples given above, fh(A n B) is well-defined or unique, since their values depend solely on the probabilities of the sets which are involved. However, this is not true in general.

[00211 ] It can be shown that inclusion of the relational operators of the types≠, , Φ, οχ Φ in a collection of constraints for 8, may cause the extension fh of m to be ill-defined, i.e., not well-defined.

[00212] In addition, for the extension fh to be well-defined, all constraints of the form B t n B 2 n ··· n Bi = 0, where I > 2, should be derivable from other constraints. In other words, one need only considers disjoint relations or constraints of the form A n B = 0. Unfortunately, as we shall see in the next section, this restriction, together with the restrictions given below, are not sufficient to guarantee that the extension will be well-defined (i.e., the extension will depend solely on the individual probabilities).

[00213] There are many possible constraints or relations among the elements in 8 < 2 U , which do not contain relational operators of the types≠, , Φ, and i>. These constraints are listed below: Docket No. 2330.1001 PCT

[00214] 1. (disjoint) In view of remark given above, an example intersection involving only two members of £ is described. Let A, B e £. Since A' n B' = 0 is equivalent to A u B = U, all such relationships will be replaced by equivalent relationships discussed below (Case 6) and dealt with accordingly. In addition, A n B' = 0 is equivalent to A _≡ B. These relations will be converted to subset relations (case 2) and dealt with accordingly. Thus, we shall restrict our attention only to disjoint relations of the form A n B = 0 where both A and B e £. In addition, if A Q B and B n C = 0, then A n C = 0. Thus, it is essential to capture these implied disjoint relations.

[00215] 2. (subset) Let A, B e £. Clearly,

A _≡ B' is equivalent to A n B = 0 (Case 1 above);

A' _≡ β is equivalent to ^ u B = U (Case 6 below); and

A' _≡ β' is equivalent to β _≡ A.

Therefore, it is only necessary to consider _≡ B where A, B e £. However, _≡ is a transitive relation. Thus, it is essential that we captured most of, or all, or a number of according to application criteria, the subset relations, whether they are explicit, implicit or derived. Moreover, subset relations could give rise to equality relations. These equality relations (case 3) should be captured and dealt with accordingly.

[00216] 3. (equality) Let A, B e £. If A = B, then we can remove B from £ and replace all occurrences of B by A, and all occurrences of B' by A'. Alternatively, A = B can be replaced by \A\ = \B\, and either A _≡ B or B _≡ A. (If either A _≡ B or B _≡ A is implied by other constraints, then replace A = B with \A\ = \B\.) A = B' is equivalent to {A, B] is a partition of U, which is Case 4 below. Furthermore, A = 0 can be replaced by \A\ = 0, and A = U can be replaced by \A\ = 1.

[00217] 4. (partition) {A t , A 2 , ... , A k ] is a partition of A 0 if and only if the following conditions hold:

a. At n A j = 0 for all l≤i, j≤k and i≠ y; b. Ai _≡ ,4 0 for 1 < i < /c; and

c. Idol = |4i l + |4 2 | + ... + |A fc |. Docket No. 2330.1001 PCT

Hence, all partition relations can be replaced by disjoint relations and subset relations, plus imposing certain conditions on the measure m.

[00218] 5. (A n B = C) If A n B = C≠ 0, then extend £ to include the objects G t and G 2 , where \G t \ = \A\ - \C\ and \G 2 \ = \B \ - \C\. In essence, we are trying to decompose A and B into the sets A = G t u C and B = G 2 u C. Clearly, A n B = C is completely characterized by the values assigned to \G t \ and | G 2 | , and the facts that {C, G- is a partition of A, and {C, G 2 ) is a partition of β.

[00219] 6. (A u B = C) If u B = C, then extend £ to include the objects G 0 , G t and G 2 , where I C 0 1 = \A\ + \B \ - \C\ , \G t \ = \A\ - \G 0 \, and \C 2 \ = \B \ - \G 0 \. In essence, we are trying to decompose A and B into the sets G 0 = A n B , G t = A - G 0 and G 2 = B — G 0 . Clearly, A u B = C is completely characterized by the values assigned to |G 0 |, |Gi | and |G 2 | ; the three sets G 0 , G t and G 2 are pairwise disjoint; and the facts that {G 0 , G- is a partition of A, and {G 0 , G 2 ] is a partition of B. In view of Cases 1 and 2 above, the case C = U is of particular significance.

[00220] 7. (intersection) A 0 = A 1 A 0 ' = 0. In view of the above result, only the case k = 2 will be considered. This is equivalent to Case 5 above.

[00221 ] 8. (union) A 0 = A x u A 2 u ··· u A k is equivalent to A 0 ' = A 0 ' n A 2 n ··· n A k '.

Therefore, only the case k = 2 will be considered. This is equivalent to Case 6 above.

[00222] 9. (proper subset) Let A, B e £. A c B if and only if A c B and |4| < |fl| .

[00223] Observe that:

• constraints of the form A Q B u C and of the form A n B _≡ C, if not derivable from other constraints, may cause fh to be ill-defined;

• constraints of the form B u C Q A can be characterized using only subset relations; and

• constraints of the form C _≡ A n B can be characterized using only subset relations.

[00224] The above discussions show how various constraints or relations can be transformed into constraints or relations of the form A n B = 0 and/or A _≡ B, where A, B e £.

[00225] Section 11. Graph Representations

[00226] FIG. 11 is a flow diagram for generating graph representations, according to an embodiment of the present invention. Actually Fig. 11 presents 2 graphs representations which Docket No. 2330.1001 PCT are used in subsequent discussions - admissibility and compatibility. Both representations are described in this Section. In the previous section, we showed that constraints or relations that can be transformed into constraints or relations of the form A n B = 0 and/or A _≡ B, where A, B e £ are, for example, necessary for the extension to be well-defined. In this section, we shall show that these conditions might not be sufficient. In order to get a better understanding of the structures of collections of constraints, we shall also represent collections of constraints using graphs.

[00227] Let £ < 2 U . An acceptable constraint or relation for £ is a constraint or relation of the form A n B = 0 or of the form A _≡ B, where A, B e £. Moreover, let C be a collection of constraints for £ < 2 U . C is weakly acceptable if and only if every constraint in C is acceptable.

[00228] Clearly, _≡ is transitive. Moreover, if A _≡ B and B n C = 0, then A n C = 0. Therefore, there might be constraints or relations not in C but implied by the constraints or relations in C.

[00229] Let C be a collection of constraints for £ < 2 U . C is maximal if and only if all acceptable constraints implied by C are also in C. Moreover, C x will denote the smallest weakly acceptable collection of constraints that contains C and is maximal.

[00230] Algorithm 1 . (Construction of C x ) Let C be a weakly acceptable collection of constraints for £ < 2 U .

1 . Let e x = C.

2. Let 3l 0 be the subset of C which contains all the subset relations of C, i.e., (A Q B) e 3l 0 if and only if (A <≡ B) e C.

3. Construct the transitive closure of Jl 0 using any standard method, for example, Alfred V.

Aho, John E. Hopcroft, and Jeffrey D. Ullman. The Design and Analysis of Computer Algorithms. Addison Wesley, 1 974.

4. Enlarge C x to include all members in the transitive closure of Jl 0

5. For each A <≡ B) e C x , let ¾<= B be tne set of al1 relations of the form (B n C = 0) e C x .

For each relation (B n C = 0) e R AQB , add to C x the relation (A n C = 0).

[00231 ] Let C be a weakly acceptable collection of constraints for £ < 2 U .

1 . The directed graph associated with £, C), denoted by g £ (C), is the directed graph

{£, 31), where 31 = {(A, B) \A, B e £, either A n B = 0) or A <≡ β) e C). Docket No. 2330.1001 PCT

2. The SR-graph associated with £, C) is the directed graph g = £, K) where Jl =

{(A, B) \A, B e £, (A B) e C}.

[00232] Let C be a weakly acceptable collection of constraints for £ < 2 U , and let Q be the SR- graph associated with £, C). Clearly, every directed cycle in Q is equivalent to some B t Q B 2 & ■■■ _≡ B k , where B x = B k , and vice-versa. This implies that B x = B 2 = ■■■ = B k . Due to the above observation, the following algorithm can be used to remove one or more of (e.g., all) equality relations and one or more of (e.g., all) subset relations in C that give rise to equality:

[00233] Algorithm 2. (Removal of Equality Relations) Let C be a weakly acceptable collection of constraints for £ < 2 U , and Q be the SR-graph associated with £, C).

1 . Remove both A _≡ B and B _≡ A if both are in C.

2. Determine all directed cycles in Q (this can be done using standard algorithms, for

example, depth-first search algorithm discussed in Alfred V. Aho, John E. Hopcroft, and Jeffrey D. Ullman. The Design and Analysis of Computer Algorithms. Addison Wesley, 1974).

3. Remove all the subset relations from C which appear in the directed cycles.

4. Process the equality relations obtained in the Steps 1 , and/or 2 using the methods given above on how to handle equality.

[00234] Given a weakly acceptable collection of constraints C for £ < 2 U . C is acceptable if and only if C is maximal, 0 έ £, and no equality relation between any two members of £ can be derived from the constraints in C.

[00235] Let Q be an undirected graph and let C be a cycle in Q. C is pure if and only if C is simple, has length > 3, and contains no subcycles. If Q is a directed graph and C an undirected cycle in g, then C is a pure cycle ofQ if and only if C is a pure cycle of \Q\ .

[00236] Let C be an acceptable collection of constraints for £ < 2 U . If there exists a pure cycle in |£ ε (£) |, then the extension of m is not well-defined (it is not dependent solely on the individual probabilities).

[00237] Section 12. Admissibility

[00238] FIG. 12 is a flow diagram for checking for admissibility, according to an embodiment of the present invention. We have shown in the previous section that for m to have a well-defined Docket No. 2330.1001 PCT extension, not only is it necessary that the collection C of constraints be acceptable, but also that the undirected graph that represents C cannot have any pure cycle. The main result of this section asserts that this is not only a necessary condition, but it is also a sufficient condition.

[00239] Let Q be a directed or undirected graph. Q is admissible if and only if Q has no pure cycles. Moreover, let C be an acceptable collection of constraints for £ < 2 U . C is admissible if and only if g £ (C) is admissible.

[00240] Clearly, if C is empty, then C is admissible. C is empty means the elements in £ are not subject to any explicit constraints.

[00241 ] Let g = (V, 32) be an undirected graph and -< a total ordering on V. is permissible on Q if and only if for every A, B, C e V, if {A, B], {A, C] e 32 and {B, C] έ 32, then either A B or A < C. Let T = (V, 32) be a tree with root T.

• Let A E V. dj A), the depth of A over T, is the length of the path from T to A. In

particular, d(T) = 0.

• Let A e V. C T (A) is the set of all children of A in T.

• < T is the total ordering on V, where for all A, B e V, A < T B if and only if either

d(A) < d B), or d(A) = d B) and A lies to the left of B.

• Let A e V. L T {A) is the set of all B e V where B = A; d{A) = d{B) and A < T B; or B is the child of some E in T where = and E < T A.

[00242] Let T = (V, 32) be a forest, i.e., a collection of disjoint trees, and -< a total ordering on V. is compatible with T if and only if for every A, B e V, A B whenever A < T B for some tree T contained in T .

[00243] Let g = (V, 32) and g 0 = (V 0 , 32 0 ) be directed or undirected graphs. g 0 is a maximal directed or undirected subgraph of g if and only if V 0 _≡ V, and for every A, B e V 0 , {A, B] e 32 0 if and only if {A, B] e 32.

[00244] Let g = (V, 32) be an undirected graph and -< a total ordering on V. The following algorithm provides a constructive definition for the concept of recursive breadth-first search (RBFS) forestior g based on -<. An RBFS forest can be constructed recursively using recursive breadth-first search. In the following algorithm, the nodes in V are initially unmarked, and marking of nodes is a global operation. Docket No. 2330.1001 PCT

[00245] Algorithm 1. (Construction of RBFS forest) Given an undirected graph g = (V, K) where V≠ 0, and -< a total ordering on V.

1 . Let Q be a queue which is initially empty.

2. Let T be a forest which is initially empty.

3. While there are unmarked nodes in V, do the following:

a) Let T be the unmarked node in V that precedes all other unmarked nodes in V under :.

b) Mark T, and enqueue T into Q.

c) Add to 7 the tree T which includes the node T (The root of T is T).

d) Add to 7 the tree T which includes the node T (The root of T is T).

i. Dequeue from Q and let E be the node dequeued.

ii. Let S be the set consisting of all unmarked nodes in V which are neighbor of E in G- iii. If S is not empty, do the following:

A. Let g 0 = ( 5 < o) be a maximal undirected subgraph of g.

B. Call Algorithm 1 with input g 0 and let 7 0 be the output from the algorithm.

C. Let s be a total ordering on 5 compatible with 7 0 and order 5 according to

<s-

D. Make the nodes in 5 children of E and arranged the children in the prescribed order, i.e., according to < s .

E. Append 5 to Q in the prescribed order, i.e., according to s .

4. Output s.

[00246] Let g = (V, K) be an undirected graph and let -< be a total ordering on V. Let -< 0 be a total ordering on V. is an RBFS-ordering on g based on -< 0 if and only if -< is compatible with the RBFS forest for £ based on -< 0 . Moreover, -< is an RBFS-ordering on g if and only if there exists a total ordering -< 0 on V such that -< is an RBFS-ordering on g based on -< 0 . Docket No. 2330.1001 PCT

[00247] Let C be an acceptable collection of constraints for £ < 2 U . The following statements are equivalent:

1 . C is admissible.

2. \g £ (C) \ is admissible.

3- \5ε(β \ contains no pure cycle.

4. There exists a total ordering on £ which is permissible on |£ ε (( ) | .

5. Any RBFS-ordering on \g £ (C) \ is permissible on |£ £ (C) |.

[00248] Any of the criteria above can be used to test and ensure that C is admissible.

[00249] We shall now provide a polynomial algorithm to determine whether or not a given acceptable collection of constraints for £ < 2 U is admissible, based on 5 above. It is clear that RBFS forest and RBFS-ordering can play a central role in the following algorithm.

[00250] Algorithm 2. (Checking for Admissibility) Let C be an acceptable collection of constraints for £ < 2 U .

1 . Construct £ = \Q e C) \ .

2. Let - o be any total ordering on £. Construct the RBFS-ordering -< over £ based on -< 0 using Algorithm 1 .

3. For i = 1 to i = \£\, do the following:

a) Determine V g < (Ζ¾. b) For every A, B e V g determine whether or not {A, B] is in C. If {Λ B] is not in C, stop. C is not admissible. Otherwise, continue.

4. Stop. C is admissible.

[00251 ] Section 13. Compatibility

[00252] FIG. 13 is a flow diagram of checking for compatibility, according to an embodiment of the present invention. Sufficient conditions for m and C to be compatible are given in this section. An optimal method for adjusting the values of a given measure to make it compatible with the constraints is also provided. Docket No. 2330.1001 PCT

[00253] Let C be an acceptable collection of constraints for 8 < 2 U and B __τε. B is well- nested under C if and only if for every A, B e B, r c (A, B) is defined, i.e., any pair of sets in B are either disjoint or one of the set is a subset of the other. In addition, if B be well-nested under C and T= ( V, R) is a tree, then 7 " is a well-nested tree of B if and only if V= B u {U}, and for every A, B e V , A is the parent of B in T if and only if A Ω B.

[00254] Let C be an admissible collection of constraints for 8 < 2 U , g = \g £ ( \, -< a RBFS- ordering over £ based on some total ordering on 8, and 1 < |£| . The following algorithm provides constructive definitions for ω ι5ι , and Ω -

[00255] Algorithm 1. (Construction of ω ι5ι , ilc,g, an d ^s,g, ) Let C be an admissible collection of constraints for 8 < 2 U and -< 0 a total ordering on 8.

1 . Construct £ = \g e C) \ .

2. Construct the RBFS-ordering -< over g based on -< 0 using Algorithm 1 .

3. Order the nodes in g according to -<. Say E x , E 2 , ... E m .

4. For k = 1 to k = m, do the following:

(a) Determine Y g

(b) Construct a well-nested tree T k for Y g :< (E k ).

(c) Let (Op iSi be the parent of E k in T k .

(d) Let Ω^ 5 ^ be the collection consisting of all siblings of E k in T k .

(e) Let Qc,g, be the collection consisting of all children of E k in T k .

5. Return the following sequences:

( a ) ω ρ£,<> ω ρ£,<> — ' ω ρ Ύ β,< -

(b) Qs,g, > s,g,<> — > s,g,< -

( c ) c,g,<> c,g,<> — > c,g,< -

[00256] Let C be an admissible collection of constraints for 8 < 2 U , where 8 is ordered by a RBFS-ordering -< over £ based on some total ordering on 8, m a measure over 8, andl < k≤

\8\ . Docket No. 2330.1001 PCT

m P,Q,< = m . M p,g,<)

[00257] Let C be an admissible collection of constraints for £ < 2 U , and m a measure over £. m is super additive over C if and only if m(E)≥∑ Eo ee 0 m i E o) for every E e £ and £ 0 -≡ £, where all members of £ 0 are pairwise disjoint and E 0 Q E for every £ 0 e £ 0 .

[00258] As shown in the following theorem, there are more than one method to test for admissibility - super additivity, permissible total ordering, etc.

[00259] Let C be an admissible collection of constraints for £ < 2 U and let m be a measure over £. The following statements are equivalent:

1 . m and C are compatible.

2. m is super additive over C.

3. There exists a total ordering -< on £ which is permissible on Q = \g £ (C) \, such that for all

1≤i≤m, m c l g t ≤ m(Ei)≤ m p l lG - m s l g t , where £ = {E t , E 2 , ... , E m ] is ordered according to -<.

4. For all total ordering -< on £ which is permissible on Q = |£ ε (( ) | , and for all 1 < i≤ m, m c l g t ≤ m(Ei)≤ m p l g t - m s l g t , where £ = {E t , E 2 , ... , E m ] is ordered according to -<.

[00260] Criteria 2, 3 or 4 above together with Algorithm 1 can be used to test and ensure that m and C are compatible.

[00261 ] Let C be a collection of constraints for £ < 2 U , and let £ 0 _Ξ £, E 0 ε £ u {U}. £ 0 is a disjoint group ofE 0 under C if and only if E _≡ E 0 for every E e £ 0 , and all the members of £ 0 are pairwise disjoint under C. Moreover, £ 0 is a maximal disjoint group ofE 0 under C if and only if £ 0 is a disjoint group ofE 0 under C, and for every £ x _≡ £ where £ x => ε 0 > ε ι is a NOT a disjoint group of E under C.

[00262] FIG. 14 is a flow diagram of guaranteeing compatibility, according to an embodiment of the present invention. Docket No. 2330.1001 PCT

[00263] Problem 1. (Minimization Problem for Compatibility) Let C be a collection of constraints for 8 < 2 U , and m a measure over 8.

1 . For each E e 8 u {U}, let x E be a real variable where 0 < x E ≤ m(E).

2. For each 8 0 _≡ 8 and E 0 e 8 where 8 0 is a maximal disjoint group of E 0 under C, introduce the linear constraint∑ Ee£o x E ≤ ¾„■

3. Minimize the objective function∑ £e£ ( m (£) - ½) 2 <

[00264] Problem 1 is a quadratic programming problem ( Alexander Schrijver. Theory of Linear and Integer Programming. John Wiley, 1998) and therefore can be solved using standard techniques.

[00265] Let C be a collection of constraints for 8 < 2 U , and m a measure over 8. Let x E be a solution of Problem 1 , and let m 0 (E) = x E for every E e 8. Then m 0 is the measure over 8 induced by m.

[00266] The above definition can be extended to partial measures. A partial measure m over 8 is a measure over some subset of 8. In this case, we extend m such that m(E) = 1 for all E e 8 which are not in the domain of m.

[00267] There are many other ways to guarantee that C and m are compatible, besides solving Problem 1 . Nevertheless, the measure m 0 above is the measure closest to m, in the least square sense, without exceeding it. It should be noted that adjustment of the values of any measure might need to be done only sparingly to ensure the integrity of C and m.

[00268] Section 14. Preprocessing and Extension

[00269] FIG. 15 is a flow diagram of preprocessing, according to an embodiment of the present invention. In order to make the computation of fh(E), where E e 8, more efficient, an algorithm for preprocessing 8, C and m is given. The preprocessing algorithm also determines whether or not C is admissible, and whether or not m and C are compatible.

[00270] Algorithm 1. (Preprocess 8, C and m) Let C be an acceptable collection of constraints for 8 < 2 U , 0 a total ordering on 8, and m a measure over 8.

1 . Construct £ = \Q e C) \ .

2. Construct the RBFS-ordering -< over Q based on -< 0 using Algorithm 1 . Docket No.2330.1001 PCT

3. Order the nodes in Q according to -<. Say E x , E 2 , ... E m .

4. For k = 1 to k = m, do the following:

a) Determine V g< (E k ). b) For every A, B e V g< (E k ), determine whether or not {A B] is in C. If {A, B] is not in C, stop. C is not admissible. Otherwise, continue.

c) Construct a well-nested tree T k for V g< (E k ). d) Determine m^ gi< ,m^ g< , and m g< . (see Algorithm 1) e) Test whether or not the conditions for compatibility are satisfied. If any of the

conditions are violated, stop. C is not compatible with m. Otherwise, continue. f) Let m g< E k ) = [m(E k ) - m c k g< ÷ i m p,g,< ~ m s,g,< ~ m c,g, < l

5. Return m g< .

[00271] The preprocessing of 8, C and m, combines all the constraints in C and produces a new function m g< . Clearly, m g< is a measure over 8.

[00272] Let C be an admissible collection of constraints for 8 = {E t , E 2 , E m ] < 2 U , where 8 is ordered by some total ordering -< on 8 which is permissible on \IG £ (C)\. If E e 8, then define m g< (E') = l-m g< (E).

[00273] Let S < 2".S=Su {B'\B e S). Moreover, let 8 < 2 U . Έ is coset of 8 if and only if £ c 8 and for every E e 8, not both E and E' are in S.

[00274] Let C be an admissible collection of constraints for 8 = {E t , E 2 , E m ] < 2 U , where 8 is ordered by some total ordering -< on 8 which is permissible on \G £ (C)\, and £ a coset of £. The - cover A g< (B) of ® under Q is the smallest coset of 8 satisfying the following conditions:

1. S CA^(S);

2. If B = E k and there exists B 0 6 (®) where B is the parent of B 0 with respect to the well- nested tree T k for g < (E k ), then β 6 A g < (®); and

3. If B = ¾ and there exists Z? 0 6 t< (®) where β is a sibling of B 0 with respect to the well- nested tree T k for r g (E k ), then β' e Α (β). Docket No. 2330.1001 PCT

[00275] Let C be an admissible collection of constraints for 8 = {E t , E 2 , E m ] < 2 U , where 8 is ordered by some total ordering -< on 8 which is permissible on \IG £ (C) \, m a measure over 8 which is compatible with C, and ® a coset of 8. Let /(®) be the intersection of all the sets in S. If /(£)≠ 0, then for every permissible total ordering -< on 8:

[00276] In particular, if C = 0, then m(/(S)) = m( | (£?)) = Π m g:< (B).

Β£Έ B£~B

[00277] The above result provides a method for determining m(/(S)). Clearly, under m g < , the relevant sets in 8 are basically stochastically independent. This is the reason why we named our method constraint stochastic independence method. Furthermore, m(7(£)) can be determined in 0(|S| 2 )-time after preprocessing.

[00278] In general, if G e 8, we can express G as union of intersections of sets, such as disjunctive normal form. If all the terms in the expression are pair-wise disjoint, m(G) can be determined by applying the above result to each term and then summing them.

[00279] Section 15. Unification Algorithms

[00280] In this section, we provide several algorithms for determining o K (F) .

[00281 ] Let P be a collection of propositions.

• P = [P'\P e P] and P = P u P.

• P is the collection of all V PeS P where Q _≡ P . For completeness, V PeS P = F if Q = 0.

• P is the smallest collection of propositions containing P and close under negation, conjunction and disjunction.

[00282] Let P be a collection of atomic propositions. Q is a coset ofP if and only \i Q Q , and for every P e P, not both P and P' are in Q. Let L e P. L is d-simple if and only if L = \f Pe g P for some coset Q of P.

[00283] Without loss of generality, we shall assume that L is d-simple whenever L e P. Docket No. 2330.1001 PCT

[00284] An AKB κ is disjunctive if and only if there exists a finite collection P K of atomic propositions such that A e P K for every (E→ A) e κ.

[00285] We shall assume that P K is the smallest collection of atomic propositions that satisfies the above definition.

[00286] The following show how to transform an arbitrary AKB into a disjunctive AKB.

[00287] Algorithm 1. (Disjunctive AKB) Given an AKB κ.

1 . For each ω e κ, do the following;

(a) Express τ(ω) as L t A L 2 A ■■■ A L k , where L t e P K and L t is simple for each i =

1, 2 k.

(b) For each i = 1, 2, k, add to κ the object Ζ(ω)→ L t .

(c) Remove ω from κ.

2. Return κ.

[00288] Let κ be an AKB. κ is irreducible if and only if κ satisfies the following conditions:

1 . For every ω e κ, Ζ(ω)≠ 0 and τ(ω)≠ T.

2. κ is disjunctive.

3. For every ω , ω 2 e κ, if τ ω 1 ) = τ ω 2 ), then 1 ω ) = Ζ(ω 2 ).

4. For every ω 1( ω 2 e κ, if Γ(ω!) → Γ(ω 2 ) , then _≡ Ζ(ω 2 ) .

[00289] The following show how to transform an arbitrary AKB into an irreducible AKB.

[00290] Algorithm 2. (Irreducible AKB) Given an AKB κ.

1 . Remove all ω from κ where Ζ(ω) = 0 or τ(ω) = Γ.

2. Transform κ into a equivalent disjunctive AKB using Algorithm 1 .

3. Let K = {ω \ω e κ], where ω£ = ν μεκ, ί - (μ) = ί - (ω) μ.

4. For every ω e κ, let κ ω = {μ e κ|ρ(Γ(μ)) _≡ ρ(Γ(ω))).

5. For every ω e κ such that | κ ω | > 1, replace ω with ν μεΚω μ.

6. Return κ. Docket No. 2330.1001 PCT

[00291 ] Let K be an irreducible AKB.

• Ω κ = {E→ A \E c U, A E P K ], Ω Κ = {Ε→ A \E Q U, A E P K ] and Ω κ = {E→ A \E Q U, A E

• Let 0 = Ω £≡ Ω κ . Then A w£Q ω = (U→ T) and V we o ω = (0→ F).

[00292] Let ω E Π κ . ρ(ω) is the collection of all P E P K that occur in τ(ω), and |ω| = |ρ(ω) | . Let P _≡ ¾. ω/:Ρ is obtained from ω by removing from τ(ω) all P e P. If ρ(ω) _≡ ", then ω/Τ = (Ζ(ω)→ F). Moreover, if " = {P), then ω/Ρ = ω/Ρ.

[00293] Let λ £≡ κ and J> £≡ ¾ .

• ½ = {μ E λ I P c ρ(μ)), A P = {μ E λ \ P Π ρ(μ) = 0), and λ/Ρ = [μ/Ρ \ μ E a}.

• \1 P = {P), then A P = λ Ρ , λ Ρ = λ τ and λ/Ρ = λ/Ρ.

[00294] Let κ be an irreducible AKB and P e P K . P is a useless symbol if and only if κ Ρ = 0 or Kp = 0. Moreover, κ is useful if and only if P is not a useless symbol for all P e P K .

[00295] The following show how to transform an irreducible AKB into a useful AKB.

[00296] Algorithm 3. (Useful AKB) Given a irreducible AKB κ.

1 . While there exists a useless symbol P e P K , let κ = κ [ρ p } .

2. Return κ.

[00297] Let K be an irreducible AKB, ω 1( ω 2 e Ω κ and P e K . P is complemented with respect to ω 1 and ω 2 if and only if either P e ρ{ω 1 ) and P' e ρ(ω 2 ), or P' e ρ(ω ! ) and P e ρ(ω 2 ).

[00298] Let κ be an irreducible AKB and ω 1( ω 2 e Ω κ . c(6o 1 ( ω 2 ) is the collection of all P e P K where P is complemented with respect to ω 1 and ω 2 .

[00299] Let P e K .

• ~ p ω 2 if and only if P e p^), P' e ρ(ω 2 ) and ο ω 1 /Ρ, ω 2 /Ρ') = 0.

• ω-L ~ ω 2 if and only if ω 1 ~ p ω 2 for some P e K . In other words, ω 1 ~ ω 2 if and only if |c(w 1( ω 2 ) | = 1.

• If ~ p ω 2 where P e P K , then ω 1 ο ω 2 = Π Ζ(ω 2 )→ τ(ω 1 /Ρ) v Γ(ω 2 /Ρ'))- Docket No. 2330.1001 PCT

Otherwise, ω 1 o ω 2 is not defined. In other words, ω 1 o ω 2 merges ω 1 and ω 2 and removes both P and P'. In this case, we say that ω 1 and ω 2 are mergeable (300)

• Γ(κ, ω) = (κ - {μ e κ |Γ(μ) = τ(ω))) U {ν μεκ , ί -( μ) =ί - ) μ)-

[00300] FIG. 4 is a flow diagram of an example unification algorithm, according to an aspect of an embodiment of the invention. FIG. 4 also emphasizes a new unification operator for reasoning under uncertainties and/or incompleteness capable of managing the rules and the sets of evidences together.

[00301 ] Algorithm 4. (Unification Algorithm) Given a irreducible AKB κ.

1 . Do while there exists an unmarked pair (ω 1( ω 2 ) , where ω 1 ( ω 2 e κ and ω 1 ~ ω 2 :

(a) Let K = V(K, ω 1 o ω 2 ) .

(b) Mark (ω 1( ω 2 ) .

2. Let £ = {G c [/|(c→F) e κ). \i Q≠ 0, then return Uces G. Otherwise, return 0.

[00302] Let κ be an irreducible AKB and P e ¾. Since a K {F) = σ κ (Ρ) n σ κ (Ρ'), therefore <r K (F) can be determined recursively on Although this requires the computations of both σ κ (Γ(ω)) and σ κ ((Γ(ω)')), the two can be carried out in an integrated manner. Moreover, it can be used to reduce the size of κ.

[00303] The following show how to construct κ\Ρ given an irreducible AKB κ, and P e P K .

[00304] Algorithm 5. (Construction of κ\Ρ) Given a irreducible AKB κ, and P e P K . Return

K \ P .

1 . Do while there exists an unmarked pair (ω 1( ω 2 ) , where ω 1 e κ Ρ , ω 2 e κ ρ ·, and ω! ~ p ω 2

(a) Let K = V(K, ω 1 o ω 2 ) .

(b) Mark (ω 1( ω 2 ) .

2. Return κ {ρ p } .

[00305] Algorithm 5 can be used as a basis for a unification algorithm as shown below:

[00306] Algorithm 6. (Unification Algorithm based on κ\Ρ) Given a irreducible AKB κ. Return G Q U.

1 . While there exists P e P K , apply Algorithm 5 with input κ and P , and let κ = κ \Ρ. Docket No. 2330.1001 PCT 2. Let £ = {G £≡ U\ (G→ F) e κ). If g≠ 0, then return U G£g G . Otherwise, return 0.

[00307] By virtue of the above results, ω 1 o ω 2 , where ω 1 ~ ω 2 , can be used as the basic operation in any unification algorithm for determining o K (F) . (See Fig. 4) The operator o is capable of performing deduction under uncertainties and/or incompleteness and is therefore a significant and natural generalization of the classical deduction process. Step 5 of Algorithms 4 and 6 can be intentionally left vague so that any ordering of (ω 1( ω 2 ) , where ω 1( ω 2 e κ and ω 1 ~ ω 2 , and any ordering of P K , can be used. As a matter of fact, many heuristics can be applied to various unification algorithms, e.g., Algorithms 4 and 6, to make them more efficient.

[00308] If necessary, the algorithms below can be used to reduce the size of κ, and therefore can be used to devise approximate algorithms to determine a K (L) .

[00309] Algorithm 7. (Processing Rules with length < q) Given a irreducible AKB κ and a non-negative integer q. Return κ (ί?) .

1 . Apply Algorithm 3 to transform κ into an equivalent useful AKB.

2. While there exists an unmarked pair (ω 0 , ω ) where ω 0 , ω 1 e κ such that |ω 0 | < q and ω 0 ~ ω 1 ; do the following:

(a) Let K = V(K, ω 0 o ω ) .

(b) Mark the pair (ω 0 , ω^ . 3 Return κ.

[00310] Let K be an irreducible AKB, ω 1( ω 2 e κ, and ω 1 ~ ω 2 . d^, ω 2 ) = \ω 1 ο ω 2 \ - τηαχ^ ω^, |ω 2 ) | .

[0031 1 ] Algorithm 8. (Processing Rules with ά(ω γ , ω 2 ) < q) Given a irreducible AKB κ and integer q≥ -1. Return κ [ί?] .

1 . Apply Algorithm 3 to transform κ into an equivalent useful AKB.

2. While there exists an unmarked pair (ω 1( ω 2 ) where ω 1( ω 2 e κ such that d^, ω 2 ) < q, do the following;

(a) If ω 1 ~ ω 2 , replace κ by Γ(κ, ω 1 o ω 2 ) .

(b) Mark the pair (ω 1( ω 2 ) .

3. Return κ. Docket No. 2330.1001 PCT

[00312] The embodiments of the present invention can provide one or more of the following:

[00313] A computer-based method for constructing, reasoning, analyzing and applying knowledge bases with uncertainties and/or incompleteness. The system/model will be referred to as augmented knowledge base (AKB): (See Section 1 )

(a) The objects in an AKB are of the form E→ A, where A is a logical sentence in a first- order logic, a proposition or a rule in the traditional sense, and E is a set corresponding to the body of evidences that supports A.

(b) No restrictions are imposed on E→ A. For example, it is possible to have both E x → A and E 2 → A in the AKB κ. This means two or more sets of evidences can be used to support the same rule, thereby allowing, among other things, multiple experts/sources to be involved in designing a single AKB.

(c) Relationships among the bodies of evidences can be specified explicitly. In other words, constraints may be imposed on the bodies of evidences.

(d) A mapping associates each set (body of evidences), not each rule, with a value.

(e) In an AKB, evidences (the E's) and rules (the A's) represent completely different objects and each play an essential but separate role in the operations of an AKB.

[00314] FIG. 3 provides the basic mechanism for deductive reasoning on an AKB, according to an embodiment of the present invention. The basic mechanism associated with deductive

d

reasoning on an AKB κ is G→ K L, where G is a body of evidences and I is a target rule. The support o K (L) ofL with respect to κ, and the plausibility ^(L) ofL with respect to κ can all be

d

determined using G→ K L. (See Section 1 )

[00315] Computation of σ κ (Ι) and c¼(L), the support and plausibility of L, where L is a target rule, using σ κ (Ι) = o KO (F) where κ 0 = κ u {U→ L'}; and c¾.(L) = o KI (F) where K T = K U {U→ L).

(See Section 1 ) . This provides a universal method for computing the support and plausibility of L, for any L.

[00316] A new unification operator ω 1 o ω 2 which is applicable to knowledge bases with uncertainties and/or incompleteness. (See Unification Algorithms Section). This new unification operator extends and generalizes the classical unification operators. The classical unification operators are not capable of dealing with uncertainties and/or incompleteness. (See also Fig. 4) Docket No. 2330.1001 PCT

[00317] Several unification methods/algorithms for determining o K (F) . (See Unification Algorithms Section). FIG. 4 is a flow diagram of an example unification algorithm, according to an aspect of an embodiment of the invention.

[00318] Functions or mappings representing the strength or validity of the body of evidences associated with a given rule, as well as, associated with all relevant rules. They are referred to as measure. (See Section 2)

[00319] AKBs can use the extension scheme constraint stochastic independence method given above and/or any other extension schemes, like those given in Section 2. Moreover, AKB can select more than one scheme at a time, and applied them either simultaneously and/or conditionally.

[00320] FIG. 6 is a flow diagram of deductive inference in AKB, according to an embodiment of the present invention. Method for performing deductive inference in an AKB— done in two separate steps: Given AKB κ (350) and target rule L (355). (See Sections 2 and 4).

(1 ) Form the body of evidences that supports L. This can be accomplished by applying any of the Unification Algorithms given (360).

(2) Determine the value associated with the body of evidences obtained in the first step.

This depends on the extension scheme(s) selected for κ (362 and 364).

[00321 ] AKB encompasses most of the well-known formalisms of knowledge bases together with their associated reasoning schemes, including probabilistic logic( N. J. Nilsson.

Probabilistic logic. Artificial intelligence, 28:71-87, 1986), Dempster-Shafer theory ( G. Shafer. A Mathematical Theory of Evidence. Princeton University Press, 1976), Bayesian network( Judea Pearl. Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann, 1988), Bayesian knowledge base ( Eugene Santos, Jr. and Eugene S. Santos. A framework for building knowledge-bases under uncertainty. Journal of Experimental and Theoretical Artificial Intelligence, 1 1 :265-286, 1999), fuzzy logic ( L. A. Zadeh. The role of fuzzy logic in the management of uncertainty in expert systems. Fuzzy Sets and Systems, 1 1 :199-227, 1983; L. A. Zadeh. Fuzzy sets. Information and Control, 8:338-353, 1965. 41 ; R. Yager. Using approximate reasoning to represent default knowledge. Artificial Intelligence, 31 :99— 1 12, 1987), numerical ATMS (Johan DeKleer. An assumption-based TMS. Artificial Intelligence, 28:163-196, 1986), incidence calculus ( Alan Bundy. Incidence calculus: A mechanism for probabilistic reasoning. Journal of Automated Reasoning, 1 (3):263-283, 1985; Docket No. 2330.1001 PCT

Weiru Liu and Alan Bundy. Constructing probabilistic atmss using extended incidence calculus. International Journal of Approximate Reasoning, 15(2):145— 182, 1996), etc. We illustrated how to recast the first four as AKBs (see Section 3), so that they can be expanded, and results obtained for AKBs can be applied directly to them.

[00322] Present several important properties of AKBs and provide methods for checking, applying and/or managing them. The properties include: consistency, completeness, perfectness, contribution, i-consistency, i-completeness, i-perfectness, monotonicity, contribution, vulnerability, possible deception, etc. (see Section 5 and 6). (Many of these properties, such as contribution, vulnerability, etc. are applicable to any complex systems.)

[00323] Methods to enable AKBs to perform inductive inferences and extract meaningful new knowledge from AKBs as long as certain consistency conditions are satisfied (see Section 6). One such method of performing inductive inference in an AKB is as follows: Given AKB κ and L t.

(a) Construct κ and V.

(b) Perform deductive inference on κ and V.

[00324] Methods to construct consistent higher order AKBs, including 3 °, K^, and different varieties of % , to serve as extensions of any inconsistent AKB (see Section 7).

[00325] Present a new system/model named free-form database (FFDB) and provide methods for transforming relational databases and deductive databases into FFDBs, i.e., augmented relational database and augmented deductive database, which are special cases of AKBs (see Section 8). This provides a new way of dealing with relational databases and deductive databases, as well as expanding their capabilities.

[00326] Using FFDB, new system/model named augmented inductive database is presented which can be used to extract new information from relational databases (see Section 8). This provides a general, as well as integrated method for performing data mining.

[00327] A method for extending any probabilistic measure via the new notion of 8 < 2 U and by taking the average of all allowable sets. This method is referred to as constraint stochastic independence (CSI) method (see Sections 9). This method has a clear probabilistic semantics, and therefore not subject to the anomalies that are usually associated with other extension schemes. Docket No. 2330.1001 PCT

[00328] Provide a new computational scheme for reasoning under uncertainties and/or incompleteness based on constraint stochastic independence method (see Section 10).

[00329] Present allowable constraints and provide methods to transform standard relations among sets into allowable constraints (see Section 10).

[00330] Provide a graph representation of weakly acceptable collection of constraints (see Sections 11 ).

[00331 ] Methods for checking and ensuring that the collection of constraints is admissible (see 12).

[00332] Methods for checking and ensuring that the constraints are compatible with the measure in the extension scheme based on CSI (see Section 13).

[00333] Optimal method to adjust the values of the measure to guarantee compatibility (see Section 13).

[00334] Provide a preprocessing method/algorithm so that the extension based on CSI can be computed more efficiently (see Section 14).

[00335] A method of representing/processing/extracting knowledge into/over/from a knowledge-based system, is provided as follows:

[00336] (i) A knowledge base containing objects where each object is a rule or logical sentence (knowledge) associated with a set of evidences that supports the knowledge; Existing knowledge base, that involves uncertainties and/or incompleteness, contains mostly

rules/knowledge, and a number representing the strength of the rule. Although evidences may be used in determining the number, these evidences are not explicitly represented in the knowledge base nor are they used in any way in the inference scheme.

[00337] (ii) A set of relationships among the bodies of evidences; Since existing knowledge bases used numbers directly, rather than bodies of evidences, they are incapable of dealing with the relationships among the bodies of evidences. This is a very significant factor in making the knowledge base, presented in embodiments of this invention, more powerful, robust, accurate and/or capable of more refined characterizations.

[00338] (iii) A mapping which associates each body of evidences with a value. In addition, each piece of knowledge may be associated with multiple bodies of evidences. Moreover, same bodies of evidences and/or some combinations of these bodies of evidences may be associated Docket No. 2330.1001 PCT with any knowledge. This allows the knowledge base to be created by multiple experts and/or from multiple sources.

[00339] (iv) Methods for performing deductive and inductive inferences. Existing knowledge bases can only perform deductive inferences. However, since inductive inferences, in a knowledge base according to embodiments of this invention, can be viewed as dua/ (for example, inductive inference can be represented as the dual of inductive inference, i.e., instead of the original knowledge base, the negation of the knowledge and the complement of the associated bodies of evidences are used. Inductive inference can be used to extract new knowledge from the given knowledge base), inductive inferences can also be performed using our knowledge base. Inductive inference can be used to extract new knowledge from the original knowledge base, in other words, it is capable of doing data mining, etc.

[00340] According to an embodiment of the present invention, the described functions are implemented as a computer online service providing a database of knowledge according to embodiments of the present invention for representation of knowledge, knowledge acquisition mechanisms and inference mechanisms to output results or reports. According to an embodiment, a target knowledge is expressly associated with a set evidences that supports the target knowledge. The set of evidences can be dynamically maintained, for example, updated. The relationship of evidences with the target knowledge can be based upon input upon acquisition of the target knowledge. According to an embodiment, relationships among evidences (constraints) in a set of evidences are maintained. Target knowledge can be retrieved from data sources and/or created/generated. In addition, the evidences, including its relationships, in support of the target knowledge can be retrieved from data sources and/or created/generated. A computer implemented user interface can be provided to support input of target knowledge, its associated evidences, relationships among the evidences. Semantic data source based upon a domain ontology including value of evidences in support of the knowledge can be utilized.

[00341 ] For example, an expert (person and/or machine) can create knowledge and/or evidences, including its relationships, in support of the knowledge. According to an

embodiment, a blog, social media chat or information may be a source of knowledge and/or evidences, including its relationships.

[00342] According to an embodiment, inference mechanism (reasoning) is based upon a value indicative of strength of the evidence. Deductive inference involves determining a set of Docket No. 2330.1001 PCT evidences and its validity. Inductive inference involves determining the set of evidences that can induce new knowledge or extract (data mining) new knowledge, by utilizing the constraints of the evidences in the set of evidences supporting the target knowledge. According to the embodiments described methods are provided for checking and ensuring that the constraints are admissible and/or compatible, as described for example in paragraphs 233, 244 and FIGS. 12-13, an optimal method is provided to adjust the values of the measure to guarantee compatibility in case it is not compatible, and a preprocessing method/algorithm is provided so that the extension can be computed more efficiently.

[00343] Evidence strength indications may be derived and/or input, for example, based upon evaluations, rating. According to an embodiment, the evidence values are derived based upon probabilities.

[00344] FIG. 16 is a functional block diagram of a processing device, such as a computer (hardware computing/processing machine) for the embodiments of the invention, namely a computer 120 configured to execute functions of the augmented knowledge base computer system 100. In FIG. 16, the computer can be any computing device that can execute instructions to provide the described functions. Typically, the computer includes an input device 1514 (for example, a mouse, keyboard, multi-touch display screen, etc.), output device 1502 (for example, a display to display a user interface or output information, printer, etc). One or more computer controller(s) or processing cores 1504 (e.g., a hardware central processing unit) executes instructions (e.g., a computer program or software) that control the apparatus to perform operations. According to an aspect of an embodiment, one or more networked computer servers, each with a number of processing cores, execute the described operations.

[00345] Typically, a memory component 1506 stores the instructions for execution by the controller 1504. According to an aspect of an embodiment, the apparatus

reads/writes/processes data of any computer readable recording or storage media 1510 and/or communication transmission media interface 1512. The communication transmission media interface is to data network with one or other machines (e.g., computers, a distributed network) to execute the described functions. The embodiments can be implemented via grid computing. The display 1502, the CPU 1504 (e.g., hardware logic circuitry based computer processor that processes instructions, namely software), the memory 1506, the computer readable media 1510, and the communication transmission media interface 1512 are in communication by one or more the data bus(es) 1508. Docket No. 2330.1001 PCT

[00346] According to an aspect of the embodiments of the invention, any combinations of one or more of the described features, functions, operations, and/or benefits can be provided. A combination can be one or a plurality. The embodiments can be implemented as an apparatus (a machine) that includes hardware for performing the described features, functions, operations, and/or benefits, for example, hardware to execute instructions or software, for example, computing hardware (i.e., computing apparatus), such as (in a non-limiting example) any computer or computer processor that can store, receive, retrieve, process and/or output data and/or communicate (network) with other computers. According to an aspect of an

embodiment, the described features, functions, operations, and/or benefits can be implemented by and/or use computing hardware and/or software. For example, the computer 120 and expert/and other sources devices 110, etc. can comprise a computing controller (CPU) (e.g., a hardware logic circuitry based computer processor that processes or executes instructions, namely software/program), computer readable media, transmission communication interface (network interface), input device, and/or an output device, for example, a display device, and which can be in communication among each other through one or more data communication buses. In addition, an apparatus can include one or more apparatuses in computer network communication with each other or other devices. In addition, a computer processor can refer to one or more computer processors in one or more apparatuses or any combinations of one or more computer processors and/or apparatuses. An aspect of an embodiment relates to causing and/or configuring one or more apparatuses and/or computer processors to execute the described operations. The results produced can be output to an output device, for example, displayed on the display. An apparatus or device refers to a physical machine that performs operations, for example, a computer (physical computing hardware or machinery) that implement or execute instructions, for example, by way of software, which is code executed by computing hardware, and/or by way of computing hardware (e.g., in circuitry, etc.), to achieve the functions or operations being described. The functions of embodiments described can be implemented in any type of apparatus that can execute instructions or code. More particularly, programming or configuring or causing an apparatus or device, for example, a computer, to execute the described functions of embodiments of the invention creates a new machine where in case of a computer a general purpose computer in effect becomes a special purpose computer once it is programmed or configured or caused to perform particular functions of the embodiments of the invention pursuant to instructions from program software. According to an aspect of an embodiment, configuring an apparatus, device, computer processor, refers to such Docket No. 2330.1001 PCT apparatus, device or computer processor programmed or controlled by software to execute the described functions.

[00347] A program/software implementing the embodiments may be recorded on a computer- readable media, e.g., a non-transitory or persistent computer-readable medium. Examples of the non-transitory computer-readable media include a magnetic recording apparatus, an optical disk, a magneto-optical disk, and/or volatile and/or non-volatile semiconductor memory (for example, RAM, ROM, etc.). Examples of the magnetic recording apparatus include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape (MT). Examples of the optical disk include a DVD (Digital Versatile Disc), DVD-ROM, DVD-RAM (DVD-Random Access Memory), BD (Blue-ray Disk), a CD-ROM (Compact Disc - Read Only Memory), and a CD-R

(Recordable)/RW. The program/software implementing the embodiments may be transmitted over a transmission communication path, e.g., a wire and/or a wireless network implemented via hardware. An example of communication media via which the program/software may be sent includes, for example, a carrier-wave signal.

[00348] The many features and advantages of the embodiments are apparent from the detailed specification and, thus, it is intended by the appended claims to cover all such features and advantages of the embodiments that fall within the true spirit and scope thereof. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the inventive embodiments to the exact construction and operation illustrated and described, and accordingly all suitable modifications and equivalents may be resorted to, falling within the scope thereof.