# Patent

## Title
Method and an apparatus for automatic semantic annotation of a process model

## Abstract

An apparatus and a method for automated semantic annotation of a process model having model elements named by natural language expressions, wherein said apparatus comprises at least one semantic pattern analyzer which analyses the textual structure of each natural language expression on the basis of predefined semantic pattern descriptions to establish a semantic linkage between each model element to classes and instances of a reference process ontology for generating a semantically annotated process model.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
This application claims the benefits of the provisional U.S. application 61/036,171 filed Mar. 13, 2008. The provisional U.S. application 61/036,171 is incorporated by reference herein in its entirety.


FIELD OF INVENTION
The invention relates to a method and an apparatus for automatic semantic annotation of a process model which comprises model elements named by natural language expressions.
TECHNICAL BACKGROUND
In organizations processes are described by comprehensive process designs. A business process is a set of coordinated activities, conducted by both humans and technical resources, with the objective to achieve a specific goal. Process designs are represented as process models in a particular modelling language, usually depicted by a graph of activities and their causal dependencies.
Besides a documentation of existing processes, the design of process models may have several, additional motivations that can be clustered into motivations that accomplish the organizational design or the development of information technology systems. Process descriptions support process design by enabling the identification of flaws in existing processes, by optimizing and by monitoring existing processes. Concerning the design of an IT-Infrastructure, process models play a vital role for the specification and configuration of software systems. Another important role denotes the usage for workflow management systems wherein process models specify executable workflows.
Hence, process models are input for semantic analysis activities that address organizational or information technology aspects. Semantic analysis activities comprise the comparison of process models, the calculation of process model metrics, the extraction of a common sense process vocabulary and queries on process models.
The comparison of process models is a semantic analysis activity which addresses the identification of similar or equal process activities in process descriptions. Model comparison can be used to specify a metric that defines a similarity measure between reference processes and organizational specific processes, for example. Reference processes describe common or best practice process solutions. Further, the comparison of process models enables to identify structural analogies in process models that may be an indicator for process patterns.
The calculation of process model metrics is performed to calculate model metrics which can be used to determine a process model quality by calculating a measure that determines the complexity. The model complexity can be defined by a number of logical connectors, a number of different activities, relationships between input and output objects, or a number of different roles associated with process activities.
In large organizations, the design of process models is realized by a number of process modelers. This implies a certain subjectivism concerning the naming of activities and information objects by using synonyms, not standardized abbreviations, for example.
Queries on process models enable answers to question such as:

    
    
        Which activity is triggered by a certain event?
        How is an activity decomposed into sub-processes?
        Which roles are involved in a certain activity?
        What is the required input, the delivered output of a process activity?
        What are the preconditions necessary to perform a specific activity?
    
    


Such semantic analyses of process models can be conducted manually by human experts or can be performed automatically. Automated semantic analyses require a machine-readable process description with a formalized semantics of the model structure, the process elements and its descriptions.
One of the most popular process modelling language denotes the Event-driven Process Chain (EPC) modelling language. It has gained a broad acceptance and popularity both in research and in practice. An EPC Model is a directed and connected graph whose nodes are events, functions and logical connectors which are connected by control flow arcs. Functions represent the time and cost consuming elements by performing tasks on process objects (e.g. the task “Define” is performed on the Process Object “Software Requirements”). Each function has exactly one ingoing and one outgoing arc. Further, a function transforms a process object from an initial state into a resulting state captured by events that represent the passive elements. The state information is also bound to a text phrase (e.g. “Requirements Defined”). Each event has at most one ingoing and at most one outgoing arc. A connector can be either an AND-, an OR-, or an XOR-connector. A connector has multiple ingoing arcs and one outgoing arc (join), or it has one ingoing arc and multiple outgoing arcs (a split).
Conventional EPC model can be annotiated as follows:
N is a set of nodes and A⊂N×N is a binary relation over N, the arcs. Each node nεN has a set of ingoing arcs
nin={(x,n)|(x,n)εA} and a set of outgoing arcs
nout={(x,y)|(x,y)εA}.
An EPC Model is formally defined by a tuple M=(E, F, C, l, A, n, id) consisting of

    
    
        three pairwise disjoint sets E (Event), F (Function), and C (Connector),
        a mapping |:C→{and, or, xor) and
        a binary relation of control flow arcs
        A⊂(E∪F∪C)×(E∪F∪C) such that
        
            |ein|≦1 and |eout|≦1 for each eεE,
            |fin|=|fout|=1 for each fεF, and
            either |cin|>1 and |cout|=1 or |cin|=1 and |cout|>1 for each cεC
        
        
        a function n:(E∪F)→String that is the name for an event or function
        a function id:(E∪F)→Integer that is a unique identifier for an event or function
    
    


The following sets of connectors are defined:
Split Connectors:

    
    
        Cas={cεC|l(c)=and |cin|=1}
        Cos={cεC|l(c)=or |cin|=1}
        ×Cxs={cεC|l=xor |cin=1}
    
    


Join connectors:

    
    
        Caj={cεC|l(c)=and |cout|=1}
        CoJ={cεC|l(c)=or |cout|=1}
        ×CxJ={cεC|l(c)=xor |cout|=1}
    
    


Further, EPC models consider the following additional syntactical restrictions:

    
    
        each EPC starts and ends with one or more events,
        an EPC contains at least one function,
        an EPC can be composed of several EPCs,
        an event cannot be the predecessor or the successor of another event,
        a function cannot be the predecessor or the successor of another function,
        each OR-split and each XOR-split connector should be preceded by a function,
        there should be no cycle of control flow that consist of connector nodes only.
    
    


