Code for grounded SMT on geoquery data or Free917 data.
(N.b. This has nothing to do with the programming language REBOL !)
###Geoquery: WASP-1.0 includes the geoquery knowledge base and scripts for querying it. The evaluation scripts were slightly modified to produce full outputs. These scripts can be found in data/geoquery/wasp/, and they go into wasp-1.0/data/geo-funql/eval/. WASP-1.0 can be downloaded from here .
You'll also need a Prolog environment for geoquery, e.g. SWI-Prolog .
We use the a slightly modified implementation of smt-semparse, as described in Semantic parsing as machine translation (Andreas et al, ACL 2013). Our fork can be found here . This software depends on more stuff, e.g. the Moses decoder and SRILM.
###Free917: The parser used for Free917 is sempre, as described in Semantic Parsing on Freebase from Question-Answer Pairs (Berant et al, EMNLP 2013). It can be downloaded here  and further dependencies can be found in QUICKSTART.md.
###Both: For translation we use the cdec toolkit, .
As semantic parsing is quite slow and rebol does it quite often, results are cached with memcached .
You'll need the following ruby gems: