Ngā tūemi rite: Knowledge representation:logical, philosophical and computational foundations