King D. John V of Portugal, first to decree an inventory of ancient built heritage in Portuguese territory