# file: $ISIP_BASE/app/communicator/kb/Grammar/query_building.gra
# version: $Id: query_bus.gra 9945 2005-02-11 20:22:11Z elliott $

###### Drive Domain Specific Rules #############

[query_bus]
	([Query_Bus] [depart_arrive])
	([Query_Bus] [arriveloc])
	([Query_Bus])
;

[Query_Bus]
	([_bus_list])
;

[_bus_list]
#A- SAMPLE UTTERANCES COVERED BY THE FOLLOWING GRAMMAR
#1- how many shuttle bus routes go from allen hall to butler
#2- which shuttle bus can i take to go from allen hall to aiken village
#3- which shuttle bus will take me from allen hall to aiken village
#4- how can i go to the coliseum from here if i use the shuttle bus
	(*USING *HOW *CAN I *CAN GET_GO [depart_arrive] USING)
	(HOW_MANY *[direction] *GET_GO)
	(HOW_MANY CAN [i] GET to GET_GO [depart_arrive])
	(HOW_MANY CAN GET *[me] [depart_arrive])

USING
	(*IF +*[doing_things] *THERE *[on] *[the] [shuttle_bus])
	(IF [i] *CAN MOVE *THERE *[on] *[the] [shuttle_bus])
IF
	([doing_things])
	([once])
MOVE
	([use])
	(move)
	([go])
	([get])
THERE
	(*[of] there)
	(*[of] *[the] [an_address])
CAN
	([can])
	([is])
I
	([i])
	([i_m])
HOW
	([how])
	([whats] SPEC_WAY)
GET_GO
	([get] *back)
	([go] *back)
	(make *it *back)
HOW_MANY
	([whats] BUS)
	([how] many BUS)
BUS
	(*shuttle bus)
	(*shuttle buses)
STOP
	(stop)
	(pass by)
GET
	([use])
	(take)
HOW
	([how])
	([whats] SPEC_WAY)
SPEC_WAY
	(*[the] *[spec_way] *[direction])
	(*[the] *[spec_way] [direction])
;





