def METHOD_NAME(self, trait):
    """ Action on selecting an ontology.
    :param trait: ?
    :type trait: ?
    """
    if trait != 'value':
        return
    url = ''
    sid = self.wResultsSelect.value
    if self.wOntologySelect.value == 'ChEBI':
        url = 'http://identifiers.org/chebi/{}'.format(sid)
    elif self.wOntologySelect.value == 'KEGG.Reaction':
        url = 'http://identifiers.org/kegg.reaction/{}'.format(sid)
    self.wResultsURL.value = url
    print(url)