I have a list of methods which I have to execute on an Object. These are the methods
methods = ['plays', 'plays', 'is', 'is']
relation_dict = {}
I want to get a relation dictionary which looks like this
relation_dict = {'plays':FOAF.plays,'plays':FOAF.plays, 'is':FOAF.is, 'is':FOAF.is}
here FOAF is the object. How can we do this?