FIG. 1 illustrates an example for a conventional EPC model. It consists of seven EPC-Events and five EPC-Functions whose control flow considers the following split connectors: one “or” one “and” and one “xor”, and the following split connectors: one “and” and one “xor”. The EPC-Function with the ID “03” is named with by the string “Define Software Requirements With Customer”. Further, the model has two start events, namely “software Project Authorized” and “Customer Received”. This means, that the succeeding functions will be executed if at least one or both of the two events occur. This logic is implied by the “or” join connector. The model concludes with the end event “Software Development Project Planned”. This means that the described process achieves the state “Planned” for the process object “Software Development Project”.
Using conventional EPC models for process descriptions as a basis for automatable semantic analysis activities faces one significant problem. EPC models are semi-formal process descriptions. This means that the implicit semantics of names for EPC-Functions and Events is bound to natural language expressions. The EPC modelling language suggests naming conventions or guidelines that specify the syntax for text clauses used for naming EPC-Functions and Events. Main objective of naming conventions is to specify syntactical rules that must be complied in order to reduce the subjectism of process modelers. Thus naming conventions care for a standardization regarding the naming of EPC-Functions and Events.
Hence, semantic analyses of EPC models require to resolve in a first step the meaning of names that can be understood by a computer. Resolving addresses the identification of relevant process information and its associated meaning implicitly captured by a name. To achieve a unique meaning of the names that describe EPC-Functions and Events, they can be semantically annotated. Semantic annotation links each EPC-Function and Event to entries of a process knowledge base that captures the semantics of used names.
As a further example “Define Software Requirements with Customer” is a possible name for an EPC-Function. This name consists of the task “Define” that is performed on the process object “Software Requirements”. The process object “Software Requirements” is a specialization of the general process object “Requirements”. The process object “Customer” indicates a parameter for that task, since this task is performed in a cooperate manner with a customer. If the name would be “Define Software Requirements for Customer” then the parameter has a different meaning since the customer indicates the target of the performed activity.
A conventional process for semantic annotation of EPC models neglects the implicit semantics of EPC functions and events.
It is an object of the present invention to provide a method and an apparatus for an automatic semantic annotation of a process model considering the implicit semantics of named process elements.
SUMMARY OF THE INVENTION
The invention provides a method for automatic semantic annotation of a process model which comprises model elements named by natural language expressions, wherein a textual structure of each natural language expression is analyzed on the basis of predefined semantic pattern descriptions to establish a semantic linkage between each model element to classes and instances of a reference process ontology for generation of a semantically annotated process model.
In a possible embodiment of the method according to the present invention, the reference process ontology is formed by a lexical knowledge base comprising a vocabulary used for model elements and a process knowledge base comprising process semantics of model elements.
In an embodiment of the method according to the present invention, the process model is formed by an EPC (Event Process Chain) model, an UML (Unified Model Language) model or a Petri-Network.
In an embodiment of the method according to the present invention, each semantic pattern description comprises a semantic pattern template of a model element, a set of template structures, and a set of analysis rules.
In an embodiment of the method according to the present invention the semantic pattern template is formed by a domain name and an ordered tuple of variables each pointing to a class of said process knowledge base within said reference process ontology and to an instance of said class.
In an embodiment of the method according to the present invention, an analysis rule is formed by a precondition which compares template structures with term structures extracted from natural language expressions and an operator that generates one or several instances of semantic pattern templates which are assigned to a model element of said process model.
In an embodiment of the method according to the present invention a named process element is a function provided for performing a task on a process object to transform said process object from an initial state to a resulting state or an event comprising a text clause.
In an embodiment of the method according to the present invention for each named model element for said process model a linguistic normalization of its natural language expression is performed by a term normaliser to generate a semantic label of said model element.
In an embodiment of the method according to the present invention a semantic pattern analysis of each generated semantic label is performed by a semantic pattern analyser to generate an ordered set of tuples containing instances of semantic pattern templates by using analysis rules of semantic pattern description.
In an embodiment of the method according to the present invention the instantiated semantic pattern templates are assigned to the respective model element to generate the semantically annotated process model.
In an embodiment of the method is performed by executing a computer program.
In an embodiment the computer program is loaded from a data carrier storing the computer program.
The invention further provides a method for automatic semantic annotation of a process model having model elements named by natural language expressions comprising the steps of:
performing a linguistic normalization of the natural language expressions to generate a semantic label for each named model element of said process model; and
performing a semantic pattern analysis for each generated semantic label to establish a semantic linkage between each model element to classes and instances of a reference process ontology.
The invention further provides an apparatus for automated semantic annotation of a process model having model elements named by natural language expressions, wherein said apparatus comprises at least one semantic pattern analyser which analyses the textual structure of each natural language expression on the basis of predefined semantic pattern descriptions to establish a semantic linkage between each model element to classes and instances of a reference process ontology for generating a semantically annotated process model.
In a possible embodiment, the apparatus according to the present invention further comprises a term normaliser which performs the linguistic normalisation of said natural language expressions of said named model elements to generate a semantic label for each named model element of said process model.
In an embodiment of the apparatus according to the present invention, the apparatus further comprises a term normaliser which performs a linguistic normalisation of said natural language expression of said named model element to generate a semantic label for each named model element of said process model.
In an embodiment of the apparatus according to the present invention said apparatus further comprises a memory for storing said reference process ontology consisting of a lexical knowledge base comprising a vocabulary used for model elements and a process knowledge base comprising process semantics of model elements.
The invention further provides an apparatus for automating a semantic annotation of a process model having model elements named by natural language expressions comprising:

    
    
        means for performing a linguistic normalisation of the natural language expression to generate a semantic label of the corresponding model element, and
        means for performing a semantic pattern analysis of said generated semantic label to generate an ordered set of tuples containing instances of semantic pattern templates using analysis rules of a semantic pattern description.
    
    





DESCRIPTION OF THE ENCLOSED FIGURES
FIG. 1 shows an example of an conventional EPC model according to the state of the art;
FIG. 2 shows a block diagram of an apparatus for automated semantic annotation as an exemplary embodiment of the present invention;
FIG. 3 shows an exemplary process ontology for capturing semantics of the process model as employed by the method an apparatus according to the present invention;
FIG. 4 shows an exemplary embodiment of the process knowledge base as employed by the method and apparatus according to the present invention;
FIG. 5 shows concepts and relations of a lexical knowledge base as employed by the method and apparatus according to the present invention;
FIG. 6 shows an example for entries of a lexical knowledge base shown in FIG. 5;
FIG. 7 shows an example for a semantically annotated EPC function;
FIG. 8 shows an example for a label extracted by a term normaliser of an apparatus according to the present invention;
FIG. 9 shows a flow chart for generation of labels as performed by a method according to the present invention;
FIG. 10 shows a further flow chart for generation of instantiated semantic pattern templates as performed by a method according to the present invention;
FIG. 11 illustrates the matching between a term structure and template structure as employed by the method an apparatus according to the present invention;
FIG. 12 illustrates the binding of template variables as performed by the method an apparatus according to the present invention.



DETAILED DESCRIPTION OF EMBODIMENTS
In the following, possible embodiments of the method apparatus for the automatic semantic annotation of a process model, in particular of an EPC process model, are described with reference to the enclosed figures.
FIG. 2 shows a block diagram of an exemplary embodiment of an apparatus 1 for automated semantic annotation of a process model according to the present invention.
As can be seen in FIG. 2, the apparatus 1 comprises a semantic pattern analyser 2 which analyses the textual structure of a natural language expression on the basis of predefined semantic pattern descriptions to establish a semantic linkage between each model element of a process model to classes and instances of a reference process ontology for generating a semantically annotated process model. As can be seen from FIG. 2 the apparatus 1 further comprises a term normaliser 3 which performs a linguistic normalisation of natural language expressions of named model elements to generate a semantic label for each named model element of said process model. The apparatus 1 according to the embodiment shown in FIG. 2 further comprises a memory 4 for storing the reference process ontology consisting of a lexical knowledge base 4A comprising a vocabulary used for model elements and a process knowledge base 4B comprising process semantics of model elements.
As can be seen in FIG. 2 the apparatus 1 receives at an input interface 5 a process model such as an EPC model. The EPC model comprises model elements named by natural language expressions such as functions and events. The function can be provided for performing a task on a process object to transform the process object from an initial state to a resulting state. The functions or events within the EPC model comprise text clauses. For each named model element such as an event or a function of the process model the linguistic normalisation of its natural language expression is performed by the term normaliser 3 to generate a semantic label L of the respective model element. The term normaliser 3 forwards the label L to the semantic pattern analyser 2. The semantic pattern analyser 2 performs a semantic pattern analysis for each generated semantic label L to generate an ordered set of tuples containing instances of semantic pattern templates by using analysis rules of a semantic pattern description as shown in FIG. 2. Each semantic pattern description comprises a semantic pattern template of a model element a set of template structures and a set of analysis rules.
In a possible embodiment, a semantic pattern template is formed by a domain name and an ordered tuple of variables each pointing to a class of the process knowledge base 4B within the reference process ontology and to instance of the respective class.
In a possible embodiment the template structure is formed by a unique identifier and an ordered tuple of variables each pointing to a class of said process knowledge base 4B within the reference process ontology and to an instance of the respective class.
In a possible embodiment an analysis rule within the semantic pattern description 6 can be formed by a precondition which compares template structures with term structures extracted from natural language expressions and an operator that generates one or several instances of semantic pattern templates which are assigned to a model element of the process model.
As can be seen from FIG. 2 the apparatus 1 for automatic semantic annotation performs in a first step a linguistic normalisation of the natural language expressions to generate a semantic label L for each named model element of the process model and then performs a semantic pattern analysis in a second step for each generated semantic label L to establish a semantic linkage between each model element to classes and instances of the reference process ontology stored in the memory 4. The semantic pattern analyser 2 generates the ordered set of tuples containing instances of the semantic pattern templates by using analysis rules of the semantic pattern description 6. The instantiated semantic pattern templates are then assigned to the respective model elements to generate the semantically annotated process model which is output by the apparatus 1 via an output interface 7. In the embodiment shown in FIG. 2 the apparatus 1 processes an EPC model to generate a semantically annotated EPC model. In an alternative embodiment of the present invention the apparatus 1 can process a UML (Unified Model Language) model or a Petri-Network. The apparatus 1 according to the present invention as shown in FIG. 2 can process any kind of process model which comprises model elements named by natural language expressions, i.e. which comprises model elements including text clauses.
The method for a semantic annotation of model elements such as functions and events uses a reference ontology and semantic pattern descriptions. The reference ontology stored in memory 4 provides concepts and relations whose instances capture both the vocabulary (lexical knowledge) used to name Functions and Events and its process semantics (process knowledge). Thus, it serves as a common knowledge base for semantically annotated Functions and Events.
Lexical knowledge stored in the lexical knowledge base 4A comprises morphological and syntactic knowledge about used vocabulary. Morphological knowledge relates to word inflections such as single/plural form of a noun, past tense of verbs. Syntactic knowledge comprises word class information and binary features such as countable/uncountable. Additionally, the lexical knowledge base explicitly considers domain information and relationships such as is AcronymOf and is SynonymTo between entries. Domain information refers to application domains such as software or hardware development.
Process knowledge stored in the process knowledge base 4B represents the semantic domain for used names. The process semantics are expressed by instances of process ontology concepts such as task, process object and its semantic relationships such as is Part Of or is KindOf.
The semantic pattern descriptions 6 consist of template structures that bridge the gap between informal and formal representation. The informal representation refers to vocabulary used by names to describe EPC-Functions and Events, formal representation refer to concepts specified by a reference ontology. The semantic pattern descriptions 6 are either defined for EPC-Functions or for Events.
FIG. 2 depicts the overall architecture of a embodiment of an apparatus 1 for semantic annotation for EPC models. Text clauses are input for the term normaliser 3 that extracts terms and normalizes them by using the lexical knowledge base 4A. The semantic pattern analyzer 2 evaluates the structure of normalized terms against predefined naming conventions that are expressed formally by semantic pattern templates assigned to the semantic pattern descriptions 6. Thus the semantic linkage between names and entries of the knowledge base is realized by binding knowledge base entries to variables of a semantic pattern template.
The process knowledge base 4B captures the meaning respectively the process semantics of EPC-Functions and
Events. Its structure is described by an ontology O:=(C,≦c,R,σ) that specifies the concepts, relations and axioms for the process knowledge base.
An ontology is a structure O:=(C,≦c,R,σ) consisting of

    
    
        two disjoint sets concepts (C) and relations (R) whose elements are called concepts and relations,
        a partial order ≦c on C, called concept hierarchy,
        a function σ:R→C×C, called signature, where σ(r)=<dom(r), ran(r)> with rεR, domain dom(r), and range
        
            ran(r),
        
        
    
    


