# Patent

## Title
Unified semantic scoring of compositions of ontological subjects

## Abstract

The present invention discloses methods, systems, and tools for unified semantic scoring of compositions of ontological subjects. The method breaks a composition into a plurality of partitions as well as its constituent ontological subjects of different orders and builds a participation matrix indicating the participation of ontological subjects of the composition in other ontological subjects, i.e. the partitions, of the composition. The method, systematically, enables the calculation of the semantic scores/ranks, value significances of ontological subjects of different orders and/or calculating and obtaining adjacency data of their visual graphical representations, and/or the association strengths between the ontological subjects of different orders of the composition. Various systems for implementing the method and numerous applications and services are disclosed.

## Background
CROSS-REFERENCED TO RELATED APPLICATIONS
The present application is a continuation-in-part of and claims the benefit of U.S. patent application Ser. No. 13/962,895, filed on Aug. 8, 2013, entitled “UNIFIED SEMANTIC RANKING OF COMPOSITIONS OF ONTOLOGICAL SUBJECTS” which is a divisional of and claims the benefit of the U.S. patent application Ser. No. 12/755,415, now U.S. Pat. No. 8,612,445, filed on Apr. 7, 2010, which claims priority from U.S. provisional patent application No. 61/177,696 filed on May 13, 2009 entitled: “System and Method for a Unified Semantic Ranking of Compositions of Ontological Subjects and the Applications Thereof”; and
U.S. patent application Ser. No. 13/789,644, filed on Mar. 7, 2013, entitled “System and Method of Ontological subject Mapping For Knowledge Processing applications” which is a continuation of and claims the benefits of the U.S. patent application Ser. No. 12/547,879, filed on Aug. 26, 2009, now U.S. Pat. No. 8,452,725, which claims priority from U.S. provisional application No. 61/093,952 filed on Sep. 3, 2008, entitled “System and Method of Ontological subject Mapping For Knowledge Processing applications”; and

U.S. patent application Ser. No. 13/740,228, filed on Jan. 13, 2013, entitled “System and Method for Value Significance Evaluation of Ontological subjects of Networks and the Application Thereof” which is a divisional of and claims the benefits of the U.S. patent application Ser. No. 12/939,112, filed on Nov. 3, 2010, now U.S. Pat. No. 8,401,980, which claims priority from U.S. provisional application No. 61/259,640 filed on Nov. 10, 2009, entitled “System and Method for Value Significance Evaluation of Ontological subjects of Networks and the Application Thereof”; which are all herein incorporated by reference in their entirety for all purposes.



FIELD OF INVENTION
This invention generally relates to information processing, ontological subject processing, knowledge processing and discovery, knowledge retrieval, artificial intelligence, ontology organization and applications, and scoring of ontological subjects and the applications.
BACKGROUND OF THE INVENTION
Many desired applications and services ranging from search engines document retrieval, summarization, distillation, question answering and the like, as well as genomics applications, audio and video signal processing, have their roots on some type of scoring and selection, i.e. filtering, of compositions of ontological subjects or the parts therein.
SUMMARY OF THE INVENTION
As defined along this disclosure and also the U.S. Pat. No. 8,452,725 entitled “System And Method Of Ontological Subject Mapping For Knowledge Processing Applications” by the same applicant, which is incorporated as reference, an ontological subject means generally any string of characters or symbols such as natural language characters and words and documents, sound and sound tracks, images and video tracks, to logical zero and one bits or Fourier components in an electrical signal, to the bases of a DNA molecules, the genes, and the whole genome. Ontological subjects in this definition can further be organized or defined in different desired orders based on their length, function, syntactic or semantic roles of such ontological subjects in a composition of ontological subjects.
There is a need in the art for unified, systematic, and process efficient scoring/ranking methods and the associated systems, which can cover the scorings for all the orders of ontological subjects and all types of compositions.
Accordingly, in this disclosure, sets of ontological subjects (OSs) are ordered based on their length and function. For instance, for ontological subjects of textual nature, one may characterizes a set of letters as the zeroth order OSs, a set of words as the first order, a set of sentences as the second order, paragraphs as the third order, pages or chapters as the forth order, documents as the fifth order, corpuses as the sixth order OS and so on. Equally one can order the genetic codes in different orders of ontological subjects. For instance, the 4 basis of a DNA molecules as the zeroth order OS, the base pairs as the first order, pieces of DNA as the second order, the genes as the third order, chromosomes as the forth order, the genomes as the fifth order, sets of similar genomes as the sixth order, and so on. Yet the same can be defined for information bearing signals such as analogue and digital signal representing text, audio or video information. For instance for digital signals representing a video signal, bits (electrical One and Zero) can be defined as zeroth order OS, the bytes as first order, any predetermined sets of bytes (such as pixels code) as third order, and sets of predefined sets of bytes (e.g. a segment of an image or a frame of a video) as forth and fifth order OS and so on.
In this way any information bearing OS is in fact a composition, i.e. combination, of lower order OSs. For example a text book document is composed of chapters, pages, paragraphs, sentences, words and letters. An image is a composition of its segments which in turn are compositions of pixels which in turn are compositions of digital codes etc.
For the sake of clarification and ease of explanation the disclosure focuses on ontological subjects of textual nature and mostly for natural language texts for their importance. However, one can easily extend the teachings of the method and the associated system to other forms of ontological subjects of different nature for their own corresponding applications. For instance, in genomics' applications the method can be readily and effectively used for fast DNA analysis, scoring and determining the dominant genes, gene discovery etc., as well as other genetic engineering applications such as fast genomic summarization, fast genomics identification and discovery, fast genetic engineering, and the like. Moreover, for other equally important applications the method and system can be extended and used. For example, in signal processing applications the method and the associated system may be employed for variety of applications such as voice and video recognition, voice and video/image comparison, feature extraction, picture/image recognition such as face or scene recognition and the like.
Consequently a method and system of scoring the Ontological Subjects of different orders is disclosed that can be used for different applications such as graph/visual representation of compositions, question answering, composition summarization/distillation, document ranking and retrieval, composition clustering, novelty detection, and document or corpuses comparison and the like.
In this disclosure the scoring method of OSs of different length, i.e. different order, is done by partitioning a composition or breaking the OS, e. g. a text composition, into its lower order constituent OSs. Thereafter, constructing at least one Participation Matrix (PM) which indicates participation of a number of OSs, e.g. having lower order, into a number of OSs, having usually a higher order, or a number of partitions of the compositions. So if one indicates the rows of the PM with the lower order constituent OSs, then the column of the PM, i.e. a vector having preferably at least one non-zero entry, represents the higher order OSs. This matrix carries the information of participation patterns of ontological subjects to each other, and is used for fast and efficient scoring and ranking the semantic importance of the ontological subjects of different order of a composition.
Using the at least one participating matrix few embodiments are introduced to score the OSs of different orders. In one embodiment, the scoring of OSs is done by the proposed concept of Semantic Coverage Extent Number (SCEN). In essence and according to a preferred embodiment, the SCEN indicates the semantic coverage extent of an OS within the set of OSs of the same order by calculating the cumulative similarity measures of OSs to each other in the set.
One can calculate and evaluate the SCEN from the participation information of lower order OSs in the set of higher order OSs or partitions, which are embedded in the PM. The SCEN is calculated and evaluated by measuring the similarities of higher orders OSs, or partitions, to all other OSs of same order, or other partitions, and adding them together. The OS which has the highest coverage number, i.e. the highest SCEN, has the highest score in that set of OSs of same order. Higher SCEN means, usually, more credibility and substantiation. However different ranges of SCEN are indicatives of different features. For instance, a low SCEN can be either interpreted as a noise or as a novel piece of knowledge which needs to be looked at more closely.
In another alternative embodiment, the OSs are scored based on the proposed concept of Centrality Power Number (CPN). The CPN of OSs can be directly evaluated from the graph, or the map, that represent the similarity/association matrix, which is derived from the PM, and consequently is employed to score the higher order OSs. In this embodiment generally the OSs are scored based on their centrality value in a graph whose adjacency matrix is the similarity or association matrix or any other nodal relationship between the OSs that can be derived from the PM. This embodiment is particularly important and useful for those application that the knowledge of importance of the lower order OSs is crucial such as the applications in the genetics engineering in which the impact and importance of individual parts of the DNA is important for synthesizing or engineering a new gene or knowledge of individual genes are important to study the whole genome.
In yet another embodiment the two methods are combined to score the Semantic Importance Ranks (SIR) of sets of OSs. Several other exemplary embodiments, with various approaches, are also revealed to describe the method and system in more details. Having scored a set of OSs of same order from the participation information of lower order set of OSs, one may proceed with scoring yet higher order OSs, e.g. any combination of lower order OSs, as described in the detailed descriptions. For instance, importance scores of the words employed in a composition are important to identify the most important sentences of the composition. In a similar manner, having the ranks or scores of the sentences employed in a collection of documents can be used to identify the most important document, e.g. the document which has the higher number of important sentences.
In yet another exemplary embodiment, using the SCEN method or a dictionary, each set of semantically similar ontological subjects, e.g. synonym sets, is replaced with one common ontological subject in the participation matrix thereby increasing the similarity of semantically similar partitions. Consequently the SCEN values of semantically similar OSs are amplified making it easier to filter out the desired OSs from the set while reducing the processing complexity, time, energy, and the cost significantly.
The advantage of using the information of PM in scoring the OSs of different orders or, i.e. the compositions and their partitions, is that the method is language independent making it applicable for a diverse range of applications while demonstrating a high processing deficiency. In another words, the syntactic rules of the words do not play a very important role in the disclosed algorithms, method and the system, and therefore the method is first of all language independent and secondly much simpler and clearer for processing purposes while the yielded results are robust and satisfactorily useful.
Therefore in essence using the participation information of a set of lower order OSs into a set of the same or higher order OSs one has the unified method and process of scoring compositions of Ontological Subject at different levels, i.e. orders. Depends on the desired application one can use the applicable and desirable embodiments for the intended application such as web page ranking, document clustering, single and multi document summarization/distillation, question answering, graphical representation of the compositions, knowledge discovery, novelty detection, composing new compositions, engineering new compositions, composition comparison, as well as other areas such as genetic analysis and synthesize, signal processing and the like.
In another aspect the invention provides an exemplary system of text summarization, distillation and simplification, and question answering and analysis, comprising computer hardware, software, internet, storage medium, datacenters, servers or server farms, and other customary appliances of an E business to perform and execute the said method for a user requesting a service.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1: shows one exemplary illustration of the concept of Semantic Coverage Extent of Ontological Subjects (OSs) of a composition as the sum of the cross-coverage (e.g. similarity measure) of OSs.
FIG. 2: shows an exemplary illustration of a graph corresponding to the similarity matrix.
FIG. 3: shows a block diagram of calculating semantic importance scores of ontological subjects employing both semantic coverage extent and centrality power concepts.
FIG. 4: schematic view of the system and method of building at least two participation matrixes and calculating SIR for lth order partition, OSl, to calculate the Semantic Importance Ranks (SIR) of other partitions of the compositions and storing them for further use by the application servers.
FIG. 5: is a flowchart of estimating Semantic Importance Ranks (SIR) of the partitions, i.e. OSs, of a composition following by an exemplary summarization application (which is the general application).
FIGS. 6 A, B and C, show typical depictions representing, exemplary SCEN value versus the partition numbers, e.g. sentences, of a real corpus made of webpages, the partition number versus the ranked partition numbers, and the normalized SCEN value versus the ranked partition numbers, respectively. In FIG. 6C possible exemplary applications and interpretation of different ranges of SCEN are also depicted.
FIG. 7: another exemplary flow diagram of scoring by calculating SIR and the summarization process according to one embodiment of the invention in which all the members of each OS synonym set replaced with a single OS.
FIG. 8: a block diagram of an exemplary application and the associated system for scoring and storing the crawled webpages from the internet using Semantic Importance Rank (SIR).
FIG. 9: shows the flow diagram and flow process of a system that produces, employing the PMs and the semantic scoring algorithms, several outputs related to an input keyword.
FIG. 10: shows the block diagram of an exemplary query/answer system which computes and store Semantic Importance Ranks of Ontological subjects of different orders along with all other desired data.
FIG. 11: shows the block diagram of another exemplary application and the system for summarization/distillation of a corpus employing the summarization in several stages.
FIG. 12: shows an exemplary client server type system to fulfill requests of users for services such as composition analysis, summarization, document ranking and comparison, web searching engine, search priority and research trajectory guidance, distilled knowledge answering, new document composition, etc.



