Dataset Viewer
Auto-converted to Parquet Duplicate
head_to_tail
stringclasses
7 values
tail_to_head
stringclasses
7 values
tokens
listlengths
7
36
tail
listlengths
3
3
head
listlengths
3
3
P25
P40
[ "He", "was", "a", "son", "of", "Margrethe", "Rode", ",", "and", "a", "brother", "of", "writer", "Helge", "Rode", "." ]
[ "helge rode", "Q2703410", [ [ 13, 14 ] ] ]
[ "margrethe rode", "Q13534333", [ [ 5, 6 ] ] ]
P40
P22
[ "Construction", "of", "the", "Condado", "Vanderbilt", "began", "in", "1917", "by", "Frederick", "William", "Vanderbilt", ",", "the", "son", "of", "William", "Henry", "Vanderbilt", "." ]
[ "frederick william vanderbilt", "Q2174105", [ [ 9, 10, 11 ] ] ]
[ "william henry vanderbilt", "Q578647", [ [ 16, 17, 18 ] ] ]
P22
P40
[ "Pål", "Erik", "Ulvestad", "is", "the", "brother", "of", "the", "Burnley", "player", "Fredrik", "and", "Aalesund", "player", "Dan", "Peter", "Ulvestad", ",", "and", "son", "of", "the", "former", "footballer", "Rune", "Ulvestad", "." ]
[ "pål erik ulvestad", "Q919662", [ [ 0, 1, 2 ] ] ]
[ "rune ulvestad", "Q3376039", [ [ 24, 25 ] ] ]
P40
P22
[ "He", "was", "the", "father", "of", "the", "Catholic", "politician", "Denys", "Cochin", "and", "the", "grandfather", "of", "the", "historian", "Augustin", "Cochin", "." ]
[ "augustin cochin", "Q568626", [ [ 16, 17 ] ] ]
[ "denys cochin", "Q3023401", [ [ 8, 9 ] ] ]
P40
P22
[ "In", "his", "first", "game", ",", "he", "had", "played", "alongside", "the", "brothers", "Tom", "and", "Ken", "Graveney", ";", "in", "his", "last", "game", "he", "played", "alongside", "Ken", "'s", "son", "David", "." ]
[ "david", "Q5234328", [ [ 26 ] ] ]
[ "ken graveney", "Q6387701", [ [ 13, 14 ] ] ]
P40
P22
[ "There", "is", "much", "more", "information", "for", "the", "life", "of", "Acestes", "than", "for", "his", "'", "father", "'", ",", "Crinisus", "." ]
[ "acestes", "Q404275", [ [ 9 ] ] ]
[ "crinisus", "Q631865", [ [ 17 ] ] ]
P40
P22
[ "Ziad", "Rahbani", "is", "the", "son", "of", "the", "Lebanese", "famous", "composer", "Assi", "Rahbani", "and", "Nouhad", "Haddad", ",", "the", "famous", "Lebanese", "female", "singer", "known", "as", "Fairuz", "." ]
[ "ziad rahbani", "Q3575465", [ [ 0, 1 ] ] ]
[ "assi rahbani", "Q2868332", [ [ 10, 11 ] ] ]
P25
P40
[ "Mukesh", "is", "married", "to", "Nita", "Ambani", "and", "has", "two", "sons", ",", "Anant", "and", "Akash", ",", "and", "a", "daughter", ",", "Isha", "." ]
[ "akash", "Q23772157", [ [ 13 ] ] ]
[ "nita ambani", "Q7041178", [ [ 4, 5 ] ] ]
P40
P22
[ "Justinian", "II", "was", "eldest", "son", "of", "Emperor", "Constantine", "IV", "and", "Anastasia", ".", "Kazhdan", ",", "pg", "." ]
[ "justinian ii", "Q42021", [ [ 0, 1 ] ] ]
[ "constantine iv", "Q41605", [ [ 7, 8 ] ] ]
P40
P22
[ "Jim", "Henson", "and", "his", "son", "Brian", "were", "impressed", "enough", "with", "Barron", "'s", "style", "to", "offer", "him", "a", "job", "directing", "the", "pilot", "episode", "of", "\"", "The", "Storyteller", "\"", "." ]
[ "brian", "Q2284236", [ [ 5 ] ] ]
[ "jim henson", "Q191037", [ [ 0, 1 ] ] ]
P25
P40
[ "During", "an", "illness", "in", "December", "1835", ",", "his", "daughter", "Grace", "sent", "a", "ship", "to", "collect", "him", "and", "his", "wife", "Kaōanāeha", "." ]
[ "grace", "Q5591238", [ [ 9 ] ] ]
[ "kaōanāeha", "Q6381943", [ [ 19 ] ] ]
P40
P25
[ "His", "mother", "was", "Willa", "of", "Tuscany", ",", "his", "elder", "brother", "was", "Adalbert", "II", ",", "co", "-", "king", "with", "their", "father", ",", "and", "their", "younger", "brother", "was", "Conrad", "." ]
[ "conrad", "Q2609173", [ [ 26 ] ] ]
[ "willa of tuscany", "Q2054995", [ [ 3, 4, 5 ] ] ]
P40
P25
[ "April", "Margera", "is", "married", "to", "Phil", "Margera", "and", "together", "they", "are", "the", "parents", "of", "skateboarder", "and", "\"", "Jackass", "\"", "star", ",", "Bam", "Margera", "and", "CKY", "drummer", "Jess", "Margera", "." ]
[ "jess margera", "Q609196", [ [ 26, 27 ] ] ]
[ "april margera", "Q3499119", [ [ 0, 1 ] ] ]
P40
P22
[ "The", "conflict", "was", "a", "succession", "crisis", "precipitated", "by", "the", "accidental", "death", "of", "William", "Adelin", ",", "the", "only", "legitimate", "son", "of", "Henry", "I", ",", "in", "1120", "." ]
[ "william adelin", "Q362113", [ [ 12, 13 ] ] ]
[ "henry i", "Q101384", [ [ 20, 21 ] ] ]
P40
P22
[ "She", "married", "Ratikant", "Mohapatra", ",", "son", "of", "Guru", "Kelucharan", "Mohapatra", "." ]
[ "ratikant mohapatra", "Q5001245", [ [ 2, 3 ] ] ]
[ "kelucharan mohapatra", "Q3503124", [ [ 8, 9 ] ] ]
P40
P25
[ "His", "wife", "Komal", ",", "Paras", "and", "daughter", "Prerana", "were", "in", "the", "room", "at", "the", "royal", "palace", "during", "the", "massacre", "." ]
[ "prerana", "Q4202325", [ [ 7 ] ] ]
[ "komal", "Q1134149", [ [ 2 ] ] ]
P40
P22
[ "Maxwell", "is", "the", "son", "of", "Elisabeth", "(", "née", "Meynard", ")", "and", "Robert", "Maxwell", ",", "and", "brother", "of", "Ian", "Maxwell", "." ]
[ "ian maxwell", "Q5982230", [ [ 17, 18 ] ] ]
[ "robert maxwell", "Q333468", [ [ 11, 12 ] ] ]
P40
P22
[ "His", "uncle", "was", "polymath", "Lionel", "Penrose", ",", "whose", "children", "include", "mathematician", "Oliver", "Penrose", ",", "polymath", "Sir", "Roger", "Penrose", ",", "chess", "grandmaster", "Jonathan", "Penrose", ",", "and", "geneticist", "Shirley", ...
[ "oliver penrose", "Q339385", [ [ 11, 12 ] ] ]
[ "lionel penrose", "Q339375", [ [ 4, 5 ] ] ]
P40
P22
[ "\"", "Astronomica", "2.9", "\"", "If", "Belus", "was", "his", "father", ",", "he", "had", "Anchinoe", ",", "daughter", "of", "Nilus", "as", "mother", ",", "and", "Danaus", ",", "Aegyptus", "and", "Phineus", "as", "brothers", "." ]
[ "anchinoe", "Q3615214", [ [ 12 ] ] ]
[ "nilus", "Q685243", [ [ 16 ] ] ]
P40
P22
[ "The", "facility", "is", "named", "after", "Sabiha", "Gökçen", ",", "the", "first", "female", "combat", "pilot", "in", "Turkey", "and", "adoptive", "daughter", "of", "Mustafa", "Kemal", "Atatürk", ",", "the", "founding", "President", "of", "the", "Republic", ...
[ "sabiha gökçen", "Q459104", [ [ 5, 6 ] ] ]
[ "mustafa kemal atatürk", "Q5152", [ [ 19, 20, 21 ] ] ]
P40
P22
[ "They", "split", "in", "1932", "when", "Adele", "married", "her", "first", "husband", ",", "Lord", "Charles", "Cavendish", ",", "second", "son", "of", "the", "9th", "Duke", "of", "Devonshire", "." ]
[ "lord charles cavendish", "Q6679036", [ [ 11, 12, 13 ] ] ]
[ "9th duke of devonshire", "Q2411883", [ [ 19, 20, 21, 22 ] ] ]
P25
P40
[ "Johnny", "and", "June", "'s", "son", "John", "Carter", "Cash", "is", "Rosanne", "'s", "half", "brother", "." ]
[ "john carter cash", "Q947101", [ [ 5, 6, 7 ] ] ]
[ "june", "Q233253", [ [ 2 ] ] ]
P40
P22
[ "He", "was", "the", "eldest", "son", "of", "Duke", "Janusz", "I", "of", "Warsaw", "and", "Danutė", "of", "Lithuania", ",", "a", "daughter", "of", "Kęstutis", "." ]
[ "danutė of lithuania", "Q2083692", [ [ 12, 13, 14 ] ] ]
[ "kęstutis", "Q355869", [ [ 19 ] ] ]
P40
P22
[ "She", "is", "the", "wife", "of", "Bollywood", "actor", ",", "Jackie", "Shroff", "and", "mother", "of", "Tiger", "Shroff", "and", "Krishna", "Shroff", "." ]
[ "tiger shroff", "Q16202406", [ [ 13, 14 ] ] ]
[ "jackie shroff", "Q560178", [ [ 8, 9 ] ] ]
P40
P22
[ "In", "the", "subsequent", "peace", "negotiations", ",", "Theoderic", "gave", "his", "daughter", "Marguerite", "in", "marriage", "to", "Baldwin", "IV", "'s", "son", ",", "the", "future", "Baldwin", "V", ",", "Count", "of", "Hainaut", "." ]
[ "baldwin v, count of hainaut", "Q469598", [ [ 21, 22, 23, 24, 25, 26 ] ] ]
[ "baldwin iv", "Q703389", [ [ 14, 15 ] ] ]
P40
P22
[ "He", "was", "active", "during", "the", "reign", "of", "Boris", "I", "(", "852–889", ")", "and", "his", "son", "Simeon", "I", "(", "893–927", ")", "." ]
[ "simeon i", "Q192264", [ [ 15, 16 ] ] ]
[ "boris i", "Q311057", [ [ 7, 8 ] ] ]
P40
P25
[ "Lance", "later", "appears", "in", "The", "Titans", "as", "a", "friend", "of", "Jesse", "Quick", "'s", "mother", ",", "the", "aged", "heroine", "Liberty", "Belle", "." ]
[ "jesse quick", "Q1619728", [ [ 10, 11 ] ] ]
[ "liberty belle", "Q3831740", [ [ 18, 19 ] ] ]
P40
P25
[ "David", "and", "Ann", "Richards", "had", "four", "children", "Cecile", ",", "Daniel", ",", "Clark", ",", "and", "Ellen", "." ]
[ "cecile", "Q5056393", [ [ 7 ] ] ]
[ "ann richards", "Q237918", [ [ 2, 3 ] ] ]
P22
P40
[ "He", "yearned", "the", "company", "of", "children", "of", "his", "own", "age", "and", "frequently", "played", "with", "Emperor", "Alexander", "III", "’s", "youngest", "children", ",", "Michael", "and", "Olga", "." ]
[ "michael", "Q154444", [ [ 21 ] ] ]
[ "emperor alexander iii", "Q120180", [ [ 14, 15, 16 ] ] ]
P40
P22
[ "He", "was", "the", "son", "of", "Flemish", "painter", "Jan", "Massys", ",", "Matsys", ",", "or", "Metsys", "and", "the", "grandson", "and", "namesake", "of", "Quentin", "Massys", "or", "Metsys", "." ]
[ "jan massys, matsys, or metsys", "Q431137", [ [ 7, 8, 9, 10, 11, 12, 13 ] ] ]
[ "quentin massys or metsys", "Q314275", [ [ 20, 21, 22, 23 ] ] ]
P25
P40
[ "Maximian", "had", "two", "children", "with", "his", "Syrian", "wife", ",", "Eutropia", ":", "Maxentius", "and", "Fausta", "." ]
[ "maxentius", "Q182070", [ [ 11 ] ] ]
[ "eutropia", "Q45530", [ [ 9 ] ] ]
P40
P22
[ "נָחֹור", "\"", "Nāḥōr", "\"", ")", "is", "listed", "as", "the", "son", "of", "Terah", ",", "amongst", "two", "other", "brothers", ",", "Abram", "and", "Haran", "(", ")", "." ]
[ "abram", "Q9181", [ [ 18 ] ] ]
[ "terah", "Q586541", [ [ 11 ] ] ]
P22
P40
[ "He", "came", "from", "a", "family", "of", "artists", "that", "included", "his", "father", "Antonín", ",", "uncle", "Vaclav", ",", "brother", "Josef", "and", "sister", "Amalie", "." ]
[ "amalie", "Q4739420", [ [ 20 ] ] ]
[ "antonín", "Q608589", [ [ 11 ] ] ]
P40
P22
[ "The", "Prussian", "king", "Frederick", "William", "I", "ceded", "the", "estates", "to", "the", "Potsdam", "orphanage", ";", "his", "son", "King", "Frederick", "the", "Great", "had", "to", "pay", "a", "significant", "compensation", "before", "building", "Sanss...
[ "frederick the great", "Q33550", [ [ 17, 18, 19 ] ] ]
[ "frederick william i", "Q105013", [ [ 3, 4, 5 ] ] ]
P40
P25
[ "When", "Louis", "'s", "sons", "by", "his", "first", "marriage", "to", "Ermengarde", "of", "Hesbaye", "(", "Lothair", ",", "Louis", ",", "and", "Pepin", ")", "rebelled", "in", "830", ",", "Ebbo", "remained", "loyal", "." ]
[ "pepin", "Q333356", [ [ 18 ] ] ]
[ "ermengarde of hesbaye", "Q231827", [ [ 9, 10, 11 ] ] ]
P40
P22
[ "In", "658", ",", "Yazdegerd", "III", "'s", "son", "Peroz", "III", "invaded", "Sistan", "and", "established", "a", "kingdom", "there", ",", "known", "in", "Chinese", "sources", "as", "the", "\"", "Persian", "Area", "Command", "\"", "." ]
[ "peroz iii", "Q1362174", [ [ 7, 8 ] ] ]
[ "yazdegerd iii", "Q208463", [ [ 3, 4 ] ] ]
P22
P40
[ "He", "was", "the", "son", "of", "composer", "Gabriel", "Fauré", ",", "and", "Marie", "Fremiet", "(", "daughter", "of", "sculptor", "Emmanuel", "Frémiet", ")", "." ]
[ "marie fremiet", "Q20011084", [ [ 10, 11 ] ] ]
[ "emmanuel frémiet", "Q499022", [ [ 16, 17 ] ] ]
P40
P25
[ "On", "12", "September", "1835", "when", "Princess", "Victoria", "visited", "Harewood", "House", "in", "Yorkshire", "with", "her", "mother", ",", "the", "Duchess", "of", "Kent", "she", "attended", "the", "local", "church", "service", "." ]
[ "princess victoria", "Q9439", [ [ 5, 6 ] ] ]
[ "duchess of kent", "Q58067", [ [ 17, 18, 19 ] ] ]
P40
P25
[ "Sansa", "Stark", "of", "House", "Stark", "is", "the", "first", "daughter", "and", "second", "child", "of", "Eddard", "and", "Catelyn", "Stark", "." ]
[ "sansa stark", "Q3472490", [ [ 0, 1 ] ] ]
[ "catelyn stark", "Q2941743", [ [ 15, 16 ] ] ]
P22
P40
[ "She", "married", "Lu", "Jing", ",", "who", "was", "born", "to", "Lu", "Kang", "and", "another", "daughter", "of", "Zhang", "Cheng", ";", "both", "Sun", "He", "'s", "daughter", "and", "Lu", "Jing", "therefore", "were", "Zhang", "Cheng", "'s", "maternal",...
[ "lu jing", "Q8193987", [ [ 2, 3 ], [ 24, 25 ] ] ]
[ "lu kang", "Q736690", [ [ 9, 10 ] ] ]
P40
P22
[ "And", "therefore", "he", "married", "his", "son", "with", "Qazi", "'s", "daughter", "Fahmida", "Mirza", "." ]
[ "fahmida mirza", "Q2371076", [ [ 10, 11 ] ] ]
[ "qazi", "Q7267272", [ [ 7 ] ] ]
P40
P22
[ "Longfellow", "met", "Boston", "industrialist", "Nathan", "Appleton", "and", "his", "family", "in", "the", "town", "of", "Thun", ",", "Switzerland", ",", "including", "his", "son", "Thomas", "Gold", "Appleton", "." ]
[ "thomas gold appleton", "Q7790099", [ [ 20, 21, 22 ] ] ]
[ "nathan appleton", "Q553019", [ [ 4, 5 ] ] ]
P40
P22
[ "His", "father", "was", "Prince", "Henry", ",", "Duke", "of", "Gloucester", "(", "1900–1974", ")", ",", "the", "third", "son", "of", "King", "George", "V", "and", "Queen", "Mary", "." ]
[ "prince henry, duke of gloucester", "Q117174", [ [ 3, 4, 5, 6, 7, 8 ] ] ]
[ "king george v", "Q269412", [ [ 17, 18, 19 ] ] ]
P40
P22
[ "In", "1421", "Mehmed", "died", "and", "his", "son", "Murad", "II", "refused", "to", "honour", "his", "father", "'s", "obligations", "to", "the", "Byzantines", "." ]
[ "murad ii", "Q131394", [ [ 7, 8 ] ] ]
[ "mehmed", "Q168769", [ [ 2 ] ] ]
P22
P40
[ "Rader", "won", "the", "Democratic", "primary", "and", "advanced", "to", "the", "general", "election", ",", "where", "he", "faced", "Connie", "Mack", "IV", ",", "the", "Republican", "nominee", "and", "the", "son", "of", "retiring", "United", "States", "Senat...
[ "connie mack iv", "Q973774", [ [ 15, 16, 17 ] ] ]
[ "connie mack iii", "Q436535", [ [ 30, 31, 32 ] ] ]
P22
P40
[ "Josiah", "'s", "younger", "son", "Jehoahaz", "was", "chosen", "to", "succeed", "his", "father", "to", "the", "throne", "." ]
[ "jehoahaz", "Q336832", [ [ 4 ] ] ]
[ "josiah", "Q313228", [ [ 0 ] ] ]
P40
P22
[ "Another", "son", "of", "Ferdinand", "von", "Miller", "was", "Oskar", "von", "Miller", ",", "who", "became", "an", "engineer", "and", "founder", "of", "the", "Deutsches", "Museum", ",", "Munich", "." ]
[ "oskar von miller", "Q76456", [ [ 7, 8, 9 ] ] ]
[ "ferdinand von miller", "Q72477", [ [ 3, 4, 5 ] ] ]
P40
P25
[ "In", "case", "that", "Khufukhaf", "was", "not", "identical", "to", "king", "Khafra", ",", "Henutsen", "was", "Khafra", "'s", "mother", ",", "too", "." ]
[ "khafra", "Q199861", [ [ 9 ], [ 13 ] ] ]
[ "henutsen", "Q122426", [ [ 11 ] ] ]
P22
P40
[ "The", "daughter", "of", "film", "director", "Gordon", "Parry", ",", "she", "was", "married", "to", "theatre", "director", "Peter", "Brook", "from", "1951", "until", "her", "death", ",", "and", "the", "mother", "of", "filmmakers", "Irina", "and", "Simon", ...
[ "irina", "Q3154363", [ [ 27 ] ] ]
[ "peter brook", "Q49760", [ [ 14, 15 ] ] ]
P22
P40
[ "Thado", "Minsaw", "died", "in", "1526", ",", "and", "was", "succeeded", "by", "his", "son", "Bayin", "Htwe", "." ]
[ "bayin htwe", "Q4874539", [ [ 12, 13 ] ] ]
[ "thado minsaw", "Q7709035", [ [ 0, 1 ] ] ]
P40
P22
[ "On", "29", "July", "2017", ",", "Matthews", "'", "husband", "Ross", "Blair", ",", "son", "of", "Andy", "Blair", "and", "brother", "of", "Matty", "Blair", ",", "died", "from", "a", "brain", "tumour", "." ]
[ "matty blair", "Q6791903", [ [ 18, 19 ] ] ]
[ "andy blair", "Q3616532", [ [ 13, 14 ] ] ]
P40
P22
[ "She", "is", "the", "youngest", "daughter", "of", "Tish", "Cyrus", "and", "Billy", "Ray", "Cyrus", "and", "the", "younger", "sister", "of", "Miley", "Cyrus", "and", "Trace", "Cyrus", "." ]
[ "miley cyrus", "Q4235", [ [ 17, 18 ] ] ]
[ "billy ray cyrus", "Q231259", [ [ 9, 10, 11 ] ] ]
P22
P40
[ "It", "was", "the", "summer", "residence", "of", "Prince", "William", "Henry", "Duke", "of", "Gloucester", "and", "Edinburgh", "(", "1743–1805", ")", ",", "fourth", "son", "of", "Frederick", ",", "Prince", "of", "Wales", ",", "and", "brother", "of", "King"...
[ "george iii", "Q127318", [ [ 31, 32 ] ] ]
[ "frederick, prince of wales", "Q165349", [ [ 21, 22, 23, 24, 25 ] ] ]
P22
P40
[ "Arnulf", "of", "Carinthia", ",", "King", "of", "East", "Francia", "prevented", "this", "by", "entrusting", "the", "land", "to", "his", "son", "Zwentibold", "in", "895", "." ]
[ "zwentibold", "Q243872", [ [ 17 ] ] ]
[ "arnulf of carinthia", "Q154936", [ [ 0, 1, 2 ] ] ]
P40
P22
[ "Zwischenzeit", "un", "dem", "Wadi", "Gasus", "-", "Graffito", ",", "GM", "210", "(", "2006", ")", ",", "pp.69", "-", "91", "The", "God", "'s", "Wife", "Shepenupet", "II", "was", "Piye", "'s", "daughter", "and", "Taharqa", "'s", "sister", "." ]
[ "shepenupet ii", "Q291895", [ [ 21, 22 ] ] ]
[ "piye", "Q315695", [ [ 24 ] ] ]
P22
P40
[ "He", "was", "the", "father", "of", "Peter", "Scudamore", "and", "the", "grandfather", "of", "Tom", "Scudamore", "." ]
[ "tom scudamore", "Q7817513", [ [ 11, 12 ] ] ]
[ "peter scudamore", "Q7176842", [ [ 5, 6 ] ] ]
P40
P22
[ "On", "21", "March", "1272", "he", "married", "Isabella", "of", "Beirut", "(", "1252", "-", "1282/83", ")", ",", "Lady", "of", "Beirut", "and", "daughter", "of", "John", "II", "of", "Beirut", "." ]
[ "isabella of beirut", "Q3141945", [ [ 6, 7, 8 ] ] ]
[ "john ii of beirut", "Q452724", [ [ 21, 22, 23, 24 ] ] ]
P40
P25
[ "His", "wife", "Princess", "Wang", "Baoming", "was", "created", "crown", "princess", ",", "and", "their", "oldest", "son", "Xiao", "Zhaoye", "was", "created", "the", "Prince", "of", "Nan", "Commandery", "." ]
[ "xiao zhaoye", "Q1141013", [ [ 14, 15 ] ] ]
[ "princess wang baoming", "Q699633", [ [ 2, 3, 4 ] ] ]
P40
P22
[ "Raj", "Kapoor", "'s", "sons", ",", "Randhir", "Kapoor", "and", "Rishi", "Kapoor", ",", "went", "on", "to", "become", "well", "-", "known", "actors", ";", "his", "youngest", "son", ",", "Rajiv", "Kapoor", ",", "was", "not", "as", "successful", "as", "h...
[ "rishi kapoor", "Q258820", [ [ 8, 9 ] ] ]
[ "raj kapoor", "Q55407", [ [ 0, 1 ] ] ]
P40
P22
[ "Robb", "Stark", "is", "the", "oldest", "child", "of", "Eddard", "and", "Catelyn", "Stark", ",", "and", "the", "heir", "to", "Winterfell", "." ]
[ "robb stark", "Q13634884", [ [ 0, 1 ] ] ]
[ "eddard", "Q259818", [ [ 7 ] ] ]
P22
P40
[ "The", "death", "of", "Abd", "-", "ar", "-", "Rahman", "III", "led", "to", "the", "rise", "of", "his", "46-year", "-", "old", "son", ",", "Al", "-", "Hakam", "II", ",", "in", "961", "." ]
[ "al-hakam ii", "Q284531", [ [ 20, 21, 22, 23 ] ] ]
[ "abd-ar-rahman iii", "Q190418", [ [ 3, 4, 5, 6, 7, 8 ] ] ]
P40
P22
[ "Pakenham", "married", "Lillian", "Blanche", "Georgiana", "Ashley", ",", "daughter", "of", "Evelyn", "Ashley", "and", "sister", "of", "Lord", "Mount", "Temple", ",", "in", "1895", "." ]
[ "lord mount temple", "Q13529783", [ [ 14, 15, 16 ] ] ]
[ "evelyn ashley", "Q1147508", [ [ 9, 10 ] ] ]
P22
P40
[ "Bourdieu", "married", "Marie", "-", "Claire", "Brizard", "in", "1962", ";", "the", "couple", "had", "three", "sons", ",", "Jérôme", ",", "Emmanuel", ",", "and", "Laurent", "." ]
[ "emmanuel", "Q1338188", [ [ 17 ] ] ]
[ "bourdieu", "Q156268", [ [ 0 ] ] ]
P22
P40
[ "Samuel", "Annesley", "(", "1620–96", ")", ",", "the", "prominent", "nonconformist", "minister", "and", "father", "of", "Susanna", "Wesley", "(", "thus", "grandfather", "of", "John", "and", "Charles", "Wesley", ")", ",", "is", "buried", "in", "an", "unmarked...
[ "susanna wesley", "Q461044", [ [ 13, 14 ] ] ]
[ "samuel annesley", "Q1450223", [ [ 0, 1 ] ] ]
P25
P40
[ "45", "under", "Keltoi", "has", "Keltos", "as", "the", "son", "of", "Heracles", "and", "Keltine", ".", "Ebenezer", "Cobham", "Brewer", "\"", "Wordsworth", "Dictionary", "of", "Phrase", "and", "Fable", "\"", "Page", "230" ]
[ "keltos", "Q1477143", [ [ 4 ] ] ]
[ "keltine", "Q5058577", [ [ 11 ] ] ]
P25
P40
[ "At", "that", "time", "it", "was", "renamed", "“", "Royal", "Baby", "Gaga", "”", "to", "commemorate", "the", "birth", "of", "Princess", "Charlotte", ",", "daughter", "of", "Prince", "William", "and", "Princess", "Kate", "Middleton", ",", "the", "Duke", "an...
[ "princess charlotte", "Q18002970", [ [ 16, 17 ] ] ]
[ "princess kate middleton", "Q10479", [ [ 24, 25, 26 ] ] ]
P40
P22
[ "The", "County", "of", "Holzappel", "was", "inherited", "by", "his", "eldest", "daughter", ",", "Hermine", "who", "was", "married", "to", "Archduke", "Joseph", "of", "Austria", "and", "subsequently", "to", "her", "son", "Archduke", "Stephen", "of", "Austria", ...
[ "archduke stephen of austria", "Q701103", [ [ 25, 26, 27, 28 ] ] ]
[ "archduke joseph of austria", "Q319764", [ [ 16, 17, 18, 19 ] ] ]
P40
P25
[ "Amidst", "this", ",", "in", "1954", "tragedy", "struck", "as", "he", "lost", "his", "mother", "to", "cancer", "and", "4", "years", "later", "in", "1958", "he", "would", "lose", "his", "maternal", "grandmother", "Princess", "Ingeborg", "of", "Denmark", "."...
[ "mother", "Q231281", [ [ 11 ] ] ]
[ "princess ingeborg of denmark", "Q234033", [ [ 26, 27, 28, 29 ] ] ]
P40
P25
[ "He", "later", "married", "actress", "Wenche", "Foss", "in", "1953", "and", "had", "the", "son", "Fabian", "Stang", "." ]
[ "fabian stang", "Q3354814", [ [ 12, 13 ] ] ]
[ "wenche foss", "Q270441", [ [ 4, 5 ] ] ]
P40
P22
[ "She", "Osiecka", "and", "her", "partner", ",", "the", "famous", "journalist", "Daniel", "Passent", ",", "had", "their", "only", "child", ",", "a", "daughter", ",", "Agata", ",", "in", "1973", "." ]
[ "agata", "Q9141937", [ [ 20 ] ] ]
[ "daniel passent", "Q1162033", [ [ 9, 10 ] ] ]
P25
P40
[ "A", "first", "cousin", "included", "\"", "Antoine", "de", "Vignerot", "du", "Plessis", "\"", ",", "son", "of", "her", "aunt", "Élisabeth", "Sophie", "of", "Lorraine", "and", "the", "famous", "womaniser", "Armand", "de", "Vignerot", "du", "Plessis", ",", "...
[ "antoine de vignerot du plessis", "Q3261076", [ [ 5, 6, 7, 8, 9 ] ] ]
[ "élisabeth sophie of lorraine", "Q3723256", [ [ 16, 17, 18, 19 ] ] ]
P40
P22
[ "The", "first", "Prince", "of", "Xing", "was", "Zhu", "Youyuan", ",", "who", "was", "4th", "son", "of", "Chenghua", "Emperor", "and", "father", "of", "Jiajing", "Emperor", "." ]
[ "zhu youyuan", "Q912267", [ [ 6, 7 ] ] ]
[ "chenghua emperor", "Q9991", [ [ 14, 15 ] ] ]
P22
P40
[ "It", "was", "established", "that", "she", "was", "born", "shortly", "before", "7", "April", "1249", "from", "the", "second", "marriage", "of", "the", "Kuyavian", "Duke", "with", "Constance", ",", "daughter", "of", "Henry", "II", "the", "Pious", ",", "Duke...
[ "constance", "Q5163600", [ [ 21 ] ] ]
[ "henry ii the pious", "Q53446", [ [ 25, 26, 27, 28 ] ] ]
P40
P25
[ "He", "is", "a", "great", "-", "grandfather", "of", "Sarah", ",", "Duchess", "of", "York", "through", "her", "mother", "Susan", "Barrantes", ",", "who", "is", "Powerscourt", "'s", "granddaughter", "." ]
[ "sarah, duchess of york", "Q55720", [ [ 7, 8, 9, 10, 11 ] ] ]
[ "susan barrantes", "Q4165785", [ [ 15, 16 ] ] ]
P40
P25
[ "In", "1010", ",", "one", "of", "Consort", "Liu", "'s", "servants", ",", "Lady", "Li", ",", "gave", "birth", "to", "a", "son", ",", "borne", "by", "the", "emperor", "." ]
[ "a son", "Q7477", [ [ 16, 17 ] ] ]
[ "lady li", "Q5163352", [ [ 10, 11 ] ] ]
P40
P22
[ "Kekuiapoiwa", "Liliha", "married", "Kīwalaʻō", "and", "their", "child", "was", "Queen", "Keōpūolani", ",", "consort", "of", "Kamehameha", "I", "and", "mother", "of", "two", "kings", "." ]
[ "keōpūolani", "Q3439080", [ [ 9 ] ] ]
[ "kīwalaʻō", "Q6454637", [ [ 3 ] ] ]
P22
P40
[ "He", "married", "Marie", "Julie", "Clary", "daughter", "of", "François", "Clary", "on", "1", "August", "1794", "in", "Cuges", "-", "les", "-", "Pins", ",", "France", "." ]
[ "marie julie clary", "Q235412", [ [ 2, 3, 4 ] ] ]
[ "françois clary", "Q3084267", [ [ 7, 8 ] ] ]
P40
P22
[ "Theoderic", "II", ",", "son", "of", "Theodoric", "I", ",", "obtained", "the", "throne", "by", "killing", "his", "elder", "brother", "Thorismund", "." ]
[ "thorismund", "Q313079", [ [ 16 ] ] ]
[ "theodoric i", "Q110892", [ [ 5, 6 ] ] ]
P22
P40
[ "and", "husband", "of", "Gorgophone", ",", "daughter", "of", "the", "famous", "Perseus", "." ]
[ "gorgophone", "Q950523", [ [ 3 ] ] ]
[ "perseus", "Q130832", [ [ 9 ] ] ]
P40
P22
[ "Cesar", "-", "François", "Cassini", "de", "Thury", "completed", "the", "Cassini", "map", ",", "which", "was", "published", "by", "his", "son", "Cassini", "IV", "in", "1790", "." ]
[ "cassini iv", "Q499236", [ [ 17, 18 ] ] ]
[ "cesar-françois cassini de thury", "Q561280", [ [ 0, 1, 2, 3, 4, 5 ] ] ]
P40
P22
[ "Wang", "Jian", "died", "in", "918", ",", "and", "Wang", "Zongyan", "took", "the", "throne", "(", "and", "changed", "his", "name", "to", "Wang", "Yan", ")", "." ]
[ "wang yan", "Q1129329", [ [ 18, 19 ] ] ]
[ "wang jian", "Q708651", [ [ 0, 1 ] ] ]
P22
P40
[ "Mucho", "Macho", "Man", "is", "sired", "by", "Macho", "Uno", ",", "who", "stands", "at", "stud", "at", "Adena", "Springs", "Farms", "in", "Kentucky", "." ]
[ "mucho macho man", "Q6931079", [ [ 0, 1, 2 ] ] ]
[ "macho uno", "Q6723821", [ [ 6, 7 ] ] ]
P40
P25
[ "After", "faking", "his", "own", "death", "to", "get", "a", "day", "off", "work", ",", "Homer", "reunites", "with", "his", "mother", "Mona", ",", "who", "he", "thought", "had", "died", "27", "years", "ago", "." ]
[ "homer", "Q7810", [ [ 12 ] ] ]
[ "mona", "Q1641818", [ [ 17 ] ] ]
P22
P40
[ "Her", "father", ",", "Prince", "Wilhelm", "of", "Prussia", ",", "was", "the", "eldest", "son", "of", "Crown", "Prince", "Wilhelm", ",", "the", "heir", "of", "the", "last", "German", "Emperor", "Kaiser", "Wilhelm", "II", "." ]
[ "crown prince wilhelm", "Q57621", [ [ 13, 14, 15 ] ] ]
[ "kaiser wilhelm ii", "Q2677", [ [ 24, 25, 26 ] ] ]
P22
P40
[ "He", "was", "a", "son", "of", "Grgur", "Branković", "and", "a", "grandson", "of", "despot", "Đurađ", "Branković", "and", "Eirene", "Kantakouzene", "." ]
[ "grgur branković", "Q2745464", [ [ 5, 6 ] ] ]
[ "đurađ branković", "Q342130", [ [ 12, 13 ] ] ]
P22
P40
[ "Lange", "'s", "first", "marriage", "was", "to", "actor", "Don", "Murray", "in", "1956", ";", "they", "had", "two", "children", ",", "actor", "Christopher", "Murray", "and", "photographer", "Patricia", "Murray", "." ]
[ "christopher murray", "Q177150", [ [ 18, 19 ] ] ]
[ "don murray", "Q945579", [ [ 7, 8 ] ] ]
P40
P25
[ "He", "was", "the", "husband", "of", "actress", "Blythe", "Danner", ",", "and", "the", "father", "of", "actress", "Gwyneth", "Paltrow", "and", "screenwriter", "/", "director", "Jake", "Paltrow", "." ]
[ "gwyneth paltrow", "Q34460", [ [ 14, 15 ] ] ]
[ "blythe danner", "Q40064", [ [ 6, 7 ] ] ]
P22
P40
[ "Her", "hatred", "of", "Cosimo", ",", "however", ",", "did", "not", "get", "prevent", "their", "having", "children", ":", "Grand", "Prince", "Ferdinando", "in", "1663", ",", "Anna", "Maria", "Luisa", "in", "1667", "and", "Gian", "Gastone", "in", "1671", ...
[ "grand prince ferdinando", "Q465178", [ [ 15, 16, 17 ] ] ]
[ "cosimo", "Q47292", [ [ 3 ] ] ]
P22
P40
[ "Henry", "IV", "unsuccessfully", "tried", "to", "re", "-", "establish", "the", "peace", "with", "the", "nobility", "that", "his", "father", ",", "John", "II", ",", "had", "shattered", "." ]
[ "henry iv", "Q310918", [ [ 0, 1 ] ] ]
[ "john ii", "Q297278", [ [ 17, 18 ] ] ]
P40
P25
[ "Son", "of", "Hans", "(", "1459–1530", ")", "and", "Margarethe", "Luder", ",", "née", "Lindemann", "(", "1459–1531", ")", ",", "Martin", "Luther", "was", "born", "on", "November", "10", ",", "1483", "in", "the", "Central", "German", "city", "of", "Eisleb...
[ "martin luther", "Q9554", [ [ 16, 17 ] ] ]
[ "margarethe luder", "Q28657970", [ [ 7, 8 ] ] ]
P40
P25
[ "He", "marries", "Princess", "Iron", "Fan", "and", "has", "a", "son", ",", "Red", "Boy", ",", "with", "her", "." ]
[ "red boy", "Q3276134", [ [ 10, 11 ] ] ]
[ "princess iron fan", "Q3275599", [ [ 2, 3, 4 ] ] ]
P40
P22
[ "Sima", "Yi", "died", "in", "251", "and", "passed", "on", "his", "authority", "to", "his", "eldest", "son", ",", "Sima", "Shi", ",", "who", "continued", "ruling", "as", "regent", "." ]
[ "sima shi", "Q707808", [ [ 15, 16 ] ] ]
[ "sima yi", "Q353698", [ [ 0, 1 ] ] ]
P40
P22
[ "The", "Benaki", "Museum", ",", "established", "and", "endowed", "in", "1930", "by", "Antonis", "Benakis", "in", "memory", "of", "his", "father", "Emmanuel", "Benakis", ",", "is", "housed", "in", "the", "Benakis", "family", "mansion", "in", "downtown", "Athe...
[ "antonis benakis", "Q1229764", [ [ 10, 11 ] ] ]
[ "emmanuel benakis", "Q1223741", [ [ 17, 18 ] ] ]
P40
P22
[ "In", "1406", "Adolf", "married", "Marie", "of", "Burgundy", ",", "daughter", "of", "John", "the", "Fearless", "and", "Margaret", "of", "Bavaria", "." ]
[ "marie of burgundy", "Q3847614", [ [ 4, 5, 6 ] ] ]
[ "john the fearless", "Q298901", [ [ 10, 11, 12 ] ] ]
P40
P22
[ "The", "late", "Leonard", "Cohen", "won", "the", "Artist", "of", "the", "Year", "category", ";", "his", "son", "Adam", "accepted", "the", "award", "on", "his", "behalf", "at", "the", "gala", "." ]
[ "adam", "Q2823929", [ [ 14 ] ] ]
[ "leonard cohen", "Q1276", [ [ 2, 3 ] ] ]
P40
P22
[ "Kavadh", "II", "was", "the", "son", "of", "Khosrau", "II", ",", "the", "king", "of", "the", "Sasanian", "Empire", ",", "and", "Maria", ",", "daughter", "of", "Maurice", ",", "the", "emperor", "of", "the", "Byzantine", "Empire", "." ]
[ "maria", "Q6760972", [ [ 17 ] ] ]
[ "maurice", "Q181764", [ [ 21 ] ] ]
P25
P40
[ "The", "son", "of", "Herbert", "Allen", "Carroll", "and", "regional", "writer", "Gladys", "Hasty", "Carroll", ",", "Warren", "Hasty", "Carroll", "was", "born", "on", "March", "24", ",", "1932", "in", "Maine", "." ]
[ "warren hasty carroll", "Q9371081", [ [ 13, 14, 15 ] ] ]
[ "gladys hasty carroll", "Q5566419", [ [ 9, 10, 11 ] ] ]
P40
P22
[ "Maro", "Gorky", "became", "a", "painter", ",", "and", "married", "the", "British", "sculptor", "and", "writer", "Matthew", "Spender", ",", "son", "of", "the", "poet", "Sir", "Stephen", "Spender", "." ]
[ "matthew spender", "Q19859309", [ [ 13, 14 ] ] ]
[ "stephen spender", "Q448764", [ [ 21, 22 ] ] ]
P40
P22
[ "In", "response", ",", "Minkhaung", "recalled", "Minye", "Kyawswa", "to", "Ava", ",", "and", "sent", "his", "middle", "son", "Thihathu", "to", "Prome", "to", "take", "over", "as", "viceroy", "." ]
[ "thihathu", "Q3056656", [ [ 15 ] ] ]
[ "minkhaung", "Q3315520", [ [ 3 ] ] ]
P40
P25
[ "Hua", "Mei", "is", "the", "elder", "half", "-", "sister", "to", "five", "other", "cubs", "born", "to", "Bai", "Yun", ":", "Mei", "Sheng", ",", "Su", "Lin", ",", "Zhen", "Zhen", ",", "Yun", "Zi", "and", "Xiao", "Liwu", "." ]
[ "hua mei", "Q223025", [ [ 0, 1 ] ] ]
[ "bai yun", "Q4843154", [ [ 14, 15 ] ] ]
End of preview. Expand in Data Studio

Reversing Arrows: A Benchmark Dataset for Inverse Relation Directionality in LLMs

This dataset is designed to evaluate the robustness of Relation Extraction (RE) models, with a specific focus on Inverse Relations and entity substitution. It is derived from FewRel. The croissant metadata is available on croissant

Dataset Summary

The primary goal of this dataset is to test whether models can recognize a relationship regardless of the direction or the surface form of the entities. It includes:

  1. Inverse Mapping: Every sample includes both the forward relation (e.g., Mother) and its logical inverse (e.g., Child). -- Original data : original_fewrel_inverse.json
  2. Synthetics Substitutions: A version of the dataset where real-world entities are replaced with synthetic names (e.g., replacing "Denmark" with "Emilyfort") to test if models rely on memorized entity knowledge rather than linguistic context. -- synthetic_fewrel_inverse.json

Relation Examples

Forward Relation Inverse Relation
Child (P40) Mother (P25)
Child (P40) Father (P22)
Follows (P155) Followed by (P156)
Has Part (P527) Part of (P361)

Dataset Structure

The dataset is provided in JSON format and split into four main distributions:

  • Original FewRel: The ground-truth sentences and relations. (original_fewrel_inverse.json)
  • Synthetic FewRel: Sentences where entities have been substituted with synthetic placeholders. (synthetic_fewrel_inverse.json)
  • Relation Metadata: Supplemental files providing human-readable definitions for Wikidata P-IDs (fewrel_inverse_relations.json)

Key Fields

  • tokens: The input text (tokenized or raw string) in FewRel.
  • head / tail: The subject and object entities.
  • head_to_tail: The ID/Name of the forward relation.
  • tail_to_head: The ID/Name of the inverse relation.
  • artificial_data: A mapping showing which Original entities were changed to which Synthetic placeholders.

Usage

You can load this dataset for tasks such as:

  • Text Classification: Predicting the relation ID between two entities.
  • Text Generation: Generating a sentence that expresses a specific inverse relation.

Repository

For scripts and more technical details on how the artificial data was generated, visit the official repository: sefeoglu/inverserelations

Citation

If you use this dataset in your research, please cite the original FewRel and this repository.


@misc{fewrel_inverse_2025,
  author = {Sefika Efeoglu, and Adrian Paschke},
  title = { Reversing Arrows: A Benchmark Dataset for Inverse Relation Directionality in LLMs},
  year = {2025},
  publisher = {GitHub/HuggingFace},
  doi = { 10.57967/hf/8462 },
  howpublished = {https://github.com/sefeoglu/inverserelations}
}
Downloads last month
57