A partial order ≦c is defined as follows: if c1<cc2, for c1, c2εC, than c1 is a subconcept of c2, and c2 is a superconcept of c1. If c1<cc2 and there is no c3εC with c1<cc3<cc2, then c1 is a direct subconcept of c2, and c2 is a direct superconcept if c1. This is denoted as c1<c2.
The schema of the process knowledge base 4B is based on the semantic process elements EPC-Functions and Events. According to the EPC specification, an EPC-Function comprises one or more tasks that are executed on one or more process objects. A process object PO represents a central concept in process modelling. It represents something of interest within a process domain. A task can be performed manually or by a service automatically and can require one or more parameters.
FIG. 3 depicts a possible process ontology that has a structure Opro:=(CPro, ≦CPro, RPro, σPro) consisting of:
Concepts CPro:

    
    
        {ApplicationDomain, EPCEntity, Task, ProcessObject, State, Parameter, StateValue}
    
    


Concept Hierarchy ≦CPro:

    
    
        {(EPCEntity,ApplicationDomain), (Task,EPCEntity), (ProcessObject,EPCEntity), (State,EPCEntity)}
    
    


Relations RPro: P1 {hasApplicationDomain, hasSubTask, is PerformedOn, hasOptionalTaskParameter, is Part Of, migratesTo, is SpecifiedBy, is SpecializationOf, isStateFor, hasState, hasSubState, is OfParameterType, hasOptionalStateParameter, hasLocalState, hasStateValue)}
Signature of Relations GPro:

    
    
        {hasApplicationDomain→(EPCEntity, ApplicationDomain),
        hasSubTask→(Task, Task),
        isPerformedOn→(Task, ProcessObject),
        hasOptionalTaskParameter→(Task, ProcessObject),
        isPartOf→(ProcessObject, ProcessObject),
        migratesTo→(ProcessObject, ProcessObject),
        isSpecifiedBy→(ProcessObject, ProcessObject),
        isSpecializationOf→{ProcessObject, ProcessObject),
        isStateFor→(State, ProcessObject),
        hasState→(ProcessObject, State),
        hasOptionalStateParameter→(State, ProcessObject),
        hasOptionalProcessObject→(StateValue, ProcessObject),
        hasStateValue→(State,StateValue),
        isOfParameterType→(ProcessObject, Parameter)}
    
    


An application domain as shown in FIG. 3 is an overall name for a domain a process is associated with such as a process for software development. The concept EPCEntity is classified either into a Task (e.g. “Define”), a Process Object (e.g. “Software Requirements”) or a State (“Identified=True) concept. A Task can be performed electronically by a service (e.g. Web Service) for achieving a desired objective. It can be specified at different levels of abstraction, refinements or specializations that are expressed by the semantic relationship hasSubTask.
A Process Object as shown in FIG. 3 represents a real or an abstract thing being of interest within a process domain. The concept for describing a Process Object has the semantic relations is Part Of, is KindOf and migratesTo. The semantic relationship is SpecilizedBy refers to a process object, if the following two conditions hold (1) a process object is kind of a more abstract process object and (2) the process object is specialized by another process object.
A State as shown in FIG. 3 refers to a Process Object indicating the state that results from performing a Task on a Process Object. State information indicates an attribute (is Attribute) for a Process Object with an assigned attribute value captured by the concept State Value.
A Parameter indicates a Process Object that may be relevant for a task execution or a state description. The concept Parameters comprises a finite set of parameter instances such as Source Direction Parameter, Target Direction Parameter, Means Parameter, Dependency parameter.
The process knowledge base is a structure KBPro:=(OPro,Ipro,icPro,iRPro,idPro,nPro) consisting of

    
    
        OPro as defined above,
        a set IPro whose elements are called instance identifiers (or instances for short),
        a function iCPro:CPro→(IPro), called concept instantiation, a function iRPro: RPro→(IPro2) with iRPro(rPro)⊂ipro(dom(rpro))×iCPro(ran(rPro)), for all rεR. The function iRPro is called relation instantiation,
        a function idPro→Integer where idPro indicates a unique identifier for an instance,
        a function nPro:IPro→ILex where nPro is the instance name, mapped to a root entry of the lexical knowledge base.
    
    


FIG. 4 illustrates an example for knowledge base entries that capture the meanings of the text clause “Define Software Requirements With Customer” used for naming an EPC-Function and “Software Requirements Defined With Customer” used for naming an EPC-Event.
Process Knowledge Base Entries IPro:

    
    
        {Software Development, Define, Customer, MeansParameter, Software Requirements, Software, identified, identified=True, Requirements}
    
    


Instantiated Concepts iCPro:

    
    
        (ApplicationDomain→{Software Development},
        Task→{Define},
        ProcessObject→{Customer},
        Parameter→{MeansParameter},
        ProcessObject→{Software Requirements, Software, Requirements},
        State→{identified},
        StateValue→{identified=True}),
    
    


Instantiated Relations iPro:

    
    
        (hasApplicationDomain→{(Define, Software Development), (Customer, Software Development), . . . }
        isPerformedOn→{(Define, Software Requirements)},
        hasOptionalTaskParameter→{(Define, Customer)},
        isSpecifiedBy→{(Software Requirements, Software)},
        isSpecializationOf→{(Software Requirements, Requirements)},
        isStateFor→{(identified, Software Requirements)},
        hasState→{(Software Requirements, identified)},
        hasOptionalStateParameter→{(identified, Customer)},
        hasStateValue→{(identified, identified=True)},
        isOfParameterType→{(Customer, MeansParameter)})
    
    


