eQL to return the documents associated to a Project class

Is it possible to write an eQL statement that returns the documents associated to a project class but search on the user defined attributes for the project class?  Would I start with document or project?  When I start with document I am not able to search on the user defined attributes for the project class.  Thanks for your help.

Alex Talbott