Relphormer baseline
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
{
|
||||
"cells": [],
|
||||
"metadata": {},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
17535
dataset/FB15k-237/dev.tsv
Normal file
17535
dataset/FB15k-237/dev.tsv
Normal file
File diff suppressed because it is too large
Load Diff
14541
dataset/FB15k-237/entities.txt
Normal file
14541
dataset/FB15k-237/entities.txt
Normal file
File diff suppressed because it is too large
Load Diff
14951
dataset/FB15k-237/entity2text.txt
Normal file
14951
dataset/FB15k-237/entity2text.txt
Normal file
File diff suppressed because it is too large
Load Diff
14951
dataset/FB15k-237/entity2textlong.txt
Normal file
14951
dataset/FB15k-237/entity2textlong.txt
Normal file
File diff suppressed because it is too large
Load Diff
0
dataset/FB15k-237/features_dev.txt
Normal file
0
dataset/FB15k-237/features_dev.txt
Normal file
0
dataset/FB15k-237/features_test.txt
Normal file
0
dataset/FB15k-237/features_test.txt
Normal file
0
dataset/FB15k-237/features_train.txt
Normal file
0
dataset/FB15k-237/features_train.txt
Normal file
155
dataset/FB15k-237/get_neighbor.ipynb
Normal file
155
dataset/FB15k-237/get_neighbor.ipynb
Normal file
@ -0,0 +1,155 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"path1 = './entities.txt'\n",
|
||||
"path2 = './relations.txt'\n",
|
||||
"path3 = './train.tsv'\n",
|
||||
"path4 = './dev.tsv'\n",
|
||||
"path5 = './test.tsv'\n",
|
||||
"path6 = './get_neighbor/entity2id.txt'\n",
|
||||
"path7 = './get_neighbor/relation2id.txt'\n",
|
||||
"path8 = './get_neighbor/train2id.txt'\n",
|
||||
"path9 = './get_neighbor/valid2id.txt'\n",
|
||||
"path10 = './get_neighbor/test2id.txt'"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path1, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"cnt = 0\n",
|
||||
"with open(path6, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" en = line.strip()\n",
|
||||
" f.write(en + '\\t' + str(cnt) + '\\n')\n",
|
||||
" cnt += 1\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path2, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"cnt = 0\n",
|
||||
"with open(path7, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" re = line.strip()\n",
|
||||
" f.write(re + '\\t' + str(cnt) + '\\n')\n",
|
||||
" cnt += 1\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path6, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"en2id = {}\n",
|
||||
"for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" en, num = b[0], b[1]\n",
|
||||
" en2id[en] = num"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path7, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"re2id = {}\n",
|
||||
"for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" re, num = b[0], b[1]\n",
|
||||
" re2id[re] = num"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path3, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"with open(path8, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" h, r, t = b[0], b[1], b[2]\n",
|
||||
" f.write(en2id[h] + ' ' + re2id[r] + ' ' + en2id[t] + '\\n')\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 15,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path4, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"with open(path9, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" h, r, t = b[0], b[1], b[2]\n",
|
||||
" f.write(en2id[h] + ' ' + re2id[r] + ' ' + en2id[t] + '\\n')\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path5, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"with open(path10, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" h, r, t = b[0], b[1], b[2]\n",
|
||||
" f.write(en2id[h] + ' ' + re2id[r] + ' ' + en2id[t] + '\\n')\n",
|
||||
" "
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python [default]",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.6.5"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
14541
dataset/FB15k-237/get_neighbor/entity2id.txt
Normal file
14541
dataset/FB15k-237/get_neighbor/entity2id.txt
Normal file
File diff suppressed because it is too large
Load Diff
237
dataset/FB15k-237/get_neighbor/relation2id.txt
Normal file
237
dataset/FB15k-237/get_neighbor/relation2id.txt
Normal file
@ -0,0 +1,237 @@
|
||||
/soccer/football_team/current_roster./soccer/football_roster_position/position 0
|
||||
/music/artist/origin 1
|
||||
/ice_hockey/hockey_team/current_roster./sports/sports_team_roster/position 2
|
||||
/food/food/nutrients./food/nutrition_fact/nutrient 3
|
||||
/film/actor/film./film/performance/film 4
|
||||
/award/award_nominee/award_nominations./award/award_nomination/nominated_for 5
|
||||
/government/political_party/politicians_in_this_party./government/political_party_tenure/politician 6
|
||||
/base/schemastaging/person_extra/net_worth./measurement_unit/dated_money_value/currency 7
|
||||
/people/deceased_person/place_of_death 8
|
||||
/people/person/profession 9
|
||||
/location/administrative_division/first_level_division_of 10
|
||||
/base/marchmadness/ncaa_basketball_tournament/seeds./base/marchmadness/ncaa_tournament_seed/team 11
|
||||
/education/university/international_tuition./measurement_unit/dated_money_value/currency 12
|
||||
/location/us_county/county_seat 13
|
||||
/location/location/partially_contains 14
|
||||
/tv/tv_program/program_creator 15
|
||||
/film/film/music 16
|
||||
/tv/tv_program/languages 17
|
||||
/common/topic/webpage./common/webpage/category 18
|
||||
/user/tsegaran/random/taxonomy_subject/entry./user/tsegaran/random/taxonomy_entry/taxonomy 19
|
||||
/education/field_of_study/students_majoring./education/education/major_field_of_study 20
|
||||
/business/business_operation/assets./measurement_unit/dated_money_value/currency 21
|
||||
/film/film_set_designer/film_sets_designed 22
|
||||
/dataworld/gardening_hint/split_to 23
|
||||
/people/person/languages 24
|
||||
/business/job_title/people_with_this_title./business/employment_tenure/company 25
|
||||
/location/country/form_of_government 26
|
||||
/base/schemastaging/organization_extra/phone_number./base/schemastaging/phone_sandbox/service_language 27
|
||||
/people/person/place_of_birth 28
|
||||
/sports/sports_team/colors 29
|
||||
/education/educational_institution/school_type 30
|
||||
/award/award_category/winners./award/award_honor/award_winner 31
|
||||
/organization/organization/headquarters./location/mailing_address/citytown 32
|
||||
/education/educational_degree/people_with_this_degree./education/education/student 33
|
||||
/government/legislative_session/members./government/government_position_held/legislative_sessions 34
|
||||
/film/film/distributors./film/film_film_distributor_relationship/film_distribution_medium 35
|
||||
/education/educational_degree/people_with_this_degree./education/education/major_field_of_study 36
|
||||
/location/hud_county_place/county 37
|
||||
/location/administrative_division/country 38
|
||||
/film/film/film_production_design_by 39
|
||||
/award/award_winning_work/awards_won./award/award_honor/award 40
|
||||
/organization/organization/headquarters./location/mailing_address/state_province_region 41
|
||||
/base/schemastaging/organization_extra/phone_number./base/schemastaging/phone_sandbox/contact_category 42
|
||||
/tv/tv_program/country_of_origin 43
|
||||
/olympics/olympic_participating_country/medals_won./olympics/olympic_medal_honor/medal 44
|
||||
/location/country/second_level_divisions 45
|
||||
/award/award_ceremony/awards_presented./award/award_honor/honored_for 46
|
||||
/organization/organization_member/member_of./organization/organization_membership/organization 47
|
||||
/education/educational_institution/campuses 48
|
||||
/music/artist/contribution./music/recording_contribution/performance_role 49
|
||||
/award/ranked_item/appears_in_ranked_lists./award/ranking/list 50
|
||||
/people/person/religion 51
|
||||
/travel/travel_destination/climate./travel/travel_destination_monthly_climate/month 52
|
||||
/film/special_film_performance_type/film_performance_type./film/performance/film 53
|
||||
/award/award_nominee/award_nominations./award/award_nomination/award 54
|
||||
/location/statistical_region/religions./location/religion_percentage/religion 55
|
||||
/sports/sports_league_draft/picks./sports/sports_league_draft_pick/school 56
|
||||
/film/film/distributors./film/film_film_distributor_relationship/region 57
|
||||
/government/politician/government_positions_held./government/government_position_held/legislative_sessions 58
|
||||
/organization/role/leaders./organization/leadership/organization 59
|
||||
/tv/tv_network/programs./tv/tv_network_duration/program 60
|
||||
/soccer/football_team/current_roster./sports/sports_team_roster/position 61
|
||||
/music/instrument/instrumentalists 62
|
||||
/business/business_operation/operating_income./measurement_unit/dated_money_value/currency 63
|
||||
/people/cause_of_death/people 64
|
||||
/film/film/film_art_direction_by 65
|
||||
/people/person/sibling_s./people/sibling_relationship/sibling 66
|
||||
/film/film/cinematography 67
|
||||
/film/actor/dubbing_performances./film/dubbing_performance/language 68
|
||||
/base/biblioness/bibs_location/state 69
|
||||
/base/petbreeds/city_with_dogs/top_breeds./base/petbreeds/dog_city_relationship/dog_breed 70
|
||||
/people/person/gender 71
|
||||
/education/field_of_study/students_majoring./education/education/student 72
|
||||
/base/popstra/celebrity/dated./base/popstra/dated/participant 73
|
||||
/sports/sports_team/roster./american_football/football_roster_position/position 74
|
||||
/award/award_winner/awards_won./award/award_honor/award_winner 75
|
||||
/olympics/olympic_participating_country/medals_won./olympics/olympic_medal_honor/olympics 76
|
||||
/film/director/film 77
|
||||
/tv/tv_producer/programs_produced./tv/tv_producer_term/program 78
|
||||
/film/film_distributor/films_distributed./film/film_film_distributor_relationship/film 79
|
||||
/olympics/olympic_games/sports 80
|
||||
/music/record_label/artist 81
|
||||
/education/university/local_tuition./measurement_unit/dated_money_value/currency 82
|
||||
/film/film/story_by 83
|
||||
/people/person/spouse_s./people/marriage/spouse 84
|
||||
/sports/sports_league/teams./sports/sports_league_participation/team 85
|
||||
/people/profession/specialization_of 86
|
||||
/base/americancomedy/celebrity_impressionist/celebrities_impersonated 87
|
||||
/tv/tv_program/genre 88
|
||||
/award/award_category/nominees./award/award_nomination/nominated_for 89
|
||||
/language/human_language/countries_spoken_in 90
|
||||
/organization/organization/headquarters./location/mailing_address/country 91
|
||||
/location/statistical_region/gdp_real./measurement_unit/adjusted_money_value/adjustment_currency 92
|
||||
/education/university/fraternities_and_sororities 93
|
||||
/award/award_nominee/award_nominations./award/award_nomination/award_nominee 94
|
||||
/military/military_combatant/military_conflicts./military/military_combatant_group/combatants 95
|
||||
/award/award_nominated_work/award_nominations./award/award_nomination/nominated_for 96
|
||||
/location/location/time_zones 97
|
||||
/film/film/dubbing_performances./film/dubbing_performance/actor 98
|
||||
/film/film_subject/films 99
|
||||
/education/educational_degree/people_with_this_degree./education/education/institution 100
|
||||
/education/educational_institution/colors 101
|
||||
/award/award_category/category_of 102
|
||||
/tv/tv_personality/tv_regular_appearances./tv/tv_regular_personal_appearance/program 103
|
||||
/film/film/language 104
|
||||
/music/group_member/membership./music/group_membership/group 105
|
||||
/business/business_operation/revenue./measurement_unit/dated_money_value/currency 106
|
||||
/film/film/film_festivals 107
|
||||
/film/actor/film./film/performance/special_performance_type 108
|
||||
/organization/non_profit_organization/registered_with./organization/non_profit_registration/registering_agency 109
|
||||
/government/politician/government_positions_held./government/government_position_held/jurisdiction_of_office 110
|
||||
/base/aareas/schema/administrative_area/administrative_parent 111
|
||||
/award/award_winning_work/awards_won./award/award_honor/award_winner 112
|
||||
/organization/organization/place_founded 113
|
||||
/soccer/football_player/current_team./sports/sports_team_roster/team 114
|
||||
/government/politician/government_positions_held./government/government_position_held/basic_title 115
|
||||
/music/artist/track_contributions./music/track_contribution/role 116
|
||||
/base/localfood/seasonal_month/produce_available./base/localfood/produce_availability/seasonal_months 117
|
||||
/celebrities/celebrity/celebrity_friends./celebrities/friendship/friend 118
|
||||
/sports/professional_sports_team/draft_picks./sports/sports_league_draft_pick/school 119
|
||||
/award/hall_of_fame/inductees./award/hall_of_fame_induction/inductee 120
|
||||
/influence/influence_node/peers./influence/peer_relationship/peers 121
|
||||
/medicine/disease/risk_factors 122
|
||||
/broadcast/content/artist 123
|
||||
/film/film/estimated_budget./measurement_unit/dated_money_value/currency 124
|
||||
/military/military_conflict/combatants./military/military_combatant_group/combatants 125
|
||||
/location/capital_of_administrative_division/capital_of./location/administrative_division_capital_relationship/administrative_division 126
|
||||
/tv/tv_program/regular_cast./tv/regular_tv_appearance/actor 127
|
||||
/people/deceased_person/place_of_burial 128
|
||||
/location/location/adjoin_s./location/adjoining_relationship/adjoins 129
|
||||
/music/group_member/membership./music/group_membership/role 130
|
||||
/award/award_ceremony/awards_presented./award/award_honor/award_winner 131
|
||||
/film/film/prequel 132
|
||||
/film/film/produced_by 133
|
||||
/tv/tv_program/tv_producer./tv/tv_producer_term/producer_type 134
|
||||
/sports/sports_position/players./sports/sports_team_roster/team 135
|
||||
/olympics/olympic_games/participating_countries 136
|
||||
/music/genre/parent_genre 137
|
||||
/tv/tv_writer/tv_programs./tv/tv_program_writer_relationship/tv_program 138
|
||||
/music/genre/artists 139
|
||||
/film/film/genre 140
|
||||
/people/person/employment_history./business/employment_tenure/company 141
|
||||
/education/university/domestic_tuition./measurement_unit/dated_money_value/currency 142
|
||||
/people/person/nationality 143
|
||||
/location/country/capital 144
|
||||
/location/statistical_region/gni_per_capita_in_ppp_dollars./measurement_unit/dated_money_value/currency 145
|
||||
/base/aareas/schema/administrative_area/capital 146
|
||||
/business/business_operation/industry 147
|
||||
/location/hud_foreclosure_area/estimated_number_of_mortgages./measurement_unit/dated_integer/source 148
|
||||
/film/film/other_crew./film/film_crew_gig/crewmember 149
|
||||
/base/popstra/location/vacationers./base/popstra/vacation_choice/vacationer 150
|
||||
/film/film/film_format 151
|
||||
/medicine/disease/notable_people_with_this_condition 152
|
||||
/film/film/costume_design_by 153
|
||||
/government/government_office_category/officeholders./government/government_position_held/jurisdiction_of_office 154
|
||||
/location/statistical_region/gdp_nominal./measurement_unit/dated_money_value/currency 155
|
||||
/sports/sports_team/roster./baseball/baseball_roster_position/position 156
|
||||
/award/award_winning_work/awards_won./award/award_honor/honored_for 157
|
||||
/olympics/olympic_sport/athletes./olympics/olympic_athlete_affiliation/olympics 158
|
||||
/celebrities/celebrity/sexual_relationships./celebrities/romantic_relationship/celebrity 159
|
||||
/people/marriage_union_type/unions_of_this_type./people/marriage/location_of_ceremony 160
|
||||
/organization/organization/child./organization/organization_relationship/child 161
|
||||
/organization/organization_founder/organizations_founded 162
|
||||
/sports/sports_team/sport 163
|
||||
/people/ethnicity/geographic_distribution 164
|
||||
/location/statistical_region/places_exported_to./location/imports_and_exports/exported_to 165
|
||||
/location/country/official_language 166
|
||||
/film/film/production_companies 167
|
||||
/user/jg/default_domain/olympic_games/sports 168
|
||||
/time/event/locations 169
|
||||
/people/person/spouse_s./people/marriage/type_of_union 170
|
||||
/government/governmental_body/members./government/government_position_held/legislative_sessions 171
|
||||
/media_common/netflix_genre/titles 172
|
||||
/user/alexander/philosophy/philosopher/interests 173
|
||||
/film/film/runtime./film/film_cut/film_release_region 174
|
||||
/education/educational_institution/students_graduates./education/education/student 175
|
||||
/base/eating/practicer_of_diet/diet 176
|
||||
/tv/non_character_role/tv_regular_personal_appearances./tv/tv_regular_personal_appearance/person 177
|
||||
/sports/sports_position/players./sports/sports_team_roster/position 178
|
||||
/sports/professional_sports_team/draft_picks./sports/sports_league_draft_pick/draft 179
|
||||
/medicine/symptom/symptom_of 180
|
||||
/film/person_or_entity_appearing_in_film/films./film/personal_film_appearance/type_of_appearance 181
|
||||
/sports/sports_team_location/teams 182
|
||||
/american_football/football_team/current_roster./sports/sports_team_roster/position 183
|
||||
/people/person/places_lived./people/place_lived/location 184
|
||||
/location/statistical_region/rent50_2./measurement_unit/dated_money_value/currency 185
|
||||
/film/film/personal_appearances./film/personal_film_appearance/person 186
|
||||
/music/instrument/family 187
|
||||
/sports/sports_team/roster./basketball/basketball_roster_position/position 188
|
||||
/base/schemastaging/organization_extra/phone_number./base/schemastaging/phone_sandbox/service_location 189
|
||||
/film/film/release_date_s./film/film_regional_release_date/film_release_region 190
|
||||
/award/award_category/disciplines_or_subjects 191
|
||||
/base/popstra/celebrity/friendship./base/popstra/friendship/participant 192
|
||||
/music/performance_role/regular_performances./music/group_membership/group 193
|
||||
/film/film/edited_by 194
|
||||
/base/x2010fifaworldcupsouthafrica/world_cup_squad/current_world_cup_squad./base/x2010fifaworldcupsouthafrica/current_world_cup_squad/current_club 195
|
||||
/base/popstra/celebrity/canoodled./base/popstra/canoodled/participant 196
|
||||
/film/film/release_date_s./film/film_regional_release_date/film_release_distribution_medium 197
|
||||
/film/film/other_crew./film/film_crew_gig/film_crew_role 198
|
||||
/base/popstra/celebrity/breakup./base/popstra/breakup/participant 199
|
||||
/film/film/country 200
|
||||
/music/performance_role/regular_performances./music/group_membership/role 201
|
||||
/sports/sports_team/roster./american_football/football_historical_roster_position/position_s 202
|
||||
/film/film/release_date_s./film/film_regional_release_date/film_regional_debut_venue 203
|
||||
/time/event/instance_of_recurring_event 204
|
||||
/olympics/olympic_participating_country/athletes./olympics/olympic_athlete_affiliation/olympics 205
|
||||
/organization/endowed_organization/endowment./measurement_unit/dated_money_value/currency 206
|
||||
/travel/travel_destination/how_to_get_here./travel/transportation/mode_of_transportation 207
|
||||
/baseball/baseball_team/team_stats./baseball/baseball_team_stats/season 208
|
||||
/award/award_category/winners./award/award_honor/ceremony 209
|
||||
/government/legislative_session/members./government/government_position_held/district_represented 210
|
||||
/influence/influence_node/influenced_by 211
|
||||
/base/culturalevent/event/entity_involved 212
|
||||
/people/ethnicity/people 213
|
||||
/sports/sport/pro_athletes./sports/pro_sports_played/athlete 214
|
||||
/location/statistical_region/gdp_nominal_per_capita./measurement_unit/dated_money_value/currency 215
|
||||
/location/hud_county_place/place 216
|
||||
/base/aareas/schema/administrative_area/administrative_area_type 217
|
||||
/base/locations/continents/countries_within 218
|
||||
/sports/sports_position/players./american_football/football_historical_roster_position/position_s 219
|
||||
/people/person/spouse_s./people/marriage/location_of_ceremony 220
|
||||
/education/educational_institution/students_graduates./education/education/major_field_of_study 221
|
||||
/film/film/written_by 222
|
||||
/olympics/olympic_sport/athletes./olympics/olympic_athlete_affiliation/country 223
|
||||
/music/performance_role/guest_performances./music/recording_contribution/performance_role 224
|
||||
/film/film/featured_film_locations 225
|
||||
/education/educational_institution_campus/educational_institution 226
|
||||
/sports/pro_athlete/teams./sports/sports_team_roster/team 227
|
||||
/people/ethnicity/languages_spoken 228
|
||||
/film/film/executive_produced_by 229
|
||||
/tv/tv_producer/programs_produced./tv/tv_producer_term/producer_type 230
|
||||
/location/location/contains 231
|
||||
/base/biblioness/bibs_location/country 232
|
||||
/user/ktrueman/default_domain/international_organization/member_states 233
|
||||
/music/performance_role/track_performances./music/track_contribution/role 234
|
||||
/olympics/olympic_games/medals_awarded./olympics/olympic_medal_honor/medal 235
|
||||
/base/saturdaynightlive/snl_cast_member/seasons./base/saturdaynightlive/snl_season_tenure/cast_members 236
|
20466
dataset/FB15k-237/get_neighbor/test2id.txt
Normal file
20466
dataset/FB15k-237/get_neighbor/test2id.txt
Normal file
File diff suppressed because it is too large
Load Diff
272115
dataset/FB15k-237/get_neighbor/train2id.txt
Normal file
272115
dataset/FB15k-237/get_neighbor/train2id.txt
Normal file
File diff suppressed because it is too large
Load Diff
17535
dataset/FB15k-237/get_neighbor/valid2id.txt
Normal file
17535
dataset/FB15k-237/get_neighbor/valid2id.txt
Normal file
File diff suppressed because it is too large
Load Diff
237
dataset/FB15k-237/relation2text.txt
Normal file
237
dataset/FB15k-237/relation2text.txt
Normal file
@ -0,0 +1,237 @@
|
||||
/soccer/football_team/current_roster./soccer/football_roster_position/position soccer football team current roster. soccer football roster position position
|
||||
/music/artist/origin music artist origin
|
||||
/ice_hockey/hockey_team/current_roster./sports/sports_team_roster/position ice hockey hockey team current roster. sports sports team roster position
|
||||
/food/food/nutrients./food/nutrition_fact/nutrient food food nutrients. food nutrition fact nutrient
|
||||
/film/actor/film./film/performance/film film actor film. film performance film
|
||||
/award/award_nominee/award_nominations./award/award_nomination/nominated_for award award nominee award nominations. award award nomination nominated for
|
||||
/government/political_party/politicians_in_this_party./government/political_party_tenure/politician government political party politicians in this party. government political party tenure politician
|
||||
/base/schemastaging/person_extra/net_worth./measurement_unit/dated_money_value/currency base schemastaging person extra net worth. measurement unit dated money value currency
|
||||
/people/deceased_person/place_of_death people deceased person place of death
|
||||
/people/person/profession people person profession
|
||||
/location/administrative_division/first_level_division_of location administrative division first level division of
|
||||
/base/marchmadness/ncaa_basketball_tournament/seeds./base/marchmadness/ncaa_tournament_seed/team base marchmadness ncaa basketball tournament seeds. base marchmadness ncaa tournament seed team
|
||||
/education/university/international_tuition./measurement_unit/dated_money_value/currency education university international tuition. measurement unit dated money value currency
|
||||
/location/us_county/county_seat location us county county seat
|
||||
/location/location/partially_contains location location partially contains
|
||||
/tv/tv_program/program_creator tv tv program program creator
|
||||
/film/film/music film film music
|
||||
/tv/tv_program/languages tv tv program languages
|
||||
/common/topic/webpage./common/webpage/category common topic webpage. common webpage category
|
||||
/user/tsegaran/random/taxonomy_subject/entry./user/tsegaran/random/taxonomy_entry/taxonomy user tsegaran random taxonomy subject entry. user tsegaran random taxonomy entry taxonomy
|
||||
/education/field_of_study/students_majoring./education/education/major_field_of_study education field of study students majoring. education education major field of study
|
||||
/business/business_operation/assets./measurement_unit/dated_money_value/currency business business operation assets. measurement unit dated money value currency
|
||||
/film/film_set_designer/film_sets_designed film film set designer film sets designed
|
||||
/dataworld/gardening_hint/split_to dataworld gardening hint split to
|
||||
/people/person/languages people person languages
|
||||
/business/job_title/people_with_this_title./business/employment_tenure/company business job title people with this title. business employment tenure company
|
||||
/location/country/form_of_government location country form of government
|
||||
/base/schemastaging/organization_extra/phone_number./base/schemastaging/phone_sandbox/service_language base schemastaging organization extra phone number. base schemastaging phone sandbox service language
|
||||
/people/person/place_of_birth people person place of birth
|
||||
/sports/sports_team/colors sports sports team colors
|
||||
/education/educational_institution/school_type education educational institution school type
|
||||
/award/award_category/winners./award/award_honor/award_winner award award category winners. award award honor award winner
|
||||
/organization/organization/headquarters./location/mailing_address/citytown organization organization headquarters. location mailing address citytown
|
||||
/education/educational_degree/people_with_this_degree./education/education/student education educational degree people with this degree. education education student
|
||||
/government/legislative_session/members./government/government_position_held/legislative_sessions government legislative session members. government government position held legislative sessions
|
||||
/film/film/distributors./film/film_film_distributor_relationship/film_distribution_medium film film distributors. film film film distributor relationship film distribution medium
|
||||
/education/educational_degree/people_with_this_degree./education/education/major_field_of_study education educational degree people with this degree. education education major field of study
|
||||
/location/hud_county_place/county location hud county place county
|
||||
/location/administrative_division/country location administrative division country
|
||||
/film/film/film_production_design_by film film film production design by
|
||||
/award/award_winning_work/awards_won./award/award_honor/award award award winning work awards won. award award honor award
|
||||
/organization/organization/headquarters./location/mailing_address/state_province_region organization organization headquarters. location mailing address state province region
|
||||
/base/schemastaging/organization_extra/phone_number./base/schemastaging/phone_sandbox/contact_category base schemastaging organization extra phone number. base schemastaging phone sandbox contact category
|
||||
/tv/tv_program/country_of_origin tv tv program country of origin
|
||||
/olympics/olympic_participating_country/medals_won./olympics/olympic_medal_honor/medal olympics olympic participating country medals won. olympics olympic medal honor medal
|
||||
/location/country/second_level_divisions location country second level divisions
|
||||
/award/award_ceremony/awards_presented./award/award_honor/honored_for award award ceremony awards presented. award award honor honored for
|
||||
/organization/organization_member/member_of./organization/organization_membership/organization organization organization member member of. organization organization membership organization
|
||||
/education/educational_institution/campuses education educational institution campuses
|
||||
/music/artist/contribution./music/recording_contribution/performance_role music artist contribution. music recording contribution performance role
|
||||
/award/ranked_item/appears_in_ranked_lists./award/ranking/list award ranked item appears in ranked lists. award ranking list
|
||||
/people/person/religion people person religion
|
||||
/travel/travel_destination/climate./travel/travel_destination_monthly_climate/month travel travel destination climate. travel travel destination monthly climate month
|
||||
/film/special_film_performance_type/film_performance_type./film/performance/film film special film performance type film performance type. film performance film
|
||||
/award/award_nominee/award_nominations./award/award_nomination/award award award nominee award nominations. award award nomination award
|
||||
/location/statistical_region/religions./location/religion_percentage/religion location statistical region religions. location religion percentage religion
|
||||
/sports/sports_league_draft/picks./sports/sports_league_draft_pick/school sports sports league draft picks. sports sports league draft pick school
|
||||
/film/film/distributors./film/film_film_distributor_relationship/region film film distributors. film film film distributor relationship region
|
||||
/government/politician/government_positions_held./government/government_position_held/legislative_sessions government politician government positions held. government government position held legislative sessions
|
||||
/organization/role/leaders./organization/leadership/organization organization role leaders. organization leadership organization
|
||||
/tv/tv_network/programs./tv/tv_network_duration/program tv tv network programs. tv tv network duration program
|
||||
/soccer/football_team/current_roster./sports/sports_team_roster/position soccer football team current roster. sports sports team roster position
|
||||
/music/instrument/instrumentalists music instrument instrumentalists
|
||||
/business/business_operation/operating_income./measurement_unit/dated_money_value/currency business business operation operating income. measurement unit dated money value currency
|
||||
/people/cause_of_death/people people cause of death people
|
||||
/film/film/film_art_direction_by film film film art direction by
|
||||
/people/person/sibling_s./people/sibling_relationship/sibling people person sibling s. people sibling relationship sibling
|
||||
/film/film/cinematography film film cinematography
|
||||
/film/actor/dubbing_performances./film/dubbing_performance/language film actor dubbing performances. film dubbing performance language
|
||||
/base/biblioness/bibs_location/state base biblioness bibs location state
|
||||
/base/petbreeds/city_with_dogs/top_breeds./base/petbreeds/dog_city_relationship/dog_breed base petbreeds city with dogs top breeds. base petbreeds dog city relationship dog breed
|
||||
/people/person/gender people person gender
|
||||
/education/field_of_study/students_majoring./education/education/student education field of study students majoring. education education student
|
||||
/base/popstra/celebrity/dated./base/popstra/dated/participant base popstra celebrity dated. base popstra dated participant
|
||||
/sports/sports_team/roster./american_football/football_roster_position/position sports sports team roster. american football football roster position position
|
||||
/award/award_winner/awards_won./award/award_honor/award_winner award award winner awards won. award award honor award winner
|
||||
/olympics/olympic_participating_country/medals_won./olympics/olympic_medal_honor/olympics olympics olympic participating country medals won. olympics olympic medal honor olympics
|
||||
/film/director/film film director film
|
||||
/tv/tv_producer/programs_produced./tv/tv_producer_term/program tv tv producer programs produced. tv tv producer term program
|
||||
/film/film_distributor/films_distributed./film/film_film_distributor_relationship/film film film distributor films distributed. film film film distributor relationship film
|
||||
/olympics/olympic_games/sports olympics olympic games sports
|
||||
/music/record_label/artist music record label artist
|
||||
/education/university/local_tuition./measurement_unit/dated_money_value/currency education university local tuition. measurement unit dated money value currency
|
||||
/film/film/story_by film film story by
|
||||
/people/person/spouse_s./people/marriage/spouse people person spouse s. people marriage spouse
|
||||
/sports/sports_league/teams./sports/sports_league_participation/team sports sports league teams. sports sports league participation team
|
||||
/people/profession/specialization_of people profession specialization of
|
||||
/base/americancomedy/celebrity_impressionist/celebrities_impersonated base americancomedy celebrity impressionist celebrities impersonated
|
||||
/tv/tv_program/genre tv tv program genre
|
||||
/award/award_category/nominees./award/award_nomination/nominated_for award award category nominees. award award nomination nominated for
|
||||
/language/human_language/countries_spoken_in language human language countries spoken in
|
||||
/organization/organization/headquarters./location/mailing_address/country organization organization headquarters. location mailing address country
|
||||
/location/statistical_region/gdp_real./measurement_unit/adjusted_money_value/adjustment_currency location statistical region gdp real. measurement unit adjusted money value adjustment currency
|
||||
/education/university/fraternities_and_sororities education university fraternities and sororities
|
||||
/award/award_nominee/award_nominations./award/award_nomination/award_nominee award award nominee award nominations. award award nomination award nominee
|
||||
/military/military_combatant/military_conflicts./military/military_combatant_group/combatants military military combatant military conflicts. military military combatant group combatants
|
||||
/award/award_nominated_work/award_nominations./award/award_nomination/nominated_for award award nominated work award nominations. award award nomination nominated for
|
||||
/location/location/time_zones location location time zones
|
||||
/film/film/dubbing_performances./film/dubbing_performance/actor film film dubbing performances. film dubbing performance actor
|
||||
/film/film_subject/films film film subject films
|
||||
/education/educational_degree/people_with_this_degree./education/education/institution education educational degree people with this degree. education education institution
|
||||
/education/educational_institution/colors education educational institution colors
|
||||
/award/award_category/category_of award award category category of
|
||||
/tv/tv_personality/tv_regular_appearances./tv/tv_regular_personal_appearance/program tv tv personality tv regular appearances. tv tv regular personal appearance program
|
||||
/film/film/language film film language
|
||||
/music/group_member/membership./music/group_membership/group music group member membership. music group membership group
|
||||
/business/business_operation/revenue./measurement_unit/dated_money_value/currency business business operation revenue. measurement unit dated money value currency
|
||||
/film/film/film_festivals film film film festivals
|
||||
/film/actor/film./film/performance/special_performance_type film actor film. film performance special performance type
|
||||
/organization/non_profit_organization/registered_with./organization/non_profit_registration/registering_agency organization non profit organization registered with. organization non profit registration registering agency
|
||||
/government/politician/government_positions_held./government/government_position_held/jurisdiction_of_office government politician government positions held. government government position held jurisdiction of office
|
||||
/base/aareas/schema/administrative_area/administrative_parent base aareas schema administrative area administrative parent
|
||||
/award/award_winning_work/awards_won./award/award_honor/award_winner award award winning work awards won. award award honor award winner
|
||||
/organization/organization/place_founded organization organization place founded
|
||||
/soccer/football_player/current_team./sports/sports_team_roster/team soccer football player current team. sports sports team roster team
|
||||
/government/politician/government_positions_held./government/government_position_held/basic_title government politician government positions held. government government position held basic title
|
||||
/music/artist/track_contributions./music/track_contribution/role music artist track contributions. music track contribution role
|
||||
/base/localfood/seasonal_month/produce_available./base/localfood/produce_availability/seasonal_months base localfood seasonal month produce available. base localfood produce availability seasonal months
|
||||
/celebrities/celebrity/celebrity_friends./celebrities/friendship/friend celebrities celebrity celebrity friends. celebrities friendship friend
|
||||
/sports/professional_sports_team/draft_picks./sports/sports_league_draft_pick/school sports professional sports team draft picks. sports sports league draft pick school
|
||||
/award/hall_of_fame/inductees./award/hall_of_fame_induction/inductee award hall of fame inductees. award hall of fame induction inductee
|
||||
/influence/influence_node/peers./influence/peer_relationship/peers influence influence node peers. influence peer relationship peers
|
||||
/medicine/disease/risk_factors medicine disease risk factors
|
||||
/broadcast/content/artist broadcast content artist
|
||||
/film/film/estimated_budget./measurement_unit/dated_money_value/currency film film estimated budget. measurement unit dated money value currency
|
||||
/military/military_conflict/combatants./military/military_combatant_group/combatants military military conflict combatants. military military combatant group combatants
|
||||
/location/capital_of_administrative_division/capital_of./location/administrative_division_capital_relationship/administrative_division location capital of administrative division capital of. location administrative division capital relationship administrative division
|
||||
/tv/tv_program/regular_cast./tv/regular_tv_appearance/actor tv tv program regular cast. tv regular tv appearance actor
|
||||
/people/deceased_person/place_of_burial people deceased person place of burial
|
||||
/location/location/adjoin_s./location/adjoining_relationship/adjoins location location adjoin s. location adjoining relationship adjoins
|
||||
/music/group_member/membership./music/group_membership/role music group member membership. music group membership role
|
||||
/award/award_ceremony/awards_presented./award/award_honor/award_winner award award ceremony awards presented. award award honor award winner
|
||||
/film/film/prequel film film prequel
|
||||
/film/film/produced_by film film produced by
|
||||
/tv/tv_program/tv_producer./tv/tv_producer_term/producer_type tv tv program tv producer. tv tv producer term producer type
|
||||
/sports/sports_position/players./sports/sports_team_roster/team sports sports position players. sports sports team roster team
|
||||
/olympics/olympic_games/participating_countries olympics olympic games participating countries
|
||||
/music/genre/parent_genre music genre parent genre
|
||||
/tv/tv_writer/tv_programs./tv/tv_program_writer_relationship/tv_program tv tv writer tv programs. tv tv program writer relationship tv program
|
||||
/music/genre/artists music genre artists
|
||||
/film/film/genre film film genre
|
||||
/people/person/employment_history./business/employment_tenure/company people person employment history. business employment tenure company
|
||||
/education/university/domestic_tuition./measurement_unit/dated_money_value/currency education university domestic tuition. measurement unit dated money value currency
|
||||
/people/person/nationality people person nationality
|
||||
/location/country/capital location country capital
|
||||
/location/statistical_region/gni_per_capita_in_ppp_dollars./measurement_unit/dated_money_value/currency location statistical region gni per capita in ppp dollars. measurement unit dated money value currency
|
||||
/base/aareas/schema/administrative_area/capital base aareas schema administrative area capital
|
||||
/business/business_operation/industry business business operation industry
|
||||
/location/hud_foreclosure_area/estimated_number_of_mortgages./measurement_unit/dated_integer/source location hud foreclosure area estimated number of mortgages. measurement unit dated integer source
|
||||
/film/film/other_crew./film/film_crew_gig/crewmember film film other crew. film film crew gig crewmember
|
||||
/base/popstra/location/vacationers./base/popstra/vacation_choice/vacationer base popstra location vacationers. base popstra vacation choice vacationer
|
||||
/film/film/film_format film film film format
|
||||
/medicine/disease/notable_people_with_this_condition medicine disease notable people with this condition
|
||||
/film/film/costume_design_by film film costume design by
|
||||
/government/government_office_category/officeholders./government/government_position_held/jurisdiction_of_office government government office category officeholders. government government position held jurisdiction of office
|
||||
/location/statistical_region/gdp_nominal./measurement_unit/dated_money_value/currency location statistical region gdp nominal. measurement unit dated money value currency
|
||||
/sports/sports_team/roster./baseball/baseball_roster_position/position sports sports team roster. baseball baseball roster position position
|
||||
/award/award_winning_work/awards_won./award/award_honor/honored_for award award winning work awards won. award award honor honored for
|
||||
/olympics/olympic_sport/athletes./olympics/olympic_athlete_affiliation/olympics olympics olympic sport athletes. olympics olympic athlete affiliation olympics
|
||||
/celebrities/celebrity/sexual_relationships./celebrities/romantic_relationship/celebrity celebrities celebrity sexual relationships. celebrities romantic relationship celebrity
|
||||
/people/marriage_union_type/unions_of_this_type./people/marriage/location_of_ceremony people marriage union type unions of this type. people marriage location of ceremony
|
||||
/organization/organization/child./organization/organization_relationship/child organization organization child. organization organization relationship child
|
||||
/organization/organization_founder/organizations_founded organization organization founder organizations founded
|
||||
/sports/sports_team/sport sports sports team sport
|
||||
/people/ethnicity/geographic_distribution people ethnicity geographic distribution
|
||||
/location/statistical_region/places_exported_to./location/imports_and_exports/exported_to location statistical region places exported to. location imports and exports exported to
|
||||
/location/country/official_language location country official language
|
||||
/film/film/production_companies film film production companies
|
||||
/user/jg/default_domain/olympic_games/sports user jg default domain olympic games sports
|
||||
/time/event/locations time event locations
|
||||
/people/person/spouse_s./people/marriage/type_of_union people person spouse s. people marriage type of union
|
||||
/government/governmental_body/members./government/government_position_held/legislative_sessions government governmental body members. government government position held legislative sessions
|
||||
/media_common/netflix_genre/titles media common netflix genre titles
|
||||
/user/alexander/philosophy/philosopher/interests user alexander philosophy philosopher interests
|
||||
/film/film/runtime./film/film_cut/film_release_region film film runtime. film film cut film release region
|
||||
/education/educational_institution/students_graduates./education/education/student education educational institution students graduates. education education student
|
||||
/base/eating/practicer_of_diet/diet base eating practicer of diet diet
|
||||
/tv/non_character_role/tv_regular_personal_appearances./tv/tv_regular_personal_appearance/person tv non character role tv regular personal appearances. tv tv regular personal appearance person
|
||||
/sports/sports_position/players./sports/sports_team_roster/position sports sports position players. sports sports team roster position
|
||||
/sports/professional_sports_team/draft_picks./sports/sports_league_draft_pick/draft sports professional sports team draft picks. sports sports league draft pick draft
|
||||
/medicine/symptom/symptom_of medicine symptom symptom of
|
||||
/film/person_or_entity_appearing_in_film/films./film/personal_film_appearance/type_of_appearance film person or entity appearing in film films. film personal film appearance type of appearance
|
||||
/sports/sports_team_location/teams sports sports team location teams
|
||||
/american_football/football_team/current_roster./sports/sports_team_roster/position american football football team current roster. sports sports team roster position
|
||||
/people/person/places_lived./people/place_lived/location people person places lived. people place lived location
|
||||
/location/statistical_region/rent50_2./measurement_unit/dated_money_value/currency location statistical region rent50 2. measurement unit dated money value currency
|
||||
/film/film/personal_appearances./film/personal_film_appearance/person film film personal appearances. film personal film appearance person
|
||||
/music/instrument/family music instrument family
|
||||
/sports/sports_team/roster./basketball/basketball_roster_position/position sports sports team roster. basketball basketball roster position position
|
||||
/base/schemastaging/organization_extra/phone_number./base/schemastaging/phone_sandbox/service_location base schemastaging organization extra phone number. base schemastaging phone sandbox service location
|
||||
/film/film/release_date_s./film/film_regional_release_date/film_release_region film film release date s. film film regional release date film release region
|
||||
/award/award_category/disciplines_or_subjects award award category disciplines or subjects
|
||||
/base/popstra/celebrity/friendship./base/popstra/friendship/participant base popstra celebrity friendship. base popstra friendship participant
|
||||
/music/performance_role/regular_performances./music/group_membership/group music performance role regular performances. music group membership group
|
||||
/film/film/edited_by film film edited by
|
||||
/base/x2010fifaworldcupsouthafrica/world_cup_squad/current_world_cup_squad./base/x2010fifaworldcupsouthafrica/current_world_cup_squad/current_club base x2010fifaworldcupsouthafrica world cup squad current world cup squad. base x2010fifaworldcupsouthafrica current world cup squad current club
|
||||
/base/popstra/celebrity/canoodled./base/popstra/canoodled/participant base popstra celebrity canoodled. base popstra canoodled participant
|
||||
/film/film/release_date_s./film/film_regional_release_date/film_release_distribution_medium film film release date s. film film regional release date film release distribution medium
|
||||
/film/film/other_crew./film/film_crew_gig/film_crew_role film film other crew. film film crew gig film crew role
|
||||
/base/popstra/celebrity/breakup./base/popstra/breakup/participant base popstra celebrity breakup. base popstra breakup participant
|
||||
/film/film/country film film country
|
||||
/music/performance_role/regular_performances./music/group_membership/role music performance role regular performances. music group membership role
|
||||
/sports/sports_team/roster./american_football/football_historical_roster_position/position_s sports sports team roster. american football football historical roster position position s
|
||||
/film/film/release_date_s./film/film_regional_release_date/film_regional_debut_venue film film release date s. film film regional release date film regional debut venue
|
||||
/time/event/instance_of_recurring_event time event instance of recurring event
|
||||
/olympics/olympic_participating_country/athletes./olympics/olympic_athlete_affiliation/olympics olympics olympic participating country athletes. olympics olympic athlete affiliation olympics
|
||||
/organization/endowed_organization/endowment./measurement_unit/dated_money_value/currency organization endowed organization endowment. measurement unit dated money value currency
|
||||
/travel/travel_destination/how_to_get_here./travel/transportation/mode_of_transportation travel travel destination how to get here. travel transportation mode of transportation
|
||||
/baseball/baseball_team/team_stats./baseball/baseball_team_stats/season baseball baseball team team stats. baseball baseball team stats season
|
||||
/award/award_category/winners./award/award_honor/ceremony award award category winners. award award honor ceremony
|
||||
/government/legislative_session/members./government/government_position_held/district_represented government legislative session members. government government position held district represented
|
||||
/influence/influence_node/influenced_by influence influence node influenced by
|
||||
/base/culturalevent/event/entity_involved base culturalevent event entity involved
|
||||
/people/ethnicity/people people ethnicity people
|
||||
/sports/sport/pro_athletes./sports/pro_sports_played/athlete sports sport pro athletes. sports pro sports played athlete
|
||||
/location/statistical_region/gdp_nominal_per_capita./measurement_unit/dated_money_value/currency location statistical region gdp nominal per capita. measurement unit dated money value currency
|
||||
/location/hud_county_place/place location hud county place place
|
||||
/base/aareas/schema/administrative_area/administrative_area_type base aareas schema administrative area administrative area type
|
||||
/base/locations/continents/countries_within base locations continents countries within
|
||||
/sports/sports_position/players./american_football/football_historical_roster_position/position_s sports sports position players. american football football historical roster position position s
|
||||
/people/person/spouse_s./people/marriage/location_of_ceremony people person spouse s. people marriage location of ceremony
|
||||
/education/educational_institution/students_graduates./education/education/major_field_of_study education educational institution students graduates. education education major field of study
|
||||
/film/film/written_by film film written by
|
||||
/olympics/olympic_sport/athletes./olympics/olympic_athlete_affiliation/country olympics olympic sport athletes. olympics olympic athlete affiliation country
|
||||
/music/performance_role/guest_performances./music/recording_contribution/performance_role music performance role guest performances. music recording contribution performance role
|
||||
/film/film/featured_film_locations film film featured film locations
|
||||
/education/educational_institution_campus/educational_institution education educational institution campus educational institution
|
||||
/sports/pro_athlete/teams./sports/sports_team_roster/team sports pro athlete teams. sports sports team roster team
|
||||
/people/ethnicity/languages_spoken people ethnicity languages spoken
|
||||
/film/film/executive_produced_by film film executive produced by
|
||||
/tv/tv_producer/programs_produced./tv/tv_producer_term/producer_type tv tv producer programs produced. tv tv producer term producer type
|
||||
/location/location/contains location location contains
|
||||
/base/biblioness/bibs_location/country base biblioness bibs location country
|
||||
/user/ktrueman/default_domain/international_organization/member_states user ktrueman default domain international organization member states
|
||||
/music/performance_role/track_performances./music/track_contribution/role music performance role track performances. music track contribution role
|
||||
/olympics/olympic_games/medals_awarded./olympics/olympic_medal_honor/medal olympics olympic games medals awarded. olympics olympic medal honor medal
|
||||
/base/saturdaynightlive/snl_cast_member/seasons./base/saturdaynightlive/snl_season_tenure/cast_members base saturdaynightlive snl cast member seasons. base saturdaynightlive snl season tenure cast members
|
237
dataset/FB15k-237/relations.txt
Normal file
237
dataset/FB15k-237/relations.txt
Normal file
@ -0,0 +1,237 @@
|
||||
/soccer/football_team/current_roster./soccer/football_roster_position/position
|
||||
/music/artist/origin
|
||||
/ice_hockey/hockey_team/current_roster./sports/sports_team_roster/position
|
||||
/food/food/nutrients./food/nutrition_fact/nutrient
|
||||
/film/actor/film./film/performance/film
|
||||
/award/award_nominee/award_nominations./award/award_nomination/nominated_for
|
||||
/government/political_party/politicians_in_this_party./government/political_party_tenure/politician
|
||||
/base/schemastaging/person_extra/net_worth./measurement_unit/dated_money_value/currency
|
||||
/people/deceased_person/place_of_death
|
||||
/people/person/profession
|
||||
/location/administrative_division/first_level_division_of
|
||||
/base/marchmadness/ncaa_basketball_tournament/seeds./base/marchmadness/ncaa_tournament_seed/team
|
||||
/education/university/international_tuition./measurement_unit/dated_money_value/currency
|
||||
/location/us_county/county_seat
|
||||
/location/location/partially_contains
|
||||
/tv/tv_program/program_creator
|
||||
/film/film/music
|
||||
/tv/tv_program/languages
|
||||
/common/topic/webpage./common/webpage/category
|
||||
/user/tsegaran/random/taxonomy_subject/entry./user/tsegaran/random/taxonomy_entry/taxonomy
|
||||
/education/field_of_study/students_majoring./education/education/major_field_of_study
|
||||
/business/business_operation/assets./measurement_unit/dated_money_value/currency
|
||||
/film/film_set_designer/film_sets_designed
|
||||
/dataworld/gardening_hint/split_to
|
||||
/people/person/languages
|
||||
/business/job_title/people_with_this_title./business/employment_tenure/company
|
||||
/location/country/form_of_government
|
||||
/base/schemastaging/organization_extra/phone_number./base/schemastaging/phone_sandbox/service_language
|
||||
/people/person/place_of_birth
|
||||
/sports/sports_team/colors
|
||||
/education/educational_institution/school_type
|
||||
/award/award_category/winners./award/award_honor/award_winner
|
||||
/organization/organization/headquarters./location/mailing_address/citytown
|
||||
/education/educational_degree/people_with_this_degree./education/education/student
|
||||
/government/legislative_session/members./government/government_position_held/legislative_sessions
|
||||
/film/film/distributors./film/film_film_distributor_relationship/film_distribution_medium
|
||||
/education/educational_degree/people_with_this_degree./education/education/major_field_of_study
|
||||
/location/hud_county_place/county
|
||||
/location/administrative_division/country
|
||||
/film/film/film_production_design_by
|
||||
/award/award_winning_work/awards_won./award/award_honor/award
|
||||
/organization/organization/headquarters./location/mailing_address/state_province_region
|
||||
/base/schemastaging/organization_extra/phone_number./base/schemastaging/phone_sandbox/contact_category
|
||||
/tv/tv_program/country_of_origin
|
||||
/olympics/olympic_participating_country/medals_won./olympics/olympic_medal_honor/medal
|
||||
/location/country/second_level_divisions
|
||||
/award/award_ceremony/awards_presented./award/award_honor/honored_for
|
||||
/organization/organization_member/member_of./organization/organization_membership/organization
|
||||
/education/educational_institution/campuses
|
||||
/music/artist/contribution./music/recording_contribution/performance_role
|
||||
/award/ranked_item/appears_in_ranked_lists./award/ranking/list
|
||||
/people/person/religion
|
||||
/travel/travel_destination/climate./travel/travel_destination_monthly_climate/month
|
||||
/film/special_film_performance_type/film_performance_type./film/performance/film
|
||||
/award/award_nominee/award_nominations./award/award_nomination/award
|
||||
/location/statistical_region/religions./location/religion_percentage/religion
|
||||
/sports/sports_league_draft/picks./sports/sports_league_draft_pick/school
|
||||
/film/film/distributors./film/film_film_distributor_relationship/region
|
||||
/government/politician/government_positions_held./government/government_position_held/legislative_sessions
|
||||
/organization/role/leaders./organization/leadership/organization
|
||||
/tv/tv_network/programs./tv/tv_network_duration/program
|
||||
/soccer/football_team/current_roster./sports/sports_team_roster/position
|
||||
/music/instrument/instrumentalists
|
||||
/business/business_operation/operating_income./measurement_unit/dated_money_value/currency
|
||||
/people/cause_of_death/people
|
||||
/film/film/film_art_direction_by
|
||||
/people/person/sibling_s./people/sibling_relationship/sibling
|
||||
/film/film/cinematography
|
||||
/film/actor/dubbing_performances./film/dubbing_performance/language
|
||||
/base/biblioness/bibs_location/state
|
||||
/base/petbreeds/city_with_dogs/top_breeds./base/petbreeds/dog_city_relationship/dog_breed
|
||||
/people/person/gender
|
||||
/education/field_of_study/students_majoring./education/education/student
|
||||
/base/popstra/celebrity/dated./base/popstra/dated/participant
|
||||
/sports/sports_team/roster./american_football/football_roster_position/position
|
||||
/award/award_winner/awards_won./award/award_honor/award_winner
|
||||
/olympics/olympic_participating_country/medals_won./olympics/olympic_medal_honor/olympics
|
||||
/film/director/film
|
||||
/tv/tv_producer/programs_produced./tv/tv_producer_term/program
|
||||
/film/film_distributor/films_distributed./film/film_film_distributor_relationship/film
|
||||
/olympics/olympic_games/sports
|
||||
/music/record_label/artist
|
||||
/education/university/local_tuition./measurement_unit/dated_money_value/currency
|
||||
/film/film/story_by
|
||||
/people/person/spouse_s./people/marriage/spouse
|
||||
/sports/sports_league/teams./sports/sports_league_participation/team
|
||||
/people/profession/specialization_of
|
||||
/base/americancomedy/celebrity_impressionist/celebrities_impersonated
|
||||
/tv/tv_program/genre
|
||||
/award/award_category/nominees./award/award_nomination/nominated_for
|
||||
/language/human_language/countries_spoken_in
|
||||
/organization/organization/headquarters./location/mailing_address/country
|
||||
/location/statistical_region/gdp_real./measurement_unit/adjusted_money_value/adjustment_currency
|
||||
/education/university/fraternities_and_sororities
|
||||
/award/award_nominee/award_nominations./award/award_nomination/award_nominee
|
||||
/military/military_combatant/military_conflicts./military/military_combatant_group/combatants
|
||||
/award/award_nominated_work/award_nominations./award/award_nomination/nominated_for
|
||||
/location/location/time_zones
|
||||
/film/film/dubbing_performances./film/dubbing_performance/actor
|
||||
/film/film_subject/films
|
||||
/education/educational_degree/people_with_this_degree./education/education/institution
|
||||
/education/educational_institution/colors
|
||||
/award/award_category/category_of
|
||||
/tv/tv_personality/tv_regular_appearances./tv/tv_regular_personal_appearance/program
|
||||
/film/film/language
|
||||
/music/group_member/membership./music/group_membership/group
|
||||
/business/business_operation/revenue./measurement_unit/dated_money_value/currency
|
||||
/film/film/film_festivals
|
||||
/film/actor/film./film/performance/special_performance_type
|
||||
/organization/non_profit_organization/registered_with./organization/non_profit_registration/registering_agency
|
||||
/government/politician/government_positions_held./government/government_position_held/jurisdiction_of_office
|
||||
/base/aareas/schema/administrative_area/administrative_parent
|
||||
/award/award_winning_work/awards_won./award/award_honor/award_winner
|
||||
/organization/organization/place_founded
|
||||
/soccer/football_player/current_team./sports/sports_team_roster/team
|
||||
/government/politician/government_positions_held./government/government_position_held/basic_title
|
||||
/music/artist/track_contributions./music/track_contribution/role
|
||||
/base/localfood/seasonal_month/produce_available./base/localfood/produce_availability/seasonal_months
|
||||
/celebrities/celebrity/celebrity_friends./celebrities/friendship/friend
|
||||
/sports/professional_sports_team/draft_picks./sports/sports_league_draft_pick/school
|
||||
/award/hall_of_fame/inductees./award/hall_of_fame_induction/inductee
|
||||
/influence/influence_node/peers./influence/peer_relationship/peers
|
||||
/medicine/disease/risk_factors
|
||||
/broadcast/content/artist
|
||||
/film/film/estimated_budget./measurement_unit/dated_money_value/currency
|
||||
/military/military_conflict/combatants./military/military_combatant_group/combatants
|
||||
/location/capital_of_administrative_division/capital_of./location/administrative_division_capital_relationship/administrative_division
|
||||
/tv/tv_program/regular_cast./tv/regular_tv_appearance/actor
|
||||
/people/deceased_person/place_of_burial
|
||||
/location/location/adjoin_s./location/adjoining_relationship/adjoins
|
||||
/music/group_member/membership./music/group_membership/role
|
||||
/award/award_ceremony/awards_presented./award/award_honor/award_winner
|
||||
/film/film/prequel
|
||||
/film/film/produced_by
|
||||
/tv/tv_program/tv_producer./tv/tv_producer_term/producer_type
|
||||
/sports/sports_position/players./sports/sports_team_roster/team
|
||||
/olympics/olympic_games/participating_countries
|
||||
/music/genre/parent_genre
|
||||
/tv/tv_writer/tv_programs./tv/tv_program_writer_relationship/tv_program
|
||||
/music/genre/artists
|
||||
/film/film/genre
|
||||
/people/person/employment_history./business/employment_tenure/company
|
||||
/education/university/domestic_tuition./measurement_unit/dated_money_value/currency
|
||||
/people/person/nationality
|
||||
/location/country/capital
|
||||
/location/statistical_region/gni_per_capita_in_ppp_dollars./measurement_unit/dated_money_value/currency
|
||||
/base/aareas/schema/administrative_area/capital
|
||||
/business/business_operation/industry
|
||||
/location/hud_foreclosure_area/estimated_number_of_mortgages./measurement_unit/dated_integer/source
|
||||
/film/film/other_crew./film/film_crew_gig/crewmember
|
||||
/base/popstra/location/vacationers./base/popstra/vacation_choice/vacationer
|
||||
/film/film/film_format
|
||||
/medicine/disease/notable_people_with_this_condition
|
||||
/film/film/costume_design_by
|
||||
/government/government_office_category/officeholders./government/government_position_held/jurisdiction_of_office
|
||||
/location/statistical_region/gdp_nominal./measurement_unit/dated_money_value/currency
|
||||
/sports/sports_team/roster./baseball/baseball_roster_position/position
|
||||
/award/award_winning_work/awards_won./award/award_honor/honored_for
|
||||
/olympics/olympic_sport/athletes./olympics/olympic_athlete_affiliation/olympics
|
||||
/celebrities/celebrity/sexual_relationships./celebrities/romantic_relationship/celebrity
|
||||
/people/marriage_union_type/unions_of_this_type./people/marriage/location_of_ceremony
|
||||
/organization/organization/child./organization/organization_relationship/child
|
||||
/organization/organization_founder/organizations_founded
|
||||
/sports/sports_team/sport
|
||||
/people/ethnicity/geographic_distribution
|
||||
/location/statistical_region/places_exported_to./location/imports_and_exports/exported_to
|
||||
/location/country/official_language
|
||||
/film/film/production_companies
|
||||
/user/jg/default_domain/olympic_games/sports
|
||||
/time/event/locations
|
||||
/people/person/spouse_s./people/marriage/type_of_union
|
||||
/government/governmental_body/members./government/government_position_held/legislative_sessions
|
||||
/media_common/netflix_genre/titles
|
||||
/user/alexander/philosophy/philosopher/interests
|
||||
/film/film/runtime./film/film_cut/film_release_region
|
||||
/education/educational_institution/students_graduates./education/education/student
|
||||
/base/eating/practicer_of_diet/diet
|
||||
/tv/non_character_role/tv_regular_personal_appearances./tv/tv_regular_personal_appearance/person
|
||||
/sports/sports_position/players./sports/sports_team_roster/position
|
||||
/sports/professional_sports_team/draft_picks./sports/sports_league_draft_pick/draft
|
||||
/medicine/symptom/symptom_of
|
||||
/film/person_or_entity_appearing_in_film/films./film/personal_film_appearance/type_of_appearance
|
||||
/sports/sports_team_location/teams
|
||||
/american_football/football_team/current_roster./sports/sports_team_roster/position
|
||||
/people/person/places_lived./people/place_lived/location
|
||||
/location/statistical_region/rent50_2./measurement_unit/dated_money_value/currency
|
||||
/film/film/personal_appearances./film/personal_film_appearance/person
|
||||
/music/instrument/family
|
||||
/sports/sports_team/roster./basketball/basketball_roster_position/position
|
||||
/base/schemastaging/organization_extra/phone_number./base/schemastaging/phone_sandbox/service_location
|
||||
/film/film/release_date_s./film/film_regional_release_date/film_release_region
|
||||
/award/award_category/disciplines_or_subjects
|
||||
/base/popstra/celebrity/friendship./base/popstra/friendship/participant
|
||||
/music/performance_role/regular_performances./music/group_membership/group
|
||||
/film/film/edited_by
|
||||
/base/x2010fifaworldcupsouthafrica/world_cup_squad/current_world_cup_squad./base/x2010fifaworldcupsouthafrica/current_world_cup_squad/current_club
|
||||
/base/popstra/celebrity/canoodled./base/popstra/canoodled/participant
|
||||
/film/film/release_date_s./film/film_regional_release_date/film_release_distribution_medium
|
||||
/film/film/other_crew./film/film_crew_gig/film_crew_role
|
||||
/base/popstra/celebrity/breakup./base/popstra/breakup/participant
|
||||
/film/film/country
|
||||
/music/performance_role/regular_performances./music/group_membership/role
|
||||
/sports/sports_team/roster./american_football/football_historical_roster_position/position_s
|
||||
/film/film/release_date_s./film/film_regional_release_date/film_regional_debut_venue
|
||||
/time/event/instance_of_recurring_event
|
||||
/olympics/olympic_participating_country/athletes./olympics/olympic_athlete_affiliation/olympics
|
||||
/organization/endowed_organization/endowment./measurement_unit/dated_money_value/currency
|
||||
/travel/travel_destination/how_to_get_here./travel/transportation/mode_of_transportation
|
||||
/baseball/baseball_team/team_stats./baseball/baseball_team_stats/season
|
||||
/award/award_category/winners./award/award_honor/ceremony
|
||||
/government/legislative_session/members./government/government_position_held/district_represented
|
||||
/influence/influence_node/influenced_by
|
||||
/base/culturalevent/event/entity_involved
|
||||
/people/ethnicity/people
|
||||
/sports/sport/pro_athletes./sports/pro_sports_played/athlete
|
||||
/location/statistical_region/gdp_nominal_per_capita./measurement_unit/dated_money_value/currency
|
||||
/location/hud_county_place/place
|
||||
/base/aareas/schema/administrative_area/administrative_area_type
|
||||
/base/locations/continents/countries_within
|
||||
/sports/sports_position/players./american_football/football_historical_roster_position/position_s
|
||||
/people/person/spouse_s./people/marriage/location_of_ceremony
|
||||
/education/educational_institution/students_graduates./education/education/major_field_of_study
|
||||
/film/film/written_by
|
||||
/olympics/olympic_sport/athletes./olympics/olympic_athlete_affiliation/country
|
||||
/music/performance_role/guest_performances./music/recording_contribution/performance_role
|
||||
/film/film/featured_film_locations
|
||||
/education/educational_institution_campus/educational_institution
|
||||
/sports/pro_athlete/teams./sports/sports_team_roster/team
|
||||
/people/ethnicity/languages_spoken
|
||||
/film/film/executive_produced_by
|
||||
/tv/tv_producer/programs_produced./tv/tv_producer_term/producer_type
|
||||
/location/location/contains
|
||||
/base/biblioness/bibs_location/country
|
||||
/user/ktrueman/default_domain/international_organization/member_states
|
||||
/music/performance_role/track_performances./music/track_contribution/role
|
||||
/olympics/olympic_games/medals_awarded./olympics/olympic_medal_honor/medal
|
||||
/base/saturdaynightlive/snl_cast_member/seasons./base/saturdaynightlive/snl_season_tenure/cast_members
|
20466
dataset/FB15k-237/test.tsv
Normal file
20466
dataset/FB15k-237/test.tsv
Normal file
File diff suppressed because it is too large
Load Diff
272115
dataset/FB15k-237/train.tsv
Normal file
272115
dataset/FB15k-237/train.tsv
Normal file
File diff suppressed because it is too large
Load Diff
3034
dataset/WN18RR/dev.tsv
Normal file
3034
dataset/WN18RR/dev.tsv
Normal file
File diff suppressed because it is too large
Load Diff
40943
dataset/WN18RR/entities.txt
Normal file
40943
dataset/WN18RR/entities.txt
Normal file
File diff suppressed because it is too large
Load Diff
40943
dataset/WN18RR/entity2text.txt
Normal file
40943
dataset/WN18RR/entity2text.txt
Normal file
File diff suppressed because it is too large
Load Diff
40943
dataset/WN18RR/entity2text_clean.txt
Normal file
40943
dataset/WN18RR/entity2text_clean.txt
Normal file
File diff suppressed because it is too large
Load Diff
155
dataset/WN18RR/get_neighbor.ipynb
Normal file
155
dataset/WN18RR/get_neighbor.ipynb
Normal file
@ -0,0 +1,155 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"path1 = './entities.txt'\n",
|
||||
"path2 = './relations.txt'\n",
|
||||
"path3 = './train.tsv'\n",
|
||||
"path4 = './dev.tsv'\n",
|
||||
"path5 = './test.tsv'\n",
|
||||
"path6 = './get_neighbor/entity2id.txt'\n",
|
||||
"path7 = './get_neighbor/relation2id.txt'\n",
|
||||
"path8 = './get_neighbor/train2id.txt'\n",
|
||||
"path9 = './get_neighbor/valid2id.txt'\n",
|
||||
"path10 = './get_neighbor/test2id.txt'"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path1, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"cnt = 0\n",
|
||||
"with open(path6, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" en = line.strip()\n",
|
||||
" f.write(en + '\\t' + str(cnt) + '\\n')\n",
|
||||
" cnt += 1\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path2, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"cnt = 0\n",
|
||||
"with open(path7, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" re = line.strip()\n",
|
||||
" f.write(re + '\\t' + str(cnt) + '\\n')\n",
|
||||
" cnt += 1\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path6, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"en2id = {}\n",
|
||||
"for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" en, num = b[0], b[1]\n",
|
||||
" en2id[en] = num"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path7, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"re2id = {}\n",
|
||||
"for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" re, num = b[0], b[1]\n",
|
||||
" re2id[re] = num"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path3, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"with open(path8, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" h, r, t = b[0], b[1], b[2]\n",
|
||||
" f.write(en2id[h] + ' ' + re2id[r] + ' ' + en2id[t] + '\\n')\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 15,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path4, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"with open(path9, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" h, r, t = b[0], b[1], b[2]\n",
|
||||
" f.write(en2id[h] + ' ' + re2id[r] + ' ' + en2id[t] + '\\n')\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path5, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"with open(path10, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" h, r, t = b[0], b[1], b[2]\n",
|
||||
" f.write(en2id[h] + ' ' + re2id[r] + ' ' + en2id[t] + '\\n')\n",
|
||||
" "
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python [default]",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.6.5"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
40943
dataset/WN18RR/get_neighbor/entity2id.txt
Normal file
40943
dataset/WN18RR/get_neighbor/entity2id.txt
Normal file
File diff suppressed because it is too large
Load Diff
11
dataset/WN18RR/get_neighbor/relation2id.txt
Normal file
11
dataset/WN18RR/get_neighbor/relation2id.txt
Normal file
@ -0,0 +1,11 @@
|
||||
_member_of_domain_usage 0
|
||||
_has_part 1
|
||||
_also_see 2
|
||||
_hypernym 3
|
||||
_synset_domain_topic_of 4
|
||||
_derivationally_related_form 5
|
||||
_similar_to 6
|
||||
_instance_hypernym 7
|
||||
_verb_group 8
|
||||
_member_meronym 9
|
||||
_member_of_domain_region 10
|
3134
dataset/WN18RR/get_neighbor/test2id.txt
Normal file
3134
dataset/WN18RR/get_neighbor/test2id.txt
Normal file
File diff suppressed because it is too large
Load Diff
86835
dataset/WN18RR/get_neighbor/train2id.txt
Normal file
86835
dataset/WN18RR/get_neighbor/train2id.txt
Normal file
File diff suppressed because it is too large
Load Diff
3034
dataset/WN18RR/get_neighbor/valid2id.txt
Normal file
3034
dataset/WN18RR/get_neighbor/valid2id.txt
Normal file
File diff suppressed because it is too large
Load Diff
11
dataset/WN18RR/relation2text.txt
Normal file
11
dataset/WN18RR/relation2text.txt
Normal file
@ -0,0 +1,11 @@
|
||||
_member_of_domain_usage member of domain usage
|
||||
_has_part has part
|
||||
_also_see also see
|
||||
_hypernym hypernym
|
||||
_synset_domain_topic_of synset domain topic of
|
||||
_derivationally_related_form derivationally related form
|
||||
_similar_to similar to
|
||||
_instance_hypernym instance hypernym
|
||||
_verb_group verb group
|
||||
_member_meronym member meronym
|
||||
_member_of_domain_region member of domain region
|
11
dataset/WN18RR/relations.txt
Normal file
11
dataset/WN18RR/relations.txt
Normal file
@ -0,0 +1,11 @@
|
||||
_member_of_domain_usage
|
||||
_has_part
|
||||
_also_see
|
||||
_hypernym
|
||||
_synset_domain_topic_of
|
||||
_derivationally_related_form
|
||||
_similar_to
|
||||
_instance_hypernym
|
||||
_verb_group
|
||||
_member_meronym
|
||||
_member_of_domain_region
|
3134
dataset/WN18RR/test.tsv
Normal file
3134
dataset/WN18RR/test.tsv
Normal file
File diff suppressed because it is too large
Load Diff
86835
dataset/WN18RR/train.tsv
Normal file
86835
dataset/WN18RR/train.tsv
Normal file
File diff suppressed because it is too large
Load Diff
151
dataset/create_neighbor.py
Executable file
151
dataset/create_neighbor.py
Executable file
@ -0,0 +1,151 @@
|
||||
from collections import defaultdict
|
||||
import time
|
||||
import argparse
|
||||
id2entity_name = defaultdict(str)
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("--dataset", type=str, default=None)
|
||||
args = parser.parse_args()
|
||||
|
||||
# dataset_name = 'FB15k-237'
|
||||
|
||||
with open('./' + args.dataset + '/get_neighbor/entity2id.txt', 'r') as file:
|
||||
entity_lines = file.readlines()
|
||||
for line in entity_lines:
|
||||
_name, _id = line.strip().split("\t")
|
||||
id2entity_name[int(_id)] = _name
|
||||
|
||||
id2relation_name = defaultdict(str)
|
||||
|
||||
with open('./' + args.dataset + '/get_neighbor/relation2id.txt', 'r') as file:
|
||||
relation_lines = file.readlines()
|
||||
for line in relation_lines:
|
||||
_name, _id = line.strip().split("\t")
|
||||
id2relation_name[int(_id)] = _name
|
||||
|
||||
train_triplet = []
|
||||
|
||||
|
||||
for line in open('./' + args.dataset + '/get_neighbor/train2id.txt', 'r'):
|
||||
head, relation, tail = line.strip('\n').split()
|
||||
train_triplet.append(list((int(head), int(relation), int(tail))))
|
||||
|
||||
for line in open('./' + args.dataset + '/get_neighbor/test2id.txt', 'r'):
|
||||
head, relation, tail = line.strip('\n').split()
|
||||
train_triplet.append(list((int(head), int(relation), int(tail))))
|
||||
|
||||
for line in open('./'+args.dataset+'/get_neighbor/valid2id.txt', 'r'):
|
||||
head, relation, tail = line.strip('\n').split()
|
||||
train_triplet.append(list((int(head), int(relation), int(tail))))
|
||||
|
||||
|
||||
graph = {}
|
||||
reverse_graph = {}
|
||||
|
||||
def init_graph(graph_triplet):
|
||||
|
||||
for triple in graph_triplet:
|
||||
head = triple[0]
|
||||
rela = triple[1]
|
||||
tail = triple[2]
|
||||
|
||||
if(head not in graph.keys()):
|
||||
graph[head] = {}
|
||||
graph[head][tail] = rela
|
||||
else:
|
||||
graph[head][tail] = rela
|
||||
|
||||
if(tail not in reverse_graph.keys()):
|
||||
reverse_graph[tail] = {}
|
||||
reverse_graph[tail][head] = rela
|
||||
else:
|
||||
reverse_graph[tail][head] = rela
|
||||
|
||||
# return graph, reverse_graph, node_indegree, node_outdegree
|
||||
|
||||
init_graph(train_triplet)
|
||||
|
||||
|
||||
|
||||
import random
|
||||
|
||||
def random_delete(triplet, reserved_num):
|
||||
reserved = random.sample(triplet, reserved_num)
|
||||
return reserved
|
||||
|
||||
def get_onestep_neighbors(graph, source, sample_num):
|
||||
triplet = []
|
||||
try:
|
||||
nei = list(graph[source].keys())
|
||||
# nei = random.sample(graph[source].keys(), sample_num)
|
||||
triplet = [tuple((source, graph[source][nei[i]], nei[i])) for i in range(len(nei))]
|
||||
except KeyError:
|
||||
pass
|
||||
except ValueError:
|
||||
nei = list(graph[source].keys())
|
||||
triplet = [tuple((source, graph[source][nei[i]], nei[i])) for i in range(len(nei))]
|
||||
return triplet
|
||||
|
||||
def get_entity_neighbors(traget_entity, max_triplet):
|
||||
|
||||
as_head_neighbors = get_onestep_neighbors(graph, traget_entity, max_triplet // 2)
|
||||
as_tail_neighbors = get_onestep_neighbors(reverse_graph, traget_entity, max_triplet // 2)
|
||||
|
||||
all_triplet = as_head_neighbors + as_tail_neighbors
|
||||
|
||||
return all_triplet
|
||||
|
||||
def get_triplet(triplet):
|
||||
head_entity = triplet[0]
|
||||
tail_entity = triplet[2]
|
||||
triplet = tuple((triplet[0], triplet[1], triplet[2]))
|
||||
|
||||
head_triplet = get_entity_neighbors(head_entity, 4)
|
||||
tail_triplet = get_entity_neighbors(tail_entity, 4)
|
||||
|
||||
temp_triplet = list(set(head_triplet + tail_triplet))
|
||||
temp_triplet = list(set(temp_triplet) - set([triplet]))
|
||||
# if len(temp_triplet) > 8:
|
||||
# del_triplet = list(set(temp_triplet) - set([triplet]))
|
||||
# temp_triplet = random_delete(del_triplet, 7)
|
||||
|
||||
return temp_triplet
|
||||
|
||||
|
||||
|
||||
import copy
|
||||
|
||||
def change_(triplet_list):
|
||||
tri_text = []
|
||||
for item in triplet_list:
|
||||
# text = id2entity_name[item[0]] + '\t' + id2relation_name[item[1]] + '\t' + id2entity_name[item[2]]
|
||||
h = id2entity_name[item[0]]
|
||||
r = id2relation_name[item[1]]
|
||||
t = id2entity_name[item[2]]
|
||||
tri_text.append([h, r, t])
|
||||
return tri_text
|
||||
|
||||
mask_idx = 99999999
|
||||
masked_tail_neighbor = defaultdict(list)
|
||||
masked_head_neighbor = defaultdict(list)
|
||||
for triplet in train_triplet:
|
||||
tail_masked = copy.deepcopy(triplet)
|
||||
head_masked = copy.deepcopy(triplet)
|
||||
tail_masked[2] = mask_idx
|
||||
head_masked[0] = mask_idx
|
||||
masked_tail_neighbor['\t'.join([id2entity_name[triplet[0]], id2relation_name[triplet[1]]])] = change_(get_triplet(tail_masked))
|
||||
masked_head_neighbor['\t'.join([id2entity_name[triplet[2]], id2relation_name[triplet[1]]])] = change_(get_triplet(head_masked))
|
||||
|
||||
|
||||
import json
|
||||
|
||||
with open("./" + args.dataset + "/masked_tail_neighbor.txt", "w") as file:
|
||||
file.write(json.dumps(masked_tail_neighbor, indent=1))
|
||||
|
||||
with open("./" + args.dataset + "/masked_head_neighbor.txt", "w") as file:
|
||||
file.write(json.dumps(masked_head_neighbor, indent=1))
|
||||
|
||||
|
||||
|
||||
|
||||
|
652
dataset/umls/dev.tsv
Normal file
652
dataset/umls/dev.tsv
Normal file
@ -0,0 +1,652 @@
|
||||
nucleic_acid_nucleoside_or_nucleotide affects mental_or_behavioral_dysfunction
|
||||
patient_or_disabled_group performs individual_behavior
|
||||
neoplastic_process process_of molecular_function
|
||||
lipid affects biologic_function
|
||||
neoplastic_process affects alga
|
||||
antibiotic affects cell_or_molecular_dysfunction
|
||||
eicosanoid affects mental_or_behavioral_dysfunction
|
||||
fully_formed_anatomical_structure location_of injury_or_poisoning
|
||||
machine_activity method_of laboratory_procedure
|
||||
cell_or_molecular_dysfunction isa pathologic_function
|
||||
molecular_biology_research_technique measures organism_function
|
||||
organism_function affects animal
|
||||
patient_or_disabled_group performs governmental_or_regulatory_activity
|
||||
laboratory_procedure measures mental_process
|
||||
tissue surrounds body_space_or_junction
|
||||
anatomical_abnormality affects organism_function
|
||||
plant location_of biologically_active_substance
|
||||
pathologic_function degree_of mental_or_behavioral_dysfunction
|
||||
rickettsia_or_chlamydia location_of neuroreactive_substance_or_biogenic_amine
|
||||
steroid causes anatomical_abnormality
|
||||
organophosphorus_compound isa organic_chemical
|
||||
amino_acid_peptide_or_protein interacts_with eicosanoid
|
||||
age_group produces research_device
|
||||
acquired_abnormality result_of genetic_function
|
||||
organic_chemical interacts_with chemical
|
||||
invertebrate interacts_with fish
|
||||
gene_or_genome produces nucleic_acid_nucleoside_or_nucleotide
|
||||
enzyme isa biologically_active_substance
|
||||
cell location_of body_space_or_junction
|
||||
clinical_attribute degree_of organism_attribute
|
||||
vitamin isa biologically_active_substance
|
||||
animal interacts_with mammal
|
||||
injury_or_poisoning result_of experimental_model_of_disease
|
||||
organism_function co-occurs_with physiologic_function
|
||||
amino_acid_peptide_or_protein interacts_with biologically_active_substance
|
||||
pharmacologic_substance disrupts cell_function
|
||||
mental_process process_of bird
|
||||
acquired_abnormality result_of social_behavior
|
||||
research_activity measures temporal_concept
|
||||
steroid isa substance
|
||||
molecular_function process_of cell_function
|
||||
professional_or_occupational_group performs health_care_activity
|
||||
disease_or_syndrome result_of physiologic_function
|
||||
body_location_or_region location_of injury_or_poisoning
|
||||
antibiotic complicates acquired_abnormality
|
||||
organophosphorus_compound interacts_with amino_acid_peptide_or_protein
|
||||
neuroreactive_substance_or_biogenic_amine complicates injury_or_poisoning
|
||||
gene_or_genome produces body_substance
|
||||
injury_or_poisoning associated_with clinical_attribute
|
||||
cell_function affects human
|
||||
finding associated_with injury_or_poisoning
|
||||
laboratory_procedure measures organic_chemical
|
||||
disease_or_syndrome result_of mental_or_behavioral_dysfunction
|
||||
physiologic_function precedes mental_process
|
||||
body_space_or_junction issue_in occupation_or_discipline
|
||||
mental_or_behavioral_dysfunction process_of animal
|
||||
acquired_abnormality result_of physiologic_function
|
||||
acquired_abnormality result_of injury_or_poisoning
|
||||
idea_or_concept isa conceptual_entity
|
||||
molecular_function process_of archaeon
|
||||
anatomical_abnormality result_of organism_function
|
||||
health_care_related_organization location_of molecular_biology_research_technique
|
||||
eicosanoid causes neoplastic_process
|
||||
pathologic_function precedes neoplastic_process
|
||||
environmental_effect_of_humans result_of injury_or_poisoning
|
||||
element_ion_or_isotope causes neoplastic_process
|
||||
molecular_function affects vertebrate
|
||||
neuroreactive_substance_or_biogenic_amine causes acquired_abnormality
|
||||
steroid causes congenital_abnormality
|
||||
inorganic_chemical interacts_with chemical
|
||||
tissue produces nucleic_acid_nucleoside_or_nucleotide
|
||||
body_part_organ_or_organ_component location_of cell_function
|
||||
organism_attribute property_of animal
|
||||
eicosanoid interacts_with indicator_reagent_or_diagnostic_aid
|
||||
disease_or_syndrome affects mental_process
|
||||
cell_or_molecular_dysfunction process_of disease_or_syndrome
|
||||
pathologic_function result_of biologic_function
|
||||
finding manifestation_of mental_or_behavioral_dysfunction
|
||||
congenital_abnormality location_of bacterium
|
||||
biomedical_or_dental_material causes neoplastic_process
|
||||
chemical_viewed_functionally interacts_with biomedical_or_dental_material
|
||||
experimental_model_of_disease process_of disease_or_syndrome
|
||||
pathologic_function affects experimental_model_of_disease
|
||||
receptor complicates pathologic_function
|
||||
chemical_viewed_structurally affects experimental_model_of_disease
|
||||
fish exhibits individual_behavior
|
||||
immunologic_factor isa entity
|
||||
diagnostic_procedure measures molecular_function
|
||||
carbohydrate isa entity
|
||||
pathologic_function process_of plant
|
||||
amino_acid_sequence property_of gene_or_genome
|
||||
cell_or_molecular_dysfunction affects biologic_function
|
||||
food isa entity
|
||||
neoplastic_process process_of human
|
||||
hazardous_or_poisonous_substance complicates anatomical_abnormality
|
||||
body_location_or_region location_of disease_or_syndrome
|
||||
cell_function process_of animal
|
||||
natural_phenomenon_or_process affects organ_or_tissue_function
|
||||
neuroreactive_substance_or_biogenic_amine isa chemical_viewed_functionally
|
||||
organophosphorus_compound interacts_with element_ion_or_isotope
|
||||
genetic_function result_of disease_or_syndrome
|
||||
neoplastic_process process_of invertebrate
|
||||
laboratory_procedure assesses_effect_of experimental_model_of_disease
|
||||
alga isa organism
|
||||
clinical_attribute measurement_of organ_or_tissue_function
|
||||
human isa entity
|
||||
molecular_sequence isa idea_or_concept
|
||||
hazardous_or_poisonous_substance affects molecular_function
|
||||
amino_acid_peptide_or_protein isa chemical_viewed_structurally
|
||||
age_group issue_in biomedical_occupation_or_discipline
|
||||
laboratory_or_test_result measurement_of element_ion_or_isotope
|
||||
organization location_of laboratory_procedure
|
||||
steroid isa organic_chemical
|
||||
therapeutic_or_preventive_procedure affects disease_or_syndrome
|
||||
natural_phenomenon_or_process result_of organ_or_tissue_function
|
||||
chemical_viewed_functionally causes anatomical_abnormality
|
||||
geographic_area associated_with injury_or_poisoning
|
||||
carbohydrate_sequence result_of mental_process
|
||||
genetic_function result_of environmental_effect_of_humans
|
||||
biomedical_or_dental_material affects cell_or_molecular_dysfunction
|
||||
chemical_viewed_functionally affects pathologic_function
|
||||
molecular_function affects archaeon
|
||||
neoplastic_process manifestation_of organ_or_tissue_function
|
||||
tissue produces neuroreactive_substance_or_biogenic_amine
|
||||
indicator_reagent_or_diagnostic_aid causes cell_or_molecular_dysfunction
|
||||
laboratory_or_test_result evaluation_of mental_process
|
||||
biomedical_or_dental_material causes cell_or_molecular_dysfunction
|
||||
neoplastic_process result_of organ_or_tissue_function
|
||||
genetic_function produces neuroreactive_substance_or_biogenic_amine
|
||||
mental_or_behavioral_dysfunction result_of organ_or_tissue_function
|
||||
mental_process affects invertebrate
|
||||
indicator_reagent_or_diagnostic_aid affects natural_phenomenon_or_process
|
||||
mental_or_behavioral_dysfunction associated_with pathologic_function
|
||||
mental_process affects neoplastic_process
|
||||
cell_function affects biologic_function
|
||||
experimental_model_of_disease manifestation_of genetic_function
|
||||
inorganic_chemical causes congenital_abnormality
|
||||
laboratory_or_test_result measurement_of organic_chemical
|
||||
physical_object isa entity
|
||||
body_location_or_region location_of pathologic_function
|
||||
neuroreactive_substance_or_biogenic_amine complicates cell_function
|
||||
research_activity affects mental_process
|
||||
laboratory_procedure measures pathologic_function
|
||||
amino_acid_peptide_or_protein causes cell_or_molecular_dysfunction
|
||||
acquired_abnormality affects human
|
||||
diagnostic_procedure affects pathologic_function
|
||||
immunologic_factor complicates cell_or_molecular_dysfunction
|
||||
bacterium issue_in biomedical_occupation_or_discipline
|
||||
receptor complicates genetic_function
|
||||
neoplastic_process complicates experimental_model_of_disease
|
||||
organ_or_tissue_function affects cell_function
|
||||
therapeutic_or_preventive_procedure isa health_care_activity
|
||||
experimental_model_of_disease result_of social_behavior
|
||||
therapeutic_or_preventive_procedure method_of biomedical_occupation_or_discipline
|
||||
eicosanoid affects mental_process
|
||||
drug_delivery_device causes congenital_abnormality
|
||||
organism_function affects rickettsia_or_chlamydia
|
||||
mental_or_behavioral_dysfunction produces enzyme
|
||||
manufactured_object causes neoplastic_process
|
||||
chemical_viewed_structurally interacts_with immunologic_factor
|
||||
cell_function process_of fungus
|
||||
physiologic_function process_of invertebrate
|
||||
natural_phenomenon_or_process result_of congenital_abnormality
|
||||
vitamin complicates congenital_abnormality
|
||||
gene_or_genome part_of body_part_organ_or_organ_component
|
||||
disease_or_syndrome result_of phenomenon_or_process
|
||||
disease_or_syndrome affects animal
|
||||
patient_or_disabled_group performs occupational_activity
|
||||
organism_attribute result_of organism_function
|
||||
biologically_active_substance affects pathologic_function
|
||||
embryonic_structure location_of experimental_model_of_disease
|
||||
vitamin affects physiologic_function
|
||||
medical_device causes cell_or_molecular_dysfunction
|
||||
research_activity measures antibiotic
|
||||
drug_delivery_device treats acquired_abnormality
|
||||
organism isa physical_object
|
||||
molecular_function process_of fungus
|
||||
physiologic_function result_of organ_or_tissue_function
|
||||
antibiotic prevents disease_or_syndrome
|
||||
medical_device causes mental_or_behavioral_dysfunction
|
||||
nucleic_acid_nucleoside_or_nucleotide affects mental_process
|
||||
cell_or_molecular_dysfunction process_of physiologic_function
|
||||
chemical affects mental_or_behavioral_dysfunction
|
||||
nucleic_acid_nucleoside_or_nucleotide interacts_with neuroreactive_substance_or_biogenic_amine
|
||||
plant interacts_with bacterium
|
||||
organic_chemical interacts_with chemical_viewed_functionally
|
||||
experimental_model_of_disease associated_with clinical_attribute
|
||||
congenital_abnormality part_of organism
|
||||
gene_or_genome location_of experimental_model_of_disease
|
||||
body_part_organ_or_organ_component location_of fungus
|
||||
amino_acid_peptide_or_protein affects pathologic_function
|
||||
genetic_function produces hormone
|
||||
laboratory_procedure associated_with anatomical_abnormality
|
||||
antibiotic causes pathologic_function
|
||||
acquired_abnormality affects physiologic_function
|
||||
professional_or_occupational_group isa group
|
||||
sign_or_symptom associated_with acquired_abnormality
|
||||
enzyme causes congenital_abnormality
|
||||
genetic_function process_of cell_function
|
||||
vitamin complicates physiologic_function
|
||||
clinical_attribute measurement_of molecular_function
|
||||
embryonic_structure location_of mental_or_behavioral_dysfunction
|
||||
injury_or_poisoning result_of phenomenon_or_process
|
||||
chemical_viewed_structurally affects natural_phenomenon_or_process
|
||||
cell_function affects mental_or_behavioral_dysfunction
|
||||
mental_process affects social_behavior
|
||||
biologic_function process_of virus
|
||||
diagnostic_procedure analyzes indicator_reagent_or_diagnostic_aid
|
||||
experimental_model_of_disease affects physiologic_function
|
||||
virus location_of receptor
|
||||
qualitative_concept evaluation_of health_care_activity
|
||||
cell_function affects alga
|
||||
mental_or_behavioral_dysfunction process_of biologic_function
|
||||
mental_process process_of organ_or_tissue_function
|
||||
organ_or_tissue_function result_of injury_or_poisoning
|
||||
neoplastic_process precedes cell_or_molecular_dysfunction
|
||||
disease_or_syndrome degree_of mental_or_behavioral_dysfunction
|
||||
patient_or_disabled_group produces medical_device
|
||||
antibiotic interacts_with chemical
|
||||
disease_or_syndrome manifestation_of neoplastic_process
|
||||
cell_function process_of organism_function
|
||||
organism_attribute manifestation_of cell_function
|
||||
alga issue_in biomedical_occupation_or_discipline
|
||||
professional_society issue_in biomedical_occupation_or_discipline
|
||||
phenomenon_or_process result_of organism_function
|
||||
chemical affects organism_function
|
||||
laboratory_or_test_result manifestation_of organism_function
|
||||
congenital_abnormality affects organism_function
|
||||
daily_or_recreational_activity associated_with injury_or_poisoning
|
||||
laboratory_or_test_result measurement_of enzyme
|
||||
congenital_abnormality part_of bird
|
||||
neoplastic_process manifestation_of mental_process
|
||||
laboratory_procedure analyzes chemical_viewed_structurally
|
||||
disease_or_syndrome result_of biologic_function
|
||||
hormone disrupts cell
|
||||
cell_or_molecular_dysfunction manifestation_of molecular_function
|
||||
age_group produces regulation_or_law
|
||||
mental_process affects bird
|
||||
medical_device treats mental_or_behavioral_dysfunction
|
||||
phenomenon_or_process result_of mental_process
|
||||
embryonic_structure part_of virus
|
||||
molecular_function affects reptile
|
||||
therapeutic_or_preventive_procedure prevents experimental_model_of_disease
|
||||
lipid isa substance
|
||||
laboratory_procedure assesses_effect_of physiologic_function
|
||||
fish interacts_with organism
|
||||
plant isa physical_object
|
||||
gene_or_genome isa entity
|
||||
clinical_attribute property_of invertebrate
|
||||
diagnostic_procedure analyzes element_ion_or_isotope
|
||||
antibiotic affects natural_phenomenon_or_process
|
||||
gene_or_genome produces vitamin
|
||||
neoplastic_process affects natural_phenomenon_or_process
|
||||
neoplastic_process result_of health_care_activity
|
||||
diagnostic_procedure measures receptor
|
||||
bacterium interacts_with archaeon
|
||||
physiologic_function affects organism_attribute
|
||||
hormone interacts_with receptor
|
||||
professional_society carries_out laboratory_procedure
|
||||
cell location_of organ_or_tissue_function
|
||||
amino_acid_peptide_or_protein ingredient_of clinical_drug
|
||||
human_caused_phenomenon_or_process result_of natural_phenomenon_or_process
|
||||
research_activity issue_in occupation_or_discipline
|
||||
chemical_viewed_functionally causes acquired_abnormality
|
||||
reptile isa vertebrate
|
||||
biologic_function affects invertebrate
|
||||
neoplastic_process affects organism
|
||||
vitamin affects natural_phenomenon_or_process
|
||||
antibiotic diagnoses disease_or_syndrome
|
||||
acquired_abnormality manifestation_of physiologic_function
|
||||
pharmacologic_substance isa chemical
|
||||
age_group exhibits social_behavior
|
||||
organism_function process_of animal
|
||||
professional_or_occupational_group performs machine_activity
|
||||
experimental_model_of_disease isa event
|
||||
neoplastic_process process_of disease_or_syndrome
|
||||
acquired_abnormality location_of disease_or_syndrome
|
||||
event issue_in biomedical_occupation_or_discipline
|
||||
mental_or_behavioral_dysfunction occurs_in professional_or_occupational_group
|
||||
indicator_reagent_or_diagnostic_aid affects experimental_model_of_disease
|
||||
mental_or_behavioral_dysfunction isa biologic_function
|
||||
health_care_activity method_of occupation_or_discipline
|
||||
element_ion_or_isotope affects experimental_model_of_disease
|
||||
plant interacts_with fungus
|
||||
patient_or_disabled_group issue_in occupation_or_discipline
|
||||
self_help_or_relief_organization carries_out occupational_activity
|
||||
research_activity measures molecular_function
|
||||
acquired_abnormality part_of amphibian
|
||||
receptor affects mental_process
|
||||
nucleic_acid_nucleoside_or_nucleotide causes injury_or_poisoning
|
||||
cell_or_molecular_dysfunction affects organ_or_tissue_function
|
||||
organism_attribute result_of experimental_model_of_disease
|
||||
pathologic_function affects bacterium
|
||||
professional_society location_of health_care_activity
|
||||
hazardous_or_poisonous_substance disrupts embryonic_structure
|
||||
animal exhibits social_behavior
|
||||
biologic_function result_of congenital_abnormality
|
||||
pathologic_function affects mental_process
|
||||
diagnostic_procedure measures amino_acid_peptide_or_protein
|
||||
molecular_function co-occurs_with physiologic_function
|
||||
family_group uses medical_device
|
||||
group performs machine_activity
|
||||
laboratory_procedure associated_with pathologic_function
|
||||
neoplastic_process co-occurs_with congenital_abnormality
|
||||
laboratory_procedure measures indicator_reagent_or_diagnostic_aid
|
||||
anatomical_abnormality result_of pathologic_function
|
||||
body_location_or_region location_of cell_function
|
||||
research_activity measures steroid
|
||||
invertebrate causes neoplastic_process
|
||||
laboratory_procedure analyzes hormone
|
||||
disease_or_syndrome affects biologic_function
|
||||
pathologic_function affects genetic_function
|
||||
tissue issue_in occupation_or_discipline
|
||||
biologic_function affects plant
|
||||
anatomical_abnormality affects reptile
|
||||
body_location_or_region location_of mental_or_behavioral_dysfunction
|
||||
medical_device treats pathologic_function
|
||||
organism_attribute result_of cell_function
|
||||
gene_or_genome location_of virus
|
||||
gene_or_genome part_of tissue
|
||||
tissue produces hormone
|
||||
laboratory_or_test_result indicates neoplastic_process
|
||||
mental_or_behavioral_dysfunction complicates injury_or_poisoning
|
||||
biologically_active_substance causes experimental_model_of_disease
|
||||
therapeutic_or_preventive_procedure issue_in biomedical_occupation_or_discipline
|
||||
quantitative_concept measurement_of body_location_or_region
|
||||
professional_or_occupational_group isa entity
|
||||
gene_or_genome affects organ_or_tissue_function
|
||||
eicosanoid affects disease_or_syndrome
|
||||
immunologic_factor complicates organism_function
|
||||
gene_or_genome part_of reptile
|
||||
laboratory_or_test_result manifestation_of molecular_function
|
||||
mental_or_behavioral_dysfunction occurs_in family_group
|
||||
therapeutic_or_preventive_procedure treats mental_or_behavioral_dysfunction
|
||||
population_group isa group
|
||||
body_location_or_region location_of tissue
|
||||
quantitative_concept measurement_of molecular_sequence
|
||||
laboratory_procedure isa activity
|
||||
diagnostic_procedure assesses_effect_of organophosphorus_compound
|
||||
gene_or_genome issue_in occupation_or_discipline
|
||||
organ_or_tissue_function process_of reptile
|
||||
geographic_area isa conceptual_entity
|
||||
neuroreactive_substance_or_biogenic_amine affects mental_or_behavioral_dysfunction
|
||||
biologically_active_substance isa chemical
|
||||
enzyme disrupts embryonic_structure
|
||||
virus location_of vitamin
|
||||
professional_or_occupational_group uses regulation_or_law
|
||||
experimental_model_of_disease result_of therapeutic_or_preventive_procedure
|
||||
indicator_reagent_or_diagnostic_aid causes neoplastic_process
|
||||
sign_or_symptom evaluation_of biologic_function
|
||||
physiologic_function process_of amphibian
|
||||
classification issue_in biomedical_occupation_or_discipline
|
||||
organism_function produces biologically_active_substance
|
||||
laboratory_or_test_result measurement_of chemical
|
||||
immunologic_factor disrupts body_part_organ_or_organ_component
|
||||
health_care_activity issue_in biomedical_occupation_or_discipline
|
||||
carbohydrate interacts_with antibiotic
|
||||
neoplastic_process result_of diagnostic_procedure
|
||||
mental_or_behavioral_dysfunction result_of organism_function
|
||||
cell_component location_of organ_or_tissue_function
|
||||
organophosphorus_compound issue_in occupation_or_discipline
|
||||
cell_component location_of experimental_model_of_disease
|
||||
lipid causes acquired_abnormality
|
||||
experimental_model_of_disease result_of mental_process
|
||||
anatomical_abnormality result_of cell_or_molecular_dysfunction
|
||||
cell_function isa physiologic_function
|
||||
acquired_abnormality manifestation_of cell_function
|
||||
laboratory_or_test_result associated_with disease_or_syndrome
|
||||
mental_process produces hormone
|
||||
mammal exhibits behavior
|
||||
daily_or_recreational_activity associated_with neoplastic_process
|
||||
clinical_drug causes injury_or_poisoning
|
||||
research_activity associated_with pathologic_function
|
||||
cell_or_molecular_dysfunction process_of human
|
||||
body_part_organ_or_organ_component part_of invertebrate
|
||||
drug_delivery_device treats sign_or_symptom
|
||||
neuroreactive_substance_or_biogenic_amine affects disease_or_syndrome
|
||||
vertebrate isa physical_object
|
||||
experimental_model_of_disease result_of diagnostic_procedure
|
||||
drug_delivery_device isa entity
|
||||
therapeutic_or_preventive_procedure uses clinical_drug
|
||||
enzyme affects cell_or_molecular_dysfunction
|
||||
diagnostic_procedure analyzes neuroreactive_substance_or_biogenic_amine
|
||||
amphibian exhibits individual_behavior
|
||||
mental_or_behavioral_dysfunction process_of physiologic_function
|
||||
laboratory_procedure diagnoses cell_or_molecular_dysfunction
|
||||
therapeutic_or_preventive_procedure complicates mental_process
|
||||
steroid interacts_with inorganic_chemical
|
||||
physiologic_function affects plant
|
||||
biomedical_occupation_or_discipline isa conceptual_entity
|
||||
laboratory_procedure analyzes carbohydrate
|
||||
eicosanoid interacts_with receptor
|
||||
age_group performs molecular_biology_research_technique
|
||||
element_ion_or_isotope interacts_with enzyme
|
||||
hazardous_or_poisonous_substance disrupts cell_component
|
||||
congenital_abnormality result_of physiologic_function
|
||||
organophosphorus_compound interacts_with neuroreactive_substance_or_biogenic_amine
|
||||
anatomical_abnormality part_of bacterium
|
||||
clinical_drug causes anatomical_abnormality
|
||||
body_space_or_junction issue_in biomedical_occupation_or_discipline
|
||||
therapeutic_or_preventive_procedure affects mental_process
|
||||
health_care_activity associated_with injury_or_poisoning
|
||||
molecular_function precedes organ_or_tissue_function
|
||||
health_care_related_organization carries_out research_activity
|
||||
cell_function process_of molecular_function
|
||||
neoplastic_process affects experimental_model_of_disease
|
||||
diagnostic_procedure affects cell_or_molecular_dysfunction
|
||||
diagnostic_procedure issue_in occupation_or_discipline
|
||||
governmental_or_regulatory_activity method_of biomedical_occupation_or_discipline
|
||||
laboratory_or_test_result manifestation_of cell_function
|
||||
professional_or_occupational_group produces regulation_or_law
|
||||
laboratory_or_test_result measurement_of pharmacologic_substance
|
||||
pharmacologic_substance affects experimental_model_of_disease
|
||||
receptor affects cell_function
|
||||
neuroreactive_substance_or_biogenic_amine causes anatomical_abnormality
|
||||
body_part_organ_or_organ_component produces vitamin
|
||||
hormone affects biologic_function
|
||||
fully_formed_anatomical_structure location_of disease_or_syndrome
|
||||
receptor affects physiologic_function
|
||||
research_activity measures organism_attribute
|
||||
finding manifestation_of organ_or_tissue_function
|
||||
mental_or_behavioral_dysfunction manifestation_of physiologic_function
|
||||
health_care_activity affects mental_or_behavioral_dysfunction
|
||||
antibiotic interacts_with immunologic_factor
|
||||
disease_or_syndrome produces body_substance
|
||||
diagnostic_procedure measures biomedical_or_dental_material
|
||||
chemical affects natural_phenomenon_or_process
|
||||
research_activity measures biomedical_or_dental_material
|
||||
body_part_organ_or_organ_component conceptual_part_of body_system
|
||||
disease_or_syndrome affects bacterium
|
||||
chemical causes anatomical_abnormality
|
||||
organism_function result_of mental_process
|
||||
cell_or_molecular_dysfunction occurs_in age_group
|
||||
pathologic_function affects amphibian
|
||||
molecular_function isa phenomenon_or_process
|
||||
laboratory_procedure analyzes vitamin
|
||||
governmental_or_regulatory_activity associated_with pathologic_function
|
||||
mental_process result_of acquired_abnormality
|
||||
tissue produces organophosphorus_compound
|
||||
gene_or_genome part_of cell_component
|
||||
mental_or_behavioral_dysfunction affects animal
|
||||
immunologic_factor causes acquired_abnormality
|
||||
antibiotic treats acquired_abnormality
|
||||
eicosanoid isa lipid
|
||||
neuroreactive_substance_or_biogenic_amine causes pathologic_function
|
||||
antibiotic treats congenital_abnormality
|
||||
acquired_abnormality part_of plant
|
||||
mental_or_behavioral_dysfunction process_of mental_process
|
||||
professional_or_occupational_group exhibits individual_behavior
|
||||
cell_component location_of biologic_function
|
||||
hazardous_or_poisonous_substance isa chemical_viewed_functionally
|
||||
cell_function result_of molecular_function
|
||||
element_ion_or_isotope ingredient_of clinical_drug
|
||||
acquired_abnormality affects amphibian
|
||||
group uses classification
|
||||
organic_chemical interacts_with eicosanoid
|
||||
receptor isa biologically_active_substance
|
||||
biologically_active_substance affects molecular_function
|
||||
pathologic_function precedes mental_or_behavioral_dysfunction
|
||||
laboratory_procedure assesses_effect_of biologically_active_substance
|
||||
cell_function produces hormone
|
||||
biologically_active_substance disrupts embryonic_structure
|
||||
biologic_function produces receptor
|
||||
alga location_of hormone
|
||||
experimental_model_of_disease produces receptor
|
||||
organ_or_tissue_function occurs_in mental_process
|
||||
nucleic_acid_nucleoside_or_nucleotide affects molecular_function
|
||||
acquired_abnormality part_of rickettsia_or_chlamydia
|
||||
medical_device treats experimental_model_of_disease
|
||||
neoplastic_process process_of experimental_model_of_disease
|
||||
geographic_area associated_with cell_or_molecular_dysfunction
|
||||
organophosphorus_compound interacts_with steroid
|
||||
cell_function isa natural_phenomenon_or_process
|
||||
disease_or_syndrome result_of social_behavior
|
||||
mental_or_behavioral_dysfunction occurs_in patient_or_disabled_group
|
||||
injury_or_poisoning occurs_in professional_or_occupational_group
|
||||
hazardous_or_poisonous_substance complicates congenital_abnormality
|
||||
invertebrate causes pathologic_function
|
||||
acquired_abnormality occurs_in professional_or_occupational_group
|
||||
lipid affects mental_or_behavioral_dysfunction
|
||||
clinical_attribute associated_with organism_attribute
|
||||
lipid affects mental_process
|
||||
invertebrate interacts_with reptile
|
||||
gene_or_genome part_of vertebrate
|
||||
organ_or_tissue_function process_of mammal
|
||||
body_substance conceptual_part_of body_system
|
||||
body_part_organ_or_organ_component produces neuroreactive_substance_or_biogenic_amine
|
||||
carbohydrate interacts_with inorganic_chemical
|
||||
anatomical_abnormality part_of mammal
|
||||
natural_phenomenon_or_process affects molecular_function
|
||||
substance causes cell_or_molecular_dysfunction
|
||||
embryonic_structure surrounds cell
|
||||
injury_or_poisoning isa phenomenon_or_process
|
||||
diagnostic_procedure diagnoses anatomical_abnormality
|
||||
body_space_or_junction location_of injury_or_poisoning
|
||||
cell_function result_of experimental_model_of_disease
|
||||
neuroreactive_substance_or_biogenic_amine complicates genetic_function
|
||||
experimental_model_of_disease result_of environmental_effect_of_humans
|
||||
health_care_activity affects cell_or_molecular_dysfunction
|
||||
professional_society carries_out diagnostic_procedure
|
||||
health_care_activity affects mental_process
|
||||
group produces research_device
|
||||
cell_component location_of congenital_abnormality
|
||||
vertebrate isa animal
|
||||
molecular_biology_research_technique measures biomedical_or_dental_material
|
||||
professional_society produces classification
|
||||
amino_acid_sequence isa idea_or_concept
|
||||
genetic_function co-occurs_with physiologic_function
|
||||
mental_or_behavioral_dysfunction manifestation_of genetic_function
|
||||
biologic_function process_of mammal
|
||||
individual_behavior affects social_behavior
|
||||
pathologic_function co-occurs_with injury_or_poisoning
|
||||
invertebrate causes experimental_model_of_disease
|
||||
fish interacts_with archaeon
|
||||
research_device causes disease_or_syndrome
|
||||
quantitative_concept issue_in biomedical_occupation_or_discipline
|
||||
professional_society location_of therapeutic_or_preventive_procedure
|
||||
drug_delivery_device prevents disease_or_syndrome
|
||||
fully_formed_anatomical_structure part_of invertebrate
|
||||
mammal isa entity
|
||||
body_part_organ_or_organ_component produces receptor
|
||||
molecular_function affects mammal
|
||||
laboratory_procedure analyzes biomedical_or_dental_material
|
||||
human_caused_phenomenon_or_process isa phenomenon_or_process
|
||||
experimental_model_of_disease process_of vertebrate
|
||||
professional_society carries_out research_activity
|
||||
experimental_model_of_disease precedes cell_or_molecular_dysfunction
|
||||
experimental_model_of_disease affects amphibian
|
||||
laboratory_procedure assesses_effect_of hazardous_or_poisonous_substance
|
||||
anatomical_abnormality issue_in biomedical_occupation_or_discipline
|
||||
hormone affects mental_process
|
||||
laboratory_procedure analyzes pharmacologic_substance
|
||||
body_location_or_region location_of genetic_function
|
||||
disease_or_syndrome result_of injury_or_poisoning
|
||||
laboratory_procedure assesses_effect_of neoplastic_process
|
||||
congenital_abnormality affects animal
|
||||
biomedical_or_dental_material interacts_with immunologic_factor
|
||||
organism_function isa natural_phenomenon_or_process
|
||||
classification isa intellectual_product
|
||||
natural_phenomenon_or_process result_of anatomical_abnormality
|
||||
chemical_viewed_functionally affects neoplastic_process
|
||||
amino_acid_sequence result_of mental_process
|
||||
clinical_attribute property_of reptile
|
||||
mammal exhibits individual_behavior
|
||||
natural_phenomenon_or_process affects disease_or_syndrome
|
||||
organ_or_tissue_function process_of neoplastic_process
|
||||
biologically_active_substance complicates mental_process
|
||||
laboratory_procedure assesses_effect_of biomedical_or_dental_material
|
||||
biomedical_or_dental_material interacts_with chemical
|
||||
neoplastic_process associated_with cell_or_molecular_dysfunction
|
||||
qualitative_concept isa idea_or_concept
|
||||
sign_or_symptom evaluation_of experimental_model_of_disease
|
||||
neuroreactive_substance_or_biogenic_amine interacts_with receptor
|
||||
cell location_of pathologic_function
|
||||
diagnostic_procedure assesses_effect_of enzyme
|
||||
acquired_abnormality part_of alga
|
||||
organophosphorus_compound interacts_with hazardous_or_poisonous_substance
|
||||
diagnostic_procedure assesses_effect_of lipid
|
||||
fungus interacts_with invertebrate
|
||||
laboratory_or_test_result measurement_of physiologic_function
|
||||
acquired_abnormality affects mental_process
|
||||
disease_or_syndrome affects reptile
|
||||
amino_acid_sequence isa entity
|
||||
mental_process result_of biologic_function
|
||||
organic_chemical affects biologic_function
|
||||
steroid interacts_with hormone
|
||||
pathologic_function result_of acquired_abnormality
|
||||
research_activity measures chemical_viewed_structurally
|
||||
therapeutic_or_preventive_procedure associated_with mental_or_behavioral_dysfunction
|
||||
physiologic_function result_of mental_process
|
||||
clinical_attribute result_of human_caused_phenomenon_or_process
|
||||
laboratory_procedure measures antibiotic
|
||||
cell part_of invertebrate
|
||||
vitamin complicates cell_or_molecular_dysfunction
|
||||
clinical_attribute manifestation_of molecular_function
|
||||
organism_function result_of acquired_abnormality
|
||||
professional_or_occupational_group interacts_with age_group
|
||||
natural_phenomenon_or_process affects neoplastic_process
|
||||
organization carries_out research_activity
|
||||
embryonic_structure part_of bacterium
|
||||
fully_formed_anatomical_structure produces enzyme
|
||||
organic_chemical interacts_with indicator_reagent_or_diagnostic_aid
|
||||
natural_phenomenon_or_process result_of human_caused_phenomenon_or_process
|
||||
neoplastic_process affects pathologic_function
|
||||
fully_formed_anatomical_structure issue_in biomedical_occupation_or_discipline
|
||||
environmental_effect_of_humans result_of experimental_model_of_disease
|
||||
experimental_model_of_disease manifestation_of physiologic_function
|
||||
body_part_organ_or_organ_component location_of mental_process
|
||||
receptor causes injury_or_poisoning
|
||||
sign_or_symptom diagnoses disease_or_syndrome
|
||||
antibiotic disrupts mental_process
|
||||
mental_process precedes organism_function
|
||||
chemical_viewed_structurally affects cell_or_molecular_dysfunction
|
||||
vitamin disrupts molecular_function
|
||||
pharmacologic_substance causes injury_or_poisoning
|
||||
professional_or_occupational_group performs governmental_or_regulatory_activity
|
||||
educational_activity isa activity
|
||||
congenital_abnormality location_of disease_or_syndrome
|
||||
neoplastic_process co-occurs_with pathologic_function
|
||||
chemical_viewed_functionally causes mental_or_behavioral_dysfunction
|
||||
biologic_function process_of human
|
||||
hormone complicates mental_or_behavioral_dysfunction
|
||||
embryonic_structure location_of rickettsia_or_chlamydia
|
||||
congenital_abnormality result_of mental_or_behavioral_dysfunction
|
||||
organ_or_tissue_function produces enzyme
|
||||
molecular_biology_research_technique measures experimental_model_of_disease
|
||||
disease_or_syndrome process_of organism_function
|
||||
finding manifestation_of disease_or_syndrome
|
||||
pathologic_function process_of mammal
|
||||
organ_or_tissue_function process_of human
|
||||
indicator_reagent_or_diagnostic_aid affects physiologic_function
|
||||
health_care_related_organization carries_out molecular_biology_research_technique
|
||||
hazardous_or_poisonous_substance disrupts organ_or_tissue_function
|
||||
mental_process process_of invertebrate
|
||||
tissue location_of experimental_model_of_disease
|
||||
antibiotic isa pharmacologic_substance
|
||||
therapeutic_or_preventive_procedure prevents mental_or_behavioral_dysfunction
|
||||
steroid affects disease_or_syndrome
|
||||
pharmacologic_substance prevents disease_or_syndrome
|
||||
behavior result_of mental_process
|
||||
social_behavior associated_with geographic_area
|
||||
tissue part_of body_part_organ_or_organ_component
|
||||
molecular_function affects rickettsia_or_chlamydia
|
||||
population_group performs governmental_or_regulatory_activity
|
||||
biologically_active_substance disrupts organism_function
|
||||
acquired_abnormality isa anatomical_abnormality
|
||||
molecular_function affects alga
|
||||
congenital_abnormality result_of human_caused_phenomenon_or_process
|
||||
congenital_abnormality result_of environmental_effect_of_humans
|
||||
neoplastic_process process_of mental_or_behavioral_dysfunction
|
||||
functional_concept isa entity
|
||||
spatial_concept isa conceptual_entity
|
||||
mental_or_behavioral_dysfunction process_of cell_or_molecular_dysfunction
|
||||
biomedical_or_dental_material causes anatomical_abnormality
|
||||
hazardous_or_poisonous_substance causes congenital_abnormality
|
||||
antibiotic disrupts cell
|
||||
disease_or_syndrome affects alga
|
||||
finding manifestation_of experimental_model_of_disease
|
||||
element_ion_or_isotope affects natural_phenomenon_or_process
|
||||
amphibian interacts_with archaeon
|
||||
body_space_or_junction location_of mental_process
|
||||
substance causes neoplastic_process
|
||||
biologic_function affects genetic_function
|
||||
indicator_reagent_or_diagnostic_aid causes injury_or_poisoning
|
||||
research_activity measures pharmacologic_substance
|
||||
injury_or_poisoning result_of environmental_effect_of_humans
|
||||
organization issue_in occupation_or_discipline
|
||||
organ_or_tissue_function process_of mental_process
|
||||
research_activity associated_with mental_or_behavioral_dysfunction
|
||||
human issue_in biomedical_occupation_or_discipline
|
||||
molecular_function affects disease_or_syndrome
|
||||
eicosanoid affects pathologic_function
|
|
135
dataset/umls/entities.txt
Normal file
135
dataset/umls/entities.txt
Normal file
@ -0,0 +1,135 @@
|
||||
idea_or_concept
|
||||
virus
|
||||
spatial_concept
|
||||
human_caused_phenomenon_or_process
|
||||
human
|
||||
organ_or_tissue_function
|
||||
daily_or_recreational_activity
|
||||
steroid
|
||||
biomedical_or_dental_material
|
||||
vertebrate
|
||||
immunologic_factor
|
||||
inorganic_chemical
|
||||
invertebrate
|
||||
embryonic_structure
|
||||
functional_concept
|
||||
amino_acid_peptide_or_protein
|
||||
fish
|
||||
reptile
|
||||
physical_object
|
||||
disease_or_syndrome
|
||||
biologically_active_substance
|
||||
physiologic_function
|
||||
population_group
|
||||
group
|
||||
body_space_or_junction
|
||||
bird
|
||||
qualitative_concept
|
||||
bacterium
|
||||
cell_function
|
||||
enzyme
|
||||
organophosphorus_compound
|
||||
nucleic_acid_nucleoside_or_nucleotide
|
||||
cell
|
||||
language
|
||||
antibiotic
|
||||
indicator_reagent_or_diagnostic_aid
|
||||
fungus
|
||||
chemical_viewed_functionally
|
||||
rickettsia_or_chlamydia
|
||||
patient_or_disabled_group
|
||||
professional_society
|
||||
health_care_related_organization
|
||||
clinical_attribute
|
||||
biomedical_occupation_or_discipline
|
||||
temporal_concept
|
||||
phenomenon_or_process
|
||||
family_group
|
||||
chemical_viewed_structurally
|
||||
regulation_or_law
|
||||
acquired_abnormality
|
||||
experimental_model_of_disease
|
||||
professional_or_occupational_group
|
||||
injury_or_poisoning
|
||||
receptor
|
||||
drug_delivery_device
|
||||
hazardous_or_poisonous_substance
|
||||
organism
|
||||
neoplastic_process
|
||||
mammal
|
||||
molecular_function
|
||||
lipid
|
||||
group_attribute
|
||||
nucleotide_sequence
|
||||
biologic_function
|
||||
chemical
|
||||
cell_component
|
||||
intellectual_product
|
||||
manufactured_object
|
||||
classification
|
||||
geographic_area
|
||||
vitamin
|
||||
gene_or_genome
|
||||
self_help_or_relief_organization
|
||||
pathologic_function
|
||||
amphibian
|
||||
laboratory_or_test_result
|
||||
organism_attribute
|
||||
cell_or_molecular_dysfunction
|
||||
therapeutic_or_preventive_procedure
|
||||
sign_or_symptom
|
||||
occupational_activity
|
||||
anatomical_abnormality
|
||||
hormone
|
||||
fully_formed_anatomical_structure
|
||||
educational_activity
|
||||
quantitative_concept
|
||||
tissue
|
||||
organism_function
|
||||
social_behavior
|
||||
mental_or_behavioral_dysfunction
|
||||
governmental_or_regulatory_activity
|
||||
molecular_biology_research_technique
|
||||
occupation_or_discipline
|
||||
conceptual_entity
|
||||
body_location_or_region
|
||||
pharmacologic_substance
|
||||
clinical_drug
|
||||
food
|
||||
substance
|
||||
genetic_function
|
||||
congenital_abnormality
|
||||
medical_device
|
||||
carbohydrate
|
||||
health_care_activity
|
||||
eicosanoid
|
||||
element_ion_or_isotope
|
||||
diagnostic_procedure
|
||||
entity
|
||||
event
|
||||
laboratory_procedure
|
||||
environmental_effect_of_humans
|
||||
body_part_organ_or_organ_component
|
||||
molecular_sequence
|
||||
mental_process
|
||||
research_device
|
||||
alga
|
||||
natural_phenomenon_or_process
|
||||
anatomical_structure
|
||||
animal
|
||||
body_system
|
||||
behavior
|
||||
carbohydrate_sequence
|
||||
archaeon
|
||||
research_activity
|
||||
organization
|
||||
individual_behavior
|
||||
organic_chemical
|
||||
finding
|
||||
age_group
|
||||
activity
|
||||
machine_activity
|
||||
plant
|
||||
body_substance
|
||||
amino_acid_sequence
|
||||
neuroreactive_substance_or_biogenic_amine
|
135
dataset/umls/entity2text.txt
Normal file
135
dataset/umls/entity2text.txt
Normal file
@ -0,0 +1,135 @@
|
||||
idea_or_concept idea or concept
|
||||
virus virus
|
||||
spatial_concept spatial concept
|
||||
human_caused_phenomenon_or_process human caused phenomenon or process
|
||||
human human
|
||||
organ_or_tissue_function organ or tissue function
|
||||
daily_or_recreational_activity daily or recreational activity
|
||||
steroid steroid
|
||||
biomedical_or_dental_material biomedical or dental material
|
||||
vertebrate vertebrate
|
||||
immunologic_factor immunologic factor
|
||||
inorganic_chemical inorganic chemical
|
||||
invertebrate invertebrate
|
||||
embryonic_structure embryonic structure
|
||||
functional_concept functional concept
|
||||
amino_acid_peptide_or_protein amino acid peptide or protein
|
||||
fish fish
|
||||
reptile reptile
|
||||
physical_object physical object
|
||||
disease_or_syndrome disease or syndrome
|
||||
biologically_active_substance biologically active substance
|
||||
physiologic_function physiologic function
|
||||
population_group population group
|
||||
group group
|
||||
body_space_or_junction body space or junction
|
||||
bird bird
|
||||
qualitative_concept qualitative concept
|
||||
bacterium bacterium
|
||||
cell_function cell function
|
||||
enzyme enzyme
|
||||
organophosphorus_compound organophosphorus compound
|
||||
nucleic_acid_nucleoside_or_nucleotide nucleic acid nucleoside or nucleotide
|
||||
cell cell
|
||||
language language
|
||||
antibiotic antibiotic
|
||||
indicator_reagent_or_diagnostic_aid indicator reagent or diagnostic aid
|
||||
fungus fungus
|
||||
chemical_viewed_functionally chemical viewed functionally
|
||||
rickettsia_or_chlamydia rickettsia or chlamydia
|
||||
patient_or_disabled_group patient or disabled group
|
||||
professional_society professional society
|
||||
health_care_related_organization health care related organization
|
||||
clinical_attribute clinical attribute
|
||||
biomedical_occupation_or_discipline biomedical occupation or discipline
|
||||
temporal_concept temporal concept
|
||||
phenomenon_or_process phenomenon or process
|
||||
family_group family group
|
||||
chemical_viewed_structurally chemical viewed structurally
|
||||
regulation_or_law regulation or law
|
||||
acquired_abnormality acquired abnormality
|
||||
experimental_model_of_disease experimental model of disease
|
||||
professional_or_occupational_group professional or occupational group
|
||||
injury_or_poisoning injury or poisoning
|
||||
receptor receptor
|
||||
drug_delivery_device drug delivery device
|
||||
hazardous_or_poisonous_substance hazardous or poisonous substance
|
||||
organism organism
|
||||
neoplastic_process neoplastic process
|
||||
mammal mammal
|
||||
molecular_function molecular function
|
||||
lipid lipid
|
||||
group_attribute group attribute
|
||||
nucleotide_sequence nucleotide sequence
|
||||
biologic_function biologic function
|
||||
chemical chemical
|
||||
cell_component cell component
|
||||
intellectual_product intellectual product
|
||||
manufactured_object manufactured object
|
||||
classification classification
|
||||
geographic_area geographic area
|
||||
vitamin vitamin
|
||||
gene_or_genome gene or genome
|
||||
self_help_or_relief_organization self help or relief organization
|
||||
pathologic_function pathologic function
|
||||
amphibian amphibian
|
||||
laboratory_or_test_result laboratory or test result
|
||||
organism_attribute organism attribute
|
||||
cell_or_molecular_dysfunction cell or molecular dysfunction
|
||||
therapeutic_or_preventive_procedure therapeutic or preventive procedure
|
||||
sign_or_symptom sign or symptom
|
||||
occupational_activity occupational activity
|
||||
anatomical_abnormality anatomical abnormality
|
||||
hormone hormone
|
||||
fully_formed_anatomical_structure fully formed anatomical structure
|
||||
educational_activity educational activity
|
||||
quantitative_concept quantitative concept
|
||||
tissue tissue
|
||||
organism_function organism function
|
||||
social_behavior social behavior
|
||||
mental_or_behavioral_dysfunction mental or behavioral dysfunction
|
||||
governmental_or_regulatory_activity governmental or regulatory activity
|
||||
molecular_biology_research_technique molecular biology research technique
|
||||
occupation_or_discipline occupation or discipline
|
||||
conceptual_entity conceptual entity
|
||||
body_location_or_region body location or region
|
||||
pharmacologic_substance pharmacologic substance
|
||||
clinical_drug clinical drug
|
||||
food food
|
||||
substance substance
|
||||
genetic_function genetic function
|
||||
congenital_abnormality congenital abnormality
|
||||
medical_device medical device
|
||||
carbohydrate carbohydrate
|
||||
health_care_activity health care activity
|
||||
eicosanoid eicosanoid
|
||||
element_ion_or_isotope element ion or isotope
|
||||
diagnostic_procedure diagnostic procedure
|
||||
entity entity
|
||||
event event
|
||||
laboratory_procedure laboratory procedure
|
||||
environmental_effect_of_humans environmental effect of humans
|
||||
body_part_organ_or_organ_component body part organ or organ component
|
||||
molecular_sequence molecular sequence
|
||||
mental_process mental process
|
||||
research_device research device
|
||||
alga alga
|
||||
natural_phenomenon_or_process natural phenomenon or process
|
||||
anatomical_structure anatomical structure
|
||||
animal animal
|
||||
body_system body system
|
||||
behavior behavior
|
||||
carbohydrate_sequence carbohydrate sequence
|
||||
archaeon archaeon
|
||||
research_activity research activity
|
||||
organization organization
|
||||
individual_behavior individual behavior
|
||||
organic_chemical organic chemical
|
||||
finding finding
|
||||
age_group age group
|
||||
activity activity
|
||||
machine_activity machine activity
|
||||
plant plant
|
||||
body_substance body substance
|
||||
amino_acid_sequence amino acid sequence
|
||||
neuroreactive_substance_or_biogenic_amine neuroreactive substance or biogenic amine
|
135
dataset/umls/entity2textlong.txt
Normal file
135
dataset/umls/entity2textlong.txt
Normal file
File diff suppressed because one or more lines are too long
155
dataset/umls/get_neighbor.ipynb
Normal file
155
dataset/umls/get_neighbor.ipynb
Normal file
@ -0,0 +1,155 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"path1 = './entities.txt'\n",
|
||||
"path2 = './relations.txt'\n",
|
||||
"path3 = './train.tsv'\n",
|
||||
"path4 = './dev.tsv'\n",
|
||||
"path5 = './test.tsv'\n",
|
||||
"path6 = './get_neighbor/entity2id.txt'\n",
|
||||
"path7 = './get_neighbor/relation2id.txt'\n",
|
||||
"path8 = './get_neighbor/train2id.txt'\n",
|
||||
"path9 = './get_neighbor/valid2id.txt'\n",
|
||||
"path10 = './get_neighbor/test2id.txt'"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path1, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"cnt = 0\n",
|
||||
"with open(path6, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" en = line.strip()\n",
|
||||
" f.write(en + '\\t' + str(cnt) + '\\n')\n",
|
||||
" cnt += 1\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path2, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"cnt = 0\n",
|
||||
"with open(path7, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" re = line.strip()\n",
|
||||
" f.write(re + '\\t' + str(cnt) + '\\n')\n",
|
||||
" cnt += 1\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path6, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"en2id = {}\n",
|
||||
"for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" en, num = b[0], b[1]\n",
|
||||
" en2id[en] = num"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path7, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"re2id = {}\n",
|
||||
"for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" re, num = b[0], b[1]\n",
|
||||
" re2id[re] = num"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path3, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"with open(path8, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" h, r, t = b[0], b[1], b[2]\n",
|
||||
" f.write(en2id[h] + ' ' + re2id[r] + ' ' + en2id[t] + '\\n')\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 15,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path4, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"with open(path9, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" h, r, t = b[0], b[1], b[2]\n",
|
||||
" f.write(en2id[h] + ' ' + re2id[r] + ' ' + en2id[t] + '\\n')\n",
|
||||
" "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(path5, 'r') as f:\n",
|
||||
" a = f.readlines()\n",
|
||||
"with open(path10, 'w') as f:\n",
|
||||
" for line in a:\n",
|
||||
" b = line.strip().split('\\t')\n",
|
||||
" h, r, t = b[0], b[1], b[2]\n",
|
||||
" f.write(en2id[h] + ' ' + re2id[r] + ' ' + en2id[t] + '\\n')\n",
|
||||
" "
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python [default]",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.6.5"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
135
dataset/umls/get_neighbor/entity2id.txt
Normal file
135
dataset/umls/get_neighbor/entity2id.txt
Normal file
@ -0,0 +1,135 @@
|
||||
idea_or_concept 0
|
||||
virus 1
|
||||
spatial_concept 2
|
||||
human_caused_phenomenon_or_process 3
|
||||
human 4
|
||||
organ_or_tissue_function 5
|
||||
daily_or_recreational_activity 6
|
||||
steroid 7
|
||||
biomedical_or_dental_material 8
|
||||
vertebrate 9
|
||||
immunologic_factor 10
|
||||
inorganic_chemical 11
|
||||
invertebrate 12
|
||||
embryonic_structure 13
|
||||
functional_concept 14
|
||||
amino_acid_peptide_or_protein 15
|
||||
fish 16
|
||||
reptile 17
|
||||
physical_object 18
|
||||
disease_or_syndrome 19
|
||||
biologically_active_substance 20
|
||||
physiologic_function 21
|
||||
population_group 22
|
||||
group 23
|
||||
body_space_or_junction 24
|
||||
bird 25
|
||||
qualitative_concept 26
|
||||
bacterium 27
|
||||
cell_function 28
|
||||
enzyme 29
|
||||
organophosphorus_compound 30
|
||||
nucleic_acid_nucleoside_or_nucleotide 31
|
||||
cell 32
|
||||
language 33
|
||||
antibiotic 34
|
||||
indicator_reagent_or_diagnostic_aid 35
|
||||
fungus 36
|
||||
chemical_viewed_functionally 37
|
||||
rickettsia_or_chlamydia 38
|
||||
patient_or_disabled_group 39
|
||||
professional_society 40
|
||||
health_care_related_organization 41
|
||||
clinical_attribute 42
|
||||
biomedical_occupation_or_discipline 43
|
||||
temporal_concept 44
|
||||
phenomenon_or_process 45
|
||||
family_group 46
|
||||
chemical_viewed_structurally 47
|
||||
regulation_or_law 48
|
||||
acquired_abnormality 49
|
||||
experimental_model_of_disease 50
|
||||
professional_or_occupational_group 51
|
||||
injury_or_poisoning 52
|
||||
receptor 53
|
||||
drug_delivery_device 54
|
||||
hazardous_or_poisonous_substance 55
|
||||
organism 56
|
||||
neoplastic_process 57
|
||||
mammal 58
|
||||
molecular_function 59
|
||||
lipid 60
|
||||
group_attribute 61
|
||||
nucleotide_sequence 62
|
||||
biologic_function 63
|
||||
chemical 64
|
||||
cell_component 65
|
||||
intellectual_product 66
|
||||
manufactured_object 67
|
||||
classification 68
|
||||
geographic_area 69
|
||||
vitamin 70
|
||||
gene_or_genome 71
|
||||
self_help_or_relief_organization 72
|
||||
pathologic_function 73
|
||||
amphibian 74
|
||||
laboratory_or_test_result 75
|
||||
organism_attribute 76
|
||||
cell_or_molecular_dysfunction 77
|
||||
therapeutic_or_preventive_procedure 78
|
||||
sign_or_symptom 79
|
||||
occupational_activity 80
|
||||
anatomical_abnormality 81
|
||||
hormone 82
|
||||
fully_formed_anatomical_structure 83
|
||||
educational_activity 84
|
||||
quantitative_concept 85
|
||||
tissue 86
|
||||
organism_function 87
|
||||
social_behavior 88
|
||||
mental_or_behavioral_dysfunction 89
|
||||
governmental_or_regulatory_activity 90
|
||||
molecular_biology_research_technique 91
|
||||
occupation_or_discipline 92
|
||||
conceptual_entity 93
|
||||
body_location_or_region 94
|
||||
pharmacologic_substance 95
|
||||
clinical_drug 96
|
||||
food 97
|
||||
substance 98
|
||||
genetic_function 99
|
||||
congenital_abnormality 100
|
||||
medical_device 101
|
||||
carbohydrate 102
|
||||
health_care_activity 103
|
||||
eicosanoid 104
|
||||
element_ion_or_isotope 105
|
||||
diagnostic_procedure 106
|
||||
entity 107
|
||||
event 108
|
||||
laboratory_procedure 109
|
||||
environmental_effect_of_humans 110
|
||||
body_part_organ_or_organ_component 111
|
||||
molecular_sequence 112
|
||||
mental_process 113
|
||||
research_device 114
|
||||
alga 115
|
||||
natural_phenomenon_or_process 116
|
||||
anatomical_structure 117
|
||||
animal 118
|
||||
body_system 119
|
||||
behavior 120
|
||||
carbohydrate_sequence 121
|
||||
archaeon 122
|
||||
research_activity 123
|
||||
organization 124
|
||||
individual_behavior 125
|
||||
organic_chemical 126
|
||||
finding 127
|
||||
age_group 128
|
||||
activity 129
|
||||
machine_activity 130
|
||||
plant 131
|
||||
body_substance 132
|
||||
amino_acid_sequence 133
|
||||
neuroreactive_substance_or_biogenic_amine 134
|
46
dataset/umls/get_neighbor/relation2id.txt
Normal file
46
dataset/umls/get_neighbor/relation2id.txt
Normal file
@ -0,0 +1,46 @@
|
||||
measures 0
|
||||
derivative_of 1
|
||||
disrupts 2
|
||||
prevents 3
|
||||
conceptually_related_to 4
|
||||
manifestation_of 5
|
||||
diagnoses 6
|
||||
evaluation_of 7
|
||||
contains 8
|
||||
co-occurs_with 9
|
||||
conceptual_part_of 10
|
||||
performs 11
|
||||
degree_of 12
|
||||
interacts_with 13
|
||||
uses 14
|
||||
issue_in 15
|
||||
assesses_effect_of 16
|
||||
property_of 17
|
||||
precedes 18
|
||||
result_of 19
|
||||
causes 20
|
||||
practices 21
|
||||
ingredient_of 22
|
||||
analyzes 23
|
||||
surrounds 24
|
||||
indicates 25
|
||||
associated_with 26
|
||||
affects 27
|
||||
location_of 28
|
||||
produces 29
|
||||
process_of 30
|
||||
measurement_of 31
|
||||
connected_to 32
|
||||
carries_out 33
|
||||
method_of 34
|
||||
adjacent_to 35
|
||||
occurs_in 36
|
||||
consists_of 37
|
||||
interconnects 38
|
||||
manages 39
|
||||
complicates 40
|
||||
part_of 41
|
||||
treats 42
|
||||
isa 43
|
||||
developmental_form_of 44
|
||||
exhibits 45
|
661
dataset/umls/get_neighbor/test2id.txt
Normal file
661
dataset/umls/get_neighbor/test2id.txt
Normal file
@ -0,0 +1,661 @@
|
||||
7 13 104
|
||||
42 43 93
|
||||
94 28 21
|
||||
57 43 19
|
||||
102 27 59
|
||||
19 27 5
|
||||
98 15 92
|
||||
75 7 99
|
||||
37 43 107
|
||||
30 22 96
|
||||
89 27 88
|
||||
3 19 73
|
||||
15 13 34
|
||||
82 27 50
|
||||
34 27 28
|
||||
13 41 25
|
||||
86 29 126
|
||||
99 30 5
|
||||
100 41 58
|
||||
11 20 77
|
||||
53 2 32
|
||||
40 28 109
|
||||
87 9 28
|
||||
10 20 77
|
||||
70 27 57
|
||||
34 40 81
|
||||
85 31 21
|
||||
73 27 63
|
||||
100 15 92
|
||||
86 35 24
|
||||
70 2 5
|
||||
53 43 98
|
||||
113 43 87
|
||||
9 45 125
|
||||
94 28 78
|
||||
18 15 43
|
||||
11 27 28
|
||||
57 27 9
|
||||
28 27 58
|
||||
22 14 101
|
||||
3 19 59
|
||||
95 42 57
|
||||
13 28 77
|
||||
50 19 109
|
||||
29 2 28
|
||||
73 40 52
|
||||
89 12 19
|
||||
131 13 118
|
||||
19 30 73
|
||||
73 19 106
|
||||
81 5 63
|
||||
75 5 73
|
||||
16 15 43
|
||||
102 27 77
|
||||
63 27 1
|
||||
113 18 28
|
||||
50 36 89
|
||||
100 41 27
|
||||
3 19 21
|
||||
32 28 78
|
||||
50 30 116
|
||||
57 19 45
|
||||
134 27 87
|
||||
89 30 122
|
||||
100 41 1
|
||||
73 5 99
|
||||
20 20 89
|
||||
95 42 19
|
||||
24 28 28
|
||||
99 27 1
|
||||
49 19 106
|
||||
21 27 122
|
||||
65 28 73
|
||||
91 0 37
|
||||
59 19 3
|
||||
51 14 67
|
||||
53 2 59
|
||||
5 30 63
|
||||
91 0 105
|
||||
21 19 50
|
||||
21 29 20
|
||||
83 41 74
|
||||
29 40 87
|
||||
86 28 1
|
||||
12 43 118
|
||||
113 9 99
|
||||
81 28 27
|
||||
83 28 77
|
||||
5 9 99
|
||||
21 19 3
|
||||
59 19 77
|
||||
106 26 73
|
||||
21 19 57
|
||||
60 13 95
|
||||
65 29 53
|
||||
21 19 100
|
||||
128 11 130
|
||||
100 26 76
|
||||
109 23 15
|
||||
70 27 113
|
||||
65 41 56
|
||||
68 43 93
|
||||
87 19 73
|
||||
87 29 70
|
||||
109 6 89
|
||||
102 27 73
|
||||
65 43 107
|
||||
73 27 56
|
||||
113 27 27
|
||||
75 25 5
|
||||
86 29 132
|
||||
65 41 111
|
||||
59 27 89
|
||||
102 13 10
|
||||
6 26 49
|
||||
59 19 19
|
||||
57 36 52
|
||||
83 41 122
|
||||
102 27 113
|
||||
105 13 55
|
||||
52 2 59
|
||||
51 13 22
|
||||
89 27 122
|
||||
126 27 57
|
||||
98 20 19
|
||||
20 20 19
|
||||
52 2 86
|
||||
73 15 92
|
||||
89 30 17
|
||||
49 5 73
|
||||
105 15 43
|
||||
120 26 128
|
||||
19 40 77
|
||||
83 29 53
|
||||
64 20 52
|
||||
89 27 17
|
||||
63 27 87
|
||||
34 13 134
|
||||
20 27 89
|
||||
109 16 99
|
||||
123 0 15
|
||||
19 27 77
|
||||
73 19 19
|
||||
19 36 89
|
||||
88 26 39
|
||||
34 6 89
|
||||
73 19 87
|
||||
131 13 17
|
||||
89 27 74
|
||||
79 6 89
|
||||
63 19 89
|
||||
63 27 77
|
||||
81 41 9
|
||||
46 13 23
|
||||
50 30 16
|
||||
89 27 116
|
||||
87 27 115
|
||||
65 28 24
|
||||
111 28 99
|
||||
64 27 99
|
||||
37 27 21
|
||||
33 15 43
|
||||
111 28 5
|
||||
123 43 80
|
||||
106 23 55
|
||||
50 36 23
|
||||
31 43 107
|
||||
106 26 100
|
||||
80 26 77
|
||||
5 19 49
|
||||
59 27 28
|
||||
47 22 96
|
||||
89 19 120
|
||||
47 13 102
|
||||
28 27 57
|
||||
73 36 89
|
||||
46 11 78
|
||||
46 29 114
|
||||
15 27 113
|
||||
82 40 63
|
||||
81 19 103
|
||||
87 30 63
|
||||
10 40 19
|
||||
62 17 31
|
||||
124 28 80
|
||||
42 19 99
|
||||
70 20 81
|
||||
89 27 5
|
||||
57 19 89
|
||||
111 29 126
|
||||
1 43 56
|
||||
5 30 21
|
||||
125 26 92
|
||||
55 27 19
|
||||
77 27 21
|
||||
82 2 86
|
||||
59 27 118
|
||||
21 27 59
|
||||
63 27 21
|
||||
75 25 113
|
||||
47 27 5
|
||||
28 19 19
|
||||
15 27 63
|
||||
50 27 63
|
||||
8 27 63
|
||||
91 0 15
|
||||
50 27 27
|
||||
34 27 5
|
||||
4 43 58
|
||||
22 11 6
|
||||
65 10 119
|
||||
32 41 17
|
||||
5 27 4
|
||||
35 13 64
|
||||
77 19 87
|
||||
91 0 104
|
||||
91 0 116
|
||||
76 19 19
|
||||
95 42 52
|
||||
99 27 63
|
||||
23 45 125
|
||||
3 19 45
|
||||
34 27 99
|
||||
82 13 29
|
||||
73 30 122
|
||||
25 13 58
|
||||
134 2 5
|
||||
102 20 77
|
||||
28 27 19
|
||||
32 41 36
|
||||
87 30 4
|
||||
53 40 89
|
||||
99 43 59
|
||||
89 12 77
|
||||
61 17 46
|
||||
95 6 50
|
||||
73 27 115
|
||||
86 28 63
|
||||
87 9 113
|
||||
80 26 57
|
||||
35 27 99
|
||||
102 13 8
|
||||
87 36 44
|
||||
11 20 81
|
||||
77 27 87
|
||||
74 45 88
|
||||
117 41 115
|
||||
60 43 107
|
||||
77 19 19
|
||||
88 26 51
|
||||
32 29 82
|
||||
12 43 107
|
||||
126 20 77
|
||||
49 19 3
|
||||
73 5 19
|
||||
37 15 92
|
||||
50 9 81
|
||||
109 16 105
|
||||
106 0 28
|
||||
47 15 92
|
||||
99 27 19
|
||||
75 9 79
|
||||
15 13 37
|
||||
32 41 27
|
||||
28 27 42
|
||||
83 41 131
|
||||
47 13 60
|
||||
91 0 59
|
||||
36 13 56
|
||||
29 13 70
|
||||
100 5 89
|
||||
78 40 73
|
||||
64 27 5
|
||||
1 28 82
|
||||
5 29 82
|
||||
115 28 134
|
||||
109 27 5
|
||||
73 30 12
|
||||
67 20 77
|
||||
57 27 38
|
||||
77 19 49
|
||||
99 27 131
|
||||
115 43 18
|
||||
46 11 109
|
||||
19 12 77
|
||||
17 45 88
|
||||
78 27 39
|
||||
26 7 125
|
||||
22 14 48
|
||||
34 20 77
|
||||
77 36 89
|
||||
49 5 99
|
||||
27 43 107
|
||||
50 36 128
|
||||
10 20 100
|
||||
109 0 95
|
||||
19 27 16
|
||||
63 19 57
|
||||
78 26 49
|
||||
32 29 70
|
||||
113 30 9
|
||||
113 19 57
|
||||
106 6 77
|
||||
38 28 70
|
||||
57 5 73
|
||||
19 18 57
|
||||
21 19 116
|
||||
75 31 97
|
||||
106 16 105
|
||||
70 20 77
|
||||
121 43 0
|
||||
3 19 52
|
||||
105 20 77
|
||||
126 20 100
|
||||
3 19 50
|
||||
50 40 89
|
||||
5 43 116
|
||||
62 43 112
|
||||
21 27 36
|
||||
50 43 45
|
||||
77 5 52
|
||||
96 20 49
|
||||
65 28 99
|
||||
80 26 19
|
||||
75 26 81
|
||||
128 11 88
|
||||
83 28 21
|
||||
82 13 70
|
||||
59 18 87
|
||||
3 43 108
|
||||
51 11 106
|
||||
19 9 52
|
||||
113 29 20
|
||||
59 29 82
|
||||
57 40 100
|
||||
57 19 113
|
||||
104 15 43
|
||||
41 43 107
|
||||
28 43 63
|
||||
106 23 95
|
||||
10 40 99
|
||||
21 18 99
|
||||
10 40 21
|
||||
89 30 58
|
||||
10 25 57
|
||||
57 30 99
|
||||
63 27 16
|
||||
5 27 25
|
||||
89 19 110
|
||||
55 40 57
|
||||
77 19 88
|
||||
50 19 3
|
||||
105 13 70
|
||||
54 20 52
|
||||
83 28 36
|
||||
83 28 27
|
||||
116 19 19
|
||||
29 40 50
|
||||
125 5 89
|
||||
69 43 0
|
||||
86 43 83
|
||||
79 6 50
|
||||
84 26 73
|
||||
53 27 63
|
||||
5 9 21
|
||||
89 29 70
|
||||
50 19 21
|
||||
82 40 21
|
||||
72 33 84
|
||||
110 43 108
|
||||
64 20 19
|
||||
106 6 100
|
||||
65 41 4
|
||||
50 19 103
|
||||
75 5 50
|
||||
76 31 113
|
||||
28 27 99
|
||||
117 41 131
|
||||
116 19 73
|
||||
100 19 50
|
||||
87 29 53
|
||||
97 20 57
|
||||
82 27 99
|
||||
106 15 43
|
||||
5 30 89
|
||||
25 13 122
|
||||
109 23 30
|
||||
118 13 56
|
||||
109 16 19
|
||||
131 13 115
|
||||
78 3 57
|
||||
100 40 81
|
||||
34 2 87
|
||||
128 11 6
|
||||
71 41 131
|
||||
15 13 134
|
||||
95 20 73
|
||||
60 15 92
|
||||
114 20 81
|
||||
19 30 115
|
||||
81 19 28
|
||||
34 42 50
|
||||
34 40 113
|
||||
52 19 28
|
||||
21 18 5
|
||||
99 19 3
|
||||
85 31 113
|
||||
36 20 73
|
||||
38 28 10
|
||||
104 13 105
|
||||
11 20 57
|
||||
117 15 43
|
||||
10 40 52
|
||||
54 42 52
|
||||
114 43 107
|
||||
20 13 134
|
||||
30 13 20
|
||||
59 27 74
|
||||
89 9 52
|
||||
57 5 50
|
||||
27 28 20
|
||||
126 13 8
|
||||
21 27 116
|
||||
109 43 103
|
||||
57 40 81
|
||||
81 27 9
|
||||
42 5 5
|
||||
13 41 36
|
||||
11 13 29
|
||||
89 9 50
|
||||
29 40 57
|
||||
79 5 5
|
||||
5 9 59
|
||||
128 43 23
|
||||
7 27 57
|
||||
128 45 120
|
||||
19 5 21
|
||||
106 43 108
|
||||
20 2 71
|
||||
81 5 113
|
||||
28 19 21
|
||||
113 30 4
|
||||
64 15 43
|
||||
115 13 4
|
||||
70 27 63
|
||||
83 29 102
|
||||
110 19 49
|
||||
19 19 3
|
||||
126 13 7
|
||||
77 30 116
|
||||
81 41 118
|
||||
106 14 54
|
||||
91 34 106
|
||||
20 20 52
|
||||
81 27 131
|
||||
59 30 12
|
||||
106 0 95
|
||||
105 27 59
|
||||
89 19 57
|
||||
130 43 129
|
||||
31 13 82
|
||||
109 27 57
|
||||
8 43 64
|
||||
73 27 118
|
||||
53 20 73
|
||||
35 20 81
|
||||
134 27 77
|
||||
28 27 38
|
||||
13 28 1
|
||||
78 27 28
|
||||
4 13 56
|
||||
36 20 19
|
||||
32 29 53
|
||||
22 29 48
|
||||
46 11 123
|
||||
70 20 52
|
||||
112 15 43
|
||||
7 15 43
|
||||
27 13 16
|
||||
28 19 113
|
||||
76 17 58
|
||||
81 5 19
|
||||
77 19 110
|
||||
21 27 58
|
||||
83 41 25
|
||||
126 13 82
|
||||
0 15 92
|
||||
39 14 114
|
||||
53 20 49
|
||||
63 19 19
|
||||
20 13 29
|
||||
21 43 63
|
||||
34 40 28
|
||||
55 2 113
|
||||
73 18 77
|
||||
76 17 56
|
||||
30 13 102
|
||||
27 28 53
|
||||
5 19 50
|
||||
83 28 87
|
||||
127 43 93
|
||||
100 43 107
|
||||
86 15 43
|
||||
116 19 57
|
||||
76 5 5
|
||||
78 40 28
|
||||
22 29 101
|
||||
34 13 20
|
||||
34 20 49
|
||||
28 29 70
|
||||
57 27 21
|
||||
110 19 89
|
||||
5 27 87
|
||||
60 27 73
|
||||
109 27 113
|
||||
20 2 65
|
||||
127 5 87
|
||||
87 27 25
|
||||
99 27 21
|
||||
28 19 99
|
||||
34 27 21
|
||||
30 20 73
|
||||
116 27 99
|
||||
57 29 53
|
||||
109 0 8
|
||||
76 31 59
|
||||
21 27 63
|
||||
50 19 57
|
||||
115 13 1
|
||||
100 28 36
|
||||
34 6 77
|
||||
106 0 44
|
||||
89 19 63
|
||||
95 40 63
|
||||
95 2 87
|
||||
81 19 52
|
||||
83 28 59
|
||||
31 13 34
|
||||
134 43 20
|
||||
50 30 27
|
||||
134 13 64
|
||||
77 27 25
|
||||
75 43 93
|
||||
73 26 76
|
||||
49 9 52
|
||||
51 14 54
|
||||
51 6 50
|
||||
77 12 57
|
||||
57 15 43
|
||||
19 19 113
|
||||
57 30 25
|
||||
73 19 81
|
||||
100 5 19
|
||||
76 19 57
|
||||
52 15 92
|
||||
53 20 89
|
||||
42 17 27
|
||||
31 27 50
|
||||
60 20 100
|
||||
47 13 37
|
||||
34 3 73
|
||||
104 43 126
|
||||
20 2 5
|
||||
5 27 99
|
||||
34 27 57
|
||||
83 28 1
|
||||
26 7 129
|
||||
13 41 32
|
||||
29 2 86
|
||||
90 26 19
|
||||
71 28 113
|
||||
57 30 87
|
||||
95 15 43
|
||||
53 40 19
|
||||
19 30 99
|
||||
81 28 1
|
||||
13 41 9
|
||||
87 27 50
|
||||
67 20 89
|
||||
32 41 111
|
||||
59 19 50
|
||||
101 42 49
|
||||
19 27 4
|
||||
111 28 59
|
||||
19 36 57
|
||||
70 43 37
|
||||
65 15 92
|
||||
65 29 31
|
||||
27 43 56
|
||||
77 36 52
|
||||
55 15 92
|
||||
124 28 84
|
||||
86 29 20
|
||||
36 43 18
|
||||
87 19 45
|
||||
87 43 63
|
||||
126 13 31
|
||||
126 27 116
|
||||
106 26 57
|
||||
59 29 134
|
||||
89 30 25
|
||||
47 27 63
|
||||
50 29 20
|
||||
89 26 76
|
||||
109 23 134
|
||||
126 43 98
|
||||
89 27 131
|
||||
6 26 50
|
||||
113 18 5
|
||||
64 27 57
|
||||
82 22 96
|
||||
82 43 20
|
||||
91 0 53
|
||||
50 18 57
|
||||
95 13 134
|
||||
1 13 16
|
||||
49 27 1
|
||||
73 19 59
|
||||
13 28 36
|
||||
95 27 77
|
||||
63 19 49
|
||||
57 9 81
|
||||
57 19 49
|
||||
111 29 132
|
||||
77 30 89
|
||||
84 15 92
|
||||
73 5 57
|
||||
1 20 73
|
||||
52 40 50
|
||||
104 13 95
|
||||
59 19 116
|
||||
57 29 86
|
||||
106 16 70
|
||||
81 5 5
|
||||
55 22 96
|
||||
30 27 77
|
||||
109 0 76
|
||||
37 13 10
|
||||
106 6 19
|
||||
52 40 19
|
||||
59 19 100
|
||||
63 27 27
|
||||
87 29 82
|
||||
125 26 57
|
||||
116 27 28
|
||||
6 26 73
|
||||
83 28 38
|
||||
5 27 73
|
||||
57 27 74
|
||||
49 36 128
|
||||
113 27 76
|
||||
91 0 57
|
||||
19 36 39
|
||||
89 27 58
|
||||
110 43 45
|
||||
77 18 50
|
||||
75 43 107
|
||||
1 13 122
|
||||
35 20 89
|
||||
117 41 36
|
||||
77 30 25
|
5216
dataset/umls/get_neighbor/train2id.txt
Normal file
5216
dataset/umls/get_neighbor/train2id.txt
Normal file
File diff suppressed because it is too large
Load Diff
652
dataset/umls/get_neighbor/valid2id.txt
Normal file
652
dataset/umls/get_neighbor/valid2id.txt
Normal file
@ -0,0 +1,652 @@
|
||||
31 27 89
|
||||
39 11 125
|
||||
57 30 59
|
||||
60 27 63
|
||||
57 27 115
|
||||
34 27 77
|
||||
104 27 89
|
||||
83 28 52
|
||||
130 34 109
|
||||
77 43 73
|
||||
91 0 87
|
||||
87 27 118
|
||||
39 11 90
|
||||
109 0 113
|
||||
86 24 24
|
||||
81 27 87
|
||||
131 28 20
|
||||
73 12 89
|
||||
38 28 134
|
||||
7 20 81
|
||||
30 43 126
|
||||
15 13 104
|
||||
128 29 114
|
||||
49 19 99
|
||||
126 13 64
|
||||
12 13 16
|
||||
71 29 31
|
||||
29 43 20
|
||||
32 28 24
|
||||
42 12 76
|
||||
70 43 20
|
||||
118 13 58
|
||||
52 19 50
|
||||
87 9 21
|
||||
15 13 20
|
||||
95 2 28
|
||||
113 30 25
|
||||
49 19 88
|
||||
123 0 44
|
||||
7 43 98
|
||||
59 30 28
|
||||
51 11 103
|
||||
19 19 21
|
||||
94 28 52
|
||||
34 40 49
|
||||
30 13 15
|
||||
134 40 52
|
||||
71 29 132
|
||||
52 26 42
|
||||
28 27 4
|
||||
127 26 52
|
||||
109 0 126
|
||||
19 19 89
|
||||
21 18 113
|
||||
24 15 92
|
||||
89 30 118
|
||||
49 19 21
|
||||
49 19 52
|
||||
0 43 93
|
||||
59 30 122
|
||||
81 19 87
|
||||
41 28 91
|
||||
104 20 57
|
||||
73 18 57
|
||||
110 19 52
|
||||
105 20 57
|
||||
59 27 9
|
||||
134 20 49
|
||||
7 20 100
|
||||
11 13 64
|
||||
86 29 31
|
||||
111 28 28
|
||||
76 17 118
|
||||
104 13 35
|
||||
19 27 113
|
||||
77 30 19
|
||||
73 19 63
|
||||
127 5 89
|
||||
100 28 27
|
||||
8 20 57
|
||||
37 13 8
|
||||
50 30 19
|
||||
73 27 50
|
||||
53 40 73
|
||||
47 27 50
|
||||
16 45 125
|
||||
10 43 107
|
||||
106 0 59
|
||||
102 43 107
|
||||
73 30 131
|
||||
133 17 71
|
||||
77 27 63
|
||||
97 43 107
|
||||
57 30 4
|
||||
55 40 81
|
||||
94 28 19
|
||||
28 30 118
|
||||
116 27 5
|
||||
134 43 37
|
||||
30 13 105
|
||||
99 19 19
|
||||
57 30 12
|
||||
109 16 50
|
||||
115 43 56
|
||||
42 31 5
|
||||
4 43 107
|
||||
112 43 0
|
||||
55 27 59
|
||||
15 43 47
|
||||
128 15 43
|
||||
75 31 105
|
||||
124 28 109
|
||||
7 43 126
|
||||
78 27 19
|
||||
116 19 5
|
||||
37 20 81
|
||||
69 26 52
|
||||
121 19 113
|
||||
99 19 110
|
||||
8 27 77
|
||||
37 27 73
|
||||
59 27 122
|
||||
57 5 5
|
||||
86 29 134
|
||||
35 20 77
|
||||
75 7 113
|
||||
8 20 77
|
||||
57 19 5
|
||||
99 29 134
|
||||
89 19 5
|
||||
113 27 12
|
||||
35 27 116
|
||||
89 26 73
|
||||
113 27 57
|
||||
28 27 63
|
||||
50 5 99
|
||||
11 20 100
|
||||
75 31 126
|
||||
18 43 107
|
||||
94 28 73
|
||||
134 40 28
|
||||
123 27 113
|
||||
109 0 73
|
||||
15 20 77
|
||||
49 27 4
|
||||
106 27 73
|
||||
10 40 77
|
||||
27 15 43
|
||||
53 40 99
|
||||
57 40 50
|
||||
5 27 28
|
||||
78 43 103
|
||||
50 19 88
|
||||
78 34 43
|
||||
104 27 113
|
||||
54 20 100
|
||||
87 27 38
|
||||
89 29 29
|
||||
67 20 57
|
||||
47 13 10
|
||||
28 30 36
|
||||
21 30 12
|
||||
116 19 100
|
||||
70 40 100
|
||||
71 41 111
|
||||
19 19 45
|
||||
19 27 118
|
||||
39 11 80
|
||||
76 19 87
|
||||
20 27 73
|
||||
13 28 50
|
||||
70 27 21
|
||||
101 20 77
|
||||
123 0 34
|
||||
54 42 49
|
||||
56 43 18
|
||||
59 30 36
|
||||
21 19 5
|
||||
34 3 19
|
||||
101 20 89
|
||||
31 27 113
|
||||
77 30 21
|
||||
64 27 89
|
||||
31 13 134
|
||||
131 13 27
|
||||
126 13 37
|
||||
50 26 42
|
||||
100 41 56
|
||||
71 28 50
|
||||
111 28 36
|
||||
15 27 73
|
||||
99 29 82
|
||||
109 26 81
|
||||
34 20 73
|
||||
49 27 21
|
||||
51 43 23
|
||||
79 26 49
|
||||
29 20 100
|
||||
99 30 28
|
||||
70 40 21
|
||||
42 31 59
|
||||
13 28 89
|
||||
52 19 45
|
||||
47 27 116
|
||||
28 27 89
|
||||
113 27 88
|
||||
63 30 1
|
||||
106 23 35
|
||||
50 27 21
|
||||
1 28 53
|
||||
26 7 103
|
||||
28 27 115
|
||||
89 30 63
|
||||
113 30 5
|
||||
5 19 52
|
||||
57 18 77
|
||||
19 12 89
|
||||
39 29 101
|
||||
34 13 64
|
||||
19 5 57
|
||||
28 30 87
|
||||
76 5 28
|
||||
115 15 43
|
||||
40 15 43
|
||||
45 19 87
|
||||
64 27 87
|
||||
75 5 87
|
||||
100 27 87
|
||||
6 26 52
|
||||
75 31 29
|
||||
100 41 25
|
||||
57 5 113
|
||||
109 23 47
|
||||
19 19 63
|
||||
82 2 32
|
||||
77 5 59
|
||||
128 29 48
|
||||
113 27 25
|
||||
101 42 89
|
||||
45 19 113
|
||||
13 41 1
|
||||
59 27 17
|
||||
78 3 50
|
||||
60 43 98
|
||||
109 16 21
|
||||
16 13 56
|
||||
131 43 18
|
||||
71 43 107
|
||||
42 17 12
|
||||
106 23 105
|
||||
34 27 116
|
||||
71 29 70
|
||||
57 27 116
|
||||
57 19 103
|
||||
106 0 53
|
||||
27 13 122
|
||||
21 27 76
|
||||
82 13 53
|
||||
40 33 109
|
||||
32 28 5
|
||||
15 22 96
|
||||
3 19 116
|
||||
123 15 92
|
||||
37 20 49
|
||||
17 43 9
|
||||
63 27 12
|
||||
57 27 56
|
||||
70 27 116
|
||||
34 6 19
|
||||
49 5 21
|
||||
95 43 64
|
||||
128 45 88
|
||||
87 30 118
|
||||
51 11 130
|
||||
50 43 108
|
||||
57 30 19
|
||||
49 28 19
|
||||
108 15 43
|
||||
89 36 51
|
||||
35 27 50
|
||||
89 43 63
|
||||
103 34 92
|
||||
105 27 50
|
||||
131 13 36
|
||||
39 15 92
|
||||
72 33 80
|
||||
123 0 59
|
||||
49 41 74
|
||||
53 27 113
|
||||
31 20 52
|
||||
77 27 5
|
||||
76 19 50
|
||||
73 27 27
|
||||
40 28 103
|
||||
55 2 13
|
||||
118 45 88
|
||||
63 19 100
|
||||
73 27 113
|
||||
106 0 15
|
||||
59 9 21
|
||||
46 14 101
|
||||
23 11 130
|
||||
109 26 73
|
||||
57 9 100
|
||||
109 0 35
|
||||
81 19 73
|
||||
94 28 28
|
||||
123 0 7
|
||||
12 20 57
|
||||
109 23 82
|
||||
19 27 63
|
||||
73 27 99
|
||||
86 15 92
|
||||
63 27 131
|
||||
81 27 17
|
||||
94 28 89
|
||||
101 42 73
|
||||
76 19 28
|
||||
71 28 1
|
||||
71 41 86
|
||||
86 29 82
|
||||
75 25 57
|
||||
89 40 52
|
||||
20 20 50
|
||||
78 15 43
|
||||
85 31 94
|
||||
51 43 107
|
||||
71 27 5
|
||||
104 27 19
|
||||
10 40 87
|
||||
71 41 17
|
||||
75 5 59
|
||||
89 36 46
|
||||
78 42 89
|
||||
22 43 23
|
||||
94 28 86
|
||||
85 31 112
|
||||
109 43 129
|
||||
106 16 30
|
||||
71 15 92
|
||||
5 30 17
|
||||
69 43 93
|
||||
134 27 89
|
||||
20 43 64
|
||||
29 2 13
|
||||
1 28 70
|
||||
51 14 48
|
||||
50 19 78
|
||||
35 20 57
|
||||
79 7 63
|
||||
21 30 74
|
||||
68 15 43
|
||||
87 29 20
|
||||
75 31 64
|
||||
10 2 111
|
||||
103 15 43
|
||||
102 13 34
|
||||
57 19 106
|
||||
89 19 87
|
||||
65 28 5
|
||||
30 15 92
|
||||
65 28 50
|
||||
60 20 49
|
||||
50 19 113
|
||||
81 19 77
|
||||
28 43 21
|
||||
49 5 28
|
||||
75 26 19
|
||||
113 29 82
|
||||
58 45 120
|
||||
6 26 57
|
||||
96 20 52
|
||||
123 26 73
|
||||
77 30 4
|
||||
111 41 12
|
||||
54 42 79
|
||||
134 27 19
|
||||
9 43 18
|
||||
50 19 106
|
||||
54 43 107
|
||||
78 14 96
|
||||
29 27 77
|
||||
106 23 134
|
||||
74 45 125
|
||||
89 30 21
|
||||
109 6 77
|
||||
78 40 113
|
||||
7 13 11
|
||||
21 27 131
|
||||
43 43 93
|
||||
109 23 102
|
||||
104 13 53
|
||||
128 11 91
|
||||
105 13 29
|
||||
55 2 65
|
||||
100 19 21
|
||||
30 13 134
|
||||
81 41 27
|
||||
96 20 81
|
||||
24 15 43
|
||||
78 27 113
|
||||
103 26 52
|
||||
59 18 5
|
||||
41 33 123
|
||||
28 30 59
|
||||
57 27 50
|
||||
106 27 77
|
||||
106 15 92
|
||||
90 34 43
|
||||
75 5 28
|
||||
51 29 48
|
||||
75 31 95
|
||||
95 27 50
|
||||
53 27 28
|
||||
134 20 81
|
||||
111 29 70
|
||||
82 27 63
|
||||
83 28 19
|
||||
53 27 21
|
||||
123 0 76
|
||||
127 5 5
|
||||
89 5 21
|
||||
103 27 89
|
||||
34 13 10
|
||||
19 29 132
|
||||
106 0 8
|
||||
64 27 116
|
||||
123 0 8
|
||||
111 10 119
|
||||
19 27 27
|
||||
64 20 81
|
||||
87 19 113
|
||||
77 36 128
|
||||
73 27 74
|
||||
59 43 45
|
||||
109 23 70
|
||||
90 26 73
|
||||
113 19 49
|
||||
86 29 30
|
||||
71 41 65
|
||||
89 27 118
|
||||
10 20 49
|
||||
34 42 49
|
||||
104 43 60
|
||||
134 20 73
|
||||
34 42 100
|
||||
49 41 131
|
||||
89 30 113
|
||||
51 45 125
|
||||
65 28 63
|
||||
55 43 37
|
||||
28 19 59
|
||||
105 22 96
|
||||
49 27 74
|
||||
23 14 68
|
||||
126 13 104
|
||||
53 43 20
|
||||
20 27 59
|
||||
73 18 89
|
||||
109 16 20
|
||||
28 29 82
|
||||
20 2 13
|
||||
63 29 53
|
||||
115 28 82
|
||||
50 29 53
|
||||
5 36 113
|
||||
31 27 59
|
||||
49 41 38
|
||||
101 42 50
|
||||
57 30 50
|
||||
69 26 77
|
||||
30 13 7
|
||||
28 43 116
|
||||
19 19 88
|
||||
89 36 39
|
||||
52 36 51
|
||||
55 40 100
|
||||
12 20 73
|
||||
49 36 51
|
||||
60 27 89
|
||||
42 26 76
|
||||
60 27 113
|
||||
12 13 17
|
||||
71 41 9
|
||||
5 30 58
|
||||
132 10 119
|
||||
111 29 134
|
||||
102 13 11
|
||||
81 41 58
|
||||
116 27 59
|
||||
98 20 77
|
||||
13 24 32
|
||||
52 43 45
|
||||
106 6 81
|
||||
24 28 52
|
||||
28 19 50
|
||||
134 40 99
|
||||
50 19 110
|
||||
103 27 77
|
||||
40 33 106
|
||||
103 27 113
|
||||
23 29 114
|
||||
65 28 100
|
||||
9 43 118
|
||||
91 0 8
|
||||
40 29 68
|
||||
133 43 0
|
||||
99 9 21
|
||||
89 5 99
|
||||
63 30 58
|
||||
125 27 88
|
||||
73 9 52
|
||||
12 20 50
|
||||
16 13 122
|
||||
114 20 19
|
||||
85 15 43
|
||||
40 28 78
|
||||
54 3 19
|
||||
83 41 12
|
||||
58 43 107
|
||||
111 29 53
|
||||
59 27 58
|
||||
109 23 8
|
||||
3 43 45
|
||||
50 30 9
|
||||
40 33 123
|
||||
50 18 77
|
||||
50 27 74
|
||||
109 16 55
|
||||
81 15 43
|
||||
82 27 113
|
||||
109 23 95
|
||||
94 28 99
|
||||
19 19 52
|
||||
109 16 57
|
||||
100 27 118
|
||||
8 13 10
|
||||
87 43 116
|
||||
68 43 66
|
||||
116 19 81
|
||||
37 27 57
|
||||
133 19 113
|
||||
42 17 17
|
||||
58 45 125
|
||||
116 27 19
|
||||
5 30 57
|
||||
20 40 113
|
||||
109 16 8
|
||||
8 13 64
|
||||
57 26 77
|
||||
26 43 0
|
||||
79 7 50
|
||||
134 13 53
|
||||
32 28 73
|
||||
106 16 29
|
||||
49 41 115
|
||||
30 13 55
|
||||
106 16 60
|
||||
36 13 12
|
||||
75 31 21
|
||||
49 27 113
|
||||
19 27 17
|
||||
133 43 107
|
||||
113 19 63
|
||||
126 27 63
|
||||
7 13 82
|
||||
73 19 49
|
||||
123 0 47
|
||||
78 26 89
|
||||
21 19 113
|
||||
42 19 3
|
||||
109 0 34
|
||||
32 41 12
|
||||
70 40 77
|
||||
42 5 59
|
||||
87 19 49
|
||||
51 13 128
|
||||
116 27 57
|
||||
124 33 123
|
||||
13 41 27
|
||||
83 29 29
|
||||
126 13 35
|
||||
116 19 3
|
||||
57 27 73
|
||||
83 15 43
|
||||
110 19 50
|
||||
50 5 21
|
||||
111 28 113
|
||||
53 20 52
|
||||
79 6 19
|
||||
34 2 113
|
||||
113 18 87
|
||||
47 27 77
|
||||
70 2 59
|
||||
95 20 52
|
||||
51 11 90
|
||||
84 43 129
|
||||
100 28 19
|
||||
57 9 73
|
||||
37 20 89
|
||||
63 30 4
|
||||
82 40 89
|
||||
13 28 38
|
||||
100 19 89
|
||||
5 29 29
|
||||
91 0 50
|
||||
19 30 87
|
||||
127 5 19
|
||||
73 30 58
|
||||
5 30 4
|
||||
35 27 21
|
||||
41 33 91
|
||||
55 2 5
|
||||
113 30 12
|
||||
86 28 50
|
||||
34 43 95
|
||||
78 3 89
|
||||
7 27 19
|
||||
95 3 19
|
||||
120 19 113
|
||||
88 26 69
|
||||
86 41 111
|
||||
59 27 38
|
||||
22 11 90
|
||||
20 2 87
|
||||
49 43 81
|
||||
59 27 115
|
||||
100 19 3
|
||||
100 19 110
|
||||
57 30 89
|
||||
14 43 107
|
||||
2 43 93
|
||||
89 30 77
|
||||
8 20 81
|
||||
55 20 100
|
||||
34 2 32
|
||||
19 27 115
|
||||
127 5 50
|
||||
105 27 116
|
||||
74 13 122
|
||||
24 28 113
|
||||
98 20 57
|
||||
63 27 99
|
||||
35 20 52
|
||||
123 0 95
|
||||
52 19 110
|
||||
124 15 92
|
||||
5 30 113
|
||||
123 26 89
|
||||
4 15 43
|
||||
59 27 19
|
||||
104 27 73
|
46
dataset/umls/relation2text.txt
Normal file
46
dataset/umls/relation2text.txt
Normal file
@ -0,0 +1,46 @@
|
||||
measures measures
|
||||
derivative_of derivative of
|
||||
disrupts disrupts
|
||||
prevents prevents
|
||||
conceptually_related_to conceptually related to
|
||||
manifestation_of manifestation of
|
||||
diagnoses diagnoses
|
||||
evaluation_of evaluation of
|
||||
contains contains
|
||||
co-occurs_with co-occurs with
|
||||
conceptual_part_of conceptual part of
|
||||
performs performs
|
||||
degree_of degree of
|
||||
interacts_with interacts with
|
||||
uses uses
|
||||
issue_in issue in
|
||||
assesses_effect_of assesses effect of
|
||||
property_of property of
|
||||
precedes precedes
|
||||
result_of result of
|
||||
causes causes
|
||||
practices practices
|
||||
ingredient_of ingredient of
|
||||
analyzes analyzes
|
||||
surrounds surrounds
|
||||
indicates indicates
|
||||
associated_with associated with
|
||||
affects affects
|
||||
location_of location of
|
||||
produces produces
|
||||
process_of process of
|
||||
measurement_of measurement of
|
||||
connected_to connected to
|
||||
carries_out carries out
|
||||
method_of method of
|
||||
adjacent_to adjacent to
|
||||
occurs_in occurs in
|
||||
consists_of consists of
|
||||
interconnects interconnects
|
||||
manages manages
|
||||
complicates complicates
|
||||
part_of part of
|
||||
treats treats
|
||||
isa is a
|
||||
developmental_form_of developmental form of
|
||||
exhibits exhibits
|
46
dataset/umls/relations.txt
Normal file
46
dataset/umls/relations.txt
Normal file
@ -0,0 +1,46 @@
|
||||
measures
|
||||
derivative_of
|
||||
disrupts
|
||||
prevents
|
||||
conceptually_related_to
|
||||
manifestation_of
|
||||
diagnoses
|
||||
evaluation_of
|
||||
contains
|
||||
co-occurs_with
|
||||
conceptual_part_of
|
||||
performs
|
||||
degree_of
|
||||
interacts_with
|
||||
uses
|
||||
issue_in
|
||||
assesses_effect_of
|
||||
property_of
|
||||
precedes
|
||||
result_of
|
||||
causes
|
||||
practices
|
||||
ingredient_of
|
||||
analyzes
|
||||
surrounds
|
||||
indicates
|
||||
associated_with
|
||||
affects
|
||||
location_of
|
||||
produces
|
||||
process_of
|
||||
measurement_of
|
||||
connected_to
|
||||
carries_out
|
||||
method_of
|
||||
adjacent_to
|
||||
occurs_in
|
||||
consists_of
|
||||
interconnects
|
||||
manages
|
||||
complicates
|
||||
part_of
|
||||
treats
|
||||
isa
|
||||
developmental_form_of
|
||||
exhibits
|
661
dataset/umls/test.tsv
Normal file
661
dataset/umls/test.tsv
Normal file
@ -0,0 +1,661 @@
|
||||
steroid interacts_with eicosanoid
|
||||
clinical_attribute isa conceptual_entity
|
||||
body_location_or_region location_of physiologic_function
|
||||
neoplastic_process isa disease_or_syndrome
|
||||
carbohydrate affects molecular_function
|
||||
disease_or_syndrome affects organ_or_tissue_function
|
||||
substance issue_in occupation_or_discipline
|
||||
laboratory_or_test_result evaluation_of genetic_function
|
||||
chemical_viewed_functionally isa entity
|
||||
organophosphorus_compound ingredient_of clinical_drug
|
||||
mental_or_behavioral_dysfunction affects social_behavior
|
||||
human_caused_phenomenon_or_process result_of pathologic_function
|
||||
amino_acid_peptide_or_protein interacts_with antibiotic
|
||||
hormone affects experimental_model_of_disease
|
||||
antibiotic affects cell_function
|
||||
embryonic_structure part_of bird
|
||||
tissue produces organic_chemical
|
||||
genetic_function process_of organ_or_tissue_function
|
||||
congenital_abnormality part_of mammal
|
||||
inorganic_chemical causes cell_or_molecular_dysfunction
|
||||
receptor disrupts cell
|
||||
professional_society location_of laboratory_procedure
|
||||
organism_function co-occurs_with cell_function
|
||||
immunologic_factor causes cell_or_molecular_dysfunction
|
||||
vitamin affects neoplastic_process
|
||||
antibiotic complicates anatomical_abnormality
|
||||
quantitative_concept measurement_of physiologic_function
|
||||
pathologic_function affects biologic_function
|
||||
congenital_abnormality issue_in occupation_or_discipline
|
||||
tissue adjacent_to body_space_or_junction
|
||||
vitamin disrupts organ_or_tissue_function
|
||||
receptor isa substance
|
||||
mental_process isa organism_function
|
||||
vertebrate exhibits individual_behavior
|
||||
body_location_or_region location_of therapeutic_or_preventive_procedure
|
||||
physical_object issue_in biomedical_occupation_or_discipline
|
||||
inorganic_chemical affects cell_function
|
||||
neoplastic_process affects vertebrate
|
||||
cell_function affects mammal
|
||||
population_group uses medical_device
|
||||
human_caused_phenomenon_or_process result_of molecular_function
|
||||
pharmacologic_substance treats neoplastic_process
|
||||
embryonic_structure location_of cell_or_molecular_dysfunction
|
||||
experimental_model_of_disease result_of laboratory_procedure
|
||||
enzyme disrupts cell_function
|
||||
pathologic_function complicates injury_or_poisoning
|
||||
mental_or_behavioral_dysfunction degree_of disease_or_syndrome
|
||||
plant interacts_with animal
|
||||
disease_or_syndrome process_of pathologic_function
|
||||
pathologic_function result_of diagnostic_procedure
|
||||
anatomical_abnormality manifestation_of biologic_function
|
||||
laboratory_or_test_result manifestation_of pathologic_function
|
||||
fish issue_in biomedical_occupation_or_discipline
|
||||
carbohydrate affects cell_or_molecular_dysfunction
|
||||
biologic_function affects virus
|
||||
mental_process precedes cell_function
|
||||
experimental_model_of_disease occurs_in mental_or_behavioral_dysfunction
|
||||
congenital_abnormality part_of bacterium
|
||||
human_caused_phenomenon_or_process result_of physiologic_function
|
||||
cell location_of therapeutic_or_preventive_procedure
|
||||
experimental_model_of_disease process_of natural_phenomenon_or_process
|
||||
neoplastic_process result_of phenomenon_or_process
|
||||
neuroreactive_substance_or_biogenic_amine affects organism_function
|
||||
mental_or_behavioral_dysfunction process_of archaeon
|
||||
congenital_abnormality part_of virus
|
||||
pathologic_function manifestation_of genetic_function
|
||||
biologically_active_substance causes mental_or_behavioral_dysfunction
|
||||
pharmacologic_substance treats disease_or_syndrome
|
||||
body_space_or_junction location_of cell_function
|
||||
genetic_function affects virus
|
||||
acquired_abnormality result_of diagnostic_procedure
|
||||
physiologic_function affects archaeon
|
||||
cell_component location_of pathologic_function
|
||||
molecular_biology_research_technique measures chemical_viewed_functionally
|
||||
molecular_function result_of human_caused_phenomenon_or_process
|
||||
professional_or_occupational_group uses manufactured_object
|
||||
receptor disrupts molecular_function
|
||||
organ_or_tissue_function process_of biologic_function
|
||||
molecular_biology_research_technique measures element_ion_or_isotope
|
||||
physiologic_function result_of experimental_model_of_disease
|
||||
physiologic_function produces biologically_active_substance
|
||||
fully_formed_anatomical_structure part_of amphibian
|
||||
enzyme complicates organism_function
|
||||
tissue location_of virus
|
||||
invertebrate isa animal
|
||||
mental_process co-occurs_with genetic_function
|
||||
anatomical_abnormality location_of bacterium
|
||||
fully_formed_anatomical_structure location_of cell_or_molecular_dysfunction
|
||||
organ_or_tissue_function co-occurs_with genetic_function
|
||||
physiologic_function result_of human_caused_phenomenon_or_process
|
||||
molecular_function result_of cell_or_molecular_dysfunction
|
||||
diagnostic_procedure associated_with pathologic_function
|
||||
physiologic_function result_of neoplastic_process
|
||||
lipid interacts_with pharmacologic_substance
|
||||
cell_component produces receptor
|
||||
physiologic_function result_of congenital_abnormality
|
||||
age_group performs machine_activity
|
||||
congenital_abnormality associated_with organism_attribute
|
||||
laboratory_procedure analyzes amino_acid_peptide_or_protein
|
||||
vitamin affects mental_process
|
||||
cell_component part_of organism
|
||||
classification isa conceptual_entity
|
||||
organism_function result_of pathologic_function
|
||||
organism_function produces vitamin
|
||||
laboratory_procedure diagnoses mental_or_behavioral_dysfunction
|
||||
carbohydrate affects pathologic_function
|
||||
cell_component isa entity
|
||||
pathologic_function affects organism
|
||||
mental_process affects bacterium
|
||||
laboratory_or_test_result indicates organ_or_tissue_function
|
||||
tissue produces body_substance
|
||||
cell_component part_of body_part_organ_or_organ_component
|
||||
molecular_function affects mental_or_behavioral_dysfunction
|
||||
carbohydrate interacts_with immunologic_factor
|
||||
daily_or_recreational_activity associated_with acquired_abnormality
|
||||
molecular_function result_of disease_or_syndrome
|
||||
neoplastic_process occurs_in injury_or_poisoning
|
||||
fully_formed_anatomical_structure part_of archaeon
|
||||
carbohydrate affects mental_process
|
||||
element_ion_or_isotope interacts_with hazardous_or_poisonous_substance
|
||||
injury_or_poisoning disrupts molecular_function
|
||||
professional_or_occupational_group interacts_with population_group
|
||||
mental_or_behavioral_dysfunction affects archaeon
|
||||
organic_chemical affects neoplastic_process
|
||||
substance causes disease_or_syndrome
|
||||
biologically_active_substance causes disease_or_syndrome
|
||||
injury_or_poisoning disrupts tissue
|
||||
pathologic_function issue_in occupation_or_discipline
|
||||
mental_or_behavioral_dysfunction process_of reptile
|
||||
acquired_abnormality manifestation_of pathologic_function
|
||||
element_ion_or_isotope issue_in biomedical_occupation_or_discipline
|
||||
behavior associated_with age_group
|
||||
disease_or_syndrome complicates cell_or_molecular_dysfunction
|
||||
fully_formed_anatomical_structure produces receptor
|
||||
chemical causes injury_or_poisoning
|
||||
mental_or_behavioral_dysfunction affects reptile
|
||||
biologic_function affects organism_function
|
||||
antibiotic interacts_with neuroreactive_substance_or_biogenic_amine
|
||||
biologically_active_substance affects mental_or_behavioral_dysfunction
|
||||
laboratory_procedure assesses_effect_of genetic_function
|
||||
research_activity measures amino_acid_peptide_or_protein
|
||||
disease_or_syndrome affects cell_or_molecular_dysfunction
|
||||
pathologic_function result_of disease_or_syndrome
|
||||
disease_or_syndrome occurs_in mental_or_behavioral_dysfunction
|
||||
social_behavior associated_with patient_or_disabled_group
|
||||
antibiotic diagnoses mental_or_behavioral_dysfunction
|
||||
pathologic_function result_of organism_function
|
||||
plant interacts_with reptile
|
||||
mental_or_behavioral_dysfunction affects amphibian
|
||||
sign_or_symptom diagnoses mental_or_behavioral_dysfunction
|
||||
biologic_function result_of mental_or_behavioral_dysfunction
|
||||
biologic_function affects cell_or_molecular_dysfunction
|
||||
anatomical_abnormality part_of vertebrate
|
||||
family_group interacts_with group
|
||||
experimental_model_of_disease process_of fish
|
||||
mental_or_behavioral_dysfunction affects natural_phenomenon_or_process
|
||||
organism_function affects alga
|
||||
cell_component location_of body_space_or_junction
|
||||
body_part_organ_or_organ_component location_of genetic_function
|
||||
chemical affects genetic_function
|
||||
chemical_viewed_functionally affects physiologic_function
|
||||
language issue_in biomedical_occupation_or_discipline
|
||||
body_part_organ_or_organ_component location_of organ_or_tissue_function
|
||||
research_activity isa occupational_activity
|
||||
diagnostic_procedure analyzes hazardous_or_poisonous_substance
|
||||
experimental_model_of_disease occurs_in group
|
||||
nucleic_acid_nucleoside_or_nucleotide isa entity
|
||||
diagnostic_procedure associated_with congenital_abnormality
|
||||
occupational_activity associated_with cell_or_molecular_dysfunction
|
||||
organ_or_tissue_function result_of acquired_abnormality
|
||||
molecular_function affects cell_function
|
||||
chemical_viewed_structurally ingredient_of clinical_drug
|
||||
mental_or_behavioral_dysfunction result_of behavior
|
||||
chemical_viewed_structurally interacts_with carbohydrate
|
||||
cell_function affects neoplastic_process
|
||||
pathologic_function occurs_in mental_or_behavioral_dysfunction
|
||||
family_group performs therapeutic_or_preventive_procedure
|
||||
family_group produces research_device
|
||||
amino_acid_peptide_or_protein affects mental_process
|
||||
hormone complicates biologic_function
|
||||
anatomical_abnormality result_of health_care_activity
|
||||
organism_function process_of biologic_function
|
||||
immunologic_factor complicates disease_or_syndrome
|
||||
nucleotide_sequence property_of nucleic_acid_nucleoside_or_nucleotide
|
||||
organization location_of occupational_activity
|
||||
clinical_attribute result_of genetic_function
|
||||
vitamin causes anatomical_abnormality
|
||||
mental_or_behavioral_dysfunction affects organ_or_tissue_function
|
||||
neoplastic_process result_of mental_or_behavioral_dysfunction
|
||||
body_part_organ_or_organ_component produces organic_chemical
|
||||
virus isa organism
|
||||
organ_or_tissue_function process_of physiologic_function
|
||||
individual_behavior associated_with occupation_or_discipline
|
||||
hazardous_or_poisonous_substance affects disease_or_syndrome
|
||||
cell_or_molecular_dysfunction affects physiologic_function
|
||||
hormone disrupts tissue
|
||||
molecular_function affects animal
|
||||
physiologic_function affects molecular_function
|
||||
biologic_function affects physiologic_function
|
||||
laboratory_or_test_result indicates mental_process
|
||||
chemical_viewed_structurally affects organ_or_tissue_function
|
||||
cell_function result_of disease_or_syndrome
|
||||
amino_acid_peptide_or_protein affects biologic_function
|
||||
experimental_model_of_disease affects biologic_function
|
||||
biomedical_or_dental_material affects biologic_function
|
||||
molecular_biology_research_technique measures amino_acid_peptide_or_protein
|
||||
experimental_model_of_disease affects bacterium
|
||||
antibiotic affects organ_or_tissue_function
|
||||
human isa mammal
|
||||
population_group performs daily_or_recreational_activity
|
||||
cell_component conceptual_part_of body_system
|
||||
cell part_of reptile
|
||||
organ_or_tissue_function affects human
|
||||
indicator_reagent_or_diagnostic_aid interacts_with chemical
|
||||
cell_or_molecular_dysfunction result_of organism_function
|
||||
molecular_biology_research_technique measures eicosanoid
|
||||
molecular_biology_research_technique measures natural_phenomenon_or_process
|
||||
organism_attribute result_of disease_or_syndrome
|
||||
pharmacologic_substance treats injury_or_poisoning
|
||||
genetic_function affects biologic_function
|
||||
group exhibits individual_behavior
|
||||
human_caused_phenomenon_or_process result_of phenomenon_or_process
|
||||
antibiotic affects genetic_function
|
||||
hormone interacts_with enzyme
|
||||
pathologic_function process_of archaeon
|
||||
bird interacts_with mammal
|
||||
neuroreactive_substance_or_biogenic_amine disrupts organ_or_tissue_function
|
||||
carbohydrate causes cell_or_molecular_dysfunction
|
||||
cell_function affects disease_or_syndrome
|
||||
cell part_of fungus
|
||||
organism_function process_of human
|
||||
receptor complicates mental_or_behavioral_dysfunction
|
||||
genetic_function isa molecular_function
|
||||
mental_or_behavioral_dysfunction degree_of cell_or_molecular_dysfunction
|
||||
group_attribute property_of family_group
|
||||
pharmacologic_substance diagnoses experimental_model_of_disease
|
||||
pathologic_function affects alga
|
||||
tissue location_of biologic_function
|
||||
organism_function co-occurs_with mental_process
|
||||
occupational_activity associated_with neoplastic_process
|
||||
indicator_reagent_or_diagnostic_aid affects genetic_function
|
||||
carbohydrate interacts_with biomedical_or_dental_material
|
||||
organism_function occurs_in temporal_concept
|
||||
inorganic_chemical causes anatomical_abnormality
|
||||
cell_or_molecular_dysfunction affects organism_function
|
||||
amphibian exhibits social_behavior
|
||||
anatomical_structure part_of alga
|
||||
lipid isa entity
|
||||
cell_or_molecular_dysfunction result_of disease_or_syndrome
|
||||
social_behavior associated_with professional_or_occupational_group
|
||||
cell produces hormone
|
||||
invertebrate isa entity
|
||||
organic_chemical causes cell_or_molecular_dysfunction
|
||||
acquired_abnormality result_of human_caused_phenomenon_or_process
|
||||
pathologic_function manifestation_of disease_or_syndrome
|
||||
chemical_viewed_functionally issue_in occupation_or_discipline
|
||||
experimental_model_of_disease co-occurs_with anatomical_abnormality
|
||||
laboratory_procedure assesses_effect_of element_ion_or_isotope
|
||||
diagnostic_procedure measures cell_function
|
||||
chemical_viewed_structurally issue_in occupation_or_discipline
|
||||
genetic_function affects disease_or_syndrome
|
||||
laboratory_or_test_result co-occurs_with sign_or_symptom
|
||||
amino_acid_peptide_or_protein interacts_with chemical_viewed_functionally
|
||||
cell part_of bacterium
|
||||
cell_function affects clinical_attribute
|
||||
fully_formed_anatomical_structure part_of plant
|
||||
chemical_viewed_structurally interacts_with lipid
|
||||
molecular_biology_research_technique measures molecular_function
|
||||
fungus interacts_with organism
|
||||
enzyme interacts_with vitamin
|
||||
congenital_abnormality manifestation_of mental_or_behavioral_dysfunction
|
||||
therapeutic_or_preventive_procedure complicates pathologic_function
|
||||
chemical affects organ_or_tissue_function
|
||||
virus location_of hormone
|
||||
organ_or_tissue_function produces hormone
|
||||
alga location_of neuroreactive_substance_or_biogenic_amine
|
||||
laboratory_procedure affects organ_or_tissue_function
|
||||
pathologic_function process_of invertebrate
|
||||
manufactured_object causes cell_or_molecular_dysfunction
|
||||
neoplastic_process affects rickettsia_or_chlamydia
|
||||
cell_or_molecular_dysfunction result_of acquired_abnormality
|
||||
genetic_function affects plant
|
||||
alga isa physical_object
|
||||
family_group performs laboratory_procedure
|
||||
disease_or_syndrome degree_of cell_or_molecular_dysfunction
|
||||
reptile exhibits social_behavior
|
||||
therapeutic_or_preventive_procedure affects patient_or_disabled_group
|
||||
qualitative_concept evaluation_of individual_behavior
|
||||
population_group uses regulation_or_law
|
||||
antibiotic causes cell_or_molecular_dysfunction
|
||||
cell_or_molecular_dysfunction occurs_in mental_or_behavioral_dysfunction
|
||||
acquired_abnormality manifestation_of genetic_function
|
||||
bacterium isa entity
|
||||
experimental_model_of_disease occurs_in age_group
|
||||
immunologic_factor causes congenital_abnormality
|
||||
laboratory_procedure measures pharmacologic_substance
|
||||
disease_or_syndrome affects fish
|
||||
biologic_function result_of neoplastic_process
|
||||
therapeutic_or_preventive_procedure associated_with acquired_abnormality
|
||||
cell produces vitamin
|
||||
mental_process process_of vertebrate
|
||||
mental_process result_of neoplastic_process
|
||||
diagnostic_procedure diagnoses cell_or_molecular_dysfunction
|
||||
rickettsia_or_chlamydia location_of vitamin
|
||||
neoplastic_process manifestation_of pathologic_function
|
||||
disease_or_syndrome precedes neoplastic_process
|
||||
physiologic_function result_of natural_phenomenon_or_process
|
||||
laboratory_or_test_result measurement_of food
|
||||
diagnostic_procedure assesses_effect_of element_ion_or_isotope
|
||||
vitamin causes cell_or_molecular_dysfunction
|
||||
carbohydrate_sequence isa idea_or_concept
|
||||
human_caused_phenomenon_or_process result_of injury_or_poisoning
|
||||
element_ion_or_isotope causes cell_or_molecular_dysfunction
|
||||
organic_chemical causes congenital_abnormality
|
||||
human_caused_phenomenon_or_process result_of experimental_model_of_disease
|
||||
experimental_model_of_disease complicates mental_or_behavioral_dysfunction
|
||||
organ_or_tissue_function isa natural_phenomenon_or_process
|
||||
nucleotide_sequence isa molecular_sequence
|
||||
physiologic_function affects fungus
|
||||
experimental_model_of_disease isa phenomenon_or_process
|
||||
cell_or_molecular_dysfunction manifestation_of injury_or_poisoning
|
||||
clinical_drug causes acquired_abnormality
|
||||
cell_component location_of genetic_function
|
||||
occupational_activity associated_with disease_or_syndrome
|
||||
laboratory_or_test_result associated_with anatomical_abnormality
|
||||
age_group performs social_behavior
|
||||
fully_formed_anatomical_structure location_of physiologic_function
|
||||
hormone interacts_with vitamin
|
||||
molecular_function precedes organism_function
|
||||
human_caused_phenomenon_or_process isa event
|
||||
professional_or_occupational_group performs diagnostic_procedure
|
||||
disease_or_syndrome co-occurs_with injury_or_poisoning
|
||||
mental_process produces biologically_active_substance
|
||||
molecular_function produces hormone
|
||||
neoplastic_process complicates congenital_abnormality
|
||||
neoplastic_process result_of mental_process
|
||||
eicosanoid issue_in biomedical_occupation_or_discipline
|
||||
health_care_related_organization isa entity
|
||||
cell_function isa biologic_function
|
||||
diagnostic_procedure analyzes pharmacologic_substance
|
||||
immunologic_factor complicates genetic_function
|
||||
physiologic_function precedes genetic_function
|
||||
immunologic_factor complicates physiologic_function
|
||||
mental_or_behavioral_dysfunction process_of mammal
|
||||
immunologic_factor indicates neoplastic_process
|
||||
neoplastic_process process_of genetic_function
|
||||
biologic_function affects fish
|
||||
organ_or_tissue_function affects bird
|
||||
mental_or_behavioral_dysfunction result_of environmental_effect_of_humans
|
||||
hazardous_or_poisonous_substance complicates neoplastic_process
|
||||
cell_or_molecular_dysfunction result_of social_behavior
|
||||
experimental_model_of_disease result_of human_caused_phenomenon_or_process
|
||||
element_ion_or_isotope interacts_with vitamin
|
||||
drug_delivery_device causes injury_or_poisoning
|
||||
fully_formed_anatomical_structure location_of fungus
|
||||
fully_formed_anatomical_structure location_of bacterium
|
||||
natural_phenomenon_or_process result_of disease_or_syndrome
|
||||
enzyme complicates experimental_model_of_disease
|
||||
individual_behavior manifestation_of mental_or_behavioral_dysfunction
|
||||
geographic_area isa idea_or_concept
|
||||
tissue isa fully_formed_anatomical_structure
|
||||
sign_or_symptom diagnoses experimental_model_of_disease
|
||||
educational_activity associated_with pathologic_function
|
||||
receptor affects biologic_function
|
||||
organ_or_tissue_function co-occurs_with physiologic_function
|
||||
mental_or_behavioral_dysfunction produces vitamin
|
||||
experimental_model_of_disease result_of physiologic_function
|
||||
hormone complicates physiologic_function
|
||||
self_help_or_relief_organization carries_out educational_activity
|
||||
environmental_effect_of_humans isa event
|
||||
chemical causes disease_or_syndrome
|
||||
diagnostic_procedure diagnoses congenital_abnormality
|
||||
cell_component part_of human
|
||||
experimental_model_of_disease result_of health_care_activity
|
||||
laboratory_or_test_result manifestation_of experimental_model_of_disease
|
||||
organism_attribute measurement_of mental_process
|
||||
cell_function affects genetic_function
|
||||
anatomical_structure part_of plant
|
||||
natural_phenomenon_or_process result_of pathologic_function
|
||||
congenital_abnormality result_of experimental_model_of_disease
|
||||
organism_function produces receptor
|
||||
food causes neoplastic_process
|
||||
hormone affects genetic_function
|
||||
diagnostic_procedure issue_in biomedical_occupation_or_discipline
|
||||
organ_or_tissue_function process_of mental_or_behavioral_dysfunction
|
||||
bird interacts_with archaeon
|
||||
laboratory_procedure analyzes organophosphorus_compound
|
||||
animal interacts_with organism
|
||||
laboratory_procedure assesses_effect_of disease_or_syndrome
|
||||
plant interacts_with alga
|
||||
therapeutic_or_preventive_procedure prevents neoplastic_process
|
||||
congenital_abnormality complicates anatomical_abnormality
|
||||
antibiotic disrupts organism_function
|
||||
age_group performs daily_or_recreational_activity
|
||||
gene_or_genome part_of plant
|
||||
amino_acid_peptide_or_protein interacts_with neuroreactive_substance_or_biogenic_amine
|
||||
pharmacologic_substance causes pathologic_function
|
||||
lipid issue_in occupation_or_discipline
|
||||
research_device causes anatomical_abnormality
|
||||
disease_or_syndrome process_of alga
|
||||
anatomical_abnormality result_of cell_function
|
||||
antibiotic treats experimental_model_of_disease
|
||||
antibiotic complicates mental_process
|
||||
injury_or_poisoning result_of cell_function
|
||||
physiologic_function precedes organ_or_tissue_function
|
||||
genetic_function result_of human_caused_phenomenon_or_process
|
||||
quantitative_concept measurement_of mental_process
|
||||
fungus causes pathologic_function
|
||||
rickettsia_or_chlamydia location_of immunologic_factor
|
||||
eicosanoid interacts_with element_ion_or_isotope
|
||||
inorganic_chemical causes neoplastic_process
|
||||
anatomical_structure issue_in biomedical_occupation_or_discipline
|
||||
immunologic_factor complicates injury_or_poisoning
|
||||
drug_delivery_device treats injury_or_poisoning
|
||||
research_device isa entity
|
||||
biologically_active_substance interacts_with neuroreactive_substance_or_biogenic_amine
|
||||
organophosphorus_compound interacts_with biologically_active_substance
|
||||
molecular_function affects amphibian
|
||||
mental_or_behavioral_dysfunction co-occurs_with injury_or_poisoning
|
||||
neoplastic_process manifestation_of experimental_model_of_disease
|
||||
bacterium location_of biologically_active_substance
|
||||
organic_chemical interacts_with biomedical_or_dental_material
|
||||
physiologic_function affects natural_phenomenon_or_process
|
||||
laboratory_procedure isa health_care_activity
|
||||
neoplastic_process complicates anatomical_abnormality
|
||||
anatomical_abnormality affects vertebrate
|
||||
clinical_attribute manifestation_of organ_or_tissue_function
|
||||
embryonic_structure part_of fungus
|
||||
inorganic_chemical interacts_with enzyme
|
||||
mental_or_behavioral_dysfunction co-occurs_with experimental_model_of_disease
|
||||
enzyme complicates neoplastic_process
|
||||
sign_or_symptom manifestation_of organ_or_tissue_function
|
||||
organ_or_tissue_function co-occurs_with molecular_function
|
||||
age_group isa group
|
||||
steroid affects neoplastic_process
|
||||
age_group exhibits behavior
|
||||
disease_or_syndrome manifestation_of physiologic_function
|
||||
diagnostic_procedure isa event
|
||||
biologically_active_substance disrupts gene_or_genome
|
||||
anatomical_abnormality manifestation_of mental_process
|
||||
cell_function result_of physiologic_function
|
||||
mental_process process_of human
|
||||
chemical issue_in biomedical_occupation_or_discipline
|
||||
alga interacts_with human
|
||||
vitamin affects biologic_function
|
||||
fully_formed_anatomical_structure produces carbohydrate
|
||||
environmental_effect_of_humans result_of acquired_abnormality
|
||||
disease_or_syndrome result_of human_caused_phenomenon_or_process
|
||||
organic_chemical interacts_with steroid
|
||||
cell_or_molecular_dysfunction process_of natural_phenomenon_or_process
|
||||
anatomical_abnormality part_of animal
|
||||
diagnostic_procedure uses drug_delivery_device
|
||||
molecular_biology_research_technique method_of diagnostic_procedure
|
||||
biologically_active_substance causes injury_or_poisoning
|
||||
anatomical_abnormality affects plant
|
||||
molecular_function process_of invertebrate
|
||||
diagnostic_procedure measures pharmacologic_substance
|
||||
element_ion_or_isotope affects molecular_function
|
||||
mental_or_behavioral_dysfunction result_of neoplastic_process
|
||||
machine_activity isa activity
|
||||
nucleic_acid_nucleoside_or_nucleotide interacts_with hormone
|
||||
laboratory_procedure affects neoplastic_process
|
||||
biomedical_or_dental_material isa chemical
|
||||
pathologic_function affects animal
|
||||
receptor causes pathologic_function
|
||||
indicator_reagent_or_diagnostic_aid causes anatomical_abnormality
|
||||
neuroreactive_substance_or_biogenic_amine affects cell_or_molecular_dysfunction
|
||||
cell_function affects rickettsia_or_chlamydia
|
||||
embryonic_structure location_of virus
|
||||
therapeutic_or_preventive_procedure affects cell_function
|
||||
human interacts_with organism
|
||||
fungus causes disease_or_syndrome
|
||||
cell produces receptor
|
||||
population_group produces regulation_or_law
|
||||
family_group performs research_activity
|
||||
vitamin causes injury_or_poisoning
|
||||
molecular_sequence issue_in biomedical_occupation_or_discipline
|
||||
steroid issue_in biomedical_occupation_or_discipline
|
||||
bacterium interacts_with fish
|
||||
cell_function result_of mental_process
|
||||
organism_attribute property_of mammal
|
||||
anatomical_abnormality manifestation_of disease_or_syndrome
|
||||
cell_or_molecular_dysfunction result_of environmental_effect_of_humans
|
||||
physiologic_function affects mammal
|
||||
fully_formed_anatomical_structure part_of bird
|
||||
organic_chemical interacts_with hormone
|
||||
idea_or_concept issue_in occupation_or_discipline
|
||||
patient_or_disabled_group uses research_device
|
||||
receptor causes acquired_abnormality
|
||||
biologic_function result_of disease_or_syndrome
|
||||
biologically_active_substance interacts_with enzyme
|
||||
physiologic_function isa biologic_function
|
||||
antibiotic complicates cell_function
|
||||
hazardous_or_poisonous_substance disrupts mental_process
|
||||
pathologic_function precedes cell_or_molecular_dysfunction
|
||||
organism_attribute property_of organism
|
||||
organophosphorus_compound interacts_with carbohydrate
|
||||
bacterium location_of receptor
|
||||
organ_or_tissue_function result_of experimental_model_of_disease
|
||||
fully_formed_anatomical_structure location_of organism_function
|
||||
finding isa conceptual_entity
|
||||
congenital_abnormality isa entity
|
||||
tissue issue_in biomedical_occupation_or_discipline
|
||||
natural_phenomenon_or_process result_of neoplastic_process
|
||||
organism_attribute manifestation_of organ_or_tissue_function
|
||||
therapeutic_or_preventive_procedure complicates cell_function
|
||||
population_group produces medical_device
|
||||
antibiotic interacts_with biologically_active_substance
|
||||
antibiotic causes acquired_abnormality
|
||||
cell_function produces vitamin
|
||||
neoplastic_process affects physiologic_function
|
||||
environmental_effect_of_humans result_of mental_or_behavioral_dysfunction
|
||||
organ_or_tissue_function affects organism_function
|
||||
lipid affects pathologic_function
|
||||
laboratory_procedure affects mental_process
|
||||
biologically_active_substance disrupts cell_component
|
||||
finding manifestation_of organism_function
|
||||
organism_function affects bird
|
||||
genetic_function affects physiologic_function
|
||||
cell_function result_of genetic_function
|
||||
antibiotic affects physiologic_function
|
||||
organophosphorus_compound causes pathologic_function
|
||||
natural_phenomenon_or_process affects genetic_function
|
||||
neoplastic_process produces receptor
|
||||
laboratory_procedure measures biomedical_or_dental_material
|
||||
organism_attribute measurement_of molecular_function
|
||||
physiologic_function affects biologic_function
|
||||
experimental_model_of_disease result_of neoplastic_process
|
||||
alga interacts_with virus
|
||||
congenital_abnormality location_of fungus
|
||||
antibiotic diagnoses cell_or_molecular_dysfunction
|
||||
diagnostic_procedure measures temporal_concept
|
||||
mental_or_behavioral_dysfunction result_of biologic_function
|
||||
pharmacologic_substance complicates biologic_function
|
||||
pharmacologic_substance disrupts organism_function
|
||||
anatomical_abnormality result_of injury_or_poisoning
|
||||
fully_formed_anatomical_structure location_of molecular_function
|
||||
nucleic_acid_nucleoside_or_nucleotide interacts_with antibiotic
|
||||
neuroreactive_substance_or_biogenic_amine isa biologically_active_substance
|
||||
experimental_model_of_disease process_of bacterium
|
||||
neuroreactive_substance_or_biogenic_amine interacts_with chemical
|
||||
cell_or_molecular_dysfunction affects bird
|
||||
laboratory_or_test_result isa conceptual_entity
|
||||
pathologic_function associated_with organism_attribute
|
||||
acquired_abnormality co-occurs_with injury_or_poisoning
|
||||
professional_or_occupational_group uses drug_delivery_device
|
||||
professional_or_occupational_group diagnoses experimental_model_of_disease
|
||||
cell_or_molecular_dysfunction degree_of neoplastic_process
|
||||
neoplastic_process issue_in biomedical_occupation_or_discipline
|
||||
disease_or_syndrome result_of mental_process
|
||||
neoplastic_process process_of bird
|
||||
pathologic_function result_of anatomical_abnormality
|
||||
congenital_abnormality manifestation_of disease_or_syndrome
|
||||
organism_attribute result_of neoplastic_process
|
||||
injury_or_poisoning issue_in occupation_or_discipline
|
||||
receptor causes mental_or_behavioral_dysfunction
|
||||
clinical_attribute property_of bacterium
|
||||
nucleic_acid_nucleoside_or_nucleotide affects experimental_model_of_disease
|
||||
lipid causes congenital_abnormality
|
||||
chemical_viewed_structurally interacts_with chemical_viewed_functionally
|
||||
antibiotic prevents pathologic_function
|
||||
eicosanoid isa organic_chemical
|
||||
biologically_active_substance disrupts organ_or_tissue_function
|
||||
organ_or_tissue_function affects genetic_function
|
||||
antibiotic affects neoplastic_process
|
||||
fully_formed_anatomical_structure location_of virus
|
||||
qualitative_concept evaluation_of activity
|
||||
embryonic_structure part_of cell
|
||||
enzyme disrupts tissue
|
||||
governmental_or_regulatory_activity associated_with disease_or_syndrome
|
||||
gene_or_genome location_of mental_process
|
||||
neoplastic_process process_of organism_function
|
||||
pharmacologic_substance issue_in biomedical_occupation_or_discipline
|
||||
receptor complicates disease_or_syndrome
|
||||
disease_or_syndrome process_of genetic_function
|
||||
anatomical_abnormality location_of virus
|
||||
embryonic_structure part_of vertebrate
|
||||
organism_function affects experimental_model_of_disease
|
||||
manufactured_object causes mental_or_behavioral_dysfunction
|
||||
cell part_of body_part_organ_or_organ_component
|
||||
molecular_function result_of experimental_model_of_disease
|
||||
medical_device treats acquired_abnormality
|
||||
disease_or_syndrome affects human
|
||||
body_part_organ_or_organ_component location_of molecular_function
|
||||
disease_or_syndrome occurs_in neoplastic_process
|
||||
vitamin isa chemical_viewed_functionally
|
||||
cell_component issue_in occupation_or_discipline
|
||||
cell_component produces nucleic_acid_nucleoside_or_nucleotide
|
||||
bacterium isa organism
|
||||
cell_or_molecular_dysfunction occurs_in injury_or_poisoning
|
||||
hazardous_or_poisonous_substance issue_in occupation_or_discipline
|
||||
organization location_of educational_activity
|
||||
tissue produces biologically_active_substance
|
||||
fungus isa physical_object
|
||||
organism_function result_of phenomenon_or_process
|
||||
organism_function isa biologic_function
|
||||
organic_chemical interacts_with nucleic_acid_nucleoside_or_nucleotide
|
||||
organic_chemical affects natural_phenomenon_or_process
|
||||
diagnostic_procedure associated_with neoplastic_process
|
||||
molecular_function produces neuroreactive_substance_or_biogenic_amine
|
||||
mental_or_behavioral_dysfunction process_of bird
|
||||
chemical_viewed_structurally affects biologic_function
|
||||
experimental_model_of_disease produces biologically_active_substance
|
||||
mental_or_behavioral_dysfunction associated_with organism_attribute
|
||||
laboratory_procedure analyzes neuroreactive_substance_or_biogenic_amine
|
||||
organic_chemical isa substance
|
||||
mental_or_behavioral_dysfunction affects plant
|
||||
daily_or_recreational_activity associated_with experimental_model_of_disease
|
||||
mental_process precedes organ_or_tissue_function
|
||||
chemical affects neoplastic_process
|
||||
hormone ingredient_of clinical_drug
|
||||
hormone isa biologically_active_substance
|
||||
molecular_biology_research_technique measures receptor
|
||||
experimental_model_of_disease precedes neoplastic_process
|
||||
pharmacologic_substance interacts_with neuroreactive_substance_or_biogenic_amine
|
||||
virus interacts_with fish
|
||||
acquired_abnormality affects virus
|
||||
pathologic_function result_of molecular_function
|
||||
embryonic_structure location_of fungus
|
||||
pharmacologic_substance affects cell_or_molecular_dysfunction
|
||||
biologic_function result_of acquired_abnormality
|
||||
neoplastic_process co-occurs_with anatomical_abnormality
|
||||
neoplastic_process result_of acquired_abnormality
|
||||
body_part_organ_or_organ_component produces body_substance
|
||||
cell_or_molecular_dysfunction process_of mental_or_behavioral_dysfunction
|
||||
educational_activity issue_in occupation_or_discipline
|
||||
pathologic_function manifestation_of neoplastic_process
|
||||
virus causes pathologic_function
|
||||
injury_or_poisoning complicates experimental_model_of_disease
|
||||
eicosanoid interacts_with pharmacologic_substance
|
||||
molecular_function result_of natural_phenomenon_or_process
|
||||
neoplastic_process produces tissue
|
||||
diagnostic_procedure assesses_effect_of vitamin
|
||||
anatomical_abnormality manifestation_of organ_or_tissue_function
|
||||
hazardous_or_poisonous_substance ingredient_of clinical_drug
|
||||
organophosphorus_compound affects cell_or_molecular_dysfunction
|
||||
laboratory_procedure measures organism_attribute
|
||||
chemical_viewed_functionally interacts_with immunologic_factor
|
||||
diagnostic_procedure diagnoses disease_or_syndrome
|
||||
injury_or_poisoning complicates disease_or_syndrome
|
||||
molecular_function result_of congenital_abnormality
|
||||
biologic_function affects bacterium
|
||||
organism_function produces hormone
|
||||
individual_behavior associated_with neoplastic_process
|
||||
natural_phenomenon_or_process affects cell_function
|
||||
daily_or_recreational_activity associated_with pathologic_function
|
||||
fully_formed_anatomical_structure location_of rickettsia_or_chlamydia
|
||||
organ_or_tissue_function affects pathologic_function
|
||||
neoplastic_process affects amphibian
|
||||
acquired_abnormality occurs_in age_group
|
||||
mental_process affects organism_attribute
|
||||
molecular_biology_research_technique measures neoplastic_process
|
||||
disease_or_syndrome occurs_in patient_or_disabled_group
|
||||
mental_or_behavioral_dysfunction affects mammal
|
||||
environmental_effect_of_humans isa phenomenon_or_process
|
||||
cell_or_molecular_dysfunction precedes experimental_model_of_disease
|
||||
laboratory_or_test_result isa entity
|
||||
virus interacts_with archaeon
|
||||
indicator_reagent_or_diagnostic_aid causes mental_or_behavioral_dysfunction
|
||||
anatomical_structure part_of fungus
|
||||
cell_or_molecular_dysfunction process_of bird
|
|
5216
dataset/umls/train.tsv
Normal file
5216
dataset/umls/train.tsv
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user