(rule $Short ($PHRASE) (FilterSpanLengthFn 1 2)) (rule $NP ($Short) (LexiconFn entity fbsearch)) (rule $NP (people) (ConstantFn (fb:type.object.type fb:people.person))) (rule $NP (cities) (ConstantFn (fb:type.object.type fb:location.citytown))) (rule $NP (linguists) (ConstantFn (fb:people.person.profession fb:en.linguist))) (rule $NP (computer scientists) (ConstantFn (fb:people.person.profession fb:en.computer_scientist))) (rule $RelNP (height) (ConstantFn fb:people.person.height_meters)) (rule $RelNP (birthdate) (ConstantFn fb:people.person.date_of_birth)) (rule $RelNP (area) (ConstantFn fb:location.location.area)) (rule $NP ($RelNP of $NP) (lambda r (lambda x ((reverse (var r)) (var x))))) (rule $VP/NP (were born in) (ConstantFn fb:people.person.place_of_birth)) (rule $VP/NP (are in) (ConstantFn fb:location.location.containedby)) (rule $NP ($NP that $VP/NP $NP) (lambda x (lambda r (lambda y (and (var x) ((var r) (var y))))))) (rule $ROOT ($NP) (IdentityFn)) (rule $ROOT ($NP with the largest $RelNP) (lambda x (lambda r (argmax 1 5 (var x) (var r))))) (rule $ROOT ($NP with the smallest $RelNP) (lambda x (lambda r (argmin 1 5 (var x) (var r))))) (rule $ROOT (number of $NP) (lambda x (count (var x))))