Instead of using GQL, maybe you can use this:
filter(property_operator, value)
Adds a property condition filter to the query. Only entities with properties that meet all of the conditions will be returned by the query.
Arguments:
property_operator
A string containing the property name, and an optional comparison operator. The name and the operator must be separated by a space, as in: age > The following comparison operators are supported: < <= = >= > != IN If the operator is omitted from the string (the argument is just the property name), the filter uses the = operator.
value
The value to use in the comparison on the right-hand side of the expression. Its type should be the value data type for the property being compared. See Types and Property Classes.
query.filter('height >', 42).filter('city = ', 'Seattle')
query.filter('user = ', users.get_current_user())
from
http://code.google.com/appengine/docs/python/datastore/queryclass.html#Query_filter