Introduced feature to query synset's ancestors by providing a relation