@DanielCoutoVale better write `if ontology_type` instead of `unless ontology_type.nil?`