checkpoint on ontologies
added ID and builds only unique durations, and reuses existing ones
forgot to init hashmap
only 3 per type