/*
 *  There are two ways to use both functions and attributes.  You can
 *  refer to them in queries using function notation, or you can use
 *  nested dot notation.  Here's an example:  'name' is an attribute of
 *  the 'emp' class, and 'manager' is a function that takes an emp and
 *  returns an emp.
 */

retrieve (mgr_name = name(manager(emp)))
\p
\g

retrieve (emp.manager.name)
\p
\g
