Patent ID: 7003730

Claim:
A method of programmatically creating event-based queries in a graphical user interface, comprising: providing at least one predefined expression for determining a time correlation with respect to at least an event condition and a profile condition, wherein the predefined expression comprises a time expression which takes as its value a predefined timestamp representing a time of occurrence of the event condition, and wherein the profile condition is composed on the basis of the predefined expression so that the profile condition defines a time domain; providing at least one interface screen for specifying query criteria comprising at least the event condition; and providing at least one interface screen for specifying an event profile that defines criteria, comprising at least the profile condition, to be applied to the event condition according to the at least one predefined expression; whereby a query is generated that restricts results retu med by execution of the query to those for which the event condition is satisfied within the time domain defined by the profile condition.