changed script to get_relations_for_concepts