Yes, you can claim both exemptions under Section 54EC for land or building and under Section 54F if it's not a residential house. To qualify, you must meet the conditions specified in each section.