adapted from version used for Reactome 25 in OWL 1, written at Science Commons, to Reactome 43 in OWL 2
temp file