finished python script for create active moieties in rdf