GAPP is a program that converts a set of natural-language questions to queries for the Foundational Model of Anatomy (FMA). It relies on a previously-authored program for parsing English sentences into syntactic trees. Using these syntax-trees, GAPP translates the question into a StruQL query. This query is then passed along to OQAFMA to get an answer.
This program is intended to convert a subset of all possible verbal queries to the FMA. It targets knowledge that is explicitly represented in the FMA. Inferential questions, regarding physiology, pathology or other types of knowledge, have been ignored. Instead, GAPP attempts to cover the set of natural-language questions that seek simple (1-relationship) pieces of knowledge in the FMA.
GAPP also attempts to cover a smaller group of multi-relationship or nested queries (e.g. "What receives blood from the branches of the aorta?"). These queries are modeled by the nesting of known-relationship-unknown queries within one another.
GAPP is intended to be extensible without re-writing any code. It uses two dictionaries, a parse dictionary and a relationship dictionary, to interpret the syntactic-parse. Editing these files increases, within constraints, the coverage of the program.
GAPP was developed by Greg Distelhorst. The web interface demo was designed by Kevin Hinshaw.
Try the GAPP demo.