These examples apply the same rule without changing the nominal sentence internally.
Meaning
Arabic question or answer
Are the two girls truthful?
هَلِ الْبِنْتَانِ صَادِقَتَانِ؟
Are the female teachers seated?
هَلِ الْمُعَلِّمَاتُ جَالِسَاتٌ؟
Is Hamid the son of Zayd?
هَلْ حَامِدٌ ابْنُ زَيْدٍ؟
Yes, he is righteous.
نَعَمْ، هُوَ صَالِحٌ.