Syntax for whose()

Can anyone point me to a reference or documentation for the query syntax used by the whose method?
I’m trying to do a partial match where name includes a substring but can’t quite figure it out.