Instructions for running Prolog
queries for Restaurant Query Data
Load Sicstus Prolog (tm).
Download these additional files: rest-db-transform
(code to parsea
"semi-pseduo" sql query into a logical query), rest-db_lib
and setup.
Prove compile('setup').
To try executing an actual query, try to prove these predicates:
pseudo_to_logical(<Query>, LQ, _), execute_query(LQ, Ans). where <Query> is a parsed query in a semi-pseudo sql form (you can grab an example from the file "restqueries250") and the set of answers is returned in Ans.