support more general task wildcard queries