adjust factories to set logic for ontology.