Unique identifiers for instantiated Concepts idpro:

    
    
        {Software Development→(1), Define→(2), Customer→(3), Software Requirements→(4), Software→(5), Identified→(6), Requirements→(7))
    
    


Names for Instantiated Concepts nPro:

    
    
        {Software Development→(“Software Development”), Define→(“Define”), Customer→(“Customer”), Software→Requirements→(“Software Requirements”), Software→(“Software”), Identified→(“Identified”) Requirements→(“Requirements”)).
    
    


The rationale behind the lexicon is, i.e. a lexical knowledge base 4A, to provide a lightweight, controlled domain vocabulary for naming entries of the process knowledge base KBPro. Lexical knowledge comprises morphological and syntactic knowledge of vocabulary used for naming entries of the process knowledge base 4B. Morphological knowledge relates to word inflections such as single/plural form of a noun, active and passive of verbs. Syntactic knowledge comprises word class information and binary features such as countable/uncountable.
Publicly available resources such as WordNet database 8 as shown in FIG. 2 may provide commonsense vocabulary. In general, such open world dictionaries can comprise several hundred thousand open world entities and semantic relationships. A domain specific controlled vocabulary may comprise only several hundred entities that can be maintained easier.
The lexicon ontology is an ontology as defined above. Further, lexical concepts are mapped to process ontology concepts and lexical entries are mapped to process knowledge base entries. Therefore, a lexicon ontology is a structure OLex:=(O,MC,M1) where

    
    
        Mc is a set of concept mappings such that mCiεMC:CLex→CPro called predefined mapping of concepts between lexicon and process knowledge base,
        M1 is a set of instance mappings such that mI1εM1:ILex→Pro called mapping of instances between lexicon and process knowledge base
    
    


FIG. 5 depicts a possible embodiment of a lexicon ontology that is a structure as follows:
Concepts Ca:

    
    
        {WordEntity, ApplicationDomain, Number, MathematicalOperator, Adverb, Adverbsynset, Conjunction, Preposition, Adjective, AdjectiveSynset, NounPhrase, NounPhraseSynset, Attributes, Noun, NounSynset, Verb, ActiveVerb, ActiveVerbSynset, PassiveVerbSynset}
    
    


Concept Hierarchy ≦cLex:

    
    
        {(Number, WordEntity), (MathematicalOperator,WordEntity), (Adverb, WordEntity), (Conjunction, WordEntity), (Preposition, WordEntity), (Adjective, WordEntity), (NounPhrase, WordEntity), (Noun, WordEntity), (Verb, WordEntity), (ActiveVerb, Verb), (PassiveVerb, Verb)}
    
    


