Enhancing Active Templates through Knowledge Acquisition Jim Blythe and Yolanda Gil (PI) Temple project USC Information Sciences Institute

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

1 USC INFORMATION SCIENCES INSTITUTE Interactive Knowledge Capture Interactive Knowledge Capture for Problem-Solving Systems Jim Blythe Yolanda Gil Jihie.
Modelling with expert systems. Expert systems Modelling with expert systems Coaching modelling with expert systems Advantages and limitations of modelling.
DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
Tutorial 6 Creating a Web Form
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
1 USC INFORMATION SCIENCES INSTITUTE Tailor, Spring 07 Task Learning by Instruction: Benefits and Challenges for Intelligent Interactive Systems Jim Blythe,
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall.
NaLIX: A Generic Natural Language Search Environment for XML Data Presented by: Erik Mathisen 02/12/2008.
Visual Web Information Extraction With Lixto Robert Baumgartner Sergio Flesca Georg Gottlob.
© 2006 Pearson Addison-Wesley. All rights reserved4-1 Chapter 4 Data Abstraction: The Walls.
©Ian Sommerville 2000Software Engineering, 6/e, Chapter 91 Formal Specification l Techniques for the unambiguous specification of software.
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
Chapter 14: Advanced Topics: DBMS, SQL, and ASP.NET
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
Chapter 6: The Traditional Approach to Requirements
System Analysis Overview Document functional requirements by creating models Two concepts help identify functional requirements in the traditional approach.
Guide to Using Message Maker Robert Snelick National Institute of Standards & Technology (NIST) December 2005
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
Training Course 2 User Module Training Course 3 Data Administration Module Session 1 Orientation Session 2 User Interface Session 3 Database Administration.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
1 Yolanda Gil Information Sciences InstituteJanuary 10, 2010 Requirements for caBIG Infrastructure to Support Semantic Workflows Yolanda.
CMSC 345 Fall 2000 Unit Testing. The testing process.
Databases and Education Access Access Course Progression Access courses can be designed for intensive immersion or semester-long courses. Basic.
Introducing Reporting Services for SQL Server 2005.
1 USC INFORMATION SCIENCES INSTITUTE TEMPLE meeting, July 2000 TEMPLE: TEMPLate Enhancement through Knowledge Acquisition Yolanda Gil Jim Blythe Jihie.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
1 USC INFORMATION SCIENCES INSTITUTE TEMPLE meeting, July 2000 Specifying Planning Objectives Yolanda Gil Jim Blythe Jihie Kim Surya Ramachandran
Agenda Introduction Overview of White-box testing Basis path testing
DEPICT: DiscovEring Patterns and InteraCTions in databases A tool for testing data-intensive systems.
Development Process and Testing Tools for Content Standards OASIS Symposium: The Meaning of Interoperability May 9, 2006 Simon Frechette, NIST.
© 2009 Bentley Systems, Incorporated Chris Collins D&C Manager Quantities.
1 USC INFORMATION SCIENCES INSTITUTE CALO, 8/8/03 Acquiring advice (that may use complex expressions) and action specifications Acquiring planning advice,
소프트웨어공학 강좌 1 Chap 7. Software Prototyping - Rapid software development to validate requirements -
Systems Analysis and Design in a Changing World, 3rd Edition
Using and modifying plan constraints in Constable Jim Blythe and Yolanda Gil Temple project USC Information Sciences Institute
1 USC INFORMATION SCIENCES INSTITUTE CAT: Composition Analysis Tool Interactive Composition of Computational Pathways Yolanda Gil Jihie Kim Varun Ratnakar.
1 USC, INFORMATION SCIENCES INSTITUTE An integrated environment for KA An Integrated Environment for Knowledge Acquisition Jim Blythe
Using and modifying plan constraints in Constable Jim Blythe and Yolanda Gil Temple project USC Information Sciences Institute
1 USC INFORMATION SCIENCES INSTITUTE Expect: COA Critiquing PSM EXPECT: A User-Centered Environment for the Development and Adaptation of Knowledge-Based.
Software Prototyping Rapid software development to validate requirements.
Design and Implementation of a Rationale-Based Analysis Tool (RAT) Diploma thesis from Timo Wolf Design and Realization of a Tool for Linking Source Code.
 Enhancing User Experience  Why it is important?  Discussing user experience one-by-one.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
