Patent ID: 7620935

Claim:
A method for translating a business rule which authorizes a request for information into an application programming interface (API) expressed in object oriented objects, the business rule being in a linguistic form having a predefined syntax and the rule authorizing a request for information comprising one or more propositional expressions, the method comprising: receiving a stream of input representing a business rule and vocabulary; processing the received vocabulary to determine elements of the predefined syntax; creating an object type, wherein the object type corresponds to a return type of an operation in the rule authorizing a request for information; establishing a current container variable; for each propositional expression in the rule authorizing a request for information, setting the current container to be the object type, establishing a context for the propositional expression, processing the propositional expression in the rule authorizing a request for information, and recording the object type in the current container, the object type being a context resulting from processing the propositional expression; wherein establishing the context for the propositional expression comprises: for each pronominal reference in the propositional expression having a referent term which is a term in a previously processed propositional expression and which is not a subject of a parametric operator, if the referent term is not subject of an interrogative operator, setting the current container to be the object type that is the resulting context from the propositional expression having a referent term, otherwise, when the referent term is the subject of an interrogative operator, setting the current container to be object type generated for the referent term.