The present invention is a method and system for identifying or realizing
an output sequence using a grammar that can be used to encode semantic
representation of the output. A goal incorporating a semantic
representation is obtained and rules in the grammar are identified as
having semantic representation components that can be matched with
semantic representation components of the goal or portions thereof. The
output sequence is realized based on the rules identified.