DETAILED DESCRIPTION
The disclosure starts by defining the terms that are used frequently throughout the disclosure and are helpful to grasp the scope, methods, and the systems disclosed here. The description then is given in several sections followed after the definitions section.
I—DEFINITIONS


    1. Ontological Subject: symbol or signal referring to a thing worthy of knowing about. Therefore Ontological Subject means generally any string of characters, but more specifically letters, numbers, words, bits, mathematical functions, sound signal tracks, video signal tracks, electrical signals, chemical molecules such as DNAs and their parts, or any combinations of them, and more specifically all such string combinations that indicates or refer to an entity, concept, quantity, and the incidences of such entities, concepts, and quantities. In this disclosure Ontological Subject/s and the abbreviation OS or OSs are used interchangeably.
    
        Moreover, Ontological Subjects can be divided into sets with different orders depends on their length and/or function. For instance, for ontological subjects of textual nature, one may characterizes letters as the zeroth order OS, words as the first order, sentences as the second order, paragraphs as the third order, pages or chapters as the forth order, documents as the fifth order, corpuses as the sixth order OS and so on. So a higher order OS is a set of lower order OSs.
        Equally one can divide and order the genetic codes with different orders of ontological subjects. For instance, the 4 basis of a DNA (denoted by four letter alphabet: A,C,G,T) or RNA (A,C,G,U) molecules (i.e. four chemical bases of: adenine, thymine, guanine, and cytosine in the DNA plus uracil instead of thymine in the case of RNA) can be regarded as the zeroth order OS, the base pairs as the first order, the set of three bases known as codon as the second order, pieces of DNA as the third order, genes as the forth order, chromosomes as the fifth order, the genomes as the sixth order, the sets of similar genomes as the seventh order, and so on.
        Yet the same can be defined for information bearing signals such as analogue and digital signals representing audio or video information. For instance for digital signals representing a video signal, bits (electrical One and Zero) can be defined as zero order OS, the bytes as first order, any sets of bytes as third order, and sets of sets of bytes, e.g. a frame, as forth order OS and so on. Yet as another example the pixels of an image, or video, can be regarded as an OS of particular order and an arbitrary set of these pixels (usually, for instance, the neighboring pixels or sequential pixels) can be regarded as an OS with another particular order.
        However, these methods of ordering the ontological subjects are exemplary but important and meaningful. One can partition the text, genetic codes, and digital signals in different orders without limiting the scope of the invention.
        More importantly Ontological Subjects can be stored, processed, manipulated, and transported only by transferring, transforming, and using matter or energy (equivalent to matter) and hence the OS processing is a physical transformation of materials and energy.
    
    
    2. Composition: is an OS composed of ontological subjects of lower or the same order, i.e. a set of the same but most often lower order OSs, particularly text documents written in natural language documents, genetic codes, encryption codes, data files, voice files, video files, and any mixture thereof. A collection, or a set, of compositions is also a composition. A composition is also an Ontological Subject which can be broken to lower order constituent Ontological Subjects. In this disclosure, the preferred exemplary composition is a set of data representing or containing ontological subjects such as a webpage, a set of webpages, a group of medical reports, content of database, one or more PDF articles, one or more books, multimedia files, or simply words and phrases or in the extreme case the whole internet content.
    3. Partitions of composition: a partition of a composition, in general, is a part or whole, i.e. a subset, of a composition or collection of compositions. Therefore, a partition is also an Ontological Subject having the same or lower order than the composition when, the composition itself, is regarded as OS. More specifically in the case of textual compositions, partitions of a composition can be characters, words, sentences, paragraphs, chapters, webpage, etc. A partition of a composition is also any string of symbols representing any form of information bearing signals such as audio or videos, texts, DNA molecules, genetic letters, genes, and any combinations thereof. However our preferred exemplary definition of a partition of a composition in this disclosure is word, sentence, paragraph, page, chapters and the like, or WebPages, and partitions of a collection of compositions can moreover include one or more of the individual compositions.
    4. Scoring: scoring or ranking, is assigning a number to one or more significance aspects of an OS, or estimating a value for a feature of an OS, or assigning a metric quantity to an OS among a set of OSs so as to assist the selection of one or more of the OSs from the set. More conveniently and in most of the important cases the scoring is assigning an importance number, corresponding to one or more significance/importance aspects, to a partition of a composition.
    
        Such ranking and scoring, for instance, is indicative of semantic significance of a partition of a composition in accordance to one or more significance aspects.
    
    
    5. Summarization: is a process of selecting one or more OS from one or more sets of OSs according to predetermined criteria with or without the help of scoring values. The selection of one or more OS from a set of OSs is usually done for the purposes of representation of a body of data by a summary as an indicative of that body. Specifically, therefore, in this disclosure searching through a set of partitions or compositions, and showing the search results according to the predetermined criteria is considered a form of summarization. In this view finding an answer to a query, e.g. question answering, or finding one or more relevant documents, from a database, or webpages from the internet, are all forms of searching through a set of partitions and therefore a form of summarization according to the given definitions here.


