asahi417 commited on
Commit
e1ff3c2
·
1 Parent(s): 3a4a21f

fix readme

Browse files
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license:
5
+ - other
6
+ multilinguality:
7
+ - monolingual
8
+ size_categories:
9
+ - n<1K
10
+ pretty_name: Relational similarity dataset based on the NELL-one
11
+ ---
12
+
13
+ # Dataset Card for "relbert/nell_relation_similarity"
14
+ ## Dataset Description
15
+ - **Repository:** [RelBERT](https://github.com/asahi417/relbert)
16
+ - **Paper:** [https://home.ttic.edu/~kgimpel/commonsense.html](https://home.ttic.edu/~kgimpel/commonsense.html)
17
+ - **Dataset:** Relational similarity dataset based on the NELL-one
18
+
19
+ ### Dataset Summary
20
+ [NELL-one](https://huggingface.co/datasets/relbert/nell) cleaned dataset compiled for relational similarity.
21
+
22
+ ## Dataset Structure
23
+ ### Data Instances
24
+ An example of `train` looks as follows.
25
+ ```shell
26
+ {
27
+ "relation_type": "concept:automobilemakerdealersincity",
28
+ "positives": [["lexus", "dallas"], ["buick", "columbus"], ...],
29
+ "negatives": []
30
+ }
31
+ ```
32
+
33
+ ### Data Splits
34
+
35
+ | train |validation| test|
36
+ |--------:|---------:|---------:|
37
+ | 30| 3 | 5 |
38
+
39
+
40
+ ### Citation Information
41
+ ```
42
+ @inproceedings{xiong-etal-2018-one,
43
+ title = "One-Shot Relational Learning for Knowledge Graphs",
44
+ author = "Xiong, Wenhan and
45
+ Yu, Mo and
46
+ Chang, Shiyu and
47
+ Guo, Xiaoxiao and
48
+ Wang, William Yang",
49
+ booktitle = "Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing",
50
+ month = oct # "-" # nov,
51
+ year = "2018",
52
+ address = "Brussels, Belgium",
53
+ publisher = "Association for Computational Linguistics",
54
+ url = "https://aclanthology.org/D18-1223",
55
+ doi = "10.18653/v1/D18-1223",
56
+ pages = "1980--1990",
57
+ abstract = "Knowledge graphs (KG) are the key components of various natural language processing applications. To further expand KGs{'} coverage, previous studies on knowledge graph completion usually require a large number of positive examples for each relation. However, we observe long-tail relations are actually more common in KGs and those newly added relations often do not have many known triples for training. In this work, we aim at predicting new facts under a challenging setting where only one training instance is available. We propose a one-shot relational learning framework, which utilizes the knowledge distilled by embedding models and learns a matching metric by considering both the learned embeddings and one-hop graph structures. Empirically, our model yields considerable performance improvements over existing embedding models, and also eliminates the need of re-training the embedding models when dealing with newly added relations.",
58
+ }
59
+ ```
data/test.jsonl ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {"relation_type": "concept:automobilemakerdealersincity", "positives": [["lexus", "dallas"], ["buick", "columbus"], ["buick", "san diego"], ["kia", "arlington"], ["kia", "austin"], ["kia", "mission"], ["kia", "killeen"], ["kia", "abilene"], ["kia", "amarillo"], ["kia", "pasadena"], ["kia", "tyler"], ["kia", "spring"], ["kia", "brownsville"], ["kia", "plano"], ["kia", "dallas"], ["kia", "odessa"], ["kia", "lubbock"], ["kia", "beaumont"], ["kia", "garland"], ["kia", "midland"], ["kia", "houston"], ["jaguar", "coventry"], ["jaguar", "birmingham"], ["jaguar", "houston"], ["suzuki", "tucson"], ["acura", "phoenix arizona"], ["acura", "hawaii"], ["acura", "newcastle"], ["acura", "aiea"], ["acura", "buffalo"], ["acura", "seattle"], ["acura", "dallas"], ["acura", "orlando"], ["acura", "hoffman estates"], ["acura", "boulder colorado"], ["acura", "denver"], ["acura", "weber"], ["acura", "omaha"], ["acura", "honolulu"], ["acura", "mississippi"], ["acura", "alabama"], ["acura", "south portland"], ["acura", "colorado springs colorado"], ["acura", "schaumburg"], ["acura", "reno"], ["acura", "los angeles california"], ["acura", "libertyville"], ["acura", "austin"], ["acura", "wheaton"], ["acura", "cleveland"], ["acura", "westmont"], ["acura", "georgia"], ["acura", "indianapolis"], ["acura", "bozeman"], ["acura", "oak lawn"], ["acura", "arlington heights"], ["acura", "newark"], ["acura", "lancaster"], ["acura", "barre"], ["acura", "chicago south"], ["acura", "kansas"], ["acura", "naperville"], ["acura", "augusta"], ["acura", "philadelphia"], ["acura", "new york"], ["acura", "phoenix"], ["acura", "atlanta"], ["acura", "las vegas"], ["acura", "tampa"], ["acura", "san diego"], ["acura", "portland"], ["acura", "wilmington"], ["acura", "los angeles ca"], ["acura", "kailua kona"], ["acura", "houston"], ["isuzu", "knoxville"], ["cadillac", "austin"], ["cadillac", "san antonio"], ["cadillac", "dallas"], ["cadillac", "fort worth"], ["cadillac", "san diego"], ["cadillac", "houston"], ["hyundai", "san diego"], ["honda", "seattle"], ["honda", "dallas"], ["honda", "orlando"], ["honda", "tucson"], ["honda", "sacramento"], ["honda", "san francisco"], ["honda", "san antonio"], ["honda", "tulsa"], ["honda", "fort worth"], ["honda", "indianapolis"], ["honda", "albuquerque"], ["honda", "denver"], ["honda", "memphis"], ["honda", "knoxville"], ["honda", "lancaster"], ["honda", "atlanta"], ["honda", "philadelphia"], ["honda", "phoenix"], ["honda", "columbus"], ["honda", "peoria"], ["honda", "south minneapolis"], ["honda", "fort lauderdale"], ["honda", "tampa"], ["honda", "san diego"], ["honda", "jacksonville"], ["honda", "kansas city"], ["honda", "wilmington"], ["honda", "fredericksburg"], ["honda", "bakersfield"], ["honda", "san luis obispo"], ["honda", "houston"], ["toyota", "seattle"], ["toyota", "dallas"], ["toyota", "tucson"], ["toyota", "denver"], ["toyota", "chicago south"], ["toyota", "sacramento"], ["toyota", "san diego"], ["toyota", "portland"], ["toyota", "los angeles ca"], ["toyota", "houston"], ["audi", "chicago south"], ["nissan", "arlington"], ["nissan", "austin"], ["nissan", "phoenix arizona"], ["nissan", "abilene"], ["nissan", "san antonio"], ["nissan", "pasadena"], ["nissan", "tucson arizona"], ["nissan", "spring"], ["nissan", "seattle"], ["nissan", "plano"], ["nissan", "new orleans"], ["nissan", "odessa"], ["nissan", "worcester"], ["nissan", "indianapolis"], ["nissan", "beaumont"], ["nissan", "san diego california"], ["nissan", "boulder colorado"], ["nissan", "mission"], ["nissan", "killeen"], ["nissan", "amarillo"], ["nissan", "antonio"], ["nissan", "tyler"], ["nissan", "brownsville"], ["nissan", "lubbock"], ["nissan", "atlanta georgia"], ["nissan", "orlando florida"], ["nissan", "garland"], ["nissan", "los angeles california"], ["nissan", "philadelphia"], ["nissan", "san diego"], ["nissan", "midland"], ["nissan", "lunenburg"], ["nissan", "houston"], ["nissan", "miami florida"], ["daewoo", "los angeles ca"], ["dodge", "seattle"], ["dodge", "milwaukee"], ["dodge", "san diego"], ["dodge", "houston"], ["chevrolet", "seattle"], ["chevrolet", "dallas"], ["chevrolet", "indianapolis"], ["chevrolet", "denver"], ["chevrolet", "detroit"], ["chevrolet", "layton"], ["chevrolet", "milwaukee"], ["chevrolet", "oklahoma city"], ["chevrolet", "philadelphia"], ["chevrolet", "baltimore"], ["chevrolet", "diego"], ["chevrolet", "louisville"], ["chevrolet", "houston"]], "negatives": []}
2
+ {"relation_type": "concept:automobilemakerdealersincountry", "positives": [["lotus", "usa"], ["lotus", "uk"], ["lotus", "uk "], ["lexus", "uk"], ["lexus", "canada"], ["lexus", "uk "], ["range rover", "uk"], ["buick", "canada"], ["buick", "china"], ["citroen", "uk"], ["gmc", "uk"], ["gmc", "canada"], ["kia", "uk"], ["kia", "korea"], ["kia", "canada"], ["think", "uk"], ["chrysler", "usa"], ["chrysler", "uk"], ["chrysler", "u s "], ["chrysler", "canada"], ["jaguar", "uk"], ["jaguar", "usa"], ["jaguar", "canada"], ["suzuki", "uk"], ["suzuki", "japan"], ["suzuki", "canada"], ["skoda", "uk "], ["vauxhall", "uk"], ["acura", "canada"], ["subaru", "canada"], ["cadillac", "usa"], ["cadillac", "canada"], ["rover", "uk"], ["volkswagen", "uk"], ["volkswagen", "germany"], ["volkswagen", "canada"], ["volkswagen", "uk "], ["lancia", "uk"], ["land rover", "uk"], ["land rover", "canada"], ["hyundai", "uk"], ["hyundai", "canada"], ["honda", "usa"], ["honda", "uk"], ["honda", "canada"], ["porsche", "uk"], ["porsche", "canada"], ["toyota", "malaysia"], ["toyota", "usa"], ["toyota", "south africa"], ["toyota", "uk"], ["toyota", "u s "], ["toyota", "canada"], ["lamborghini", "uk"], ["saab", "uk"], ["saab", "usa"], ["saab", "sweden"], ["infiniti", "uk"], ["infiniti", "canada"], ["opel", "uk"], ["mini", "uk"], ["mini", "canada"], ["fiat", "uk"], ["fiat", "canada"], ["alfa", "uk"], ["audi", "uk"], ["audi", "canada"], ["audi", "uk "], ["benz", "germany"], ["nissan", "usa"], ["nissan", "uk"], ["nissan", "japan"], ["nissan", "canada"], ["daimler ag", "canada"], ["mitsubishi", "america"], ["mitsubishi", "canada"], ["vw", "uk"], ["gm", "canada"], ["proton", "uk"], ["abarth", "uk"], ["dodge", "uk"], ["dodge", "usa"], ["dodge", "germany"], ["dodge", "canada"], ["dodge", "mexico"], ["chevrolet", "uk"], ["chevrolet", "canada"], ["volvo", "usa"], ["volvo", "canada"], ["daimler benz", "uk"], ["dacia", "uk"], ["mazda", "usa"], ["mazda", "uk"], ["mazda", "america"], ["mazda", "canada"], ["maserati", "canada"]], "negatives": []}
3
+ {"relation_type": "concept:geopoliticallocationresidenceofpersion", "positives": [["lancaster", "diana greenough"], ["cheboygan", "terry blaskowski"], ["cheboygan", "cheryl001"], ["shaker heights", "paul"], ["shaker heights", "arthur001"], ["ypsilanti", "christine moellering"], ["ypsilanti", "mark moellering"], ["hollywood", "woodward"], ["hollywood", "newman"], ["florida001", "alex sink"], ["florida001", "charlie crist"], ["france france", "kathleen"], ["westport", "woodward"], ["westport", "newman"], ["havana", "fidel"], ["china", "guo jingjing"], ["arabia saudita", "qusai khidr"], ["fresno", "ashley swearengin"], ["ghanian", "kwame nkrumah"], ["edmonton", "stephen mandel"], ["toronto", "rob ford"], ["united arab emirates", "mohammed bin rashid al maktoum"], ["dubai", "mohammed bin rashid al maktoum"], ["concord", "rose"], ["mass", "edward j markey"], ["england", "kick"], ["democratic republic of congo", "mukwege"], ["california", "arnold schwarzenegger"], ["soviet union", "kick"], ["spain", "javier bardem"], ["spain", "lionel messi"], ["u s ", "barack obama"], ["tanzania", "julius nyerere"], ["denver", "democratic"], ["rhode island", "republican"], ["west jordan", "larry i rougle"], ["louisiana", "republican"], ["mexico", "goffredo marcaccini"], ["mexico", "alix goldsmith"], ["mexico", "james goldsmith"], ["mexico", "lorena ochoa"], ["martinique", "aime cesaire"], ["cuba", "fidel"], ["cuba", "fidel castro001"], ["connecticut", "governor"], ["connecticut", "republican"], ["wisconsin", "republican"], ["cleveland", "sills"], ["jalisco", "goffredo marcaccini"], ["jalisco", "alix goldsmith"], ["jalisco", "james goldsmith"], ["new hampshire", "republican"], ["shanghai", "han zheng"], ["utah", "larry i rougle"], ["zimbabwe", "mugabe"], ["utah", "republican"], ["london city", "boris johnson"], ["london city", "ken livingstone"], ["chinese", "hua guofeng"], ["illinois", "senator"], ["illinois", "representative"], ["illinois", "barack obama"], ["illinois", "u s sen "], ["kentucky", "republican"], ["zambia", "kenneth kaunda"], ["philadelphia", "michael nutter"], ["philadelphia", "republican"], ["alabama", "republican"], ["iowa", "republican"], ["israel", "sheetrit"], ["nevada", "sig rogich"], ["north carolina", "jesse helms"], ["north carolina", "republican"], ["brazil", "jose padilha"], ["dorchester", "rose"], ["tennessee", "republican"], ["zambian", "levy mwanawasa"], ["oklahoma", "republican"], ["italian", "silvio berlusconi"], ["sri lanka", "arthur c clarke"], ["indian", "v p singh"], ["phoenix", "wes gullett"], ["los angeles ca", "antonio villaraigosa"], ["los angeles ca", "richard riordan"], ["rome", "walter veltroni"], ["rock", "stanley"], ["nashville", "bill purcell"], ["ohio", "paul"], ["ohio", "arthur"], ["ohio", "republican"], ["fontana", "bryan a brewster"], ["indonesian", "suharto"], ["united states", "kick"], ["michigan", "john engler"], ["d c ", "republican"], ["new mexico", "domenici"], ["portland", "sam adams"], ["beijing", "guo jingjing"], ["seattle", "wife"], ["honolulu", "mufi hannemann"], ["baltimore", "sheila dixon"], ["chicago south", "richard m daley"], ["chicago south", "republican"], ["south minneapolis", "republican"], ["virginia", "mildred jeter loving"], ["virginia", "republican"], ["milwaukee", "tom barrett"], ["alaska001", "frank h murkowski"], ["alaska001", "sarah palin"], ["indiana", "republican"], ["pennsylvania", "republican"], ["nebraska", "republican"], ["texas", "jeffrey d kettle"], ["texas", "us senator"], ["texas", "tom delay"], ["texas", "kent hance"], ["us", "jesse helms"], ["us", "barack obama"], ["us", "president george"], ["casablanca", "neil bogart"], ["detroit", "dave bing"], ["detroit", "john d dingell"], ["massachusetts", "republican"], ["wyoming", "republican"], ["west virginia", "republican"], ["tn", "bill purcell"], ["north dakota", "republican"], ["kansas", "republican"], ["arizona", "morris k udall"], ["arizona", "senator"], ["arizona", "mr "], ["arizona", "republican"], ["new jersey", "woodrow wilson"], ["london", "meg rosoff"], ["london", "boris johnson"], ["london", "ken livingstone"], ["colorado", "republican"], ["southern african country", "robert mugabe"], ["maryland", "republican"], ["maine", "republican"], ["georgia", "senator"], ["georgia", "u s sen "], ["georgia", "republican"]], "negatives": []}
4
+ {"relation_type": "concept:politicianusendorsespoliticianus", "positives": [["andrew jackson", "clinton"], ["f kennedy", "abraham lincoln"], ["kennedy", "mccain"], ["barbra streisand", "clinton"], ["presidential candidate john mccain", "palin"], ["presidential candidate john mccain", "barack obama"], ["democratic presidential nominee barack obama", "mccain"], ["joe biden", "president barack obama"], ["joe biden", "clinton"], ["joe biden", "mccain"], ["joe biden", "former president bill clinton"], ["joe biden", "barack obama"], ["barrack obama", "clinton"], ["barrack obama", "mccain"], ["president george w bush", "gore"], ["president george w bush", "clinton"], ["president george w bush", "mccain"], ["president george w bush", "condoleezza rice"], ["president george w bush", "bush"], ["president george w bush", "dick cheney"], ["president george w bush", "john kerry"], ["u s president bill clinton", "clinton"], ["senator hillary clinton", "mccain"], ["al gore", "clinton"], ["al gore", "former president bill clinton"], ["al gore", "barack obama"], ["al gore", "john kerry"], ["al gore", "bill clinton"], ["governor sarah palin", "mccain"], ["governor sarah palin", "john mccain"], ["michael moore", "clinton"], ["sen mccain", "palin"], ["john edwards", "clinton"], ["john edwards", "barack obama"], ["john edwards", "john kerry"], ["jesse jackson", "clinton"], ["michelle obama", "clinton"], ["gerald ford", "bush"], ["ted kennedy", "clinton"], ["senator obama", "clinton"], ["harry reid", "clinton"], ["president elect obama", "clinton"], ["condoleezza rice", "clinton"], ["robert kennedy", "clinton"], ["rahm emanuel", "clinton"], ["john f kennedy", "clinton"], ["senator clinton", "clinton"], ["john mccain", "palin"], ["john mccain", "gore"], ["john mccain", "gov sarah palin"], ["john mccain", "governor sarah palin"], ["john mccain", "clinton"], ["john mccain", "mccain"], ["john mccain", "nominee barack obama"], ["john mccain", "romney"], ["john mccain", "senator barack obama"], ["hillary", "gore"], ["hillary", "clinton"], ["republican presidential nominee john mccain", "palin"], ["romney", "clinton"], ["jimmy carter", "president bush"], ["jimmy carter", "bush"], ["jimmy carter", "president gerald ford"], ["defense secretary donald rumsfeld", "condoleezza rice"], ["george h w bush", "president ronald reagan"], ["clinton", "abraham lincoln"], ["clinton", "hillary"], ["clinton", "jon stewart"], ["clinton", "michael moore"], ["clinton", "gloria steinem"], ["clinton", "colin powell"], ["clinton", "huckabee"], ["clinton", "bill bradley"], ["clinton", "gore"], ["clinton", "barrack obama"], ["clinton", "charles schumer"], ["clinton", "president bush"], ["clinton", "bill richardson"], ["clinton", "chris dodd"], ["clinton", "richard nixon"], ["clinton", "wesley clark"], ["clinton", "president clinton"], ["clinton", "howard dean"], ["clinton", "president barack obama"], ["clinton", "candidate barack obama"], ["clinton", "former president bush"], ["clinton", "mccain"], ["clinton", "george h w bush"], ["clinton", "bob dole"], ["clinton", "senator kerry"], ["clinton", "condoleezza rice"], ["clinton", "senator obama"], ["clinton", "president barack"], ["clinton", "fred thompson"], ["clinton", "senator clinton"], ["clinton", "jesse jackson"], ["clinton", "tipper gore"], ["clinton", "former president bill clinton"], ["clinton", "barack obama"], ["clinton", "u s president bill clinton"], ["clinton", "president george h bush"], ["clinton", "caroline kennedy"], ["clinton", "senator joe biden"], ["clinton", "former president clinton"], ["clinton", "joe biden"], ["clinton", "nominee barack obama"], ["clinton", "democratic presidential candidate barack obama"], ["clinton", "former president george bush"], ["clinton", "laura bush"], ["clinton", "romney"], ["clinton", "president elect obama"], ["clinton", "presidential candidate barack obama"], ["clinton", "barack hussein"], ["clinton", "bush"], ["clinton", "joe lieberman"], ["clinton", "rudy giuliani"], ["clinton", "john f kennedy"], ["clinton", "senator hillary clinton"], ["clinton", "senator mccain"], ["clinton", "john mccain"], ["clinton", "sen barack"], ["clinton", "barack"], ["clinton", "candidates barack obama"], ["clinton", "president george w bush"], ["clinton", "martin luther king"], ["clinton", "george washington"], ["clinton", "president jimmy carter"], ["clinton", "george w bush"], ["clinton", "president elect barack obama"], ["clinton", "barney frank"], ["clinton", "ted kennedy"], ["clinton", "eliot spitzer"], ["clinton", "al gore"], ["clinton", "harry reid"], ["clinton", "sen barack obama"], ["clinton", "michael jordan"], ["clinton", "harry truman"], ["clinton", "mark warner"], ["clinton", "mike huckabee"], ["clinton", "hillary rodham clinton"], ["john ashcroft", "bush"], ["mr mccain", "palin"], ["ronald reagan", "bush"], ["ronald reagan", "president gerald ford"], ["wesley clark", "clinton"], ["wesley clark", "hillary clinton"], ["james baker", "bush"], ["former president bill clinton", "gore"], ["former president bill clinton", "clinton"], ["former president bill clinton", "bush"], ["former president bill clinton", "al gore"], ["bill richardson", "clinton"], ["democratic presidential candidate barack obama", "clinton"], ["richard nixon", "clinton"], ["richard nixon", "kennedy"], ["former president clinton", "gore"], ["former president clinton", "clinton"], ["former president clinton", "bush"], ["president clinton", "clinton"], ["president clinton", "bush"], ["president clinton", "al gore"], ["hillary clinton", "gore"], ["hillary clinton", "clinton"], ["hillary clinton", "mccain"], ["hillary clinton", "barack obama"], ["hillary clinton", "president obama"], ["hillary clinton", "romney"], ["herman cain", "romney"], ["presidents reagan", "bush"], ["senator barack obama", "clinton"], ["senator barack obama", "mccain"], ["nominee barack obama", "clinton"], ["nominee barack obama", "mccain"], ["george w bush", "gore"], ["george w bush", "clinton"], ["george w bush", "mccain"], ["colin powell", "clinton"], ["colin powell", "mccain"], ["colin powell", "bush"], ["president bush", "palin"], ["president bush", "gore"], ["president bush", "clinton"], ["president bush", "condoleezza rice"], ["alaska gov sarah palin", "mccain"], ["bill clinton", "gore"], ["bill clinton", "state hillary clinton"], ["bill clinton", "clinton"], ["bill clinton", "president george h w bush"], ["bill clinton", "hillary clinton"], ["bill clinton", "bush"], ["bill clinton", "president george w bush"], ["bill clinton", "al gore"], ["caroline kennedy", "clinton"], ["caroline kennedy", "barack obama"], ["hopeful barack obama", "mccain"], ["rick santorum", "romney"], ["president george bush", "clinton"], ["president george bush", "mccain"], ["alaska governor sarah palin", "mccain"], ["barack obama", "palin"], ["barack obama", "gore"], ["barack obama", "rick santorum"], ["barack obama", "senator john mccain"], ["barack obama", "clinton"], ["barack obama", "mccain"], ["barack obama", "former president bill clinton"], ["barack obama", "joe biden"], ["barack obama", "mitt romney"], ["barack obama", "romney"], ["laura bush", "clinton"], ["president elect barack obama", "clinton"], ["president elect barack obama", "mccain"], ["lyndon johnson", "kennedy"], ["gore", "hillary"], ["gore", "president bush"], ["gore", "vice president cheney"], ["gore", "clinton"], ["gore", "former president bill clinton"], ["gore", "former president clinton"], ["gore", "hillary clinton"], ["gore", "bill"], ["gore", "president jimmy carter"], ["gore", "bill clinton"], ["senator kerry", "clinton"], ["bush", "hillary"], ["bush", "michael moore"], ["bush", "colin powell"], ["bush", "herbert hoover"], ["bush", "president bush"], ["bush", "president clinton"], ["bush", "senator john mccain"], ["bush", "vice president al gore"], ["bush", "former president bush"], ["bush", "clinton"], ["bush", "senator john kerry"], ["bush", "senator kerry"], ["bush", "senator clinton"], ["bush", "karl rove"], ["bush", "president george bush"], ["bush", "former president bill clinton"], ["bush", "lieberman"], ["bush", "ronald reagan"], ["bush", "vice president dick cheney"], ["bush", "former president clinton"], ["bush", "former president george bush"], ["bush", "santorum"], ["bush", "mitt romney"], ["bush", "president elect obama"], ["bush", "george w bush"], ["bush", "rudy giuliani"], ["bush", "dick cheney"], ["bush", "john ashcroft"], ["bush", "senator mccain"], ["bush", "john mccain"], ["bush", "jeb bush"], ["bush", "president george w bush"], ["bush", "president jimmy carter"], ["bush", "donald rumsfeld"], ["bush", "john kerry"], ["bush", "al gore"], ["bush", "bill clinton"], ["bill", "gore"], ["candidate barack obama", "clinton"], ["bradley", "al gore"], ["eliot spitzer", "clinton"], ["donald trump", "romney"], ["gloria steinem", "clinton"], ["president jimmy carter", "gore"], ["tipper gore", "clinton"], ["senator john mccain", "palin"], ["senator john mccain", "governor sarah palin"], ["senator john mccain", "sarah palin"], ["senator john mccain", "romney"], ["candidates barack obama", "clinton"], ["senator mccain", "palin"], ["senator mccain", "clinton"], ["senator mccain", "sarah palin"], ["senator mccain", "romney"], ["senator mccain", "bush"], ["dwight eisenhower", "kennedy"], ["howard dean", "clinton"], ["democrat barack obama", "mccain"], ["mccain", "palin"], ["mccain", "gov sarah palin"], ["mccain", "democrat obama"], ["mccain", "barrack obama"], ["mccain", "governor sarah palin"], ["mccain", "candidate barack obama"], ["mccain", "clinton"], ["mccain", "senator obama"], ["mccain", "fred thompson"], ["mccain", "nominee barack obama"], ["mccain", "democratic presidential candidate barack obama"], ["mccain", "presidential candidate barack obama"], ["mccain", "joe lieberman"], ["mccain", "dick cheney"], ["mccain", "president george w bush"], ["mccain", "president elect barack obama"], ["mccain", "democrat barack obama"], ["vice president al gore", "clinton"], ["elizabeth dole", "clinton"], ["charles schumer", "clinton"], ["hillary rodham clinton", "clinton"], ["hillary rodham clinton", "mccain"], ["hillary rodham clinton", "senator barack obama"], ["gov sarah palin", "mccain"], ["gov sarah palin", "john mccain"], ["bill bradley", "vice president al gore"], ["bill bradley", "clinton"], ["tim pawlenty", "romney"], ["joe lieberman", "clinton"], ["joe lieberman", "mccain"], ["lindsey graham", "mccain"], ["democrat obama", "mccain"], ["hilary clinton", "mccain"], ["mike huckabee", "clinton"], ["mike huckabee", "mccain"], ["mike huckabee", "romney"], ["fred thompson", "clinton"], ["fred thompson", "mccain"], ["fred thompson", "john mccain"], ["john kerry", "gore"], ["john kerry", "president bush"], ["john kerry", "president george w bush"], ["john kerry", "john edwards"], ["john kerry", "bush"], ["john kerry", "al gore"], ["president obama", "hillary clinton"], ["rudy giuliani", "clinton"], ["rudy giuliani", "mccain"], ["rudy giuliani", "romney"], ["rudy giuliani", "john mccain"], ["arnold schwarzenegger", "clinton"], ["madeleine albright", "clinton"], ["sen barack obama", "clinton"], ["senators barack obama", "clinton"], ["palin", "mr mccain"], ["palin", "sen mccain"], ["palin", "president bush"], ["palin", "senator john mccain"], ["palin", "clinton"], ["palin", "mccain"], ["palin", "president obama"], ["palin", "presidential candidate john mccain"], ["palin", "romney"], ["palin", "senator mccain"], ["palin", "john mccain"], ["palin", "republican presidential nominee john mccain"], ["palin", "presidential nominee john mccain"], ["barney frank", "clinton"], ["president barack obama", "clinton"], ["presidential nominee john mccain", "palin"], ["abraham lincoln", "clinton"], ["abraham lincoln", "f kennedy"], ["jeb bush", "romney"], ["george h w bush", "president ronald reagan"], ["sarah palin", "palin"], ["sarah palin", "senator john mccain"], ["sarah palin", "clinton"], ["sarah palin", "mccain"], ["sarah palin", "presidential candidate john mccain"], ["sarah palin", "senator mccain"], ["sarah palin", "john mccain"], ["mark warner", "clinton"], ["huckabee", "clinton"], ["former president bush", "clinton"], ["harry truman", "clinton"], ["dick cheney", "president bush"], ["dick cheney", "mccain"], ["dick cheney", "bush"], ["dick cheney", "john mccain"], ["dick cheney", "president george w bush"], ["george w bush", "president clinton"], ["george w bush", "president ronald reagan"], ["george w bush", "vice president al gore"], ["george w bush", "former president bill clinton"], ["george w bush", "ronald reagan"], ["george w bush", "president obama"], ["george w bush", "dick cheney"], ["mitt romney", "mccain"], ["mitt romney", "romney"], ["presidential candidate barack obama", "clinton"], ["presidential candidate barack obama", "mccain"], ["bob dole", "clinton"], ["chris dodd", "clinton"], ["chris dodd", "barack obama"]], "negatives": []}
5
+ {"relation_type": "concept:producedby", "positives": [["windstar", "ford001"], ["honda cr v", "honda"], ["explorer", "microsoft"], ["explorer", "ford001"], ["explorer", "microsoft"], ["caravan", "dodge"], ["microsoft office outlook", "microsoft"], ["microsoft visio", "microsoft"], ["microsoft small business server", "microsoft"], ["windows 2000", "microsoft"], ["aerostar", "ford"], ["five hundred", "ford"], ["mitsubishi lancer", "toyota"], ["volkswagen passat", "honda"], ["ms outlook", "microsoft"], ["notepad", "microsoft"], ["saturn astra", "saturn"], ["nissan versa", "ford001"], ["active server pages", "microsoft"], ["windows mobile", "microsoft"], ["prius", "toyota"], ["nissan murano", "nissan"], ["cougar", "mercury"], ["tahoe", "chevrolet"], ["toyota matrix", "toyota"], ["adobe golive", "microsoft"], ["pinto", "ford001"], ["pilot", "honda"], ["microsoft office", "microsoft"], ["windstar wagon", "ford001"], ["excel", "use microsoft"], ["excel", "microsoft "], ["excel", "microsoft"], ["transit connect wagon", "ford001"], ["yaris", "toyota"], ["powerpoint", "microsoft"], ["cortina", "ford001"], ["caprice", "chevrolet"], ["adobe acrobat reader", "microsoft"], ["corolla", "toyota"], ["pdf file", "microsoft"], ["iis", "microsoft"], ["viewer", "microsoft"], ["expedition", "ford"], ["expedition", "ford001"], ["gameboy", "nintendo"], ["ridgeline", "honda"], ["honda civic", "honda"], ["itunes", "apple002"], ["itunes", "microsoft"], ["toyota corolla", "toyota"], ["f 150", "ford001"], ["f 100", "ford"], ["f 450", "ford"], ["freestyle", "ford"], ["altima", "nissan"], ["toyota tacoma", "toyota"], ["nissan maxima", "nissan"], ["nissan maxima", "honda"], ["explorer sport", "ford001"], ["office communications server", "microsoft"], ["xbox 360001", "microsoft"], ["xbox 360001", "microsoft"], ["toyota prius", "toyota"], ["toyota prius", "ford001"], ["civic hybrid", "honda"], ["wii games", "nintendo"], ["ford fusion", "honda"], ["ford fusion", "ford001"], ["lotus notes", "microsoft"], ["f 100 pickup", "ford001"], ["ranchero", "ford001"], ["odyssey", "honda"], ["super duty f 250", "ford001"], ["zafira", "vauxhall"], ["solaris", "sun microsystems001"], ["outlook mobile", "microsoft"], ["aix", "ibm"], ["wii", "nintendo"], ["civic si", "honda"], ["e 100 econoline", "ford001"], ["e 350 econoline", "ford001"], ["n300zx", "nissan"], ["internet explorer", "microsoft"], ["internet explorer", "microsoft"], ["transit connect", "ford001"], ["e 250 econoline", "ford001"], ["tundra", "toyota"], ["quicktime", "apple002"], ["e 150 econoline", "ford"], ["microsoft frontpage", "microsoft"], ["bronco ii", "ford001"], ["versa", "nissan"], ["mazda", "toyota"], ["access", "microsoft"], ["access", "microsoft"], ["ford mustang", "ford001"], ["adobe illustrator", "microsoft"], ["maxima", "nissan"], ["aspire", "ford"], ["n240sx", "nissan"], ["land cruiser", "toyota"], ["novell groupwise", "microsoft"], ["adobe photoshop", "microsoft"], ["galaxie", "ford001"], ["civic", "honda"], ["fusion hybrid", "ford001"], ["microsoft windows", "microsoft"], ["microsoft windows", "microsoft"], ["fiesta", "ford"], ["netscape gold", "microsoft"], ["camry", "toyota"], ["mustang", "ford"], ["mustang", "ford001"], ["expression web", "microsoft"], ["microsoft internet explorer", "microsoft"], ["econoline cargo van", "ford001"], ["contour", "ford"], ["microsoft access", "microsoft"], ["office excel", "microsoft"], ["taurus", "ford001"], ["expedition el", "ford"], ["photoshop", "macromedia corporation"], ["hyundai sonata", "honda"], ["granada", "ford001"], ["highlander hybrid", "toyota"], ["office 2003", "microsoft"], ["acrobat reader", "acrobat"], ["acrobat reader", "microsoft"], ["volkswagen golf", "volkswagen"], ["office software", "microsoft"], ["beetle", "volkswagen"], ["toyota highlander", "toyota"], ["ford explorer", "toyota"], ["ford explorer", "ford001"], ["tempo", "ford001"], ["golive", "microsoft"], ["microsoft paint", "microsoft"], ["systems management server", "microsoft"], ["iphone", "apple002"], ["adobe pagemaker", "microsoft"], ["netscape composer", "microsoft"], ["macbook", "apple002"], ["microsoft exchange", "microsoft"], ["guitar hero", "activision"], ["f series", "ford001"], ["ford taurus", "toyota"], ["honda fit", "honda"], ["honda fit", "toyota"], ["honda fit", "ford001"], ["mac001", "apple002"], ["dreamweaver", "microsoft"], ["macintosh", "apple002"], ["macintosh", "microsoft"], ["zx2", "ford"], ["ram", "dodge"], ["playstation", "sony002"], ["exp", "ford001"], ["crv", "honda"], ["super duty f 450 drw", "ford001"], ["toyota highlander hybrid", "toyota"], ["insight", "honda"], ["quickbooks", "microsoft"], ["econoline wagon", "ford001"], ["festiva", "ford001"], ["toyota camry", "toyota"], ["toyota avalon", "toyota"], ["fairlane", "ford001"], ["honda accord", "honda"], ["honda accord", "ford001"], ["exchange", "microsoft"], ["exchange", "microsoft"], ["autocad ", "microsoft"], ["courier", "ford001"], ["microsoft excel", "microsoft"], ["country squire", "ford001"], ["lipitor", "pfizer"], ["wii console", "nintendo"], ["escort", "ford001"], ["microsoft windows server 2003", "microsoft"], ["ltd ii", "ford001"], ["playstation 3", "sony002"], ["playstation 2", "sony001"], ["adobe photoshop elements", "microsoft"], ["media player", "microsoft"], ["mountain dew", "pepsico"], ["visual studio net", "microsoft"], ["autocad", "microsoft"], ["colgate", "colgate palmolive"], ["echo", "toyota"], ["f350", "ford"], ["f150", "ford001"], ["pathfinder", "nissan"], ["macromedia dream weaver", "microsoft"], ["quest", "nissan"], ["club wagon", "ford"], ["thunderbird", "ford"], ["thunderbird", "ford001"], ["microsoft powerpoint", "microsoft"], ["word", "microsoft "], ["word", "microsoft"], ["outlook email", "microsoft"], ["xbox", "microsoft"], ["xbox", "microsoft"], ["adobe creative suite", "microsoft"], ["front page", "microsoft"], ["active directory", "microsoft"], ["visual basic", "microsoft"], ["wii fit", "nintendo"]], "negatives": []}
6
+ {"relation_type": "concept:teamcoach", "positives": [["cavaliers", "lebron james"], ["titans", "jeff fisher"], ["southern miss lady golden eagles", "larry fedora"], ["lsu", "john brady"], ["lsu", "les miles"], ["diamondbacks", "ryan webb"], ["byu", "lavell edwards"], ["byu", "bronco mendenhall"], ["hawks los angeles lakers vs", "mike woodson"], ["wildcats", "lute olson"], ["los angeles lakers", "ike brown"], ["los angeles lakers", "kurt rambis"], ["washington capitals", "bruce boudreau"], ["tcu horned frogs", "gary patterson"], ["stanford cardinals", "trent johnson"], ["boston celtics", "doc rivers"], ["pittsburgh penguins", "michel therrien"], ["seminoles", "bobby bowden"], ["usc", "tim floyd"], ["usc", "pete carroll"], ["wake forest university", "skip prosser"], ["wake forest university", "jim grobe"], ["louisiana technical college bastrop campus", "derek dooley"], ["louisiana technical college bastrop campus", "sonny dykes"], ["cal poly", "tim walsh"], ["ole miss", "houston nutt"], ["ole miss", "hugh freeze"], ["ole miss", "ed orgeron"], ["kansas state", "bill snyder"], ["kansas state", "ron prince"], ["san jose state spartans", "dick tomey"], ["bobcats", "larry brown"], ["ex pittsburgh steelers", "tomlin"], ["ex pittsburgh steelers", "chuck noll"], ["ex pittsburgh steelers", "mike tomlin"], ["ex pittsburgh steelers", "bill cowher"], ["new york mets", "barry bonds"], ["new york mets", "beltran"], ["new york mets", "mike pelfrey"], ["new york mets", "jason bay"], ["new york mets", "lastings milledge"], ["new york mets", "andres torres"], ["new york mets", "jorge posada"], ["new york mets", "francisco liriano"], ["new york jets", "eric mangini"], ["new york jets", "tim tebow"], ["memphis grizzlies", "marc iavaroni"], ["royals", "david dejesus"], ["royals", "zack greinke"], ["st louis rams", "scott linehan"], ["st louis rams", "steve spagnuolo"], ["florida gators", "billy donovan"], ["florida gators", "urban meyer"], ["princeton", "bill tierney"], ["tampa bay devil rays", "matt garza"], ["philadelphia eagles", "andy reid"], ["ohio state university", "luke fickell"], ["ohio state university", "jim tressel"], ["maryland", "ralph friedgen"], ["san diego padres", "mark kotsay"], ["san diego padres", "tony gwynn"], ["san diego padres", "kyle blanks"], ["florida state", "leonard hamilton"], ["florida state", "jimbo fisher"], ["knicks", "isiah thomas"], ["knicks", "mike d antoni"], ["bad cubs", "ted lilly"], ["bad cubs", "moises alou"], ["yankees", "xavier nady"], ["yankees", "alberto arias"], ["yankees", "curtis granderson"], ["illini", "bruce weber"], ["illini", "ron zook"], ["red sox", "dontrelle willis"], ["red sox", "josh beckett"], ["red sox", "alex auld"], ["red sox", "cj watson"], ["red sox", "logan kensing"], ["utah state", "gary andersen"], ["utah state", "brent guy"], ["n1935 the detroit tigers", "brett myers"], ["colorado rockies", "dexter fowler"], ["colorado rockies", "ubaldo jimenez"], ["colorado rockies", "josh williams"], ["colorado rockies", "j d drew"], ["colorado rockies", "seth smith"], ["kentucky wildcats", "billy gillispie"], ["former san francisco giants", "gary carter"], ["seattle mariners", "chone figgins"], ["seattle mariners", "franklin gutierrez"], ["seattle mariners", "eric milton"], ["seattle mariners", "felix hernandez"], ["seattle mariners", "raul ibanez"], ["utah jazz", "jerry sloan"], ["chicago cardinals", "colby rasmus"], ["chicago cardinals", "ryan ludwick"], ["chicago cardinals", "dominique rodgers cromartie"], ["chicago cardinals", "rick pitino"], ["chicago cardinals", "ken whisenhunt"], ["chicago cardinals", "mike schmidt"], ["chicago cardinals", "lance berkman"], ["st louis rams", "mike martz"], ["ottawa senators", "craig hartsburg"], ["tampa bay bucs", "raheem morris"], ["tampa bay bucs", "gruden"], ["tampa bay bucs", "jon gruden"], ["duke university", "david cutcliffe"], ["duke university", "mike krzyzewski"], ["marlins", "chris coghlan"], ["marlins", "kent mercker"], ["marlins", "jeremy affeldt"], ["nc state", "kay yow"], ["washington huskies", "steve sarkisian"], ["notre dame", "tyrone willingham"], ["notre dame", "lou holtz"], ["notre dame", "mike brey"], ["notre dame", "frank leahy"], ["notre dame", "digger phelps"], ["notre dame", "charlie weis"], ["hokies", "seth greenberg"], ["hokies", "frank beamer"], ["dodgers", "jayson werth"], ["dodgers", "michael clayton"], ["dodgers", "jerry sands"], ["dodgers", "dave roberts"], ["dodgers", "shawn green"], ["dodgers", "shawn estes"], ["texas tech red raiders", "mike leach"], ["white sox", "mark buehrle"], ["white sox", "willie hernandez"], ["white sox", "c j wilson"], ["white sox", "jermaine dye"], ["new orleans saints", "sean payton"], ["new orleans saints", "joe vitt"], ["new orleans saints", "mike ditka"], ["harvard school of dental medicine", "tommy amaker"], ["atlanta braves", "jason heyward"], ["michigan state", "tom izzo"], ["michigan state", "john l smith"], ["michigan state", "mark dantonio"], ["oregon ducks", "chip kelly"], ["towson university", "pat kennedy"], ["western kentucky hilltoppers", "willie taggart"], ["western kentucky hilltoppers", "darrin horn"], ["kings college", "terry murray"], ["milwaukee bucks nba", "larry krystkowiak"], ["cornhuskers", "bo pelini"], ["kansas city chiefs", "herm edwards"], ["kansas city chiefs", "vermeil"], ["kansas city chiefs", "todd haley"], ["broncos", "shanahan"], ["broncos", "josh mcdaniels"], ["oakland a s", "doc holliday"], ["sacramento kings", "reggie theus"], ["maple leafs", "randy carlyle"], ["san jose sharks", "al arbour"], ["nittany lions", "joe paterno"], ["miami dolphins", "cam cameron"], ["arkansas razorbacks", "nolan richardson"], ["arkansas razorbacks", "bobby petrino"], ["dallas mavericks tv watch", "josh howard"], ["knights of pythias", "george o leary"], ["uk", "joker phillips"], ["uk", "rich brooks"], ["uk", "john calipari"], ["csu pueblo thunderwolves", "steve fairchild"], ["brewers", "scott podsednik"], ["brewers", "morgan ensberg"], ["brewers", "ryan braun"], ["penn state", "bill o brien"], ["penn state", "jerry sandusky"], ["columbus blue jackets", "ken hitchcock"], ["rutgers", "mike rice"], ["rutgers", "greg schiano"], ["raptors", "dwane casey"], ["magic", "van gundy"], ["colorado state", "sonny lubick"], ["alabama crimson tide", "nick saban"], ["washington wizards", "ed tapscott"], ["washington wizards", "al harrington"], ["minnesota vikings", "brad childress"], ["minnesota vikings", "mike tice"], ["minnesota vikings", "leslie frazier"], ["minnesota vikings", "bud grant"], ["colts", "chuck pagano"], ["colts", "tony dungy"], ["colts", "dungy"], ["colts", "jim caldwell"], ["packers", "mike mccarthy"], ["packers", "mike sherman"], ["packers", "vince lombardi"], ["new england patriots", "jim haslett"], ["new england patriots", "bill belichick"], ["indiana university", "bobby knight"], ["indiana university", "bob knight"], ["indiana university", "tom crean"], ["falcons", "mike smith"], ["falcons", "smith"], ["pacers", "danny granger"], ["boston red", "jim rice"], ["mississippi state university", "sylvester croom"], ["uconn", "randy edsall"], ["uconn", "paul pasqualoni"], ["new orleans hornets", "byron scott"], ["boise state", "dan hawkins"], ["boise state", "chris peterson"], ["boise state", "chris petersen"], ["houston texans", "dom capers"], ["carolina panthers", "john fox"], ["georgetown university", "john thompson iii"], ["redskins", "george allen"], ["redskins", "joe gibbs"], ["redskins", "jim zorn"], ["redskins", "steve spurrier"], ["san diego chargers tickets", "norv turner"], ["san diego chargers tickets", "marty schottenheimer"], ["pirates", "ruffin mcneill"], ["pirates", "skip holtz"], ["pirates", "jeff lebo"], ["pirates", "frank"], ["pirates", "john thompson"], ["cleveland browns", "mangini"], ["cleveland browns", "butch davis"], ["cleveland browns", "romeo crennel"], ["cleveland browns", "paul brown"], ["cleveland browns", "belichick"], ["twins", "denard span"], ["twins", "nick punto"], ["twins", "ron villone"], ["twins", "dmitri young"], ["oakland raiders", "kiffin"], ["oakland raiders", "tom cable"], ["oakland raiders", "hue jackson"], ["oakland raiders", "john madden"], ["oakland raiders", "art shell"], ["vols", "phil fulmer"], ["los angeles galaxy", "bruce arena"], ["detroit lions", "rod marinelli"], ["detroit lions", "steve mariucci"], ["detroit lions", "jim schwartz"], ["portland trail blazers tickets", "nate mcmillan"], ["suns", "d antoni"], ["suns", "terry porter"], ["suns", "alvin gentry"], ["ucla", "ben howland"], ["ucla", "terry donahue"], ["ucla", "karl dorrell"], ["ucla", "bob toledo"], ["ucla", "rick neuheisel"], ["iowa state", "larry eustachy"], ["iowa state", "greg mcdermott"], ["iowa state", "paul rhoads"], ["iowa state", "dan mccarney"], ["panthers 31 18", "dave wannstedt"], ["anaheim angels", "vladimir guerrero"], ["bills", "perry fewell"], ["bills", "mike mularkey"], ["bills", "gregg williams"], ["bills", "dick jauron"], ["carolina hurricanes live online", "paul maurice"], ["indians", "grady sizemore"], ["indians", "j c romero"], ["indians", "coco crisp "], ["nets", "richard jefferson"], ["oklahoma state", "mike gundy"], ["oklahoma state", "eddie sutton"], ["texas a m", "dennis franchione"], ["texas a m", "r c slocum"], ["ravens", "brian billick"], ["ravens", "john harbaugh"], ["heat", "erik spoelstra"], ["heat", "dwayne wade"], ["terps", "gary williams"], ["oregon state", "craig robinson"], ["san diego state", "tom craft"], ["san diego state", "chuck long"], ["tampa", "barry melrose"], ["blackhawks", "denis savard"], ["astros", "j a happ"], ["astros", "carlos villanueva"], ["boston bruins", "claude julien"], ["rangers", "tom renney"], ["jacksonville jaguars", "jack del rio"], ["washington state", "paul wulff"], ["washington state", "mike price"], ["chicago bulls", "scott skiles"], ["chicago bulls", "jim leavitt"], ["chicago bulls", "phil jackson"], ["chicago bulls", "tom thibodeau"], ["chicago bulls", "vinny del negro"], ["kent state golden flashes", "doug martin"], ["new york giants", "jim fassel"], ["new york giants", "angel pagan"], ["new york giants", "tom coughlin"], ["new york giants", "jonathan sanchez"], ["new york giants", "coughlin"], ["new york giants", "barry zito"], ["new york giants", "mike shanahan"], ["new york giants", "ray perkins"], ["new york giants", "drew bledsoe"], ["georgia tech", "chan gailey"], ["georgia tech", "paul hewitt"], ["georgia tech", "paul johnson"], ["buccaneers", "john gruden"], ["seattle seahawks 21 10", "jim mora"], ["seattle seahawks 21 10", "mike holmgren"], ["carolina", "roy williams"], ["dallas mavericks", "avery johnson"], ["timberwolves", "randy wittman"], ["texas rangers", "todd coffey"], ["bengals", "jeremy bates"], ["baylor university in waco", "art briles"], ["baylor university in waco", "dave bliss"], ["blue jays", "adam lind"], ["blue jays", "vernon wells"], ["blue jays", "roy halladay"], ["texas longhorns", "mack brown"], ["ball state university", "brady hoke"], ["ball state university", "stan parrish"], ["cowboys 19 13", "bill parcells"], ["cowboys 19 13", "dave campo"], ["cowboys 19 13", "bill walsh"], ["cowboys 19 13", "jason garrett"], ["cowboys 19 13", "jimmy johnson"], ["cowboys 19 13", "wade phillips"], ["red wings", "mike babcock"], ["houston astros", "michael bourn"], ["boston college", "jeff jagodzinski"], ["boston college", "tom o brien"], ["boston college", "al skinner"], ["stanford", "johnny dawkins"], ["stanford", "david carr"], ["stanford", "jim harbaugh"], ["philadelphia phillies", "victorino"], ["chicago cubs", "marlon byrd"], ["wolfpack", "chuck amato"], ["georgia bulldogs", "dennis felton"], ["georgia bulldogs", "pat hill"], ["georgia bulldogs", "mark richt"], ["georgia state", "bill curry"], ["denver nuggets", "george karl"]], "negatives": []}
data/train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/validation.jsonl ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"relation_type": "concept:bankbankincountry", "positives": [["deutsche bank", "india"], ["wells fargo", "america"], ["abn amro", "netherlands"], ["abn amro", "india"], ["citigroup", "uk"], ["citigroup", "america"], ["citigroup", " america"], ["citigroup", " america"], ["fidelity", "india"], ["deutsche", "india"], ["j p morgan securities inc ", "america"], ["j p morgan securities inc ", " america"], ["j p morgan securities inc ", " america"], ["barclays capital", "uk"], ["j p morgan securities", " america"], ["j p morgan securities", "america"], ["j p morgan securities", " america"], ["credit suisse", "switzerland switzerland"], ["lloyds tsb", "uk"], ["commonwealth", "south africa"], ["commonwealth", "canada"], ["commonwealth", "nigeria"], ["commonwealth", "india"], ["chase", " america"], ["chase", "america"], ["chase", " america"], ["citizens", "us"], ["citizens", "u s "], ["first bank", "south africa"], ["first bank", "nigeria"], ["bnp paribas", "india"], ["td", "canada"], ["citibank", "belgium"], ["citibank", "malaysia"], ["citibank", "bahrain"], ["citibank", "indonesia"], ["citibank", "uk"], ["citibank", "the philippines"], ["citibank", "kenya"], ["citibank", "hong kong"], ["citibank", "japan"], ["citibank", "uae"], ["citibank", "pakistan"], ["citibank", "singapore"], ["citibank", "greece"], ["citibank", "thailand"], ["citibank", "hungary"], ["citibank", "china"], ["citibank", "india"], ["standard chartered", "hong kong"], ["standard chartered", "china"], ["standard chartered", "india"], ["banamex", "mexico"], ["lloyds", "england"], ["reliance", "india"], ["principal", "india"], ["morgan stanley", "india"], ["citigroup global markets", "uk"], ["citigroup global markets", "america"], ["citigroup global markets", " america"], ["citigroup global markets", " america"], ["royal", "belgium"], ["royal", "ireland"], ["royal", "new zealand"], ["royal", "scotland"], ["royal", "denmark"], ["goldman sachs", "america"], ["world bank", "united states"], ["j p morgan", "america"], ["j p morgan", " america"], ["j p morgan", " america"], ["fortis", "belgium"], ["jpmorgan", "america"], ["jpmorgan", " america"], ["jpmorgan", " america"], ["reliance industries limited", "india"], ["wachovia", "america"], ["wachovia", " america"], ["wachovia", " america"], ["federal bank", "india"], ["bank america", "india"], ["visa", "america"], ["bank one", "america"], ["halifax", "scotland"], ["hsbc", "oman"], ["hsbc", "brunei"], ["hsbc", "arabia saudita"], ["hsbc", "jordan"], ["hsbc", "bahrain"], ["hsbc", "usa"], ["hsbc", "cayman islands"], ["hsbc", "uk"], ["hsbc", "kuwait"], ["hsbc", "america"], ["hsbc", "panama"], ["hsbc", "japan"], ["hsbc", "uae"], ["hsbc", "pakistan"], ["hsbc", "brazil"], ["hsbc", "bermuda"], ["hsbc", "singapore"], ["hsbc", "sri lanka"], ["hsbc", "thailand"], ["hsbc", "canada"], ["hsbc", "qatar"], ["hsbc", "poland"], ["hsbc", "south korea"], ["hsbc", "china"], ["hsbc", "india"], ["rbc", "canada"], ["rbs", "scotland"], ["pnc", "america"], ["fed", "japan"], ["anz", "new zealand"], ["aig", "america"], ["citi", "uk"], ["citi", "america"], ["citi", "canada"], ["citi", "india"], ["cibc", "canada"], ["axis", "india"], ["northern rock", "uk"], ["northern rock", "britain"], ["northern rock", "united kingdom"], ["northern rock", "england"], ["national", "turkey"], ["national", "angola"], ["national", "ghana"], ["national", "senegal"], ["national", "malta"], ["national", "greenland"], ["national", "ireland"], ["national", "panama"], ["national", "great britain"], ["national", "indonesia"], ["national", "bulgaria"], ["national", "lithuania"], ["national", "latvia"], ["national", "new zealand"], ["national", "luxembourg"], ["national", "iraq"], ["national", "netherlands"], ["national", "nepal"], ["national", "laos people s democratic republic"], ["national", "armenia"], ["national", "uae"], ["national", "estonia"], ["national", "rwanda"], ["national", "bangladesh"], ["national", "the philippines"], ["national", "austria"], ["national", "soviet union"], ["national", "maldives"], ["national", "kenya"], ["national", "swaziland"], ["national", "albania"], ["national", "gambia"], ["national", "japan"], ["national", "wales"], ["national", "south africa"], ["national", "argentina"], ["national", "thailand"], ["national", "democratic republic of congo"], ["national", "germany"], ["national", "spain"], ["national", "mozambique"], ["national", "sri lanka"], ["national", "italy"], ["national", "portugal"], ["national", "new south wales"], ["national", "peru"], ["national", "mongolia"], ["national", "uganda"], ["national", "libya"], ["national", "greece"], ["national", "people republic"], ["national", "belize"], ["national", "bosnia herzegovina"], ["national", "south vietnam"], ["national", "persia"], ["national", "canada"], ["national", "tunisia"], ["national", "vanuatu"], ["national", "tajikistan"], ["national", "cambodia"], ["national", "malawi"], ["national", "macedonia001"], ["national", "mali"], ["national", "barbados"], ["national", "qatar"], ["national", "vietnam"], ["national", "cyprus"], ["national", "romania"], ["national", "slovakia"], ["national", "south korea"], ["national", "mauritania"], ["national", "china"], ["national", "uk "], ["national", "mauritius"], ["national", "east timor"], ["national", "montenegro"], ["national", "algeria"], ["national", "ecuador"], ["national", "sierra leone"], ["national", "england"], ["national", "venezuela"], ["national", "palestine"], ["national", "india"], ["national", "cape verde"], ["j p morgan chase", "america"], ["j p morgan chase", " america"], ["j p morgan chase", " america"], ["j p morgan chase", "india"], ["barclays", "botswana"], ["barclays", "uk"], ["barclays", "britain"], ["barclays", "france france"], ["barclays", "america"], ["barclays", "scotland"], ["barclays", "canada"], ["barclays", "uk "], ["barclays", "england"], ["barclays", "india"], ["european central bank", "japan"], ["european central bank", "england"], ["paypal", "america"], ["paypal", " america"], ["paypal", " america"], ["us airways", "america"]], "negatives": []}
2
+ {"relation_type": "concept:cityalsoknownas", "positives": [["los angeles county", "la"], ["santa fe", "rio"], ["creighton", "omaha"], ["tucson", "la"], ["chilliwack", "columbia"], ["new brunswick", "columbia"], ["empire", "uk001"], ["springfield", "london"], ["augusta", "savannah"], ["boston", "orient"], ["boston", "columbia"], ["powell river", "columbia"], ["burnaby", "columbia"], ["bombay", "mumbai"], ["philly", "philadelphia"], ["baltimore", "newton"], ["waterloo", "austin"], ["darlington", "san diego"], ["hawaii", "columbia"], ["leningrad", "petersburg"], ["harlem", "central001"], ["harare", "salisbury"], ["santa cruz", "tenerife"], ["santa cruz", "columbia"], ["santa cruz", "nogales"], ["new york", "hudson"], ["new york", "jackson"], ["new york", "hamilton"], ["new york", "dc"], ["new york", "d c "], ["hong kong", "canton"], ["hong kong", "columbia"], ["enderby", "columbia"], ["savannah", "augusta"], ["varanasi", "kashi"], ["la crosse", "mississippi"], ["kelowna", "columbia"], ["hanoi", "saigon"], ["hanoi", "hue"], ["hanoi", "ho chi minh city"], ["comox valley", "columbia"], ["batavia", "jakarta"], ["mexico city", "columbia"], ["kinshasa", "leopoldville"], ["ireland", "land"], ["ireland", "columbia"], ["toronto", "columbia"], ["benton", "columbia"], ["san francisco", "pacific"], ["san francisco", "columbia"], ["newton", "baltimore"], ["pittsburgh", "ohio"], ["whitehorse", "columbia"], ["auckland", "columbia"], ["canton", "hong kong"], ["canton", "guangzhou"], ["porto", "oporto"], ["greenland", "columbia"], ["cambridge", "columbia"], ["warsaw", "warszawa"], ["santa barbara", "la"], ["calgary", "columbia"], ["winnipeg", "columbia"], ["nogales", "santa cruz"], ["nanaimo", "columbia"], ["new orleans", "xavier"], ["new orleans", "mississippi"], ["pearl", "jackson"], ["quebec", "columbia"], ["queens", "jackson"], ["patna", "pataliputra"], ["paris", "detroit"], ["paris", "bucharest"], ["st paul", "mississippi"], ["bilbao", "barakaldo"], ["mississippi", "baton rouge"], ["mississippi", "la crosse"], ["mississippi", "new orleans"], ["mississippi", "chicago south"], ["mississippi", "sharm el sheikh"], ["mississippi", "helena"], ["mississippi", "saint louis"], ["mississippi", "st paul"], ["central001", "nyc "], ["central001", "harlem"], ["central001", "nyc"], ["kingstown", "dun laoghaire"], ["rio vista", "sacramento"], ["omaha", "creighton"], ["kamloops", "columbia"], ["warszawa", "warsaw"], ["prospect", "brooklyn"], ["baton rouge", "mississippi"], ["uk001", "empire"], ["uk001", "columbia"], ["surrey", "columbia"], ["arkansas", "buena vista"], ["arkansas", "cache"], ["summit", "redwood city"], ["orient", "boston"], ["peking", "beijing"], ["houston", "harvard"], ["orense", "ourense"], ["forest", "portland"], ["las vegas", "columbia"], ["leopoldville", "kinshasa"], ["college", "columbia"], ["portland", "forest"], ["portland", "columbia"], ["portland", "arlington"], ["saskatchewan", "columbia"], ["brooklyn", "prospect"], ["santa clara", "los angeles ca"], ["mount pleasant", "dc"], ["georgetown", "dc"], ["georgetown", "washington d c "], ["georgetown", "d c "], ["georgetown", "northwest washington"], ["saint louis", "d c "], ["saint louis", "mississippi"], ["harvard", "houston"], ["xavier", "new orleans"], ["sacramento", "rio vista"], ["bucharest", "paris"], ["washington d c ", "howard"], ["washington d c ", "columbia"], ["washington d c ", "d c "], ["washington d c ", "georgetown"], ["louisville", "ohio"], ["st augustine", "saint augustine"], ["peace river", "columbia"], ["redwood city", "oakland"], ["redwood city", "summit"], ["northwest territories001", "columbia"], ["milan", "rho"], ["howard", "washington d c "], ["howard", "dc"], ["howard", "d c "], ["howard", "northwest washington"], ["durham", "columbia"], ["dc", "georgetown"], ["dc", "gw"], ["dc", "columbia"], ["dc", "mount pleasant"], ["dc", "howard"], ["dc", "new york"], ["dc", "crystal"], ["dc", "salt lake"], ["la", "l a "], ["la", "london"], ["la", "tucson"], ["la", "los angeles county"], ["la", "san diego"], ["la", "beverly hills"], ["la", "santa barbara"], ["la", "los angeles ca"], ["gw", "dc"], ["constantinople", "istanbul"], ["oporto", "porto"], ["duncan", "columbia"], ["salt lake", "dc"], ["coastal", "columbia"], ["jackson", "new york"], ["jackson", "pearl"], ["jackson", "queens"], ["los angeles ca", "la"], ["los angeles ca", "l a "], ["los angeles ca", "columbia"], ["los angeles ca", "santa clara"], ["saigon", "hanoi"], ["saigon", "ho chi minh city"], ["rome", "roma"], ["roma", "rome"], ["ohio", "columbia"], ["ohio", "pittsburgh"], ["ohio", "louisville"], ["north charleston", "union"], ["torino", "turin"], ["cape town", "columbia"], ["buena vista", "arkansas"], ["san diego", "logan"], ["san diego", "darlington"], ["san diego", "la"], ["nyc ", "d c "], ["nyc ", "central001"], ["l a ", "la"], ["l a ", "los angeles ca"], ["land", "tasmania"], ["land", "ireland"], ["tenerife", "santa cruz"], ["logan", "san diego"], ["napoli", "naples"], ["john", "columbia"], ["st petersburg", "petersburg"], ["revelstoke", "columbia"], ["columbia", "washington d c "], ["columbia", "san francisco"], ["columbia", "kelowna"], ["columbia", "spokane"], ["columbia", "saskatchewan"], ["columbia", "ohio"], ["columbia", "windsor"], ["columbia", "cambridge"], ["columbia", "whitehorse"], ["columbia", "coastal"], ["columbia", "kansas"], ["columbia", "crofton"], ["columbia", "dc"], ["columbia", "duncan"], ["columbia", "chicago south"], ["columbia", "austin"], ["columbia", "plymouth"], ["columbia", "durham"], ["columbia", "enderby"], ["columbia", "revelstoke"], ["columbia", "oxford"], ["columbia", "kamloops"], ["columbia", "nanaimo"], ["columbia", "manitoba"], ["columbia", "spa"], ["columbia", "burnaby"], ["columbia", "peace river"], ["columbia", "hong kong"], ["columbia", "powell river"], ["columbia", "arlington"], ["columbia", "quebec"], ["columbia", "baja california sur"], ["columbia", "tasmania"], ["columbia", "merritt"], ["columbia", "cape town"], ["columbia", "mexico city"], ["columbia", "boston"], ["columbia", "auckland"], ["columbia", "surrey"], ["columbia", "clearwater"], ["columbia", "chilliwack"], ["columbia", "abbotsford"], ["columbia", "new brunswick"], ["columbia", "victoria"], ["columbia", "calgary"], ["columbia", "college"], ["columbia", "arts"], ["columbia", "santa cruz"], ["columbia", "ireland"], ["columbia", "john"], ["columbia", "hawaii"], ["columbia", "toronto"], ["columbia", "north vancouver"], ["columbia", "prince george"], ["columbia", "new westminster"], ["columbia", "district"], ["columbia", "d c "], ["columbia", "benton"], ["columbia", "las vegas"], ["columbia", "greenland"], ["columbia", "sidney"], ["columbia", "prince edward island"], ["columbia", "northwest territories001"], ["columbia", "comox valley"], ["columbia", "portland"], ["columbia", "uk001"], ["columbia", "winnipeg"], ["columbia", "queensland"], ["columbia", "castlegar"], ["columbia", "los angeles ca"], ["columbia", "northwest washington"], ["d c ", "washington d c "], ["d c ", "georgetown"], ["d c ", "howard"], ["d c ", "saint louis"], ["d c ", "new york"], ["d c ", "columbia"], ["d c ", "nyc "], ["d c ", "albany"], ["union", "north charleston"], ["guangzhou", "canton"], ["rio", "santa fe"], ["rho", "milan"], ["spa", "columbia"], ["nyc", "central001"], ["edo", "tokyo"], ["hue", "hanoi"], ["plymouth", "columbia"], ["beijing", "peking"], ["arts", "columbia"], ["new westminster", "columbia"], ["cache", "arkansas"], ["prince george", "columbia"], ["helena", "mississippi"], ["sharm el sheikh", "mississippi"], ["manitoba", "columbia"], ["ourense", "orense"], ["windsor", "columbia"], ["oakland", "redwood city"], ["crystal", "dc"], ["dun laoghaire", "kingstown"], ["arlington", "columbia"], ["arlington", "portland"], ["chicago south", "columbia"], ["chicago south", "mississippi"], ["oxford", "columbia"], ["turin", "torino"], ["jakarta", "batavia"], ["tokyo", "edo"], ["philadelphia", "philly"], ["philadelphia", "amman"], ["clearwater", "columbia"], ["bangkok", "ho chi minh city"], ["saint augustine", "st augustine"], ["istanbul", "constantinople"], ["austin", "waterloo"], ["austin", "columbia"], ["kashi", "varanasi"], ["pacific", "san francisco"], ["naples", "napoli"], ["northwest washington", "howard"], ["northwest washington", "georgetown"], ["northwest washington", "columbia"], ["detroit", "paris"], ["victoria", "columbia"], ["albany", "hudson"], ["albany", "d c "], ["crofton", "columbia"], ["amman", "philadelphia"], ["mumbai", "bombay"], ["merritt", "columbia"], ["spokane", "columbia"], ["spokane", "gonzaga"], ["district", "columbia"], ["kansas", "columbia"], ["baja california sur", "columbia"], ["petersburg", "leningrad"], ["petersburg", "st petersburg"], ["sidney", "columbia"], ["salisbury", "harare"], ["castlegar", "columbia"], ["london", "la"], ["london", "springfield"], ["gonzaga", "spokane"], ["hamilton", "new york"], ["queensland", "columbia"], ["abbotsford", "columbia"], ["north vancouver", "columbia"], ["prince edward island", "columbia"], ["tasmania", "land"], ["tasmania", "columbia"], ["barakaldo", "bilbao"], ["hudson", "new york"], ["hudson", "albany"], ["elizabeth", "norfolk"], ["norfolk", "elizabeth"], ["ho chi minh city", "hanoi"], ["ho chi minh city", "saigon"], ["ho chi minh city", "bangkok"], ["pataliputra", "patna"], ["beverly hills", "la"]], "negatives": []}
3
+ {"relation_type": "concept:parentofperson", "positives": [["noah", "shem"], ["enosh", "cainan"], ["dionysos", "hermes"], ["center", "jesus"], ["heavenly father", "jesus christ"], ["heavenly father", "lord"], ["heavenly father", "jesus"], ["heavenly father", "son"], ["cain", "enoch"], ["mother001", "jesus christ"], ["mother001", "lt joseph r hunt"], ["mother001", "holy trinity"], ["mother001", "child"], ["mother001", "lord"], ["mother001", "blessed sacrament"], ["mother001", "jesus"], ["mother001", "master"], ["mother001", "lord jesus"], ["mother001", "son"], ["mother001", "cross"], ["mother001", "mary"], ["jesse", "david"], ["image", "jesus"], ["true god and true man", "jesus"], ["uranus", "saturn"], ["blessed virgin mary", "jesus"], ["true lord", "jesus"], ["mahalaleel", "jared001"], ["arphaxad", "cainan"], ["guide", "jesus"], ["author", "jesus"], ["great", "jesus"], ["may god", "jesus christ"], ["faith", "jesus"], ["one person", "jesus"], ["laban", "jacob"], ["laban", "leah"], ["the virgin", "jesus"], ["true god", "jesus christ"], ["true god", "jesus"], ["mother mary", "jesus christ"], ["mother mary", "jesus"], ["mother mary", "lord jesus"], ["peter", "john002"], ["peter", "john the baptist"], ["news", "jesus"], ["yahweh", "yahshua"], ["yahweh", "jesus"], ["master", "christ jesus"], ["life", "jesus christ"], ["life", "christ jesus"], ["life", "jesus"], ["life", "lord jesus"], ["life", "eden"], ["lion", "jesus"], ["lord", " jesus"], ["lord", "christ jesus"], ["lord", "yeshua"], ["lord", "real jesus"], ["lord", "jesus"], ["lord", "eden"], ["miley cyrus", "billy ray cyrus"], ["pandu", "arjuna"], ["hero", "jesus"], ["christian", "jesus christ"], ["christian", "jesus"], ["pattern", "jesus"], ["adam", "seth"], ["adam", "noah"], ["adam", "garden of eden"], ["adam", "garden"], ["adam", "eden"], ["adam", "cain"], ["eve001", "man"], ["eve001", "garden of eden"], ["eve001", "sin"], ["eve001", "creation"], ["eve001", "garden"], ["eve001", "eden"], ["eve001", "life"], ["eve001", "cain"], ["friend", "jesus"], ["father", "jesus christ"], ["father", "yeshua"], ["father", "saviour"], ["father", "christ jesus"], ["father", "yahshua"], ["father", "lord"], ["father", "master"], ["father", "lord jesus"], ["father", "jesus"], ["father", "son"], ["father", "savior"], ["father", "mary"], ["terah", "abram"], ["terah", "abraham"], ["shepherd", "lord jesus"], ["shepherd", "jesus"], ["hannah", "samuel001"], ["wife eve", "eden"], ["creator", "jesus christ"], ["creator", "lord jesus"], ["creator", "jesus"], ["creator", "son"], ["arjuna", "kunti"], ["abraham", "isaac"], ["abraham", "noah"], ["abraham", "ishmael"], ["abraham", "jesus"], ["abraham", "jacob"], ["abraham", "isaac "], ["begotten son", "lord jesus"], ["begotten son", "jesus"], ["serug", "nahor"], ["vespasian", "titus"], ["jacob", "isaac"], ["jacob", "laban"], ["jacob", "lt joseph r hunt"], ["jacob", "lord"], ["holy ghost", "jesus christ"], ["holy ghost", "lord"], ["holy ghost", "lord jesus"], ["holy ghost", "jesus"], ["holy ghost", "son"], ["salah", "eber"], ["sacrifice", "jesus"], ["buddha001", "jesus"], ["isaac", "jacob"], ["michael", "jesus"], ["blessed virgin", "new orleans saints"], ["blessed virgin", "jesus"], ["mary", "saviour"], ["mary", "jesus christ"], ["mary", "infant"], ["mary", "new orleans saints"], ["mary", "child"], ["mary", "lord"], ["mary", "jesus"], ["mary", "baby"], ["mary", "lord jesus"], ["mary", "savior"], ["mary", "father"], ["mary", "james003"], ["christians", "jesus"], ["david", "solomon"], ["husband", "jesus"], ["virgin", "jesus christ"], ["virgin", "christ child"], ["virgin", "angels"], ["virgin", "new orleans saints"], ["virgin", "lord"], ["virgin", "jesus"], ["virgin", "lord jesus"], ["blessed mother", "jesus"], ["lamech", "noah five hundred"], ["holy mother", "jesus"], ["jared001", "enoch"], ["jared001", "enoch eight hundred years"], ["god the father", "jesus christ"], ["god the father", "jesus"], ["god the father", "son"], ["cross", "jesus christ"], ["christopher001", "jesus"], ["shepard", "jesus"], ["julia roberts", "henry daniel moder"], ["julia roberts", "phinneaus walter moder"], ["son", "yeshua"], ["son", "jesus"], ["son", "mary"], ["jew", "jesus"], ["child", "jesus"], ["king", "son jesus"], ["example", "jesus"], ["king david", "jesus"], ["grace", "jesus christ"], ["grace", "jesus"], ["saviour", "jesus"], ["saviour", "father"], ["second person", "jesus"], ["john the baptist", "lord jesus"], ["catholic", "jesus"], ["savior", "christ jesus"], ["savior", "yeshua"], ["savior", " jesus"], ["savior", "accept jesus christ"], ["savior", "yahshua"], ["savior", "biblical jesus"], ["savior", "son jesus"], ["savior", "begotten son"], ["savior", "lord jesus"], ["savior", "jesus"], ["savior", "father"], ["savior", "god jesus"], ["savior", "jesuschrist"], ["saturn", "uranus"], ["billy ray cyrus", "miley cyrus"], ["man", "jesus christ"], ["man", "jesus"], ["man", "lord jesus"], ["man", "eden"], ["hermes", "dionysos"], ["rachel", "joseph"], ["tamar", "perez"], ["israel", "jesus christ"], ["israel", "yeshua"], ["zechariah", "john the baptist"], ["alpha", "jesus"], ["virgin mary", "jesus christ"], ["virgin mary", "lord"], ["virgin mary", "jesus"], ["virgin mary", "son"], ["zeus", "apollo"], ["sun", "jesus"], ["shem", "arphaxad"], ["st joseph", "jesus"], ["jesus", "blessed mother"], ["jesus", "anthony001"]], "negatives": []}
4
+ {"relation_type": "concept:politicalgroupofpoliticianus", "positives": [["u s house", "john boehner"], ["u s house", "nancy pelosi"], ["u s house", "tom delay"], ["assembly", "bills"], ["assembly", "bill"], ["senate", "bob dole"], ["senate", "arlen specter"], ["senate", "tom daschle"], ["senate", "nancy pelosi"], ["senate", "mitch mcconnell"], ["senate", "harry reid"], ["senate", "lyndon b johnson"], ["house", "calvin coolidge"], ["house", "barack obama"], ["house", "herbert hoover"], ["house", "jimmy carter"], ["house", "palin"], ["house", "democrat bill clinton"], ["house", "grover cleveland"], ["house", "mark green"], ["house", "nancy pelosi"], ["house", "bush"], ["house", "harry truman"], ["house", "john kerry"], ["house", "dwight eisenhower"], ["house", "president elect barack obama"], ["house", "mitt romney"], ["house", "bill"], ["house", "gephardt"], ["house", "democrat barack obama"], ["house", "george mcgovern"], ["house", "rahm emanuel"], ["house", "president george w bush"], ["house", "john boehner"], ["house", "president bush"], ["house", "john conyers"], ["house", "bill clinton"], ["house", "santorum"], ["house", "gingrich"], ["house", "cynthia mckinney"], ["house", "hillary"], ["house", "richard nixon"], ["house", "george w bush"], ["house", "karl rove"], ["house", "george w "], ["house", "dick armey"], ["house", "dick gephardt"], ["house", "billy tauzin"], ["house", "john murtha"], ["house", "michelle obama"], ["house", "john a boehner"], ["house", "john kasich"], ["house", "george h w bush"], ["house", "tom delay"], ["house", "andrew jackson"], ["house", "sherrod brown"], ["house", "sen barack obama"], ["house", "newt gingrich"], ["house", "gore"], ["house", "senator obama"], ["house", "al gore"], ["house", "president obama"], ["house", "time bill clinton"], ["house", "george w bush"], ["house", "gerald ford"], ["house", "pawlenty"], ["house", "president george bush"], ["house", "john mccain"], ["house", "laura bush"], ["house", "ronald reagan"], ["house", "john edwards"], ["u s senate", "bill"], ["u s senate", "john mccain"], ["u s senate", "harry reid"], ["u s house of representatives", "nancy pelosi"], ["u s house of representatives", "barney frank"]], "negatives": []}
nell_relational_similarity.py ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import datasets
3
+
4
+ logger = datasets.logging.get_logger(__name__)
5
+ _DESCRIPTION = """NELL-one for relational similarity"""
6
+ _NAME = "nell_relational_similarity"
7
+ _VERSION = "0.0.0"
8
+ _CITATION = """@inproceedings{xiong-etal-2018-one,
9
+ title = "One-Shot Relational Learning for Knowledge Graphs",
10
+ author = "Xiong, Wenhan and
11
+ Yu, Mo and
12
+ Chang, Shiyu and
13
+ Guo, Xiaoxiao and
14
+ Wang, William Yang",
15
+ booktitle = "Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing",
16
+ month = oct # "-" # nov,
17
+ year = "2018",
18
+ address = "Brussels, Belgium",
19
+ publisher = "Association for Computational Linguistics",
20
+ url = "https://aclanthology.org/D18-1223",
21
+ doi = "10.18653/v1/D18-1223",
22
+ pages = "1980--1990",
23
+ abstract = "Knowledge graphs (KG) are the key components of various natural language processing applications. To further expand KGs{'} coverage, previous studies on knowledge graph completion usually require a large number of positive examples for each relation. However, we observe long-tail relations are actually more common in KGs and those newly added relations often do not have many known triples for training. In this work, we aim at predicting new facts under a challenging setting where only one training instance is available. We propose a one-shot relational learning framework, which utilizes the knowledge distilled by embedding models and learns a matching metric by considering both the learned embeddings and one-hop graph structures. Empirically, our model yields considerable performance improvements over existing embedding models, and also eliminates the need of re-training the embedding models when dealing with newly added relations.",
24
+ }
25
+ """
26
+
27
+ _HOME_PAGE = "https://github.com/asahi417/relbert"
28
+ _URL = f'https://huggingface.co/datasets/relbert/{_NAME}/raw/main/dataset'
29
+ _URLS = {
30
+ str(datasets.Split.TRAIN): [f'{_URL}/train.jsonl'],
31
+ str(datasets.Split.VALIDATION): [f'{_URL}/valid.jsonl'],
32
+ str(datasets.Split.TEST): [f'{_URL}/test.jsonl'],
33
+ }
34
+
35
+
36
+ class NELLNetRelationalSimilarityConfig(datasets.BuilderConfig):
37
+ """BuilderConfig"""
38
+
39
+ def __init__(self, **kwargs):
40
+ """BuilderConfig.
41
+ Args:
42
+ **kwargs: keyword arguments forwarded to super.
43
+ """
44
+ super(NELLNetRelationalSimilarityConfig, self).__init__(**kwargs)
45
+
46
+
47
+ class NELLNetRelationalSimilarity(datasets.GeneratorBasedBuilder):
48
+ """Dataset."""
49
+
50
+ BUILDER_CONFIGS = [
51
+ NELLNetRelationalSimilarityConfig(name=_NAME, version=datasets.Version(_VERSION), description=_DESCRIPTION),
52
+ ]
53
+
54
+ def _split_generators(self, dl_manager):
55
+ downloaded_file = dl_manager.download_and_extract(_URLS)
56
+ return [datasets.SplitGenerator(name=i, gen_kwargs={"filepaths": downloaded_file[i]}) for i in _URLS.keys()]
57
+
58
+ def _generate_examples(self, filepaths):
59
+ _key = 0
60
+ for filepath in filepaths:
61
+ logger.info(f"generating examples from = {filepath}")
62
+ with open(filepath, encoding="utf-8") as f:
63
+ _list = [i for i in f.read().split('\n') if len(i) > 0]
64
+ for i in _list:
65
+ data = json.loads(i)
66
+ yield _key, data
67
+ _key += 1
68
+
69
+ def _info(self):
70
+ return datasets.DatasetInfo(
71
+ description=_DESCRIPTION,
72
+ features=datasets.Features(
73
+ {
74
+ "relation_type": datasets.Value("string"),
75
+ "positives": datasets.Sequence(datasets.Sequence(datasets.Value("string"))),
76
+ "negatives": datasets.Sequence(datasets.Sequence(datasets.Value("string"))),
77
+ }
78
+ ),
79
+ supervised_keys=None,
80
+ homepage=_HOME_PAGE,
81
+ citation=_CITATION,
82
+ )
process.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import os
3
+ from datasets import load_dataset
4
+
5
+
6
+ def process(split, output):
7
+ data = load_dataset("relbert/nell", split=split)
8
+ df = data.to_pandas()
9
+ df['pairs'] = [[i.split(":")[-1].replace("_", " "), j.split(":")[-1].replace("_", " ")] for i, j in zip(df['head'], df['tail'])]
10
+ rel_sim_data = [{
11
+ "relation_type": pred,
12
+ "positives": g['pairs'].values.tolist(),
13
+ "negatives": []
14
+ } for pred, g in df.groupby("relation") if len(g) >= 2]
15
+ with open(output, "w") as f_writer:
16
+ f_writer.write('\n'.join([json.dumps(i) for i in rel_sim_data]))
17
+
18
+
19
+ if __name__ == '__main__':
20
+ os.makedirs("data", exist_ok=True)
21
+ for s in ['train', 'validation', 'test']:
22
+ process(split=s, output=f"data/{s}.jsonl")