Relations RLex 

    
    
        [hasApplicationDomain, hasAdverbSynset, hasAdjectiveSynset, hasAdjective,
        hasNounPhraseSynset, hasNoun, hasAttribute, hasNounSynset, is PluralOfNoun,
        is AcronymOfNoun, is PluralOfNounPhrase, isAcronymOfNounPhrase, is ActiveVerbOf,
        is PassiveWordOf, hasPassiveVerbSynset, hasActiveVerbSynset
    
    


Signature of Relations σLex:

    
    
        {hasApplicationDomain→(WordEntity, ApplicationDomain),
        hasAdverbSynset→(Adverb, AdverbSynset),
        hasAdjectiveSynset→(Adjective, AdjectiveSynset),
        hasAdjective→(NounPhrase, Adjective),
        hasNounPhraseSynset→(NounPhrase, NounPhraseSynset),
        hasNoun→(NounPhrase, Noun),
        hasAttribute→{(NounPhrase, Attribute), (Noun, Attribute)},
        hasNounSynset→(Noun, NounSynset),
        isPluralOfNoun→(Noun, Noun),
        isPluralOfNounPhrase→(NounPhrase, NounPhrase),
        isAcronymOfNoun→(Noun, Noun),
        isAcronymOfNounPhrase→(NounPhrase, NounPhrase),
        isActiveVerbOf→(ActiveVerb, PassiveVerb),
        isPassiveVerbOf→(PassiveVerb, ActiveVerb),
        hasPassiveVerbSynset→(PassiveVerb, PassiveVerbSynset),
        hasActiveVerbSynset→(ActiveVerb, ActiveVerbSynset)
    
    


The top-level concept Application Domain shown in FIG. 5 is a set of application domain names the lexical entry refers to. A Word Entity classifies a lexical entry either into a Number, Mathematical Operators, Verb, Adverb, Adjective, Noun, NounPhrase, Preposition, Conjunction and has set of instances of the concept Application Domain assigned. The concepts Mathematical Operators, Conjunction and Preposition represent concepts with a finite set of initial instances.
The concept Mathematical Operators has the following set of finite instances: {for each, equal, greater than, smaller than, equal), a Conjunction comprises the instance {and}, a Preposition concept has the instances {from, of, upon, with, for}.
A Verb is either an Active Verb or a Passive Verb. The concepts Active Verb and Passive Verb are interrelated by a bidirectional relationship described by is ActiveWordOf and is PassiveWordOf. A Noun is related by following relationship set: is PluralOf, is AcronymOf, hasNounPhraseSynset. Additionally, a Noun has a set of Attributes (countable/uncountable, singular/plural). A NounPhrase consists optionally of an adjective followed by instances of nouns.
Each of the concepts Adverb, ActiveVerb, PassiveVerb, NounPhrase, Adjective have a synset assigned that captures instances of synonyms.
FIG. 6 illustrates an example for lexical entries that capture the vocabulary of the text clause “Define Software Requirements With Customer” used for naming an EPC-Function and “Software Requirements Defined With Customer” used for naming an EPC-Event. Please note, that these entries denote the vocabulary used for naming instances captured by the process knowledge base.
Lexical Entries ILex:

    
    
        {“Software Development”, “Define”, “Defined”, “Software Requirements”, “SW Requirements”, “Software”, “Requirements”, “With”, “SW”, “Customer”, “Client”, “Specified”, “Plural”, “Countable”)}
    
    


Instantiated Concepts iCLex:

    
    
        (ApplicationDomain→{Software Development}, ActiveVerb→{Define}, PassiveVerb→{Defined}, NounPhrase→{Software Requirements}, Noun→{Software, SW, Customer, Requirements}, Preposition→{With}, NounSynset→{Client}, NounPhraseSynset→{SW Requirements}, PassiveVerbSynset→{Specified}, Attribute→{Singular, Countable)}
    
    


Instantiated Relations iRLex:

    
    
        (hasApplicationDomain→{(Define, Software Development), (Defined, Software DevelopmenD, . . . },
        isActiveVerbOf→{(Define, Defined),
        isPassiveVerbOf→{(Defined, Define)},
        hasPassiveVerbSynset→{(Defined, Specified)},
        hasNounPhraseSynset→{(Software Requirements, SW Requirements)},
        consistsOf→{(Software Requirements, Software), (Software Requirements, Requirements)),
        hasAttribute→{(Requirements, Plural), (Requirements, Countable)),
        hasAcronym→{(Software, SW)},
        hasNounSynset→{(Customer, Client)}).
    
    


Mapping of Lexical Entries to Process Knowledge Base Entries MI:

    
    
        {“Software Development”→(1), “Define”→(2), “Customer”→(3), “Software Requirements”→(4), “Software→(5), “Identified”→(6), “Requirements”→(7)}
    
    


The lexical knowledge (morphological and syntactic knowledge) is decoupled from process knowledge. The textual counterpart for naming entries of the process knowledge base 4B is realized by the lexical knowledge base 4A.
The mapping between lexical entries and process knowledge base entries relies on some predefined rules expressed by naming conventions. Such conventions define a grammar or a pattern that specifies how EPC-Functions and Events should be named. A naming convention bridges the gap between the syntax of used terms and its semantics by mapping concepts and instances of the lexicon to concepts and instances of the process knowledge base.
A pattern is an ordered combination of pairs (n-tuple of pairs) whereas each pair consists of a word type and its semantic category (concept of the process knowledge base) it is mapped to. A pattern like ([Active Verb=Task] [Noun=ProcessObject]) can be matched to the text clause “Define Requirements” used to name an EPC-Function to extract task and process object information.
By using naming conventions expressed by patterns, the method according to the present invention achieves fast and efficient text processing by directly mapping terms to its meaning. Based on an empirical study of about 5,000 EPC-Functions and Events in engineering domains that were named by the English language, the following common naming conventions for EPC-Functions and Events have been detected. Due to the introduced generic approach for semantic annotation, additional conventions can easily be considered, respectively integrated in the whole architecture, independent of the used language.
Basically, an EPC-Function should be named by a text phrase following the pattern ([Active Verb=Task] [Noun=Process Object]). The term t1 (“Define”) has the semantics of a task, t2 (“Project Plan”) indicates a process object. Hence, a task is always mapped to an active verb.
The term for the description of a process object (PO) is expressed by a single noun or a noun phrase. A noun phrase denotes a composition of nouns that may have optionally an adjective. As a general rule refinements of process objects should be named with additional nouns or adjectives and stop words are omitted as far as possible. For example the noun “Requirements” can indicate an abstract process object. Terms meaning refinements of this process object should be named “Software Requirements” or “Hardware Requirements” and not “The Requirements For Software” or “Requirements Of Software”, for example. This guideline can be expressed by the pattern ([Active Verb=Task] [NounPhrase=Process Object]). This implies automatically that an active verb associates to a task, a noun phrase to a process object.
A naming convention for the definition of parameters plays a role since they may adopt a different meaning. The different types of parameters are already discussed by the process knowledge base concepts.

    
    
        “Derive Quality Goal from Specification Document” indicates “specification Document” as a Source Direction Parameter. The meaning of a Source Direction Parameter is derived from the preposition “from” that refers to a succeeding process object.
        “Rework Specification for Project Plan” specifies “Project Plan” as a Target Direction Parameter, since the process object “Project Plan” is the target of task execution. It is derived from the preposition “for”.
        “Rework Specification with Software Goals” indicates “Software Goals” as a Means Parameter. The process object “Software Goals” has the meaning of a necessary input for the task “Rework”. Such a parameter is determined by the preposition “With”.
        “Decide Quality Measure Upon Review Status” specifies “Review Status” as a Dependency Parameter. This means that the task “Decide” depends on the process object “Review Status”. This parameter type is determined by the preposition “Upon”.
    
    


Using parameters in text phrases can follow the pattern ([Active Verb=Task][Noun=Process Object] [Preposition=Parameter] [Noun=Process Object]).
The semantic elements for an EPC-Event can capture state information of a process object. According to an EPC-Function, an Event may have also have one or more parameters the state refers to. Hence, the guidelines for naming process objects and parameters matches with the conventions proposed for EPC Functions.
State information can be expressed by a word being either a passive word or an adjective word followed by a process object. The text clause “Project Plan Defined” comprises the term t1 (“Project Plan”) and t2 (“Defined”) that indicates state information for the process object “Project Plan”. This guideline can be expressed by the patterns ([Noun Phrase=Process Object] [Passive Verb=State]) or ([Noun Phrase=Process Object] [Adverb=State]).
Another rule denotes the naming of trivial events. A trivial event refers to a local state that results directly from an EPC Function and both Function and Event refers to the same process object. The EPC-Event “Project Plan Defined” indicates a trivial Event for the Function named “Define Project Plan”, for example. The naming of a trivial event follows the rule that the state information indicates the passive form of the active verb used by a text phrase that describes an EPC-Function.
In many cases, textual description for an EPC-Function or Event refers to more than one task or state and/or to more than one process object and/or more than one parameter. Such combinations can be expressed by an “And” conjunction used between active and passive words and nouns or noun phrases.
As already indicated above, a lexicon is defined as a structure OLex:=(O, MC,M1). The set MC consists of mappings between lexicon concepts and process knowledge base concepts, the set M1 has mappings between lexicon entries and process knowledge base entries. Based on above discussed naming conventions, the following predefined mappings are defined:
MC:={(CLex(AVerb)→CPro(Task)),(CLex(PVerb,Adverb)→CPro(State)),(CLex(Noun)→CPro(ProcessObject)),(CLex(NounPhrase)→CPro(ProcessObject)),(CLex(Adjective,Noun)→CPro(ProcessObject)),(CLex,(Preposition)→CPro(Parameter))}. Mc:={(ILex(“For”,“To”)→IPro(TargetDirectionParameter)),(ILex,(!From”,“Of”)→IPro(SourceDorectopmÜara,eter)),(ILex(“With”)→IPro(MeansParameter)),ILex(“Upon”)→IPro(DepndencyParameter))}
The Semantic pattern descriptions 6 as shown in FIG. 2 enable to formalize predefined naming conventions by specifying semantic pattern templates and template structures for EPC-Functions and Events. Term structures extracted from names used to describe EPC-Functions and Events are matched against these predefined pattern descriptions in order to determine the meaning of each term. Finally, the meaning of each term is bound to semantic pattern variables in order to establish the semantic linkage between EPC-Functions and Events and process knowledge base entries.
Formally, a semantic pattern description 6 is given as a tuple SPD :=(S, TR) consisting of

    
    
        S that defines the semantic pattern template,
        TR is a set of pairs ({ti, rj}|(T={t1, . . . tn}, R={r1, . . . rn}) where tiεT and rjεR), T is a set of template structures and R is a set of analysis rules.
    
    


A semantic pattern template is a tuple S:=(C,V) consisting of

    
    
        C is the domain name, such as Software or Hardware.
        V is a set of ordered n-tuples {v1, vi, . . . , vn} where i≦n. A variable viεV is a pair (cPro, iPro) where ciεcPro is a variable name that points a KBPro concept and iProεIPro is a value for ci that points to an instance of the concept ci refers to.
    
    


The notation SE is used to indicate a semantic pattern template for an EPC-Event, SF for a semantic pattern template assigned to an EPC Function. The following notation for concepts of the process knowledge base can be used:{(TA=Task), (PO=Process Object), (PA=Parameter), (ST=State)}.
A semantic pattern template for an EPC-Function comprises a Task (TA) that is performed on a Process Object (PO) which may have optionally a Parameter (PA).
This semantic pattern template is defined as SF (Domain=?):={[V1(CPro(TA),iPro(?))],[V2(CPro(PO),iPro(?)];[V3 (CPro(PO),iPro(?))],[V4(CPro(PO),iPro(?))]}.
It consists of an ordered set of four tuples with the variables V={v1, v2, v3, v4}. The question mark indicates an unbounded template. Such a semantic pattern template is instantiated by binding values to each variable and to the domain. Thus, a bound semantic pattern template realizes the semantic linkage between an EPC-Function and Event and its meaning.
FIG. 7 illustrates an example how the EPC-Function “Define Requirements” is semantically annotated by a bounded semantic pattern template which has the two variables v1 and v2. The variable V1(CPro) points to the process ontology concept Task, V1(iPro) has is bound to the process knowledge base entry with ID(12) that is lexically represented by the lexicon entry “Define”; the variable V2(CPro) points to the process ontology concept Process Object, V2(iPro) is bound to the process knowledge base entry with the ID(23) that is lexically represented by the lexicon entry “Requirements”.
The semantic pattern template predefined for an EPC-Event is based on the process knowledge base concepts Process Object and State that optionally refers to a Parameter. This semantic pattern template is defined as following template having also four variables:
SE(Domain=?):={[V1(CPro(PO),iPro(?))],[V2(CPro(ST),
iPro(?)];V3(CPro(PA),iPro(?))], [V4(CPro(PO),iPro(?))]}
Each EPC-Function and Event is annotated with instances of these predefined semantic pattern templates. In many cases, used names for EPC-Function and Event descriptions address more than one Task, more than one Process Object or more than one Parameter or a combination of them. In such cases, an EPC-Function or Event is annotated by several instantiated semantic pattern templates.
For Example “Define Requirements and Goals” can be a name for an EPC-Function. The Task named “Define” addresses the two Process Objects “Requirements” and “Goals”. Hence, the EPC-Function will be annotated with two instances of semantic pattern templates, the first template captures the meaning of “Define Requirements”, the second the meaning of “Define Goals”.
To cope with this in a possible embodiment, template structures in combination with analysis rules are introduced. Template structures are predefined templates assigned to semantic pattern templates. Their purpose is to map different occurring term structures extracted from used names to semantic pattern templates and to instantiate them by applying analysis rules. This means, that template structures define valid task, Process Object and Parameter combinations.
The template structure is a tuple T=(I, V) consisting of

    
    
        I an unique identifier,
        V as previously defined
    
    


The notation TE is used to indicate a template structure for an EPC Event, TF for a template structure that is assigned to an EPC Function. Each predefined semantic pattern template can have exactly two template structures assigned.
The semantic loattern template SF as previously defined has the following template structures assigned:
TF1{[V1(CPro(TA),iPro(?))],[V2(CPro(PO),iPro(?)]
TF2:=55 [V1(CPro(TA),iPro(?))],[V2(CPro(PO),iPro(?)];[V3(CPro(PA),iPro(?))],[V4(CPro(PO),iPro(?))]}
SE as previously defined for an EPC-Event comprises the following template structures:
TE1:={V1(CPro(PO),iPro(?))],[V2(CPro(ST), iPro(?)]
TE2:={[V1(CPro(PO),iPro(?))],[V2(CPro(ST),iPro;[V3(CPro(PA),iPro(?))],[V4(CPro(PO),iPro(?))]}
The variables and its index of each template structure exactly match with the associated semantic pattern template. Analysis rules generate on the basis of a template structure one or several instances of the predefined semantic pattern templates SE and SF by applying rules that specify how the template structure is logically resolved.
An analysis rule R is specified by a precondition and a body separated by a “→”. The precondition consists of the operator MATCH. The operator MATCH compares predefined template structures with term structures extracted from names. A term structure denotes a normalized representation of text phrases that refers to KBLex concepts. The body comprises the operator GENERATE that generates one or several instances of semantic pattern templates and assigns the instantiated semantic pattern template(s) to an EPC-Function or Event. Let U be a term structure that is notated as a pattern such as [Active Verb=Task] [NounPhrase=Process Object].
The following notation for an analysis rule R is given: If(MATCH(U,T(v1, . . . vn))→GENERATE({S(v1, . . . vn)}). This notation means that if a term structure matches with a predefined template structure with an ordered n-tuple of variables (vr, . . . vn) then generate a set of instantiated semantic pattern templates.
The following rule set defines some possible analysis rules for semantic pattern templates used for an annotation of EPC-Functions. This rule set is not an exhaustive enumeration of all possible combinations since the declarative nature of rules enables to define an arbitrary rule set.
One Task. One State, One Process Object:
U:=[Active Verb=Task] [Noun=Process Object] is a term structure for a name such as “Define Requirements”.
T:={[V1(CPro(TA),iPro(?))],[V2(CPro(PO),iPro(?)] is a template structure that matches with this term structure. The R1:=If (MATCH(U, T(v1, v2))→GENERATE ({S1(v1, v2)}) generates one instance of a semantic pattern template having the bounded variables v1 and v2.
More than One Process Object:
This rule means that if a template structure refers to more than one Process Object then the number of Process Objects determines the number of semantic pattern templates being instantiated, each having the same Task.
U:=[Active Verb=Task] [Noun=Process
Object] [Conjunction] [Noun=Process Object] is a term structure for a name such as “Define Requirements and Goals”. T:={[V1(CPro(TA),iPro(?))],[V2(CPro(PO),iPro(?)];[V3(CPro(PO),iPro(?)]{ is a template structure that matches with this term structure. The R2:=If(MATCH (U, T(v1, v2, v3))→GENERATE{(S1(v1,v2), S2(v1, v3)) generates two instances of a semantic pattern template having the bounded variables v1, v2 and v3.
More than One Task:
This rules means that if a template structure refers to more than one Task then the number of Tasks determines the number of semantic pattern templates being instantiated, each having the same Process Object.
U:=[Active Verb=Task][Conjunction][Active
Verb=Task] [Noun=Process Object] is a term structure for a name such as “Define and Analyze Requirements”. T:={[V1(CPro(TA),iPro(?))],[V2(CPro(TA),iPro(?)];[V3(CPro(PO),iPro(?)]} is a template structure that matches with this term structure. The R2:=If (MATCH(U, T(v1, v2, v3))→GENERATE ({S1(v1, v3), S2 (v2/v3)}) generates two instances of a semantic pattern template having the bounded variables v1, v2 and v3.
More than One Parameter
This rule means that if a template structure refers to more than one Parameter then the number of Parameters determines the number of semantic pattern templates being instantiated, each having the same Task and Process Object.
U:=[Active Verb=Task] [Noun=Process Object] [Preposition] [Noun=Process Object] [Conjunction][Preposition] [Noun=Process Object] is a term structure for a name such as “Define Requirements for Hardware and Software”. T:={[V1(CPro(TA),iPro(?))],[V2(CPro(PO),iPro(?)];[V3(CPro(PA),iPro(?)][V4(CPro(PO),iPro(?)][V5(CPro(PA),iPro(?)][V6(CPro(PO),iPro(?)] is a template structure that matches with this term structure. The R2:=If (MATCH(U, v1, v2, v3, v4, v5, V6))→GENERATE (S1(v1, v2, v3, v4, S2 (v1, v2, v5, v6,)}) generates two instances of a semantic pattern template having the bounded variables v1, v2, v3, v4, v5, and v6.
The above mentioned rules can be combined to resolve the semantics of larger template structures. For example, a template structure may have more than one task or state combined with more than one process object.
Based on the introduced concepts, a semantic annotation of EPC-Functions and Events are made with automated support since a human driven proceeding denotes a tedious, cumbersome task that may result easily in a knowledge acquisition bottleneck.
FIG. 2 depicts components of an apparatus 1 for automated semantic annotation according to the present invention. Names of EPC-Functions and Events expressed by text clauses are input for the Term Normaliser 3 that extracts the term structure of that clause and a normalized representation of terms. Based on the term structure, the Semantic Pattern Analyzer 2 finds a corresponding pattern template. Afterwards, semantic pattern templates are instantiated by evaluating the analysis rules associated to a corresponding pattern template. Finally, the EPC-Function or Event is annotated with binded semantic pattern templates.
Extracting the meaning of text phrases that describe EPC-Events and Functions requires a normalized preparation. The term normaliser 3 shown in FIG. 2 performs a linguistic normalization that aims at reducing each form of a term to a standardized form that is captured by an EPC label. A label L is a tuple (W, E, U, φ) consisting of

    
    
        W={w1, . . . , wn} is a set of words having a reference to lexicon entries (ILex),
        E={e1, . . . en} is an ordered n-tuple of terms with the index e1 having a reference to lexicon entries (ILex),
        U is a term structure of E that is an ordered n-tuple (u1, . . . , un)εCLex with an index ui a term ei refers to,
        φ is a function E→W that maps a term eiεE to an ordered n-tuple (w1, . . . , wn)εILex of Words
    
    


A term structure U is described according to the following notation:

    
    
        ui(cLex(SourceName(→cPro(TargetName)): SourceName indicates a concept name for a lexicon (cLex), TargetName is the name of a concept for the process knowledge base (cPro), a SourceName is mapped to. The mapping cLex, (Averb) cPro(Task) is notated as u1(CLex(AVerb(→CPro(Task)))).
        ui (ILex (SourceName→IPro(Target Name)))): SourceName indicates an Instance name for a lexicon (iLex), TargetName is the name of an Instance for the process knowledge base (iPro), a Source is mapped to. The mapping iLex(“For”) iPro (TargetDirectionParameter) is notated as ui(iLex(“For”(→iPro (TargetDirectionParameter)))).
    
    


The index i refers to the term with the index i within the set E. Based on this notation, a term structure reflects a used guideline by a text phrase describing an EPC-Function or Event. The fundamental conventions for naming an EPC-Function UF1 and for an EPC-Event UE1 can be described by following term structures:

    
    
        −UF1:={[u1(CLex(AVerb(→CPro(Task))))],[u2(cLex,(Noun→CPro(ProcessObject))))]}
        −UE1:={[u1(CLex(Noun(→CProPracessObject))))],[u2(cLex(PVerb(→CPro(State))))]}
    
    


FIG. 8 depicts an example for a label L extracted from the text phrase “Define Software Requirements with Customer”. It comprises the terms “Define”, “Software Requirements”, “With” and “Customer”. The term “Define” is mapped to the word w1(“Define”), “Software Requirements” is mapped to the words w2(“Software”) and w3(“Requirements”), “With” is mapped to the word w4(“With”) and “Customer” is mapped to the word w5(“Customer”). Based on this terms the term structure
UF1:={[u1(cLex(AVerb(→CPro(TA))))],[u2(cLex(NounPhrase(→CPro(PO))))],[u3(cLex(Pr eposition→CPro(MeansParameter))))],[u4(cLex(Noun(→CPro(PO))))]} results.
FIG. 9 depicts a proceeding that extracts a label L from a text phrase. The extraction of labels L splits a text phrase into words (tokenization) and determines the word type (Wtype) for each split word. Further, the Term Normaliser 3 also addresses the resolving of naming conflicts that are reduced to synonyms and abbreviations in this work. Homonyms can be neglected when a non-ambiguous meaning of used vocabulary in a specific domain is provided. For example, the domain represents engineering processes, application domains are specific instances for that domain, such as Software Development or Hardware Development. Each vocabulary—captured by the lexical knowledge base—used by an application domain has a unique meaning within a specific domain.
The word type of a word is determined by the concept name a lexical entry is instance of. Hence, the lexicon entries are queried for that word. A query considers semantic relationships (e.g. is AbbreviationTo) associated to a lexical entry (e.g. SW is an abbreviation of Software). If a search for is successful, the word type derives from the concept name the matched word is an instance of. In case of naming conflicts, the Term Normaliser 3 follows the rule to deliver the base word. For instance, the word “SW” has been identified as an abbreviation of “Software”, consequently, the term normaliser delivers the term “Software” as a noun.
If a query for a word in the lexicon delivers an empty result, an automatically driven word classification is not feasible. A publicly available dictionary such as WordNet 8 can be employed for word classification and synonym detection. The schema of WordNet comprises the three main classes synset, word Sense and word. A synset groups words with a synonymous meaning, such as {car, auto, machine}. Due to different senses of words, a synset contains one or more word senses and each word sense belongs to exactly one synset. A synset either contains the word classes nouns, verbs, adjectives or adverbs. There are seventeen relations between synsets (e.g. hyponymy, entailment, meronymy, etc.) and five between word senses (e.g. antonym, see also).
The term normaliser 3 retrieves semantic information by consulting WordNet 8. A WordNet query delivers either a set of word classes and synonyms (associated to the queried word) or an empty set. In case of delivering an empty set the Term Normaliser 3 requires an interaction with the analyst in order to get a human classification entry.
Input for the generation of a label is an ordered n-tuple of words each having a word type assigned; output is an ordered n-tuple of terms that refer to corresponding lexical entries. The construction of terms must observe the following rules:
Rule 1: If a word optionally starts with an adjective and its succeeding words are assigned to the word type Noun, then a term consists of these ordered set of words. This rule defines how noun phrases or noun phrases are mapped to a term.
For example an ordered word set with following pairs can be given: {(“Initial”, Adjective), (“Software”, Noun), (“Requirements”, Noun)]. Based on this word set, the term “Initial Software Requirements” is generated.
Rule 2: If a word is assigned to the word class Verb, then the term consists of exactly this word.
Rule 3: Applies Rule 1 and Rule 2. If an ordered sequence of words is separated by a conjunction or a preposition associated to a parameter, a new term containing this separator is generated.
The construction of terms also entails to establish a reference to normalized lexical entries. In early stages of semantic annotation, the KBLex is only bootstrapped with initial entries. This implies that a query for a word or for a term delivers in most cases an empty result set. In such a case, the lexicon must be populated with new entries.
FIG. 10 depicts the steps of a procedure performed by the Semantic Pattern Analyzer 2. Input is a label L for an EPC-Function or Event extracted by the Term Normaliser 3. Based on this label L, the Semantic Pattern Analyzer 2 generates an ordered set of n-tuples containing instances of semantic pattern templates by using analysis rules for a certain semantic pattern description 6.
An analysis rule is specified by a precondition and a body separated by a “→”. The precondition consists of the operator MATCH; the body comprises the operator GENERATE. The operator MATCH compares the term structure U of a label L with a predefined template structure f associated to a semantic pattern template.
A matching between a term structure U and a predefined template structure T is a similarity σ:U×T→[0,1] where

    
    
        φ(u1εU) is a function that determines the concept cPro a concept cLex of u1 is mapped to,
        φ(v1εT) is a function that determines the concept cPro of a variable vi,
    
    






  
    σ
    ⁡
    
      (
      
        U
        ,
        T
      
      )
    
  
  :=
  
    {
    
      
        
          1
        
        
          
            
              ∀
              i
            
            =
            
              
                
                  (
                  
                    1
                    ,
                    ...
                    ⁢
                    
                      
                    
                    ,
                    n
                  
                  )
                
                :
                
                  φ
                  ⁡
                  
                    (
                    
                      u
                      i
                    
                    )
                  
                
              
              =
              
                φ
                ⁡
                
                  (
                  
                    v
                    i
                  
                  )
                
              
            
          
        
      
      
        
          0
        
        
          otherwise
        
      
    
  




The match operator aims at finding a corresponding template structure for a given term structure extracted by the Term Normaliser 3. The two structures match if and only if the mapping of each concept φ(uiεU) with the index i of the term structure is equal to the concept KBPro variable of φ(viεT) refers to with the index i.
The term structure shown in the example of FIG. 11 comprises the two terms e1 and e2 each pointing to a lexicon entry (Ilex). A lexicon entry is mapped to an entry of the process knowledge base. This assumes that a corresponding process knowledge base entry for a lexicon entry does exist. Further, each element of the term structure also refers to a lexicon concept cLex mapped to a concept cpro of the process knowledge base (e.g. cLex(AVerb→Task). The template structure comprises the two variables v1 and v2, each having references to process knowledge base concepts Cpro. The two structures match if and only if each element of those structures with the index i have a reference to an equal process knowledge base concept Cpro.
If a corresponding template structure for a given term structure has been identified, the operator GENERATE instantiates an ordered n-tuple of semantic pattern templates IT whose variables are bound to knowledge base entries.
Instantiation of Semantic Pattern Templates:
The operator GENERATE generate(D,L,T):T→(IT) has the three parameters Application Domain D, Label L and a corresponding template structure 7. The instantiation of semantic pattern templates comprises the two tasks (1) binding knowledge base references to each template variable φ(viεT) of the template structure T and (2) evaluation of the analysis rules assigned to the template structure f. The ordered n-tuple of semantic pattern templates results from evaluating the rules associated to a template structure (e.g. If (MATCH (U, T(v1, v2, v3))→GENERATE ({S1(v1, v2), S2(v1, v3)}))
Binding Knowledge Base References to Template Variables:
The operator GENERATE sets a value for each variable of a matching template structure T. The binding of a variable means a reference to a knowledge base entry (see FIG. 12). The binding value for a variable viεT is determined by corresponding Cpro concepts between an element with the index i of the term structure and the variable vi with the index i. The index i denotes the term index of a term eiε{e1, . . . , en) that points to an lexical entry ilex. The lexical entry has a mapping to a corresponding ipro entry. Finally, the ipro entry denotes the binding value for the variable vi.
For example U:={[u1(cLex(AVerb(→CPro(Task))))],[u2(cLex(Noun→CProProcessObject))))]} is a term structure for the terms {ti=“Identify”, t2=“Requirements”} captured by the label L for an EPC-Function. The operator Match identifies the template structure T:={[v1(cpro(TA),iPro(?))],[v2(cPro(PO),ipro(?)]} as a corresponding template for the term structure U. After the binding of knowledge base references, the template structure has following values for its variables: v1(CPro(TA),iPro (“Identify”)) and v2(CPro(TA),iPro(“Identify”))
Evaluation of Analysis Rules:
Each template structure has an analysis rule assigned that specifies the number of instances of semantic pattern templates being instantiated. Further, an analysis rule defines how each bound variable of a template structure is mapped to an instance of a semantic pattern template.
Reconsider the analysis rule If(MATCH(U, T(v1, v2, v3))→GENERATE ({S1(v1, v2), S2 (v1, v3)})) which specifies the instantiation of two semantic pattern templates S1 and S2 and its involved variables. Based on this rule the semantic pattern template S1 consists of the bound variables v1 and v2, the semantic pattern template S2 of the variables v1 and v3. Finally, each instantiated semantic pattern template is assigned to an EPC-Function or Event as depicted in FIG. 6.
The method for a semantic annotation according to the present invention enables to formalize automatically the semantics implicitly captured by names used to describe Functions and Events. Formalization ensures that the meaning of these names can be understood by computer systems. As a consequence, the introduced method transforms semi-formal models to a fully fledged formal representation since semi-formal models are only limited suitable for automated semantic analysis.
The process knowledge base 4B and lexical knowledge base 4A provides concepts and relations that enable to capture the semantics implicitly involved in names. Further, the separation between textual and semantic representation yields the advantage that a process knowledge base entry may have several textual counterparts, such as different languages. This is achieved by assigning each process knowledge base entry a unique identifier.
A semantic linkage is realized by the specification of semantic pattern descriptions 6. They represent a flexible, generic mechanism due to the declarative specification of naming conventions. Based on the definition of an arbitrary set of naming conventions expressed by semantic pattern templates and associated analysis rules, the method is universally applicable. This means that semantic pattern descriptions may not only be defined for names used to describe EPC-Functions or Events, they can be specified for each system that uses any kind of a structured text that should be semantically annotated.
The method and apparatus according to the present invention provides concepts and relations of a knowledge base for capturing the semantics implicitly captured by functions and event names. The lexical knowledge is separated from the process knowledge. EPC function consists in general of a task that is performed on a process object. Each of these model elements has a lexical representation in a certain language such as English or German. Further, a task or a process object having an equal semantics may have different names by using abbreviations or synonyms. Task and process objects are not isolated entries within the knowledge base.
The method and apparatus according to the present invention realize a semantic linkage between EPC functions and events to entries of the knowledge base. Each semantically annotated EPC function and event has several links to knowledge base entries.
The method apparatus according to the present invention automate the semantic annotation of EPC functions and events of a process model. This provides an important advantage since the human driven semantic annotation denotes a tedious, cumbersome task that may result easily in a knowledge acquisition bottleneck.
The method apparatus according to the present invention allow to extract automatically entries for a knowledge base from function and event names of a process model and to establish a semantic linkage of these knowledge base entries.

## Claims

1. A method for automatic semantic annotation of a process model which comprises model elements named by natural language expressions, the method when processed by a processor performs:
receiving a process model comprising model elements named by natural language expressions;
analyzing via a computer processor a textual structure of each natural language expression based on predefined semantic pattern descriptions by searching a reference process ontology comprising a lexical knowledge base and a process knowledge base, such that when a matching entry is not found in the lexical knowledge base, populating the lexical knowledge base with new entries, and when a process knowledge base entry is not found, adding the process knowledge base entry to the process knowledge base;
establishing via a computer processor a semantic linkage between each model element to classes and instances of the reference process ontology stored in a memory;
generating via a computer processor a semantically annotated process model of the received process model based on the semantic linkage;
outputting the semantically annotated process model.

2. The method according to claim 1,
wherein the reference process ontology is formed by the lexical knowledge base comprising a vocabulary used for model elements and the process knowledge base comprising process semantics of model elements, and wherein the lexical knowledge base is decoupled from the process knowledge base with a mapping established between the lexical knowledge base and the process knowledge base based on predefined rules for naming conventions expressed by patterns found in common naming conventions for model elements.

3. The method according to claim 1,
wherein the process model is formed by an EPC (event process chain) model, an UML (unified model language) model or a Petri network.

4. The method according to claim 1, wherein each semantic pattern description comprises
a semantic pattern template of a model element,
a set of template structures, and
a set of analysis rules.

5. The method according to claim 4, wherein a semantic pattern template is formed by
a domain name, and
an ordered tuple of variables each pointing to a class of said process knowledge base within the reference process ontology and to an instance of said class.

6. The method according to claim 4, wherein the template structure is formed by
a unique identifier, and
an ordered tuple of variables each pointing to a class of said process knowledge base within said reference process ontology and to an instance of said class.

7. The method according to claim 4, wherein an analysis rule is formed by
a precondition which compares template structures with term structures extracted from natural language expressions, and
an operator that generates one or several instances of semantic pattern templates which are assigned to a model element of said process model.

8. The method according to claim 1, wherein a named process element comprises:
a function provided for performing a task on a process object to transform said process object from an initial state to a resulting state, or
an event comprising a text clause.

9. The method according to claim 1,
wherein for each named model element of said process model a linguistic normalization of its natural language expression is performed by a term normaliser to generate a semantic label of said model element.

10. The method according to claim 9,
wherein a semantic pattern analysis of each generated semantic label is performed by a semantic pattern analyser to generate an ordered set of tuples containing instances of semantic pattern templates by using analysis rules of a semantic pattern description.

11. The method according to claim 10,
wherein said instantiated semantic pattern templates are assigned to the respective model element to generate said semantically annotated process model.

12. A computer program product stored in a tangible computer readable medium, when executed by a processor performs the method according to claim 1.

13. An apparatus for automated semantic annotation of a process model having model elements named by natural language expressions, comprising:
an input interface that receives the process model;
a reference process ontology stored in memory comprising a lexical knowledge base and a process knowledge base;
a computer processor adapted to:
a) analyze a textual structure of each natural language expression based on predefined semantic pattern descriptions by searching the reference process ontology, such that when a matching entry is not found in the lexical knowledge base, populating the lexical knowledge base with new entries, and when a process knowledge base entry is not found, adding the process knowledge base entry to the process knowledge base;
b) establish a semantic linkage between each model element to classes and instances of the reference process ontology stored in a memory;
c) generate via a computer processor a semantically annotated process model of the received process model based on the semantic linkage; and

an output interface that outputs the semantically annotated process model.

14. The apparatus according to claim 13,
wherein the lexical knowledge base comprises a vocabulary used for model elements, and the process knowledge base comprises process semantics of model elements, and wherein the lexical knowledge base is decoupled from the process knowledge base with a mapping established between the lexical knowledge base and the process knowledge base based on predefined rules for naming conventions expressed by patterns found in common naming conventions for model elements.

15. The apparatus according to claim 13,
wherein said process model comprises an EPC (event process chain)-model, a UML (unified model language)-model or a Petri network.