adding the ability to query the database using simple, map datalog
queries.