Using Application Ontologies for the Automatic Generation of User Interfaces for Dialog-Based Applications