II—DESCRIPTION
Although the method is general with broad applications and implementation schemes, the disclosure is described by way of specific exemplary embodiments to consequently describe the implications and applications in the simplest form of embodiments and senses.
Also since most of human knowledge and daily information production is recorded in the form of text (or it can be converted to ordinary texts or textual symbols and characters), the detailed description is focused on textual compositions to illustrate the teachings and the method and the system. In what follows the invention is described in several sections and steps which in light of the previous definitions would be sufficient for those ordinary skilled in the art to comprehend and implement the method and the systems and the applications.
II-I Participation Matrix Building for a Composition
Assuming we have an input composition of ontological subjects, the Participation Matrix (PM) is a matrix indicating the participation of some of the ontological subjects in some of the partitions of the composition. In other words in terms of our definitions, PM indicate the participation of one or more lower order OS into one or more OS of higher or the same order. PM is the most important array of data in this disclosure containing the raw information, representing a participation pattern, from which many other important functions, information, features, and desirable parameters can be extracted. Without intending any limitation on the value of PM entries, in the preferred embodiments throughout most of this disclosure (unless stated otherwise) the PM is a binary matrix having entries of one or zero and is built for a composition or a set of compositions as the following:

    
    
        1. break the composition to a desired M number of partitions. For example, for a text document we can break the documents into chapters, pages, paragraphs, lines, and/or sentences, words etc.,
        2. identify the desired form, number, and order of the ontological subject of the composition by appropriate method such as parsing a text documents into its constituent words and phrases, sentences, etc.,
        3. select a desired N number of OSs of order k and a desired M number of OSs of order l (these OSs are usually the partitions of the composition from the step 1 but could be from a premade list/s) existing in the composition, according to certain predetermined criteria, and;
        4. construct a N×M matrix in which the ith raw (Ri) is a vector, with dimension M, indicating the presence of the ith OS of order k, (often extracted from the composition under investigation), into the OSs of order l, (often extracted from the same or another composition under investigation), by having the value of nonzero, and not present by having the value of zero.
    
    


We call this matrix the Participation Matrix of the order kl (PMkl) which is shown as:




  
    
      
        
          P
          ⁢
          
            
          
          ⁢
          
            M
            
              k
              ⁢
              
                
              
              ⁢
              l
            
          
        
        =
        
          
            
              
                
                  
                    
                      
                    
                  
                  
                    
                      
                        
                      
                      ⁢
                      
                        OS
                        1
                        l
                      
                    
                  
                  
                    
                      
                        
                      
                      ⁢
                      ...
                    
                  
                  
                    
                      OS
                      M
                      l
                    
                  
                
              
            
          
          
            
              
                
                  
                    
                      
                        
                          
                            OS
                            1
                            k
                          
                        
                      
                      
                        
                          ⋮
                        
                      
                      
                        
                          
                            OS
                            N
                            k
                          
                        
                      
                    
                  
                  
                    
                      (
                      
                        
                          
                            
                              pm
                              11
                              kl
                            
                          
                          
                            ...
                          
                          
                            
                              pm
                              
                                1
                                ⁢
                                
                                  
                                
                                ⁢
                                M
                              
                              kl
                            
                          
                        
                        
                          
                            ⋮
                          
                          
                            ⋱
                          
                          
                            ⋮
                          
                        
                        
                          
                            
                              pm
                              
                                N
                                ⁢
                                
                                  
                                
                                ⁢
                                1
                              
                              kl
                            
                          
                          
                            ...
                          
                          
                            
                              pm
                              NM
                              kl
                            
                          
                        
                      
                      )
                    
                  
                
              
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




where OSil is the ith OS of the lth order, OSik is the ith OS of the kth order and, for instance, pmijkl=1 if OSik have participated, i.e. is a member, in the OSjl and 0 otherwise. Most of the time, though generally not necessary, the (PMkl) is a binary matrix or is converted to a binary matrix for ease of calculations

The participating matrix of order lk, i.e. PMlk, can also be defined which is simply the transpose of PMlk whose elements are given by:

PMijlk=PMjikl  (2).

Accordingly without limiting the scope of invention, the description is given by exemplary embodiments using only the general participation matrix of the order kl, i.e the PMkl.
Other information and added dimensions can also be shown by more specialized PMs or sets of PMs of same order that showing other features such as the place of an OSs in another OSs (temporal and spatial), frequency, syntactic role, part of speech, etc. For example, in a natural language text composition, an adjective participation matrix (lets call it APM) can be imagined in which if OSik has participate in OSjl and its syntactic rule has been an adjective (e.g. consider OSik is a word and OSjl is a sentence) then the entry apmijkl=1. Therefore, those skilled in the art can build or devise many other forms of participation matrixes depends on their applications.
II-II—Scoring the Ontologica Subjects Using the Semantic Coverage Extent Number (SCEN)
According to one of the embodiment of this invention we use the PM to construct another matrix called Similarity (also may be called Correlation or Association) Matrix of OSs of order l expressed versus the OSs of order k, which we denote by SMl|k (l|k reads: l given k).
The SMl|k is given by:

SMl|k(OSil,OSjl)=smi,jl|k=ƒ(Cikl,Cjkl)  (3)

where SMl|k is the similarity matrix of OSs of order l derived based on the participations of OSs of order k, Cikl and Cjkl are the ith and jth column of the PMkl, and ƒ is a predefined function or operator of the two vectors Cikl and Cjkl. The function ƒ yields the desired similarity measure and usually is proportional to the inner product or scalar multiplication of the two vectors. The similarity matrix of order l|k (i.e. l given k), SMl|k, has the form of:





  
    
      
        
          S
          ⁢
          
            
          
          ⁢
          
            M
            
              l
              |
              k
            
          
        
        =
        
          
            
              
                
                  
                    
                      
                        OS
                        1
                        l
                      
                    
                  
                  
                    
                      ⋮
                    
                  
                  
                    
                      
                        OS
                        M
                        l
                      
                    
                  
                
              
              
                
                  
                    (
                    
                      
                        
                          
                            sm
                            11
                            
                              l
                              |
                              k
                            
                          
                        
                        
                          ...
                        
                        
                          
                            sm
                            
                              1
                              ⁢
                              
                                
                              
                              ⁢
                              M
                            
                            
                              l
                              |
                              k
                            
                          
                        
                      
                      
                        
                          ⋮
                        
                        
                          ⋱
                        
                        
                          ⋮
                        
                      
                      
                        
                          
                            sm
                            
                              N
                              ⁢
                              
                                
                              
                              ⁢
                              1
                            
                            
                              l
                              |
                              k
                            
                          
                        
                        
                          ...
                        
                        
                          
                            sm
                            MM
                            
                              l
                              |
                              k
                            
                          
                        
                      
                    
                    )
                  
                  
                    
                      
                        
                          
                            
                          
                          ⁢
                          
                            OS
                            1
                            l
                          
                        
                      
                      
                        
                          
                            
                          
                          ⁢
                          ...
                        
                      
                      
                        
                          OS
                          M
                          l
                        
                      
                    
                  
                
              
            
          
          .
        
      
    
    
      
        (
        4
        )
      
    
  




