text
stringlengths 642
1.45k
| English Query
stringlengths 21
123
| synonyms
sequencelengths 5
7
|
---|---|---|
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Print short name, long name and description for files in the HR directory.[/INST] SQL query: | Print short name, long name and description for files in the HR directory. | [
[
"longName",
"long title"
],
[
"node_directory",
"directory"
],
[
"node_file",
"file"
],
[
"longName",
"long name"
],
[
"human_resources",
"hr"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List the description of the 'datetime' classification label.[/INST] SQL query: | List the description of the 'datetime' classification label. | [
[
"relation_type_taxonomy",
"taxonomy"
],
[
"node_classification",
"classification"
],
[
"ctlg_desc",
"catalog description"
],
[
"node_label",
"label"
],
[
"node_classification",
"category"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_label: node_id type_id short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Display creation timestamp and description for the classification labeled 'state'.[/INST] SQL query: | Display creation timestamp and description for the classification labeled 'state'. | [
[
"relation_type_taxonomy",
"taxonomy"
],
[
"node_classification",
"classification"
],
[
"ctlg_desc",
"catalog description"
],
[
"node_label",
"label"
],
[
"node_classification",
"category"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; English query: Show the name, long name and description for the start date column in the bill of materials table.[/INST] SQL query: | Show the name, long name and description for the start date column in the bill of materials table. | [
[
"node_column",
"column"
],
[
"bill_of_materials",
"bill of materials"
],
[
"longName",
"long name"
],
[
"node_table",
"table"
],
[
"s_date",
"start date"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; English query: List directories that have the word 'person' in their name or description.[/INST] SQL query: | List directories that have the word 'person' in their name or description. | [
[
"node_directory",
"directory"
],
[
"edge_has_dir_dir",
"include directory"
],
[
"edge_has_dir_dir",
"has directory"
],
[
"edge_has",
"has"
],
[
"edge_has_dir_file",
"directory has file"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node: node_id type_id short_name long_name description creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List all records for the 'cv' column.[/INST] SQL query: | List all records for the 'cv' column. | [
[
"edge_has_table_col",
"include column"
],
[
"cv",
"resume"
],
[
"edge_has",
"has"
],
[
"edge_has_table_col",
"table has column"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; English query: Name any 5 directories that were modified in the past 10 days.[/INST] SQL query: | Name any 5 directories that were modified in the past 10 days. | [
[
"node_directory",
"directory"
],
[
"longName",
"long name"
],
[
"edge_has_dir_dir",
"has directory"
],
[
"m_date",
"last modification"
],
[
"grp_n",
"group name"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show all csv files that have 'nyc' in their names.[/INST] SQL query: | Show all csv files that have 'nyc' in their names. | [
[
"node_file",
"file"
],
[
"node_table",
"csv file"
],
[
"node_directory",
"folder"
],
[
"edge_has",
"has"
],
[
"edge_has_dir_file",
"directory has file"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List all users who own exactly 5 assets[/INST] SQL query: | List all users who own exactly 5 assets | [
[
"asset_type_records",
"asset type"
],
[
"edge_own",
"has ownership"
],
[
"node",
"asset"
],
[
"edge_own",
"own"
],
[
"edge_own",
"has ownership of"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Give me the creation dates for all business terms.[/INST] SQL query: | Give me the creation dates for all business terms. | [
[
"node_business_term",
"business term"
],
[
"node_business_term",
"business concept"
],
[
"node_business_term",
"business keyword"
],
[
"e_date",
"end date"
],
[
"s_date",
"start date"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node: node_id type_id short_name long_name description creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Which are the tables that have a column labeled 'borough'?[/INST] SQL query: | Which are the tables that have a column labeled 'borough'? | [
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_has",
"has"
],
[
"node_label",
"label"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; English query: Find records for all columns named 'e_date'.[/INST] SQL query: | Find records for all columns named 'e_date'. | [
[
"edge_has_table_col",
"include column"
],
[
"node_column",
"column"
],
[
"edge_has_table_col",
"table has column"
],
[
"num_cols",
"number of columns in the table"
],
[
"col_type",
"column data type"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; English query: Order files by extension and from oldest to newest.[/INST] SQL query: | Order files by extension and from oldest to newest. | [
[
"node_file",
"file"
],
[
"source_node_id",
"source"
],
[
"node_directory",
"folder"
],
[
"extension",
"file extension"
],
[
"edge_has_dir_file",
"directory has file"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; English query: List all the unionable table pairs.[/INST] SQL query: | List all the unionable table pairs. | [
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_unionable_table_table",
"union"
],
[
"edge_unionable_table_table",
"unionable table"
],
[
"edge_joinable_table_table",
"joinable table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; English query: List all asset owners who own more than 20 assets created in the past 30 days.[/INST] SQL query: | List all asset owners who own more than 20 assets created in the past 30 days. | [
[
"asset_type_records",
"asset type"
],
[
"node",
"asset"
],
[
"edge_own",
"own"
],
[
"node_owner",
"owner"
],
[
"edge_own",
"has ownership of"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_classification: node_id type_id short_name long_name description creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Calculate the average size of a subfolder within each folder.[/INST] SQL query: | Calculate the average size of a subfolder within each folder. | [
[
"node_directory",
"directory"
],
[
"node_file",
"file"
],
[
"node_directory",
"folder"
],
[
"fsize",
"file size"
],
[
"node",
"resource"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; English query: List all details for all tables.[/INST] SQL query: | List all details for all tables. | [
[
"source_node_id",
"source"
],
[
"node_table",
"table"
],
[
"node",
"resource"
],
[
"edge",
"related"
],
[
"edge",
"relation"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; English query: List all assets owned by the user with user id '7'.[/INST] SQL query: | List all assets owned by the user with user id '7'. | [
[
"asset_type_records",
"asset type"
],
[
"node",
"asset"
],
[
"edge_own",
"has ownership"
],
[
"edge_own",
"own"
],
[
"node_owner",
"owner"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show records for any 5 accounts that hold assets.[/INST] SQL query: | Show records for any 5 accounts that hold assets. | [
[
"asset_type_records",
"asset type"
],
[
"node",
"asset"
],
[
"act_number",
"account number"
],
[
"curr_c",
"currency"
],
[
"node_id",
"asset id"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: What are the sub folders of the folder 'part6'?[/INST] SQL query: | What are the sub folders of the folder 'part6'? | [
[
"node_directory",
"directory"
],
[
"node_file",
"file"
],
[
"node_directory",
"folder"
],
[
"edge_has",
"has"
],
[
"edge_has_dir_file",
"directory has file"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node: node_id type_id short_name long_name description creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List all the SQL databases in the data lake.[/INST] SQL query: | List all the SQL databases in the data lake. | [
[
"node_rdbms",
"SQL database"
],
[
"node_database",
"data store"
],
[
"node_database",
"database"
],
[
"node_rdbms",
"relational database"
],
[
"database_type",
"database type"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List all csv files in the directory 'part5'.[/INST] SQL query: | List all csv files in the directory 'part5'. | [
[
"node_directory",
"directory"
],
[
"node_file",
"file"
],
[
"node_table",
"csv file"
],
[
"node_directory",
"folder"
],
[
"edge_has_dir_dir",
"has directory"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show all folders which have total file size greater than 100Kb.[/INST] SQL query: | Show all folders which have total file size greater than 100Kb. | [
[
"dsize",
"directory size"
],
[
"node_file",
"file"
],
[
"fsize",
"file size"
],
[
"node_directory",
"folder"
],
[
"edge_has",
"has"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node: node_id type_id short_name long_name description creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Show the creation date and description for the credit card id column.[/INST] SQL query: | Show the creation date and description for the credit card id column. | [
[
"ccid",
"credit card id"
],
[
"node_column",
"column"
],
[
"c_date",
"changed date"
],
[
"e_date",
"end date"
],
[
"s_date",
"start date"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_label: node_id type_id short_name long_name description creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List all the business term assets in the lake.[/INST] SQL query: | List all the business term assets in the lake. | [
[
"asset_type_records",
"asset type"
],
[
"node",
"asset"
],
[
"node_business_term",
"business term"
],
[
"edge_assoc_term_col",
"associated business term"
],
[
"node_business_term",
"business keyword"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; English query: Order all columns in the lake by their creation date.[/INST] SQL query: | Order all columns in the lake by their creation date. | [
[
"edge_has_table_col",
"include column"
],
[
"edge_has_table_col",
"table has column"
],
[
"num_cols",
"number of columns in the table"
],
[
"e_date",
"end date"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; English query: How many files are there in the folder named 'production'?[/INST] SQL query: | How many files are there in the folder named 'production'? | [
[
"node_file",
"file"
],
[
"fsize",
"file size"
],
[
"node_directory",
"folder"
],
[
"extension",
"file extension"
],
[
"edge_has_dir_file",
"directory has file"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Order nosql databases by modification timestamp.[/INST] SQL query: | Order nosql databases by modification timestamp. | [
[
"node_rdbms",
"SQL database"
],
[
"mod_date",
"modification date"
],
[
"node_database",
"database"
],
[
"node_nosql",
"NoSQL database"
],
[
"m_date",
"modification date"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List all records for the tables named 'fact_sales_quota'.[/INST] SQL query: | List all records for the tables named 'fact_sales_quota'. | [
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_has_file_table",
"include table"
],
[
"edge_derive_table_table",
"derived from table"
],
[
"edge_joinable_table_table",
"joinable table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Which asset owner account ids own more than 5 assets?[/INST] SQL query: | Which asset owner account ids own more than 5 assets? | [
[
"asset_type_records",
"asset type"
],
[
"node",
"asset"
],
[
"doc_owr",
"document owner id"
],
[
"edge_own",
"own"
],
[
"node_owner",
"owner"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; English query: Show all records for derived table relationships.[/INST] SQL query: | Show all records for derived table relationships. | [
[
"node_table",
"table"
],
[
"edge_derive_table_table",
"derived table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge",
"relation"
],
[
"edge_derive_table_table",
"derived from table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node: node_id type_id short_name long_name description creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; English query: Among all the columns in the lake, count the occurences of each column type.[/INST] SQL query: | Among all the columns in the lake, count the occurences of each column type. | [
[
"edge_has_table_col",
"include column"
],
[
"node_column",
"column"
],
[
"node_classification",
"type"
],
[
"edge_has_table_col",
"table has column"
],
[
"col_type",
"column data type"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; English query: Show records for all department id columns.[/INST] SQL query: | Show records for all department id columns. | [
[
"node_column",
"column"
],
[
"type_id",
"type id"
],
[
"dept_id",
"department id"
],
[
"d_name",
"department name"
],
[
"product_subcat_id",
"subcategory id"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node: node_id type_id short_name long_name description creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Give the name, long name and description for all columns named 'mod_date'.[/INST] SQL query: | Give the name, long name and description for all columns named 'mod_date'. | [
[
"longName",
"long title"
],
[
"longName",
"long name"
],
[
"mod_date",
"mod date"
],
[
"m_date",
"mod date"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Which are the databases in the lake owned by 'cslab'?[/INST] SQL query: | Which are the databases in the lake owned by 'cslab'? | [
[
"edge_own",
"has ownership"
],
[
"edge_own",
"own"
],
[
"node_rdbms",
"SQL database"
],
[
"node_owner",
"owner"
],
[
"node_database",
"database"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: List all joinable table pairs.[/INST] SQL query: | List all joinable table pairs. | [
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_unionable_table_table",
"unionable table"
],
[
"edge_derive_table_table",
"derived from table"
],
[
"edge_joinable_table_table",
"joinable table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: What are the joinable table pairs found in the last 24 hours?[/INST] SQL query: | What are the joinable table pairs found in the last 24 hours? | [
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_unionable_table_table",
"unionable table"
],
[
"edge_derive_table_table",
"derived from table"
],
[
"edge_joinable_table_table",
"joinable table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; English query: Order files by their sizes.[/INST] SQL query: | Order files by their sizes. | [
[
"node_file",
"file"
],
[
"node_file",
"document"
],
[
"node_directory",
"folder"
],
[
"extension",
"file extension"
],
[
"edge_has_dir_file",
"directory has file"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Show all relational databases that contain more than 10 tables.[/INST] SQL query: | Show all relational databases that contain more than 10 tables. | [
[
"node_rdbms",
"SQL database"
],
[
"node_table",
"table"
],
[
"node_database",
"database"
],
[
"node_rdbms",
"relational database"
],
[
"database_type",
"database type"
],
[
"edge",
"related"
],
[
"edge",
"relation"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Which owner accounts own more than 5 relational databases?[/INST] SQL query: | Which owner accounts own more than 5 relational databases? | [
[
"edge_own",
"has ownership"
],
[
"edge_own",
"own"
],
[
"node_owner",
"owner"
],
[
"node_rdbms",
"relational database"
],
[
"node_database",
"database"
],
[
"edge",
"related"
],
[
"edge",
"relation"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; English query: For each table, show the number of tables that have been derived from it in the past one week.[/INST] SQL query: | For each table, show the number of tables that have been derived from it in the past one week. | [
[
"node_table",
"table"
],
[
"num_rows",
"number of rows in the table"
],
[
"edge_has",
"has"
],
[
"edge_derive_table_table",
"derived from table"
],
[
"num_tables",
"number of tables in the database"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; English query: Print all files in the persons folder.[/INST] SQL query: | Print all files in the persons folder. | [
[
"node_file",
"file"
],
[
"node_file",
"document"
],
[
"node_directory",
"folder"
],
[
"extension",
"file extension"
],
[
"edge_has_dir_file",
"directory has file"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Among all the columns in the lake, count the occurences of each column type.[/INST] SQL query: | Among all the columns in the lake, count the occurences of each column type. | [
[
"edge_has_table_col",
"include column"
],
[
"node_column",
"column"
],
[
"node_classification",
"type"
],
[
"edge_has_table_col",
"table has column"
],
[
"col_type",
"column data type"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; English query: Which tables were obtained from files with the prefix 'watershed_water_quality'?[/INST] SQL query: | Which tables were obtained from files with the prefix 'watershed_water_quality'? | [
[
"node_file",
"file"
],
[
"node_directory",
"folder"
],
[
"node_table",
"table"
],
[
"extension",
"file extension"
],
[
"edge_has_dir_file",
"directory has file"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Which tables have 'traffic' in their names?[/INST] SQL query: | Which tables have 'traffic' in their names? | [
[
"edge_own",
"own"
],
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_has",
"has"
],
[
"edge_derive_table_table",
"derived from table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Find all tables with the term 'eph' or 'employee_pay_history' in it's name.[/INST] SQL query: | Find all tables with the term 'eph' or 'employee_pay_history' in it's name. | [
[
"node_business_term",
"business term"
],
[
"node_table",
"table"
],
[
"employee_pay_history",
"eph"
],
[
"employee_pay_history",
"employee pay history"
],
[
"edge_has_file_table",
"include table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: Find all tables referring to individuals.[/INST] SQL query: | Find all tables referring to individuals. | [
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge",
"related"
],
[
"edge",
"relation"
],
[
"edge_derive_table_table",
"derived from table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: List all tables that have more than 100 rows in them.[/INST] SQL query: | List all tables that have more than 100 rows in them. | [
[
"edge_own",
"own"
],
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_has",
"has"
],
[
"edge_has_file_table",
"file has table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: Show the columns that have the word 'water' in their name or description?[/INST] SQL query: | Show the columns that have the word 'water' in their name or description? | [
[
"edge_has_table_col",
"include column"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_has",
"has"
],
[
"grp_n",
"group name"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node: node_id type_id short_name long_name description creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: For each folder, count the number of files immediately inside it.[/INST] SQL query: | For each folder, count the number of files immediately inside it. | [
[
"node_file",
"file"
],
[
"fsize",
"file size"
],
[
"node_directory",
"folder"
],
[
"extension",
"file extension"
],
[
"p_name",
"number type"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node: node_id type_id short_name long_name description creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: How many columns are associated with each business terms in the data lake?[/INST] SQL query: | How many columns are associated with each business terms in the data lake? | [
[
"edge_assoc",
"association"
],
[
"node_business_term",
"business term"
],
[
"node_business_term",
"business keyword"
],
[
"edge_assoc_term_col",
"associated term"
],
[
"edge_assoc",
"associate"
],
[
"num_cols",
"number of columns in the table"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; English query: Print the maximum column length for the column named 'cult_name'.[/INST] SQL query: | Print the maximum column length for the column named 'cult_name'. | [
[
"edge_has_table_col",
"include column"
],
[
"max_col_length",
"maximum column length"
],
[
"edge_has_table_col",
"table has column"
],
[
"num_cols",
"number of columns in the table"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Print all the metadata for every nosql database in the data lake.[/INST] SQL query: | Print all the metadata for every nosql database in the data lake. | [
[
"node_business_term",
"business metadata"
],
[
"node_rdbms",
"SQL database"
],
[
"node_database",
"database"
],
[
"node_nosql",
"NoSQL database"
],
[
"node_label",
"metadata"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; English query: For each table in the data lake, count the number of columns that contain a description.[/INST] SQL query: | For each table in the data lake, count the number of columns that contain a description. | [
[
"edge_has_table_col",
"include column"
],
[
"node_table",
"table"
],
[
"num_cols",
"number of columns in the table"
],
[
"p_name",
"number type"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: Show the creation dates and descriptions for all classification assets.[/INST] SQL query: | Show the creation dates and descriptions for all classification assets. | [
[
"node",
"asset"
],
[
"node_classification",
"classification"
],
[
"relation_type_taxonomy",
"taxonomy"
],
[
"e_date",
"end date"
],
[
"s_date",
"start date"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Give me the id and name for columns which have business terms associated with them.[/INST] SQL query: | Give me the id and name for columns which have business terms associated with them. | [
[
"edge_assoc",
"association"
],
[
"node_business_term",
"business term"
],
[
"edge_assoc_term_col",
"associated term"
],
[
"edge_assoc_term_col",
"associated business term"
],
[
"edge_assoc",
"associate"
],
[
"edge_has",
"has"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; English query: List the top 10 people who own the most databases.[/INST] SQL query: | List the top 10 people who own the most databases. | [
[
"edge_own",
"has ownership"
],
[
"edge_own",
"own"
],
[
"node_owner",
"owner"
],
[
"node_database",
"database"
],
[
"edge_own",
"has ownership of"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_label: node_id type_id short_name long_name description creation_date modified_date ; English query: List the description and creation date for the 'employee_db' SQL database.[/INST] SQL query: | List the description and creation date for the 'employee_db' SQL database. | [
[
"node_rdbms",
"SQL database"
],
[
"node_database",
"database"
],
[
"node_rdbms",
"relational database"
],
[
"e_date",
"end date"
],
[
"s_date",
"start date"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; English query: Count the number of columns of each type in the 'nycc' table.[/INST] SQL query: | Count the number of columns of each type in the 'nycc' table. | [
[
"node_classification",
"type"
],
[
"node_table",
"table"
],
[
"num_cols",
"number of columns in the table"
],
[
"p_name",
"number type"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; English query: Print the creation date, description and last modification date for the database named 'sales_db'.[/INST] SQL query: | Print the creation date, description and last modification date for the database named 'sales_db'. | [
[
"mod_date",
"last modification"
],
[
"node_database",
"database"
],
[
"mod_date",
"modification date"
],
[
"m_date",
"last modification"
],
[
"m_date",
"modification date"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; English query: Which are the columns that are associated with the classification 'enterprise'?[/INST] SQL query: | Which are the columns that are associated with the classification 'enterprise'? | [
[
"edge_assoc",
"association"
],
[
"edge_assoc_term_col",
"associated term"
],
[
"node_classification",
"classification"
],
[
"edge_assoc",
"associate"
],
[
"relation_type_taxonomy",
"taxonomy"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Which tables have 'traffic' in their names?[/INST] SQL query: | Which tables have 'traffic' in their names? | [
[
"edge_own",
"own"
],
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_has",
"has"
],
[
"edge_derive_table_table",
"derived from table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; English query: Which are the tables that have a column labeled 'borough'?[/INST] SQL query: | Which are the tables that have a column labeled 'borough'? | [
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_has",
"has"
],
[
"node_label",
"label"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; English query: Give all column names association with the classification 'date'.[/INST] SQL query: | Give all column names association with the classification 'date'. | [
[
"edge_assoc",
"association"
],
[
"node_classification",
"classification"
],
[
"edge_assoc",
"associate"
],
[
"edge_has_table_col",
"table has column"
],
[
"relation_type_taxonomy",
"taxonomy"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Count total relations edges in the lake?[/INST] SQL query: | Count total relations edges in the lake? | [
[
"relation_type_taxonomy",
"related connection"
],
[
"edge_has",
"relation has"
],
[
"relation_type_records",
"relation type"
],
[
"edge",
"related"
],
[
"edge",
"relation"
],
[
"attributes_of_each_graph_edge",
"relation attributes"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Sort the nosql databases in the lake by their last modified date.[/INST] SQL query: | Sort the nosql databases in the lake by their last modified date. | [
[
"c_date",
"changed date"
],
[
"mod_date",
"last modification"
],
[
"m_date",
"last modification"
],
[
"node_database",
"database"
],
[
"node_nosql",
"NoSQL database"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show the creation date and description for all business terms in the data lake.[/INST] SQL query: | Show the creation date and description for all business terms in the data lake. | [
[
"node_business_term",
"business term"
],
[
"node_database",
"database"
],
[
"node_business_term",
"business keyword"
],
[
"e_date",
"end date"
],
[
"s_date",
"start date"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: How many assets of each type id does each user account own?[/INST] SQL query: | How many assets of each type id does each user account own? | [
[
"node",
"asset"
],
[
"type_id",
"type id"
],
[
"edge_own",
"own"
],
[
"node_classification",
"type"
],
[
"c_type_id",
"contact type id"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: List the number of columns for tables that contain at least 50 columns.[/INST] SQL query: | List the number of columns for tables that contain at least 50 columns. | [
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"num_cols",
"number of columns in the table"
],
[
"p_name",
"number type"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show me the description for every nosql database in the lake that contains the term 'nvidia' in it's description.[/INST] SQL query: | Show me the description for every nosql database in the lake that contains the term 'nvidia' in it's description. | [
[
"node_rdbms",
"SQL database"
],
[
"node_database",
"database"
],
[
"node_rdbms",
"relational database"
],
[
"node_nosql",
"NoSQL database"
],
[
"database_type",
"database type"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_label: node_id type_id short_name long_name description creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Display table name, number of rows and number of columns for all tables whose name begins with 'fact'.[/INST] SQL query: | Display table name, number of rows and number of columns for all tables whose name begins with 'fact'. | [
[
"node_table",
"table"
],
[
"num_rows",
"number of rows in the table"
],
[
"num_cols",
"number of columns in the table"
],
[
"p_name",
"number type"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; English query: Sort all nosql database owners by the number of nosql databases they own.[/INST] SQL query: | Sort all nosql database owners by the number of nosql databases they own. | [
[
"edge_own",
"own"
],
[
"node_rdbms",
"SQL database"
],
[
"node_owner",
"owner"
],
[
"node_nosql",
"NoSQL database"
],
[
"node_database",
"database"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_label: node_id type_id short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; English query: List all people who own one or more databases in the lake.[/INST] SQL query: | List all people who own one or more databases in the lake. | [
[
"edge_own",
"has ownership"
],
[
"edge_own",
"own"
],
[
"node_rdbms",
"SQL database"
],
[
"node_database",
"database"
],
[
"edge_own",
"has ownership of"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_label: node_id type_id short_name long_name description creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show the number of databases owned by each owner account.[/INST] SQL query: | Show the number of databases owned by each owner account. | [
[
"edge_own",
"has ownership"
],
[
"edge_own",
"own"
],
[
"node_owner",
"owner"
],
[
"node_database",
"database"
],
[
"num_tables",
"number of tables in the database"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_label: node_id type_id short_name long_name description creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Show the database type and last modified date for all databases that were last modified in the past 30 days.[/INST] SQL query: | Show the database type and last modified date for all databases that were last modified in the past 30 days. | [
[
"node_classification",
"type"
],
[
"mod_date",
"modification date"
],
[
"node_database",
"database"
],
[
"database_type",
"database type"
],
[
"m_date",
"modification date"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Find tables obtained from the file 'nycc.csv'.[/INST] SQL query: | Find tables obtained from the file 'nycc.csv'. | [
[
"node_file",
"file"
],
[
"node_file",
"document"
],
[
"node_table",
"table"
],
[
"extension",
"file extension"
],
[
"edge_derive_table_table",
"derived from table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Display the name, long name, description and last modification date for the document owner column?[/INST] SQL query: | Display the name, long name, description and last modification date for the document owner column? | [
[
"mod_date",
"last modification"
],
[
"node_file",
"document"
],
[
"node_owner",
"owner"
],
[
"m_date",
"last modification"
],
[
"mod_date",
"modification date"
],
[
"m_date",
"modification date"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Count the number of assets owned by each owner account that contains the term 'nyc' in it's name or description.[/INST] SQL query: | Count the number of assets owned by each owner account that contains the term 'nyc' in it's name or description. | [
[
"node",
"asset"
],
[
"edge_own",
"has ownership"
],
[
"edge_own",
"own"
],
[
"node_owner",
"owner"
],
[
"p_name",
"number type"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; English query: Order all assets in the lake by type id and creation date.[/INST] SQL query: | Order all assets in the lake by type id and creation date. | [
[
"node",
"asset"
],
[
"type_id",
"type id"
],
[
"c_type_id",
"contact type id"
],
[
"node_classification",
"type"
],
[
"a_type_id",
"address type id"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_label: node_id type_id short_name long_name description creation_date modified_date ; English query: Count the number of tables belonging to each asset owner.[/INST] SQL query: | Count the number of tables belonging to each asset owner. | [
[
"asset_type_records",
"asset type"
],
[
"node",
"asset"
],
[
"node_table",
"table"
],
[
"node_owner",
"owner"
],
[
"num_tables",
"number of tables in the database"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id short_name long_name description creation_date modified_date ; English query: Print all metadata for joinable table relationships created in the past 3 days.[/INST] SQL query: | Print all metadata for joinable table relationships created in the past 3 days. | [
[
"node_business_term",
"business metadata"
],
[
"node_table",
"table"
],
[
"edge_unionable_table_table",
"unionable table"
],
[
"node_label",
"metadata"
],
[
"edge_joinable_table_table",
"joinable table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show the number of columns that each classification is associated with.[/INST] SQL query: | Show the number of columns that each classification is associated with. | [
[
"edge_assoc",
"association"
],
[
"edge_assoc_term_col",
"associated term"
],
[
"node_classification",
"classification"
],
[
"edge_assoc",
"associate"
],
[
"num_cols",
"number of columns in the table"
],
[
"p_name",
"number type"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List all the files in the lake.[/INST] SQL query: | List all the files in the lake. | [
[
"node_file",
"file"
],
[
"node_file",
"document"
],
[
"node_directory",
"folder"
],
[
"extension",
"file extension"
],
[
"edge_has_dir_file",
"directory has file"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; English query: Print the id for all folders which have a file name 'kyc.csv'.[/INST] SQL query: | Print the id for all folders which have a file name 'kyc.csv'. | [
[
"node_file",
"file"
],
[
"node_file",
"document"
],
[
"node_directory",
"folder"
],
[
"edge_has",
"has"
],
[
"extension",
"file extension"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; English query: For each directory, list the directory name, owner id and last modified timestamp.[/INST] SQL query: | For each directory, list the directory name, owner id and last modified timestamp. | [
[
"mod_date",
"last modification"
],
[
"node_directory",
"directory"
],
[
"doc_owr",
"document owner id"
],
[
"m_date",
"last modification"
],
[
"node_owner",
"owner"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: Display the name and description for all databases whose description contains the string 'vector'.[/INST] SQL query: | Display the name and description for all databases whose description contains the string 'vector'. | [
[
"edge_has",
"include"
],
[
"node_rdbms",
"SQL database"
],
[
"node_database",
"database"
],
[
"node_rdbms",
"relational database"
],
[
"database_type",
"database type"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Display all relational databases that contain more than 20 tables.[/INST] SQL query: | Display all relational databases that contain more than 20 tables. | [
[
"node_rdbms",
"SQL database"
],
[
"node_table",
"table"
],
[
"node_database",
"database"
],
[
"node_rdbms",
"relational database"
],
[
"database_type",
"database type"
],
[
"edge",
"related"
],
[
"edge",
"relation"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show the top 10 directories that contain the most subdirectories.[/INST] SQL query: | Show the top 10 directories that contain the most subdirectories. | [
[
"node_directory",
"directory"
],
[
"edge_has_dir_dir",
"include directory"
],
[
"edge_has",
"include"
],
[
"edge_has_dir_dir",
"has directory"
],
[
"edge_has_dir_file",
"directory has file"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_label: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Print all records for the dbo internet sales table.[/INST] SQL query: | Print all records for the dbo internet sales table. | [
[
"node_table",
"table"
],
[
"edge_has_table_col",
"table has column"
],
[
"edge_has",
"has"
],
[
"edge",
"related"
],
[
"edge_derive_table_table",
"derived from table"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_label: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node: node_id type_id short_name long_name description creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: For each asset type, how many assets are present in the lake?[/INST] SQL query: | For each asset type, how many assets are present in the lake? | [
[
"asset_type_records",
"asset type"
],
[
"node",
"asset"
],
[
"node_classification",
"type"
],
[
"type_id",
"asset type key"
],
[
"type_id",
"asset type id"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Print the description, creation date and maximum length of the document summary column in the document table.[/INST] SQL query: | Print the description, creation date and maximum length of the document summary column in the document table. | [
[
"node_file",
"document"
],
[
"node_table",
"table"
],
[
"max_col_length",
"maximum column length"
],
[
"e_date",
"end date"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: How many columns are associated with each classification that contains 'water' as a prefix?[/INST] SQL query: | How many columns are associated with each classification that contains 'water' as a prefix? | [
[
"edge_assoc",
"association"
],
[
"edge_assoc_term_col",
"associated term"
],
[
"node_classification",
"classification"
],
[
"edge_assoc",
"associate"
],
[
"num_cols",
"number of columns in the table"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: What are the columns associated with at least one classification term?[/INST] SQL query: | What are the columns associated with at least one classification term? | [
[
"edge_assoc",
"association"
],
[
"edge_assoc_term_col",
"associated term"
],
[
"node_classification",
"classification"
],
[
"edge_assoc",
"associate"
],
[
"relation_type_taxonomy",
"taxonomy"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_label: node_id type_id short_name long_name description creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; English query: List all asset nodes in the lake.[/INST] SQL query: | List all asset nodes in the lake. | [
[
"asset_type_records",
"asset type"
],
[
"node",
"asset"
],
[
"attributes_of_each_graph_node",
"node attributes"
],
[
"node",
"node"
],
[
"node_id",
"asset id"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: List all tables owned by 'jdoe' along with it's creation date.[/INST] SQL query: | List all tables owned by 'jdoe' along with it's creation date. | [
[
"edge_own",
"has ownership"
],
[
"edge_own",
"own"
],
[
"node_table",
"table"
],
[
"node_owner",
"owner"
],
[
"edge_own",
"has ownership of"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: How many columns associated with the classification phrase 'customer' does each table contain?[/INST] SQL query: | How many columns associated with the classification phrase 'customer' does each table contain? | [
[
"edge_assoc",
"association"
],
[
"edge_assoc_term_col",
"associated term"
],
[
"node_classification",
"classification"
],
[
"node_table",
"table"
],
[
"edge_assoc",
"associate"
],
[
"num_cols",
"number of columns in the table"
],
[
"node_column",
"column"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node: node_id type_id short_name long_name description creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_label: node_id type_id short_name long_name description creation_date modified_date ; English query: Print out the description and last modified timestamp for each relational database in the lake.[/INST] SQL query: | Print out the description and last modified timestamp for each relational database in the lake. | [
[
"mod_date",
"last modification"
],
[
"node_rdbms",
"SQL database"
],
[
"m_date",
"last modification"
],
[
"node_rdbms",
"relational database"
],
[
"node_database",
"database"
],
[
"edge",
"related"
],
[
"edge",
"relation"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Print the name, creation date and description for all csv files whose name contains the prefix 'dim'.[/INST] SQL query: | Print the name, creation date and description for all csv files whose name contains the prefix 'dim'. | [
[
"node_file",
"file"
],
[
"node_table",
"csv file"
],
[
"node_directory",
"folder"
],
[
"e_date",
"end date"
],
[
"s_date",
"start date"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: How many columns of type 'integer' are present in the lake?[/INST] SQL query: | How many columns of type 'integer' are present in the lake? | [
[
"node_column",
"column"
],
[
"type_id",
"type id"
],
[
"node_classification",
"type"
],
[
"num_cols",
"number of columns in the table"
],
[
"col_type",
"column data type"
]
] |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id short_name long_name description creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: What are the different column types?[/INST] SQL query: | What are the different column types? | [
[
"edge_has_table_col",
"include column"
],
[
"node_column",
"column"
],
[
"node_classification",
"type"
],
[
"edge_has_table_col",
"table has column"
],
[
"col_type",
"column data type"
]
] |
Subsets and Splits