More about query answers

Let’s find Pokémon with high HPs:

Each answer provides values for both Name and HP at the same time.

Important: we do not compute one set of possible values for Name and another set of possible values for HP.

Rather: we compute pairs of values, one for Name and one for HP, that together answer the query.

Example: Name can be Articuno or Lapras, and HP can be 180 or 260, but

  • (Articuno, 180) is an answer to the query
  • (Lapras, 180) is not.