The SMl|k is a M×M symmetric matrix and in one preferred embodiment the entries is given by:




  
    
      
        
          
            sm
            ij
            
              l
              |
              k
            
          
          =
          
            
              
                
                  c
                  i
                  kl
                
                ·
                
                  c
                  j
                  kl
                
              
              
                
                  
                  
                    c
                    i
                    kl
                  
                  
                
                ·
                
                  
                  
                    c
                    j
                    kl
                  
                  
                
              
            
            ⁢
            
              
            
            ⁢
            and
            ⁢
            
              
            
            ⁢
            i
          
        
        ,
        
          j
          ≤
          M
        
        ,
      
    
    
      
        (
        5
        )
      
    
  




where the Cikl is ith column and Cjkl is the jth column of the matrix PMkl. Eq. (5) is the cosine similarity, i.e. correlation, measure and in fact shows the similarity between each two partitions of the composition and is between zero and one.

Alternatively, in many cases the similarity measure is more justified if one uses the following formula:




  
    
      
        
          
            sm
            ij
            
              l
              |
              k
            
          
          =
          
            
              
                
                  c
                  i
                  kl
                
                ⋀
                
                  c
                  j
                  kl
                
              
              
                
                  c
                  i
                  kl
                
                ⋁
                
                  c
                  j
                  kl
                
              
            
            ⁢
            
              
            
            ⁢
            and
            ⁢
            
              
            
            ⁢
            i
          
        
        ,
        
          j
          ≤
          M
        
        ,
      
    
    
      
        (
        6
        )
      
    
  




where CiklΛCjkl is the number of common OSs of order k between Cikl, i.e. OSil, and Cjkl, i.e. OSjl (the inner product of binary vectors of Cikl and Cjkl) and CiklνCjkl is the total number of unique OSs of order k for the combined Cikl, i.e. OSil, and Cjkl, i.e. OSjl (i.e. the summation of logical OR of binary vectors of Cikl and Cjkl).

Nevertheless one straight-forward and process efficient similarity matrix can be given by:

SMl|k=(PMkl)′*PMkl  (7)

where “′” and “*” are matrix transposition and multiplication operations respectively. When PMkl has binary entries only, the similarity coefficients of smijl|k in the Eq. (7), are basically sum or the number of the common ontological subjects between the partition or columns Cikl and Cjkl.

However, alternatively, as can be seen, the similarity matrix of order k|l (i.e. k given l), SMk|l, is a N×N matrix which is derived in a similar fashion from the lk order participating matrix, i.e. PMlk=(PMkl)′. When k≦l the similarity matrix of SMl|k has more meaning of Correlation Matrix for the OSl, and the similarity matrix of SMk|l has more meaning of the Association Matrix for the OSk.
Accordingly again, without limiting the scope of invention, the description is given by exemplary embodiments using only the general participation matrix of the order lk, i.e the PMkl.
Turing back to the SM, the importance of the SM, however, is due to the observation that from the SM one can measure the impact of each partition of the composition by summing over each row of the similarity matrix, (as will be explained in regards to FIG. 1). Hence, using the similarity matrix of order l, we proceed with introducing the concept of Semantic Coverage Extent Number (SCEN) and using it to directly evaluate the intrinsic importance of the individual partitions, i.e. OSs of order l, of the composition that the PMkl has been built from. In this embodiment the SCEN is the cumulative similarity of an OS, e.g. OSil, to all other OSs of the same order in the given composition which is given by:

SCEN(OSil|OSk)=SCENil|k=Σj=1Msmijl|k  (8)

The SCEN, as the name implies, is an indication of semantic coverage extent and can be viewed as a measure of importance, impact, and essentiality of a partition (OSil), or generally as one significance aspect of a partition in the set of partitions of a composition. More importantly the SCEN is one indication of consistency, persistency, substance, solidity, and perseverance of the semantic of a partition in a composition. Therefore, the partitions scoring high SCENs are usually the most credible pieces of information found in the composition, and/or are the best rounded, coherent, and harmonized pieces of the composition. Therefore, the SCEN is one indication of overall consistency of a partition as a measure that how much and how many other partitions are harmonized and semantically inclined with that partition.
The SCEN therefore can be used for scoring and consequently rearrangement of the OSil, for different applications which involves selection of partitions of the composition such as single or multiple document summarization, web page ranking, answering questions and the like.
Incorporating Eq. 7 into Eq. 8 it is possible to prove that:

SCENil|k=Σj=1smijl|k=Σj=1M[(PMkl)*PMkl]=(PMkl)*Σj=1Mpmijkl=(PMkl)*F(OSk)  (8-1).

wherein F(OSk) is a vector which is in fact the frequency of occurrences of ontological subjects of order k, OSk in the partitions of order l.

In some embodiments, calculating SCENil|k given by Eq. (8-1) is simpler and is more process efficient. For instance one can calculate the frequency of occurrences of ontological subjects of order k, e.g. by counting the number of their occurrences in the compositions or sum of their occurrences in its partitions, and score a semantic importance of a partitions as sum of the frequency of occurrences of the ontological subjects which participated in that partitions. Obviously such a score can later be normalized, e.g. divided by a normalizing factor, etc.
The rational for usefulness of such scoring method is based on the introduced concept of semantic coverage extent and the mathematical derivations of simplified form of calculating the SCEN as in Eq. (8-1) which makes the scoring method computationally simple yet conceptually profound.
It should be noticed that Eq. (8-1) hold true for all range of entries of a participation matrix, PMkl, and wherein one way of obtaining F(OSk) is always can be given by:

F(OSik)=Σjpmijkl  (8-2)

regardless of the values of eateries (e.g. non-binary, non-real etc.) of the participation matrix. For instance after initial construction of participation matrix/es, the matrix may further be processed (e.g. become row or column normalized, or manipulated in anyway desired) and as a result the entries of the matrix being modified or even being transformed to other matrix/ex or data arrays (such as those mathematical, e.g. matrix form, objects introduced in the incorporated reference, showing some other relations between the ontological subjects of any order and assumes many possible values.

Those skilled in the art appreciate that the implementation and calculation of all the formulation and mathematical objects introduced in this disclosure can be done in various ways by different people and with different programming languages and programming methods and objects using different processing hardware and computing platforms such as single or multi-processors or single or multi-machines (e.g. cloud/cluster/network computing etc.). Further the formulations can be modified to make it suitable for certain implementation method or approach to achieve the same results as disclosed and taught here and the related references, without departing from the scope of this disclosure. For instance, one may use data arrays in the forms of numerical vectors and matrices and another may use other types of data structures or data arrays of different programming language such dictionaries, lists, sets, list in list, or other could computing programming methodologies and objects etc.
For further illustration we now refer to FIG. 1. FIG. 1 schematically is exemplifying and further illustrating the concept of SCENil|k which is proportional to sum of the overlap areas of sets of OSs of lth order having members from the kth order OSs of the composition. In FIG. 1, the overlapped areas between OSs of lth are shown by spql where p and q are indexes of their corresponding OSpl and OSiql. For example, the overlap area between OS4l and OS3l is shown by s43l in FIG. 1.
However yet, depends on the application, more derivatives of SCEN can be defined. For instance, one can calculate the density of SCEN for each OSil as follow:

Density SCENil|k=SCENil|k/lengt(OSil)  (9)

where “Density SCEN” stands for SCEN values per unit of length of the OSl. The length here could be simply the number of characters in OSl, when the composition is represented by textual strings, e.g. text content or genetic codes represented by textual characters. Density SCEN is a good measure of importance if one wants to find short but significant partitions of the composition.

II-III—Scoring the Ontologica Subjects Using the Centarlity Power Number (CPN)
In another embodiment of scoring Ontological Subjects of the composition, the participation matrix of PMkl or PMlk is used to calculate the similarity matrix SMl|k or SMk|l. In this embodiment the similarity matrix is considered as weighted adjacency matrix for a graph whose node corresponds to OSl (in the case of SMl|k) or OSk (in the case of SMk|l). A Centrality Power Number (CPN) is assigned to each node, e.g. OSil, which is given by:

CPN(OSil|OSk)=CPNil|k=Σj=1Mgi,j(smijl|k)·CPNjl|k  (10)

where g is a predetermined function which, in most of the cases, is an identity function, (i.e., gi,j(smijl|k)=smijl|k,) and CPNil|k is the centrality power value corresponding to OSil as a node in the graph whose adjacency matrix is SMl|k. The CPN can be considered as another significance aspect of a partition in the set of partitions of the composition.

FIG. 2 shows an exemplary graph corresponding to the SMl|k as its adjacency matrix. As seen the nodes in this graph are representatives of the OSs, e.g. OSil and OSjl, and the edges between each two nodes are, generally, proportional to their similarity value, e.g. smijl|k, which were driven from the participation pattern of OSk in OSl, i.e. from the PMkl. Alternatively the same graph can be built for OSs of order k, e.g. the nodes are OSik and OSjk and their edges are similarity values, i.e. smijk|l (which are better called as association value when k≦l).
Many other forms of graphs and their corresponding adjacency matrix can be drawn and derived using the similarity matrix information. For example from smijl|k one can use the Ontological Subject Mapping (OSM) method to build an association matrix and consequently a directed graph called the Ontological Subject Map (OSM) and arriving at the corresponding adjacency matrix from which the CPN for each OSil can be calculated using Eq. (10). The OSM method was introduced in the U.S. Pat. No. 8,452,725 entitled “System and method of Ontological Subject Mapping for Knowledge Processing Applications,” which is incorporated herein as reference.
Going back to Eq. (10), as seen the Eq. (10) is an eigenvalue equation which can be rewritten as

CPNl|k=Gl|k·CPNjl|k  (11)

which again the GL|k is a general matrix built from SMl|k and in most of the cases can be selected to be the same as SMl|k. Since the similarity matrix SMl|k is a symmetric matrix having real value entries, the eigenvalues and the eigenvectors (the CPN) are real and existent.

The CPN is an eigenvector of Eq. (11) indicating the importance of the OSs of the composition which depends on the characteristics of their participation pattern or being participated by other OSs of the composition. The CPN of Eq. (11) can be calculated numerically. Usually the CPN is the same or related to the eigenvector that corresponds to the largest eigenvalue of Eq. (11). For computational reasons the matrix Gl|k may further be manipulated to become normalized or transformed to a stochastic matrix. Those skilled in the art can modify the methods to achieve the same goal of scoring/ranking the importance of the Ontological Subjects of the composition without departing from the scope and spirit of the present disclosure. For instance alternative ways and sophisticated formulation for calculating and interpreting the power of OSs can be found in the Ser. No. 12/547,879 patent application which is referenced here.
Referring to FIG. 2 again, it shows the graph representation of the similarity matrix SMl|k that was built from the participation matrix of PMkl. As seen the OSl as the node and the edges are proportional to the entries of the similarity matrix, i.e. smijl|k.
II-V—The Semantic Importance Rank (SIR) of Partitions
Having calculated the importance ranks of the OSs of the composition by at least two methods now one can proceed to evaluate the Semantic Importance Ranks (SIR) of the OSs as follow:

SIR(OSil|OSk)=SIRil|k=ƒs(SCENl|k,CPNl|k)  (12)

where ƒs is a predetermined function which in one general exemplary case can be given by:

ƒs((x1,x2)=α1x1+α2x2+c  (13),

where α1 and α2 are preselected constants with |α1| and |α2|≧0, and c is an arbitrary constant. For convenience, and sake illustration only, one can select α1=α2=1⁄2 and c=0. However for computational efficiency for most of the application one can only use either SCEN or CPN value for scoring the OSs of the compositions. Depends on the application, computational power available, and the size of the composition and dimensions of the participation matrix PMkl, i.e. N and M, etc., one can decide to calculate either SCEN or CPN or both for final scoring and ranking of OSs, i.e. evaluating SIR.

FIG. 3, shows the block diagram of the system and algorithm of calculating the Semantic Importance Ranks (SIR) of the partitions of a composition as expressed by Eq. (12). As seen from the input composition the participation matrixes are built and consequently the SCENs and CPNs are calculated from which the Semantic Importance Ranks (SIR) of the partitions are evaluated. The semantic importance ranks (SIR) can also be regarded as another significance aspect of a partition in a set of partitions of a composition.
Still more conveniently, (also for faster scoring evaluation of OSs), after evaluating the semantic importance rank of OSs of order l, from the participation information contained by PMkl, one can proceed to evaluate the Semantic Importance Rank (SIR) of OSs of other orders, say OSs of the order l+r and |r|≧0, from the SIR of the OSs of the order l as the following:

SIR(OSl+r|SIRl|k)=SIRl+r|(l|k)=SIRl|k·PMl,l+r  (14).

FIG. 4, shows the block diagram of the algorithm and the system of calculating SIR values for different orders of OSs using SIR values of other OS. In this figure at least two participation matrices are built, say one for participation of kth order into lth order, i.e. PMkl, and another lth order to (l+r)th order, i.e. PMl(l+r), and consequently the Semantic Importance Ranks of the lth order OSs is calculated from PMkl which is denoted by SIRl|k according to our notations in this invention. Having calculated SIRl|k and using the participation matrix of PMl(l+r) one can proceed to calculate the Semantic Importance Ranks of the (l+r)th order from the Eq. 14. Shown in the figure are databases that store and make it ready for information retrieval of SIR values of OSs of different order when needed by other parts of the application and services.
The implication of Eq. 14 is that when we assume that our composition is a group of webpages and we have scored the sentences of the composition using for instance the PM12, then using Eq. 14 we can score the webpages only using the information of a participation matrix that shows which sentences have participated in which webpages (e.g. PM25). The webpage that contains the most important sentences will score higher. Nevertheless, in this example other ways of evaluating a significance of webpage can be devised such as scoring based on density SIR value in a similar fashion explained for Eq. 9.
Referring to FIG. 5 now, it shows a block diagram of the general system, application, method and algorithm, of estimating the Semantic Importance Ranks (SIR) of partitions of an input composition, with application in summarization as described hereinabove and herein below.
Further explanation in reference to FIG. 5 is given by description of an exemplary, and also an important, case of summarization of a single text document in more details.
A composition, e.g. a single document, is entered to the system of FIG. 5. The system pars the composition, i.e. the document, into words and sentences, and builds the participation matrix showing the participation of each word into sentences. Then the system, using the algorithms, calculates the similarity matrix and calculates the SIR for each sentence. The summarizer then selects the desired number of the sentences (having the desired range of SIR) to represent to a user as the essence, or summary, of the input document. One might choose the different ranges or parts of the SIR for other intended applications.
Referring to FIG. 5 again, the input composition can be a collection of webpages or collection of documents which form a corpus. In this case the output summary is the summary, or distilled form of the corpus. Therefore with the system and method of FIG. 5, single or multi-document, corpus collection and the like, can be summarized, distilled, clustered, or selected as an answer to a question.
At the same time the method and the system can be employed for clustering partitions of the compositions, e.g. sentence in the above case, by simply grouping those partitions having almost the same SIR in the context of the given input composition.
Again in one particular and important case, consider the input composition to be a large number of documents and the preferred PM matrix is built for PM1,5 (participation of words, k=1, to document, l=5), which is used to subsequently calculate SCEN5|1, and/or CPN5|1, and/or the SIR5|1. The resulting SCEN, CPN, or SIR, can therefore be used to separate the documents having the highest merits (e.g. having top substance, most valuable statements, and/or well rounded) within this large collection of the document. In this exemplary case, the winner has the highest SIR, or highest density SIR, after a fair competition, for scoring higher SIRs, with many other documents contained in the collection. Shown in the FIG. 5 are the databases storing the compositions, participation matrixes, the partitions of the compositions, and the SCENs, CPNs and SIRs, of the partitions of the composition to be used by other applications, middleware, and/or application servers.
FIG. 6A shows a typical and real exemplary case of calculating SIRs. In this particular instance only the SCEN was used in calculating the SIR. FIG. 6A shows the shape of figure of SIR value versus composition partitions' number. In this exemplary case, the composition was a corpus made of a collection of a number of webpages related to a keyword query returned by a search engine. The webpages were parsed and stripped off their codes and concatenated together to form a textual corpus. Consequently the corpus was parsed to its constituent words (as the lower order OS, i.e. k=1) and to sentences (as the higher order OS or the partitions, i.e. l=2). A PM was built using a number of words and a number of sentences (for shorter processing time) followed by calculating the SCEN for the sentences.
The system and method of FIG. 5 produced the SCEN values of the sentences and the partitions were ranked based on their SCEN (the partition with the highest SCEN ranked first). FIG. 6B shows the before ranking partition number versus the ranked partitions' number. As seen the sentences are reordered quiet frequently which is expected given that not all the sentences are emphasized equally in the corpus.
FIG. 6C shows the normalized SCEN values of the sentences versus the ranked partitions' number. As seen and expected again, the graph is a declining curve starts from the highest SCEN value corresponding to the first ranked sentence and decline toward the last ranked sentences with the lowest SCEN. The important observation and interpretation is that different parts of the SCEN graph versus the ranked sentence number can be used for different desired applications. As shown, for instance, the sentences with the highest SCEN maybe selected as the summary or abstract of the corpus while the middle section contains the sentences that most probably are more descriptive and specific than the higher SCEN area and can be selected for applications needing more detailed information about something (something can be the input query to the system of a corresponding client server application). The areas with the lowest SCEN value, most probably, containing novel and less known information. This part most probably contains the statements that are less well known and less obvious but could be very important. So this area can be looked for novelty detection or further investigation and knowledge discovery. However, this area also may very well contains the irrelevant or noisy (e.g. nonsense) sentences.
In one particular case, assume the composition is a collection of separate documents or webpages, and the composition has been parsed to words and sentences, participation matrix of words into sentences has been built, and the SCENs have been calculated for sentences. Now in order to evaluate the SCEN for the documents we should build another participation matrix, say PM2, for participation of sentences to documents. However it is very unlikely to have identical sentences in different documents so that each row of the PM has only one nonzero element. In other words the PM2 becomes very sparse and the similarity measures become less meaningful. In this case one, one may use the similarity matrix derived from the first PM, ie. words to sentence participation, to cluster all those OSs having a high similarity value, e.g. 80% or more, and form a synonym set for sentences of each cluster and replace the all the sentences of each synonym set with one OS and consolidate the PM so that in each row we can have more than one nonzero element. In other words we form a synonym set for OSs having high similarity measure and replace all the members of each synonym set with the OS of the set having the desired, e.g. the highest, similarity values. However in general each synonym set can be represented with any symbolic OS without any constrain. That will also decrease the processing time.
FIG. 7 shows the exemplary flow diagram of scoring by calculating SCEN and the summarization process according to this embodiment in which synonym sets of OSs are identified from the similarity matrix and all the members of each OS synonym set replaced with a single OS.
Specifically, the words can be replaced with their synonym obtained from a dictionary. For instance one can form a number of synonym sets for a number of groups of words, having almost similar meaning, and replace the words belonging to the same synonym set by a unique symbol or one of the members of the synonym set. In this way semantic similarity measure of partitions becomes more pronounced. The said one of the members of the synonym set can be the most popular member of the set in an average dictionary of the language of choice. Advantageously in this way the processing time by computers decreases significantly, when there are less symbols and words, i.e. lower order OSs, in the composition and the resulting participation matrixes.
Identifying the most important partitions is very important and has many applications in summarization, distillation and question answering. When a composition is partitioned to constituent sentences, then the present invention system and method yield the most valued sentences and statement that can be recomposed automatically to form a distillation of a corpus or multi-document summaries. Also since in this method the system identifies the sentence that are in essence repeated formally or semantically many times along the corpus and therefore they are valid and can be regarded as a true statement and when organized in order they can be used as an answer to an inquiry thereby forming a question answering system with verified statement of the facts which is presented to a user, i.e. client, as service.
In another exemplary embodiment, as an alternative to semantic synonym sets, one can form a non-binary participation matrix PMkl whose entries can have value of [0, 1] interval, and can be given by, for instance, the followings:




  
    
      
        
          pm
          
            i
            ,
            j
          
          kl
        
        =
        
          {
          
            
              
                
                  
                    pm
                    
                      i
                      ,
                      j
                    
                    kl
                  
                  =
                  
                    
                      1
                      ⁢
                      
                        
                      
                      ⁢
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      
                        OS
                        i
                        k
                      
                    
                    ∈
                    
                      OS
                      j
                      l
                    
                  
                
              
            
            
              
                
                  
                    pm
                    
                      p
                      ,
                      j
                    
                    kl
                  
                  =
                  
                    
                      
                        max
                        ⁡
                        
                          (
                          
                            sm
                            
                              q
                              ,
                              p
                            
                            
                              
                                k
                                |
                              
                              :
                            
                          
                          )
                        
                      
                      ⁢
                      
                        
                      
                      ⁢
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      
                        OS
                        p
                        k
                      
                    
                    ∉
                    
                      
                        OS
                        j
                        l
                      
                      ⁢
                      
                        
                      
                      ⁢
                      but
                      ⁢
                      
                        
                      
                      ⁢
                      all
                      ⁢
                      
                        
                      
                      ⁢
                      
                        OS
                        q
                        k
                      
                    
                    ∈
                    
                      
                        OS
                        j
                        l
                      
                      .
                    
                  
                
              
            
          
        
      
    
    
      
        (
        15
        )
      
    
  




The resulting PM form Eq. (15) then can be used to build the similarity matrix of OSs of order l in the Eq. (3) using similarity measure such as Eqs. (5), (6) and (7) or any other appropriate similarity measure equation for this case, and consequently proceed with estimating SCEN value using Eq. (8) or (9), or CPN and SIR. The Participation Matrix of Eq. (15) can also be dealt with as partial participation matrix and one may desire to use the concepts of Fuzzy membership, Fuzzy set theories, and generally Fuzzy arithmetic to estimate the SIR, and other desired parameters of interest.
Many small variations in the method can be done without the departure from the scope and the sprit of what has been disclosed here.
Referring to FIG. 8 now, it is to demonstrate another important exemplary application. FIG. 8 employs the method and the system for ranking/scoring and retrieval of document and webpages for using as a search engine. In this embodiment the crawlers will crawl the web and gather as many webpages as it can from the internet. The whole collection can be regarded as a composition (can be called e.g. the internet composition) which will be broken to the constituent webpages and the constituent words and phrases of the webpages. Then construct the PM for the collection of the webpages. In the preferred embodiment using this method the lower OS is the words and phrases and the higher order OS is the web page itself. Calculating the SIR (e.g. only using SCEN for faster calculation) for each webpage then can rank all the webpages based on their real intrinsic value and substance.
As seen in FIG. 8, the system crawl the internet and make a collection of webpages, then proceed with partitioning, parsing and building the participation matrix of constituent lower order OSs participation to higher order OSs of the internet composition.
All the information such as the composition, partitions, and all the other components may be stored in databases for use by the search engine. Particularly the at least one participation matrix is advantageously stored since it contain the most important information.
In FIG. 9 the uses of the stored information of the participation matrixes are demonstrated in an exemplary integrated question answering system that serves a user the right information about her/his query in the form of the most appropriate answer. The answer could be a webpage, a document, a paragraph, a sentence or a statement, or any partitions of the composition that conveys the most appropriate information about the query.
Let's explain FIG. 9 in detail by focusing on an exemplary but familiar service of search engine that return the most appropriate webpages as an answer to user request for information about an exemplary keyword (shown as kwi in FIG. 9) while at the same time can also provide an answer to the query in other forms such as the best statements, e.g. sentences, the best paragraphs, or the best partitions of the internet composition related to the query. Now suppose this search engine have built a first participation matrix, say PMik,l, of words (e.g. keywords) into webpages (e.g. lets also say k=1, as the keywords OS order, and l=4 as the webpages OS order). When a user query the system for related information, the search engine can comb out all the webpages that contains the keyword, all M1 number of OSil for which the pmi,jkl≠0, and present it back to the user as the answer to the user query, the OUT 1 in FIG. 9. However it might be more desirable to rank this new set of webpages, containing the keywords, more accurately. In this case one can evaluate the SIR, (or only the SCEN for simplicity) for this new set of webpages (i.e. all M1 number of OSil for which the pmi,jkl≠0) by making a new composition from this set and building the desired PM/s. However it might be more desirable to rank this new set of webpages, containing the keywords, even more accurately.
For more accuracy the system can build at least one the second participation matrix, denoted by PM2k,l+r in FIG. 9, using words and smaller partitions of a webpage such as paragraphs or sentences, (denoted by OS1l+r when r<0), and evaluate the SCEN for the sentences or paragraphs. The search engine system at this stage can return a set of smaller partitions, containing the keyword, as the answer to the user query, OUT 2, or the ranked set, based on the SCEN, of smaller partition as the answer, OUT 3. The search engine can also return the ranked most appropriate webpages, or webpage based on the SCENs of their partitions, i.e. SCEN2l+r|k, and the information of yet another participation matrix, e.g. PM3(l+r),l. As seen in FIG. 9 the third PM, is build from the participation of the combed out partitions, from the PM2k,l+r, containing the keyword, into the webpages OS1l. Consequently calculating the Semantic Importance Rank of the webpages, related to the query keyword, the system can return the most appropriate webpages to the users, OUT 4 in the FIG. 9.
The advantage of such exemplary integrated answering system is that for the given query different answers can be provided to the user at the same time. The ranked sentence answers are not necessarily listed in the order of the list of the webpages that contains those sentences. For instance, a sentence level answer to the query, e.g. OUT 2 or OUT 3 in FIG. 9, is independent of the webpage rank. However the rank of the higher order OSs, e.g. the webpages, are more dependent on the semantic ranks of the lower order OSs which results in a scoring method that is based on the intrinsic value of the contents of the webpage. Also each answer is independently qualified in comparison to a large group of possible answer having the same OS order. In this way the answer is more based on the intrinsic value of the answer in relation to the keyword rather than
Alternatively or additionally one can, yet, combs out the smaller partitions of the set of webpages containing the keyword, (e.g. the sentences, or paragraphs, containing the keywords) and calculate their SCEN number. And from the PM of sentence to webpage then rank the webpages related to the keyword more accurately and more appropriately.
Referring to FIG. 10 now, this shows an exemplary block diagram of a system of question answering having the executable computer code for implementation of the algorithm of FIG. 9. One or several computer and computer servers maybe employed to execute and implement the algorithm of FIG. 9. The output in FIG. 10 is at least one of the outputs of FIG. 9. A keyword is entered to the system and the system fetch the related compositions of different levels for the input keyword having an OS order of p (OSip), make a composition for that keyword, or key OS, using the composition the system proceed with building the participation matrix and calculating all the desired parameters such as SCEN and CPN and SIR of the partitions or OSs of different orders, and depends on the predesigned service provide appropriate outputs as the response to the query or keyword. Meanwhile the system can store the information in the databases as shown in FIG. 10 to be used for later use. The system can be devised to automatically perform the same for whole lists of keywords, or key OSs offline to make premade databases to be used later by other application programs or services.
Referring To FIG. 11: shows another exemplary application and embodiment in which summarization is done at multiple stage. As seen a composition, e.g. a large corpus, is broken to a number of partitions, and summarization is done on each partition, then summary of some of the partitions are integrated together to form a new composition and the summarization is done for this new composition. This embodiment is particularly good for large corpus in which the computational complexity become an issue or the corpus is clustered and in each cluster there can be found many similar partitions or OSs, e.g. similar documents, similar sentences etc. In this embodiment at each stage it may become advantageous to use different method and measure of semantic importance. For example for the first one or more stages one may use the SCEN only and for the later stages use the CPN or in general any desirable combination of SCEN and CPN, at each stage.
Referring to FIG. 12 shows an exemplary system of client and server application through internet. As shown the system receives a request for service in the predetermined formats such as a keyword, a natural language question, request for summarization, request for list of ranked documents or webpages, or all other type of application that some are listed here. The system consists of hardware and software programs needed to process the request of clients, such as computer servers and software packages for serving the client in the frontend or working for the client request at the backend engine and fulfill the client request. There is a request analyzer which analyze the request and decide where and which one of the servers are best suited to fulfill the request. The system may also has access to premade databases such as the databases shown in FIG. 10. After processing the client request the system compose the response to the client's request and send it back to the client through internet or any other means of communication or any device and apparatuses suitable to serve the client's request.
Applications:
Few exemplary applications of the method and the system disclosed here are listed here, which are intended for further emphasize and illustration only and not meant neither as an exhaustive application list nor as being restricted to these applications only.

    
    
        1. Clustering of compositions or their partitions: one of the applications is clustering of compositions having a predetermined level of similarity measure obtained from the information of similarity matrix as well as their SCEN and SIR values. For example after building the similarity matrix for the partitions of the composition or a corpus, for each partition OSil, looking at the corresponding row of the SM, i.e. the ith row, and finding those OSjl for which the smijl has the higher than a threshold value and cluster them as a set of highly similar partitions or compositions.
        2. Composition ranking: another obvious application is ranking of compositions among a collection of compositions to be used in search engines, information and document retrieval, optimum database storing etc.
        3. Summarizations: selecting a number of OSs of a desired order, having a desired range of SIR, from the set of partitions of a composition, a corpus, or a collection, as the summary representation of the composition, corpus, or the collection.
        4. Distillations: finding the essence of corpus or a collection of compositions by one or more stages of summarization. Especially when the participation matrix is consolidated by replacing sets of synonym OSs with one common OSs.
        5. Novelty detection: using the SCEN or CPN and the SIR to spot a novelty depends on the levels of the scoring/ranking parameters corresponding to the partitions of the composition.
        6. Main bulk detection of corpuses or compositions: selecting a number of OSs, i.e. the partitions of the composition, having predetermined semantic importance ranks, e.g. average SCENs, for representing the bulk or main body of a corpus or a clustered group of composition related to topic etc.
        7. Background information of corpus: selecting a number of OSs, i.e. the partitions of the composition, having predetermined semantic importance ranks, e.g. the highest SCENs, for representing the verified facts and basic background of a corpus or a clustered group of composition related to a topic etc.
        8. Automatic Document composition: selecting a number of OSs having a predetermined spectrum, e.g. highest, average, lowest SCEN or semantic importance ranks, for representation and to compose a new document representing the whole corpus covering the desired aspects, (e.g. novel, bulk, background or any combination) of a corpus or a clustered group of composition related to a topic etc.
        9. Verified true statements: assuming one have a corpus or a collection of document as the initial composition which is broken to partitions such as words and sentences or statements, then clustering the partitions based on containing one or more keywords, then those partitions or statements that have the highest SCEN can be considered as the true statements expressing facts or true statements related to those keywords contained in the partitions. The true statements corresponding to the keywords may further be stored in databases as premade repositories.
        10. Question answering: having stored the true statements about one or more keywords, then a question answering engine system can use these statements as the answers to the questions containing the keywords used in the corresponding true statements that have been stored in the databases.
        11. Document comparison: using the scoring method disclosed in here one can cluster the documents and further ranks the partitions therein and identifies the partitions as novel, true background, and descriptive, one then can characterize the documents in comparisons to large collection of documents or to each other as being, for instance, novel or descriptive etc.
        12. Ontology database building: in a similar fashion to finding the verified true statements related to keywords one can build databases as repositories of knowledge about entities or subject matters as well as their relations.
        13. DNA sequence interpretation: considering a DNA sequence as a composition, and breaking this composition to OSs of desired orders in order to look for patterns and locations of DNA pieces having a predetermined semantic importance range. The method and the associated system in the form of computer hardware and programs can be used for gene detection, genome summarization, gene scoring, junk DNA detection, genetic modification, etc.
        14. Signal processing: using any form of symbols for representation of physical signals one can make a composition and rank the OSs of the composition for using in different application and processing of the signal. The method can be used for processing audio and video signals for feature extraction, recognition, pattern recognition, summarizations, compression, conversion from one form to another form of signal etc.
        15. New essay or composition generation: new compositions or well written essay can be generated using the generated databases for the listed applications and using the association of the OSs.
        16. Mapping OSs of different nature to each other: databases of OSs of different nature, e.g. text and video signal, having similar semantic and syntactic functions can be stored and converted to each other. For example one can build equivalent compositions from text and video signals which can convey the same semantic message.
    
    


In summary, the invention provides a unified and integrated method and systems for evaluating the semantic importance of compositions and their partitions among a set of compositions. More importantly the method is language independent and grammar free. The method is not based on the semantic and syntactic roles of symbols, words, or in general the syntactic role of the ontological subjects of the composition. This will make the method very process efficient, applicable to all types of compositions and languages, and very effective in finding valuable pieces of knowledge embodied in the compositions.
The system and method have numerous applications in knowledge discovery and finding the best piece of knowledge, related to a request for knowledge, from one or more compositions. The invention can serve knowledge seekers, knowledge creators, inventors, discoverer, as well as general public to obtain high quality contents related to their working subjects. The method and system, thereby, is instrumental in increasing the speed and efficiency of knowledge retrieval, discovery, creation, learning, and problem solving to name a few.
It is understood that the preferred or exemplary embodiments and examples described herein are given to illustrate the principles of the invention and should not be construed as limiting its scope. Various modifications to the specific embodiments could be introduced by those skilled in the art without departing from the scope and spirit of the invention as set forth in the following claims.

## Claims

1. A computer implemented method of scoring one or more partitions of a composition of ontological subjects, said method comprises execution of a set of instructions, by one or more processors, configured to perform:
identifying a plurality of ontological subjects, wherein said plurality of ontological subjects assigned with a first predefined order;
partitioning, using one or more data processing or computing devices, the composition into one or more pluralities of partitions, wherein at least one plurality of said one more pluralities of partitions is assigned with a second predefined order;
constructing at least one set of data structures corresponding to at least one ordered array of data, said at least one ordered array of data represents participation of some of said ontological subjects of the first predefined order into some of said partitions assigned with the second predefined order by having a non-zero value in the corresponding entries of the ordered array of data; and
calculating frequency of occurrences of the ontological subjects of the first predefined order in the partitions of the composition assigned with a predefined order; and
scoring, using one or more data processing or computing devices, an importance of one or more of the partitions of the second predefined order using the data of said at least one ordered array of data and the frequency of occurrences of the ontological subjects of the first predefined order; and
storing the data, representing said scores of the importance of one or more of the partitions of the second predefined order or the ordered array of data, in one or more non-transitory computer readable storage medium for further use by an application server.

2. The method of claim 1, wherein the ordered array of data is a matrix, wherein each row of the matrix is representative of an ontological subject from said plurality of ontological subjects of first predefined order and each column of the matrix is representative of a partition from said plurality of partitions of the second predefined order or vice versa.

3. The method of claim 2 further comprising scoring the partitions of second predefined order by multiplication of a vector representing frequency of occurrences of ontological subjects of first order and said matrix or its transposition.

4. A non-transitory computer-readable medium having stored said instructions for performing the method of claim 1 using one or more data processing or computing devices.

5. The method of claim 1, further comprising calculating the frequency of occurrences of ontological subjects of the first predefined order by processing the data of said ordered array of data.

6. The method of claim 1, wherein at least some of the ontological subjects of the first predefined order are replaced with a single ontological subject and the respective entries of said set of data structure, corresponding to said at least one ordered data array, are updated accordingly.

7. The method of claim 1, wherein said composition is composed of one or more of:
a genetic code corresponding to one or more deoxyribonucleic acid molecule;
genetic code having symbols representing at least one of chemical bases of adenine, thymine, guanine, cytosine, and uracil;
a visual content or one or more digital images composed of a plurality of pixels;
a textual content composed of textual characters;
an audio content composed of digital signals;
electrical signals;
one or more contents obtained from Internet;
a digital signal string having ones and zeros.

8. The method of claim 1, wherein said plurality of ontological subjects assigned with a predefined order namely k, are extracted from the composition.

9. A computer implemented method of converting at least some information of a composition of ontological subjects into at least one ordered array of data, said method comprises execution of a set of instructions, by one or more processors, configured to perform:
partitioning, using one or more data processing or computing devices, the composition to at least two of pluralities of partitions, wherein each of at least two of the at least two pluralities of partitions is assigned with a predefined order namely l and l+r corresponding to a predefined ontological subjects of order l and l+r;
identifying at least one plurality of ontological subjects, wherein said at least one plurality of ontological subjects assigned with a predefined order namely k;
constructing at least a first set of data structures corresponding to at least one first ordered array of data, said order is recognized by a predefined combination of characters wherein said ordered array of data represents participation of some of said ontological subjects of predefined order k into some of said partitions assigned with predefined order l or l+r, by having a non-zero value in the corresponding entries of the ordered array of data; and
constructing at least a second set of data structures corresponding to at least one second ordered array of data, said order is recognized by a predefined combination of characters, wherein said second ordered array of data represents participation of some of said partitions of predefined order l into some of said partitions of predefined order l+r, by having a non-zero value in the corresponding entries of the ordered array of data; and
storing at least one of said ordered array of data onto one or more non-transitory computer readable medium.

10. The method of claim 9, wherein the at least one first or the at least one second ordered array of data is a matrix, wherein each row of the matrix is representative of an ontological subject from said plurality of ontological subjects or a partition of said predefined order, and each column of the participation matrix is representative of a partition from one of said at least two pluralities of partitions or vice versa.

11. The method of claim 10 further comprising scoring the partitions of predefined order l by multiplication of a vector representing frequency of occurrences of ontological subjects of order k and the participation matrix, from said first set of data structures, or its transposition.

12. A non-transitory computer-readable medium having stored said instructions for performing the method of claim 9 using one or more data processing or computing devices.

13. The method of claim 9, further comprising calculating the frequency of occurrences of ontological subjects of predefined order k in the partitions of a predefined order of the composition and scoring a partition of composition as a function of said frequency of occurrences of ontological subjects participated in said partition.

14. The method of claim 9, wherein at least some of the ontological subjects of a predefined order are replaced with a single ontological subject and the respective entries of said one or more data arrays, corresponding to said at least one ordered data array, are updated accordingly.

15. The method of claim 9, further comprising calculating similarity coefficients, based on one or more similarity measures, between some of said partitions of one of said plurality of partitions of predefined order using said at least one ordered data array.

16. The method of claim 15, wherein the similarity coefficients are used to construct a visual graph representing the composition.

17. The method of claim 15, wherein the similarity coefficients are used to assign or calculate scores for said partitions of predefined order l and/or l+r and/or the ontological subjects of predefined order k.

18. The method of claim 9, wherein said composition is composed of one or more of:
a genetic code corresponding to one or more deoxyribonucleic acid molecule;
genetic code having symbols representing at least one of chemical bases of adenine, thymine, guanine, cytosine, and uracil;
a visual content or one or more digital images composed of a plurality of pixels;
a textual content composed of textual characters;
an audio content composed of digital signals;
electrical signals;
one or more contents obtained from Internet;
a digital signal string having ones and zeros.

19. A computer implemented method of converting at least some information of a composition of ontological subjects into at least two ordered participation matrixes, namely PMk,l and PMl,l+r, said method comprises execution of a set of instructions, by one or more processors, configured to perform:
partitioning, using one or more data processing or computing devices, the composition to at least two of pluralities of partitions, wherein each of at least two of the at least two pluralities of partitions is assigned with a predefined order namely l and l+r corresponding to a predefined ontological subjects of order l and l+r;
identifying at least one plurality of ontological subjects, wherein said at least one plurality of ontological subjects assigned with a predefined order namely k;
constructing at least a first set of data structures corresponding to at least one participation matrix of order namely kl representing participation of some of said ontological subjects of predefined order k into some of said partitions, assigned with predefined order l, by having a non-zero value in the corresponding entries of the participation matrix
at least one first ordered array of data, said order is recognized by a predefined combination of characters wherein said ordered array of data represents participation of some of said ontological subjects of predefined order k into some of said partitions assigned with predefined order l or l+r, by having a non-zero value in the corresponding entries of the ordered array of data; and
constructing at least a second set of data structures corresponding to at least one second participation matrix of order namely l(l+r)l representing participation of some of said partitions of predefined order l into some of said partitions of predefined order l+r, by having a non-zero value in the corresponding entries of the participation matrix,
storing at least one of said the first or the second set of data structures onto one or more non-transitory computer readable medium.