1 USC INFORMATION SCIENCES INSTITUTE EXPECT TEMPLE: TEMPLate Extension Through Knowledge Acquisition Yolanda Gil Jim Blythe Information Sciences Institute.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Lesson # 8 HP UCMDB 8.0 Essentials.
Quick Test Professional 9.2. Testing Process Preparing to Record Recording Enhancing a Test Debugging Running the Test and Analyzing the Results Reporting.
Techniques for List Creation (2) Data formatting and control level processing Basics for Interactive Lists Detail lists The Program Interface Interactive.
Copyright © 2011 Pearson Education Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall & Kendall Global Edition 9.
Tutorial 6 Creating a Web Form
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Human Computer Interaction Lecture 21 User Support
Getting started with Accurately Storing Data
Building Enterprise Applications Using Visual Studio®
Formal Specification.
Lesson # 9 HP UCMDB 8.0 Essentials
Software Prototyping.
Refining and Communicating Tangible Interaction
KANAL: Knowledge ANALysis
Action Editor Storyboard
Chapter 17 - Component-based software engineering
KANAL: Knowledge ANALysis
CSc4730/6730 Scientific Visualization
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
TEMPLE: TEMPLate Enhancement through Knowledge Acquisition
Chapter 17 - Component-based software engineering
Modeling Tangible User Interfaces
Lecture 10 Structuring System Requirements: Conceptual Data Modeling
Presentation transcript:

Enhancing Active Templates through Knowledge Acquisition Jim Blythe and Yolanda Gil (PI) Temple project USC Information Sciences Institute

2 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Why we need knowledge acquisition for constraints in active templates Active Templates can use constraints to:  restrict possible values for an information element,  supply a default value,  check consistency as templates are filled,  link the template values to other data sources. End users must be able to add and modify constraints in templates to suit their current needs.  The initial constraints will not anticipate all possible situations.  Operations often have unique constraints or use new equipment.  Users will want to customize templates.

3 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Examples of constraints Flight time must be less than 3 hours. The max runway landing distance at the airport must be at least the minimum required for the aircraft used. By default choose the closest among the airfields with adequate runway length. Compute the driving time by finding the distance from mapquest and dividing by 55.

4 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 The challenges of acquiring constraints for templates End users will not be familiar with the underlying representations or the syntax for templates and constraints (and should not need to be). Users often have difficulty following the multi-step process required to add complex constraints. Users may need to integrate information from several different data sources to define a constraint.

5 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Approach: building on knowledge acquisition techniques (Expect, HPKB and ARPI) Constraint wizards use default constraint types to help the user define a constraint. (KA dialog scripts)  Reduces the need for the user to know the constraint syntax.  Helps the user through a multi-step process. An English-based editor including an expression composer allow users to modify constraints. (NL paraphrasing)  Further reduces the need to know the syntax.  Constructive search capabilities help users create valid constraints. Constraints are built from terms known to system. (Expectation-based KA)  User can add new terms  More recently, terms come from models of live data sources

6 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Initial work (April-July 2000): Acquiring user preferences and critiques Developed initial version of TEMPLE that draws from several Expect tools Application Acquisition wizard Acquisition analyzer Interdependency analyzer Method editor Relation/concept editor Instance editor KB Browser search organize select method suggest class suggest domain and range Highlights needed information from interdependencies

7 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Acquiring User Preferences with TEMPLE

8 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Initial version of TEMPLE: capabilities Enables users to enter complex constraints.  The taxi cost (distance multiplied by the local cab mileage rate) should be less than the cost of parking (daily rate multiplied by length of trip) Designed to enter user preferences and critiques. Tool hides underlying syntax and representation.  Paraphrases domain ontologies and procedural knowledge Underlying techniques tested with Army officers at Fort Leavenworth KS for the DARPA HPKB Knowledge Acquisition Critical Component Experiment, Summer 99.

9 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Recent focus Acquire constraints for active templates, not just user preferences and critiques.  default values, restrictions on possible values, consistency checks, computing values. Users can build constraints using terms from models of external data sources.  Models built from XML descriptions of external sources.

10 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Wrappers External source External source Overview Wrappers Models of data External source Constraint composer English editor Constraint Wizard KA system Active Templates User Basic types and operations

11 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Example template

12 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 How constraint wizards help users Provide a roadmap for defining constraints for a template’s information element. default value upper bound lower bound Invoking the editor checking the constraints

13 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Using Constraint Wizards to add a constraint.

14 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Building constraints that refer to external data sources Users can create constraints using terms in models of external data sources. Model contains object types, attributes, and queries. Ex: Model for NIMA DAFIF. Object Types: airport, runway, country, ICAO, runway surface,... Available attributes for each type: an airport has a latitude, a longitude, a set of runways, a runway has a length, a hardness,... Queries:  list all known airports.  compute distance given latitudes and longitudes.

