<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def removeOntology(self, ontology):
 """ Removes the specified ontology term map from this repository. """

        q = models.Ontology.delete().where(id == ontology.getId())
        q.execute()