nlql / seq2seq / example.json
example.json
Raw
{
    "table_names_original": [
        "club",
        "coach",
        "league",
        "national_team",
        "player",
        "stadium",
        "club_league_history",
        "coach_club_team",
        "player_club_team",
        "world_cup",
        "match",
        "player_fact",
        "match_fact"
    ],
    "column_names_original": [
        [
            -1,
            "*"
        ],
        [
            0,
            "club_id"
        ],
        [
            0,
            "club_name"
        ],
        [
            0,
            "country"
        ],
        [
            0,
            "found_year"
        ],
        [
            1,
            "nickname"
        ],
        [
            1,
            "coach_id"
        ],
        [
            1,
            "country_code"
        ],
        [
            1,
            "wikidata_id"
        ],
        [
            1,
            "coach_name"
        ],
        [
            1,
            "similarity"
        ],
        [
            2,
            "league_id"
        ],
        [
            2,
            "league_name"
        ],
        [
            2,
            "found_year"
        ],
        [
            2,
            "country"
        ],
        [
            3,
            "team_id"
        ],
        [
            3,
            "teamname"
        ],
        [
            3,
            "team_initials"
        ],
        [
            3,
            "goals"
        ],
        [
            3,
            "year"
        ],
        [
            4,
            "nickname"
        ],
        [
            4,
            "player_id"
        ],
        [
            4,
            "wikidata_id"
        ],
        [
            4,
            "player_name"
        ],
        [
            4,
            "similarity"
        ],
        [
            4,
            "dob"
        ],
        [
            5,
            "stadium_id"
        ],
        [
            5,
            "stadium_name"
        ],
        [
            5,
            "city"
        ],
        [
            5,
            "capacity"
        ],
        [
            5,
            "country"
        ],
        [
            5,
            "continent"
        ],
        [
            6,
            "club_id"
        ],
        [
            6,
            "league_id"
        ],
        [
            6,
            "start_year"
        ],
        [
            6,
            "end_year"
        ],
        [
            7,
            "coach_id"
        ],
        [
            7,
            "club_id"
        ],
        [
            7,
            "club_team_name"
        ],
        [
            7,
            "start_year"
        ],
        [
            7,
            "end_year"
        ],
        [
            7,
            "coach_wikidata_id"
        ],
        [
            8,
            "player_id"
        ],
        [
            8,
            "club_id"
        ],
        [
            8,
            "club_team_name"
        ],
        [
            8,
            "start_year"
        ],
        [
            8,
            "end_year"
        ],
        [
            8,
            "shirt_number"
        ],
        [
            8,
            "position"
        ],
        [
            9,
            "year"
        ],
        [
            9,
            "venue"
        ],
        [
            9,
            "goals_scored"
        ],
        [
            9,
            "qualified_team"
        ],
        [
            9,
            "matches_played"
        ],
        [
            9,
            "attendance"
        ],
        [
            9,
            "winner"
        ],
        [
            9,
            "runner_up"
        ],
        [
            9,
            "third"
        ],
        [
            9,
            "fourth"
        ],
        [
            10,
            "match_id"
        ],
        [
            10,
            "year"
        ],
        [
            10,
            "round_id"
        ],
        [
            10,
            "datetime"
        ],
        [
            10,
            "stage"
        ],
        [
            10,
            "win_conditions"
        ],
        [
            10,
            "referee"
        ],
        [
            10,
            "assistant_1"
        ],
        [
            10,
            "assistant_2"
        ],
        [
            10,
            "attendance"
        ],
        [
            10,
            "stadium_id"
        ],
        [
            10,
            "did_home_win"
        ],
        [
            10,
            "is_draw"
        ],
        [
            10,
            "home_team_id"
        ],
        [
            10,
            "away_team_id"
        ],
        [
            10,
            "half_time_home_goals"
        ],
        [
            10,
            "home_team_goals"
        ],
        [
            10,
            "half_time_away_team_goals"
        ],
        [
            10,
            "away_team_goals"
        ],
        [
            11,
            "coach_id"
        ],
        [
            11,
            "team_id"
        ],
        [
            11,
            "year_id"
        ],
        [
            11,
            "player_id"
        ],
        [
            11,
            "shirt_number"
        ],
        [
            11,
            "position"
        ],
        [
            12,
            "player_id"
        ],
        [
            12,
            "match_id"
        ],
        [
            12,
            "minute"
        ],
        [
            12,
            "goal"
        ],
        [
            12,
            "own_goal"
        ],
        [
            12,
            "yellow_card"
        ],
        [
            12,
            "red_card"
        ],
        [
            12,
            "second_yellow_card"
        ],
        [
            12,
            "penalty"
        ],
        [
            12,
            "missed_penalty"
        ],
        [
            12,
            "substitution_in"
        ],
        [
            12,
            "substitution_out"
        ],
        [
            12,
            "line_up"
        ],
        [
            12,
            "team_id"
        ]
    ],
    "column_types": [
        "text",
        "text",
        "text",
        "text",
        "number",
        "text",
        "number",
        "text",
        "text",
        "text",
        "number",
        "text",
        "text",
        "number",
        "text",
        "number",
        "text",
        "text",
        "number",
        "number",
        "text",
        "number",
        "text",
        "text",
        "number",
        "number",
        "number",
        "text",
        "text",
        "number",
        "text",
        "text",
        "text",
        "text",
        "number",
        "number",
        "number",
        "text",
        "text",
        "number",
        "number",
        "text",
        "number",
        "text",
        "text",
        "number",
        "number",
        "number",
        "number",
        "number",
        "text",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "text",
        "text",
        "text",
        "text",
        "text",
        "number",
        "number",
        "text",
        "text",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "number",
        "text",
        "number",
        "number",
        "number",
        "text",
        "text",
        "text",
        "text",
        "text",
        "text",
        "text",
        "text",
        "text",
        "text",
        "number"
    ],
    "primary_keys": [
        1,
        6,
        11,
        15,
        21,
        26,
        49,
        59
    ],
    "foreign_keys": [
        [
            32,
            1
        ],
        [
            33,
            11
        ],
        [
            36,
            6
        ],
        [
            37,
            1
        ],
        [
            42,
            21
        ],
        [
            43,
            1
        ],
        [
            55,
            15
        ],
        [
            56,
            15
        ],
        [
            57,
            15
        ],
        [
            58,
            15
        ],
        [
            60,
            49
        ],
        [
            69,
            26
        ],
        [
            72,
            15
        ],
        [
            73,
            15
        ],
        [
            78,
            6
        ],
        [
            79,
            15
        ],
        [
            80,
            49
        ],
        [
            81,
            21
        ],
        [
            84,
            21
        ],
        [
            85,
            59
        ]
    ]
}