15 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Basic data types and operations for constraints KA tool has a small set of initial data types and operations used to compose constraints Numbers  add, subtract, divide, multiply,, =, find max/min Sets  union, intersection, creation, filter with a boolean predicate, … Booleans  and, or, not, if-then-else Strings  equality, substring

16 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Creating constraints with an English Editor The constraint wizard invokes the English editor with a default definition of a constraint that the user can modify The editor allows the user to select parts of the constraint definition and suggests alternatives for the selected part, shown as English phrases that correspond to syntactically legal expressions. The user can also find alternatives by typing keywords, an expression composer finds syntactically legal compositions of terms that contain the keywords.

17 USC INFORMATION SCIENCES INSTITUTE AcT October 2000

18 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 The expression composer In the HPKB KA CCE, users sometimes had difficulty navigating through expressions to find the right one. The user can type a set of terms and the expression composer creates valid expressions containing them. Combines queries and attributes from all data sources and known functions that apply to data types. runway landing distance width hardness... aircraft max speed required landing dist max payload... template staging post... use airport latitude longitude...

19 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Using the expression composer User types: “max staging post landing” Tool suggests: “find the maximum of the landing distance available of the runways of the forward staging post”. find objectof landing-distance-available runways ?forward-staging-post maximum Function call reformulation Typed variable combining queries Information element

20 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Using the English editor and constraint composer Constraints can use any models of data sources whose objects, attributes and allowable queries are described. For example, a user can add a constraint that the airport’s runway takeoff distance is large enough for the aircraft being used.

21 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Using several data sources We add a source of TAF weather data, which allows a query to find a TAF based on an ICAO code. Types: TAF, ICAO, precipitation,... Fields: TAF has wind speed and direction, visibility, time covered, wave height,... Additional queries: Can look up a TAF given an ICAO.

22 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Defining constraints using several data sources The expression composer can help a user refer to the wind speed at the forward staging post. The composer automatically adds the step to retrieve the airport’s ICAO from the AFIF data source.

23 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Exporting constraints Constraints will be exported as XML to other Active Templates tools. Constraints can be compiled to executable code. TEMPLE’s constraint checking tool:

24 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 XML representation of a constraint Constrain force-assigned-to-clear-runway airport-seizure-template subordinate-unit main-force airport-seizure-template

25 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Summary of the approach Help users create new constraints through constraint wizards.  Based on a default set of constraint types, the dialogs can provide a framework for the new constraint and in some cases create it automatically. Help users define and modify constraints through a structured English editor with an expression composer.  Reduces the need for a user to know the underlying syntax.  Can combine different data sources and help build sequential queries.

26 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Current status Generalized the constraint wizards.  Need better integration with information elements. Developed expression composer used by the editor.  User types strings, e.g. “wind speed at forward staging at arrival”  Composer creates a valid expression which matches those strings as closely as possible. Initial work in linking with external data sources  Assumes a model of the linked sources: objects, attributes and queries.  For example, constraints can link aircraft data with airport data from NIMA DAFIF and weather data from TAFs.

27 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 What is the scope of this tool? The constraint language is expressive, allowing conditionals and iteration. Users can define constraints that require a number of interacting functions.  The interdependency analyzer catches errors and makes suggestions. Users can also add and modify data fields and values while defining constraints. See our demo for more details, or [Blythe et al. Intelligent User Interfaces 2001]

28 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Related work on Joint Defense Planning (JDP) for air campaigns Plans are stated as collections of objectives and subobjectives Objective grammars express well-formed objectives (INSPECT, ARPI and JFACC)  Ex: defend OBJ FROM OF Objective editor helps users follow the grammar Developed a grammar acquisition tool to extend objectives grammar  Uses wizard-based dialogues to help user maintain consistency in the grammar  Uses external data sources –JDP DB of BattleField Objects (BFOs) includes locations, assets, … Delivered 9/00, integrated within JDP, to be delivered to AOCs in 12/00 through GCCS Useful technology for specifying SOF objectives

29 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Adding an objective The user invokes the editor to add a new term

30 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Adding a term to the grammar from the JDP database

31 USC INFORMATION SCIENCES INSTITUTE AcT October 2000 Planned future work Integrate with Active Templates tools.  Integrate: –constraints to information elements –models of external data sources from other tools  Current UI is Java. User experiments.  Test usability with end users by December. Helping users define monitors.  Investigate creating monitor wizards