GeoQuery Phrase Definitions
Phrase Trigger Phrase Key Comments ScriptName Kindred
!unanswerable1 {by definition, 4;because we've defined MAJOR as City1 thru City4…}



"{city_name} {state_name}" {1} where city_ . State = "{2}"



"{KEYWORD} is the highest point in the us" show highest_point that has largest highest_elevation 1


"{KEYWORD} is the lowest point in the us" show lowest_point that has smallest lowest_elevation 1 Keyword meaning either WHERE or WHAT

"{KEYWORD} states border {state_name}" state_name for [Names of Bordering States_] . BorderState = "{2}" 2


"{KEYWORD} states capital" {1} state's capital
account for (common) error in sample syntax

"{KEYWORD} states does the {river_name} run through" through which states does the {2} run b

river run
"{PREPOSITION} the us"
2 only USA in DB so far

"{PREPOSITION} the usa" {1} the us 0


"america" the us



"biggest city" city with largest Population/city



"biggest river" river_name for max length b


"borders most" borders the most



"borders the most states" has the most borderstates



"capital {city_name}" city_name for capital_name = {1} aaa


"capital is the largest" capital_name has largest population/capital 2


"capital of {city_name}" capital for state_name={1}
for cases like Washington, both city and state

"capital of the state" capital, state_name



"city has the most people" city has the largest population/city



"city in {state_name}" city in state_name = "{1}"
prevents "biggest city in wyoming" from being interpreted as wyoming, michigan!

"city is the largest" city has largest population/city 2


"city with the smallest population" city with the smallest population/city



"cross" run through



"do not run through {state_name}" have not states_through_which_it_flows contains "{1}"



"high points of" highest_point of



"highest mountain" mountain_name for max height



"highest peak" highest point
we don't literally mean high points named "X Peak"

"highest point {PREPOSITION} the us" highest_point with largest highest_elevation 1


"highest point in {state_name} in meters" highest_point, highest_elevation in {1}



"highest point of the us" highest_point with largest highest_elevation 2


"highest spot" highest_point



"how big is {state_name}" area for {1}



"how high is the highest point" how high is the largest highest elevation



"how high is" highest_elevation for



"how large is {state_name}" area for {1}



"how large is the largest" largest



"how long is the {river_name} river" how long is the {1} x necessary because of "Long" in "Long Island Sound"; could also be handled by removing Pnoun entry for Long" from dictionary

"how long is the {river_name}" length for {1} y necessary because of "Long" in "Long Island Sound"; could also be handled by removing Pnoun entry for Long" from dictionary

"how long is the" length of the



"how low is" lowest_elevation for



"how many {MANKIND} in" how many {1} live in



"how many {MANKIND} live" what is the population



"how many major cities are in {state_name}" unanswerable1


some cities
"how many people live in" what is the population of



"how many rivers are in" how many rivers are there in b


"how many rivers are there in {state_name}" count rivers for [States with Rivers_] . State_name = "{1}" c


"how many rivers does {state_name} have" count rivers for [States with Rivers_] . State_name = "{1}"



"how many rivers in" how many rivers are in a


"how many square kilometers" show total area



"how many states does the {river} river run through" count [States with Rivers_] . State_name for River_name = "{1}"



"in {state_name} state" in {1}



"in the country" in the US



"in the united states" in the US



"largest city" city with largest Population/city



"largest river" river_name for max length b


"largest state capital in population" most populous capital



"largest state" state with largest area



"least populous capital" capital_name with smallest population/capital


populous
"least populous city" city with smallest population/city


populous
"least populous state" state with smallest population


populous
"length of the {river_name}" River_ . Length for River_ . River_name = "{1}"



"longest river" river_name for max length b


"lowest point {PREPOSITION} the us" lowest_point with smallest lowest_elevation 1


"lowest point in {state_name} in meters" lowest_point, lowest_elevation in {1}



"lowest point of the us" lowest_point with smallest lowest_elevation 2


"lowest spot" lowest_point



"major cities" city1 and city2 and city3 and city4 1

some cities
"major rivers" rivers
no criterion for major rivers
how many (major) rivers
"most populated State" state_name with largest population C


"most populous capital" capital_name with largest population/capital


populous
"most populous city" city with largest population/city


populous
"most populous state" state with largest population
in 250 examples
populous
"of all 50 states"




"points higher than the highest point in" highest_elevation > 2


"points lower than the lowest point in" lowest_elevation < 2


"population {PREPOSITION} {city_name} city" population/City of CITY_NAME = "{2}" AAA


"population {PREPOSITION} {City_name}" population/city of CITY_NAME = "{2}" CCC


"population {PREPOSITION} {state_name}" population of STATE_NAME = "{2}" BBB


"population {PREPOSITION} the capital of {state_name}" Capitals_ . Population/capital of the capital of state_ . State_name = "{2}"



"population {PREPOSITION} the capital" population/capital 1


"population density of {state_name}" population density of state of {1}
odd, but enforced single result on states that end in "s" like Texas

"river in {state_name}" river for [States with Rivers_] . State_name = "{1}" a


"river_name borderstate the state" river_name borderstate ddd 2 parts due to length limit of trigger
rivers thru bordering
"rivers in {state_name}" river for [States with Rivers_] . State_name = "{1}" a


"shortest river" river_name for min length b


"smallest city" city with smallest Population/city



"smallest river" river_name for min length b


"smallest state" state with smallest area



"state border {state}" state has [Names of Bordering States_] . BorderState = "{1}" B handle grammatical error

"state bordering {state}" state for [Names of Bordering States_] . BorderState = "{1}" B


"state borders {state}" state has [Names of Bordering States_] . BorderState = "{1}" B


"state has highest elevation" state has largest highest elevation



"state has lowest elevation" state has smallest lowest elevation



"state has the highest elevation" state has largest highest elevation



"state has the highest point" state has largest highest elevation



"state has the lowest elevation" state has smallest lowest elevation



"state has the lowest point" state has smallest lowest elevation



"state is the largest" state has largest area



"state is the smallest" state has smallest area



"state that borders {state}" state for [Names of Bordering States_] . BorderState = "{1}"



"states border {state}" state has [Names of Bordering States_] . BorderState = "{1}" B


"states bordering {state}" state for [Names of Bordering States_] . BorderState = "{1}" B


"state's capital city is the largest" capital_name has largest population/capital 1


"states does the {river_name} river run through" states does the {1} run through a

river run
"states that border {state}" state for [Names of Bordering States_] . BorderState = "{1}"



"states through which the {river_name} river runs" states which the {1} river runs through



"states through which the {river_name} runs" states which the {1} river runs through



"surround" border 1


"surrounding" bordering



"what rivers {VERB} through {state_name}" name the rivers in {2}



"what rivers run through the states that border" river_name borderstate ccc found thru trial and error
rivers thru bordering
"what state is {city_name} the capital of" capital_name, state_name for capital_name = "{1}"



"what states does the {river_name} river go through" states_through_which_it_flows for river_ . River_name={1}



"what states does the {river} river run through" show [States with Rivers_] . State_name for River_name = "{1}"



"whats the" what's the
fix error in input

"which major cities are in {state_name}" give major cities in {1}
new example

"which rivers {VERB} through {state_name}" name the rivers in {2}



"which states have points higher" highest_elevation for points higher 1


"which states have points lower" lowest_elevation for points lower 1


"with the highest point" with the largest highest elevation



"with the lowest point" with the smallest lowest elevation



[how many rivers {VERB} through {state_name}] count the rivers in {2}
not sure why we need to use brackets, to order instead of just using Key?!
how many (major) rivers
[population density] (population / area)

function
across the top ACROSS



altogether TOTAL



combined area total area



combined population total population



highest population largest population



lowest population smallest population



of the state with of the state_name with