(global_config,entities_set,mode=0)
| 94 | return reasoning_path,reasoning_path_information_description |
| 95 | |
| 96 | def get_entity_description(global_config,entities_set,mode=0): |
| 97 | |
| 98 | |
| 99 | |
| 100 | columns=['entity_name','parent','description'] |
| 101 | entity_descriptions="\t\t".join(columns)+"\n" |
| 102 | entity_descriptions+="\n".join([information[0]+"\t\t"+information[1]+"\t\t"+information[2] for information in entities_set]) |
| 103 | |
| 104 | return entity_descriptions |
| 105 | |
| 106 | def get_aggregation_description(global_config,reasoning_path,if_findings=False): |
| 107 |