Q:

“Il y a” in the "futur proche"

Explain, how to convert “il y a” to future immediate? 
For example "Sur la table  il y a un livre". "Sur la table il y va a un livre"?
Explain also how to build a question in the futur immediate? For instance, "Qu'y a-t-il dans le mur?". 

A:

It may seem more complicated but it works the same as with any other combination of a verb and a pronoun:

Je le pense. Je vais le penser.
Il y a. Il va y avoir.
Que lui offres-tu ? Que vas-tu lui offrir ?
Qu'y a-t-il ? Que va-t-il y avoir ?

The basic construction is aller + infinitive. Object pronouns go before the verb in the infinitive, which is the verb they complement. Subject pronouns in the case of questions are always attached to the conjugated part.

