Filter by child node predicate in GraphQL

Hi,
I have this schema:

type Country {
  id: ID!
  name: String! @search
  capital: City!
}

type City {
  id: ID!
  name: String! @search
  population: Int!
}

How can I filter Country nodes by the capital name (since City type cannot have @search directive)?

RFC hopefully still in progress: