text
stringlengths
642
1.45k
English Query
stringlengths
21
123
synonyms
sequencelengths
5
7
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node: 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 ; 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_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_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: Which are the tables in the lake that are joinable with other tables.[/INST] SQL query:
Which are the tables in the lake that are joinable with other tables.
[ [ "edge_joinable_table_table", "join" ], [ "node_table", "table" ], [ "edge_has", "has" ], [ "edge_derive_table_table", "derived from table" ], [ "edge_joinable_table_table", "joinable table" ] ]
[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_table_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 ; edge_derive_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 ; 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 ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; English query: Print the names and descriptions for all files that begin with the prefix 'dim'.[/INST] SQL query:
Print the names and descriptions for all files that begin with the prefix 'dim'.
[ [ "node_file", "file" ], [ "node_directory", "folder" ], [ "ctlg_desc", "catalog description" ], [ "extension", "file extension" ], [ "grp_n", "group name" ] ]
[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 ; edge_has_file_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 ; edge_assoc_class_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 ; edge_has: 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_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: 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_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 ; 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 ; 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 ; 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_assoc: 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: What are the columns associated with at least one business term?[/INST] SQL query:
What are the columns associated with at least one business term?
[ [ "edge_assoc", "association" ], [ "node_business_term", "business term" ], [ "edge_assoc_term_col", "associated term" ], [ "edge_assoc", "associate" ], [ "node_business_term", "business keyword" ], [ "node_column", "column" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: 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 ; 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 ; 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 ; English query: Display the column type, column length and description for each column with length greater than 100 characters.[/INST] SQL query:
Display the column type, column length and description for each column with length greater than 100 characters.
[ [ "node_column", "column" ], [ "node_classification", "type" ], [ "max_col_length", "maximum column length" ], [ "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_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 ; 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 ; 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_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_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Sort all business terms by it's creation timestamp.[/INST] SQL query:
Sort all business terms by it's creation timestamp.
[ [ "node_business_term", "business term" ], [ "edge_assoc_term_col", "associated business term" ], [ "node_business_term", "business concept" ], [ "a_city", "city" ], [ "node_business_term", "business keyword" ] ]
[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_has_dir_dir: 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 ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; English query: For each file extension, what is the average size of a file?[/INST] SQL query:
For each file extension, what is the average size of a file?
[ [ "node_file", "file" ], [ "node_file", "document" ], [ "fsize", "file size" ], [ "edge_has", "has" ], [ "extension", "file extension" ] ]
[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 ; edge_has_dir_dir: 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 ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_assoc_term_col: 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_label: node_id type_id short_name long_name description creation_date modified_date ; English query: Print all integer columns in the data lake.[/INST] SQL query:
Print all integer columns in the data lake.
[ [ "node_column", "column" ], [ "node_database", "database" ], [ "node_database", "data store" ], [ "edge_has_table_col", "table has column" ], [ "col_type", "column data type" ] ]
[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_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_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: 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: 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 ; 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_own: 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 business terms owned by each owner account.[/INST] SQL query:
Show the number of business terms owned by each owner account.
[ [ "edge_own", "has ownership" ], [ "node_business_term", "business term" ], [ "edge_own", "own" ], [ "node_owner", "owner" ], [ "p_name", "number type" ] ]
[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_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 ; edge_assoc_term_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_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 ; 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 ; English query: Show the creation date for all relational databases.[/INST] SQL query:
Show the creation date for all relational databases.
[ [ "node_database", "database" ], [ "node_rdbms", "relational database" ], [ "edge", "related" ], [ "edge", "relation" ], [ "e_date", "end date" ], [ "s_date", "start date" ] ]
[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 ; 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 ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; English query: List all columns linked with business terms that were added in the past 20 days.[/INST] SQL query:
List all columns linked with business terms that were added in the past 20 days.
[ [ "node_column", "column" ], [ "node_business_term", "business term" ], [ "edge", "related" ], [ "edge", "link" ], [ "node_business_term", "business keyword" ] ]
[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 ; edge: 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_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: Print short name, long name and description for the business entity identifier column.[/INST] SQL query:
Print short name, long name and description for the business entity identifier column.
[ [ "buss_entty_id", "business entity id" ], [ "bid", "business entity id" ], [ "longName", "long name" ], [ "bus_ent_id", "business entity id" ], [ "node_column", "column" ] ]
[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_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_nosql: 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 ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; English query: What are the top 10 classifications which are associated with the most columns?[/INST] SQL query:
What are the top 10 classifications which are associated with the most columns?
[ [ "edge_assoc", "association" ], [ "edge_assoc_term_col", "associated term" ], [ "node_classification", "classification" ], [ "edge_assoc", "associate" ], [ "edge", "related" ], [ "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 ; edge_own: 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 ; 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 ; node_business_term: 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 ; English query: Show the number of business terms owned by each asset owner.[/INST] SQL query:
Show the number of business terms owned by each asset owner.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "node_business_term", "business term" ], [ "edge_own", "own" ], [ "node_owner", "owner" ] ]
[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_term_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: 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_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 ; 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: 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_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 ; 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_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 ; English query: For each table in the lake with 10 or mor columns, show the number of columns and the creation date.[/INST] SQL query:
For each table in the lake with 10 or mor columns, show the number of columns and the creation date.
[ [ "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 ; edge_own: 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: 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_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; English query: Show me the number of assets of each type owned by each owner account.[/INST] SQL query:
Show me the number of assets of each type owned by each owner account.
[ [ "node", "asset" ], [ "edge_own", "has ownership" ], [ "edge_own", "own" ], [ "node_classification", "type" ], [ "node_owner", "owner" ] ]
[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_joinable_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_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; 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_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 the names and descriptions for all files that begin with the prefix 'dim'.[/INST] SQL query:
Print the names and descriptions for all files that begin with the prefix 'dim'.
[ [ "node_file", "file" ], [ "node_directory", "folder" ], [ "ctlg_desc", "catalog description" ], [ "extension", "file extension" ], [ "grp_n", "group name" ] ]
[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_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_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 ; 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 ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Order nosql databases by modification timestamps.[/INST] SQL query:
Order nosql databases by modification timestamps.
[ [ "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_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 ; 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 ; 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_assoc_class_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: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Display all records for any 10 assets in the lake.[/INST] SQL query:
Display all records for any 10 assets in the lake.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "description", "asset explaination" ], [ "node", "resource" ], [ "node_id", "asset id" ] ]
[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_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: 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: How many columns does each table in the lake contain?[/INST] SQL query:
How many columns does each table in the lake contain?
[ [ "node_table", "table" ], [ "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_assoc_class_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_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_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show all metadata records for all classification label column association relations.[/INST] SQL query:
Show all metadata records for all classification label column association relations.
[ [ "edge_assoc", "association" ], [ "node_classification", "classification" ], [ "edge_assoc", "associate" ], [ "node_label", "label" ], [ "node_label", "metadata" ], [ "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: 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_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_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; English query: What are the folders present in the lake?[/INST] SQL query:
What are the folders present in the lake?
[ [ "node_directory", "directory" ], [ "node_directory", "folder" ], [ "description", "explaination" ], [ "edge_has", "has" ], [ "edge_has_dir_file", "directory has file" ] ]
[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_assoc_term_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_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_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Display the description and number of tables for all relational databases.[/INST] SQL query:
Display the description and number of tables for all relational databases.
[ [ "node_table", "table" ], [ "node_database", "database" ], [ "node_rdbms", "relational database" ], [ "num_rows", "number of rows in the table" ], [ "edge", "related" ], [ "edge", "relation" ], [ "num_tables", "number of tables in the database" ] ]
[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_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 ; node_classification: 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_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 ; 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: Show all 'covid' related tables in the lake.[/INST] SQL query:
Show all 'covid' related tables in the lake.
[ [ "relation_type_taxonomy", "related connection" ], [ "node_table", "table" ], [ "target_node_id", "related resource" ], [ "edge", "related" ], [ "edge", "relation" ] ]
[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 ; 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 ; 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 ; 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 ; node_label: node_id type_id short_name long_name description creation_date modified_date ; English query: Show short name and long name for the table from file 'youth_engagement.csv'[/INST] SQL query:
Show short name and long name for the table from file 'youth_engagement.csv'
[ [ "longName", "long title" ], [ "node_file", "file" ], [ "longName", "long name" ], [ "node_table", "table" ], [ "edge_has_file_table", "file has 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: 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_classification: 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_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 ; 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: Identify all classifications with the term 'market' in it.[/INST] SQL query:
Identify all classifications with the term 'market' in it.
[ [ "node_business_term", "business term" ], [ "relation_type_taxonomy", "taxonomy" ], [ "edge_assoc_term_col", "associated term" ], [ "node_classification", "classification" ], [ "node_classification", "category" ] ]
[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 ; 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: 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_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; 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 ; 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: Display the id, names and creation dates for all business terms.[/INST] SQL query:
Display the id, names and creation dates for all business terms.
[ [ "type_id", "type id" ], [ "node_business_term", "business term" ], [ "node_business_term", "business keyword" ], [ "e_date", "end date" ], [ "s_date", "start date" ] ]
[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_assoc: 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_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_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 ; 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: Display short name, long name and description for the password salt column.[/INST] SQL query:
Display short name, long name and description for the password salt column.
[ [ "longName", "long title" ], [ "passwd_salt", "password salt" ], [ "longName", "long name" ], [ "passwd_hash", "password hash" ], [ "node_column", "column" ] ]
[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_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 ; 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: How many subfolders does each folder have?[/INST] SQL query:
How many subfolders does each folder have?
[ [ "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_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_assoc_class_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 ; edge_joinable_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 ; English query: Count the number of joinable tables for each table in the lake.[/INST] SQL query:
Count the number of joinable tables for each table in the lake.
[ [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge_unionable_table_table", "unionable table" ], [ "p_name", "number type" ], [ "edge_joinable_table_table", "joinable table" ] ]
[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: 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_business_term: 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 ; English query: Print descriptions for 25 most recently added assets.[/INST] SQL query:
Print descriptions for 25 most recently added assets.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "node_classification", "classification" ], [ "ctlg_desc", "catalog description" ], [ "node_id", "asset id" ] ]
[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_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 ; 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 ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; edge_joinable_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 ; English query: How many assets are present in the lake for each label asset type id?[/INST] SQL query:
How many assets are present in the lake for each label asset type id?
[ [ "asset_type_records", "asset type" ], [ "type_id", "type id" ], [ "node", "asset" ], [ "node_classification", "type" ], [ "type_id", "asset type id" ], [ "node_label", "label" ] ]
[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 ; 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 ; node: 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_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; 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 ; 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 all records for the classification labeled 'state'.[/INST] SQL query:
Show all records for the classification labeled 'state'.
[ [ "relation_type_taxonomy", "taxonomy" ], [ "node_classification", "classification" ], [ "edge_has", "has" ], [ "node_label", "label" ], [ "node_classification", "category" ] ]
[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_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 ; 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 ; 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 ; English query: Count the number of joinable relationships found for each table in the past 3 days.[/INST] SQL query:
Count the number of joinable relationships found for each table in the past 3 days.
[ [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge", "relation" ], [ "p_name", "number type" ], [ "edge_joinable_table_table", "joinable 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_has_dir_dir: 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 ; node_label: node_id type_id short_name long_name description creation_date modified_date ; English query: Show the short name, long name and description for the job candidate table.[/INST] SQL query:
Show the short name, long name and description for the job candidate table.
[ [ "longName", "long title" ], [ "longName", "long name" ], [ "node_table", "table" ], [ "long_name", "relation long name" ], [ "job_cand_id", "job candidate id" ] ]
[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_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 ; edge_joinable_table_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 ; 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: How many columns is each classification associated with?[/INST] SQL query:
How many columns is each classification associated with?
[ [ "edge_assoc", "association" ], [ "edge_assoc_term_col", "associated term" ], [ "node_classification", "classification" ], [ "edge_assoc", "associate" ], [ "edge_assoc_class_col", "associated category term" ], [ "num_cols", "number of columns in the table" ], [ "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 ; 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 ; 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 ; edge_derive_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 ; 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 ; English query: Show the creation date, last modified date and descriptions for all labels in the data lake.[/INST] SQL query:
Show the creation date, last modified date and descriptions for all labels in the data lake.
[ [ "c_date", "changed date" ], [ "mod_date", "modification date" ], [ "node_label", "label" ], [ "c_date", "modification date" ], [ "m_date", "modification date" ] ]
[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: 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: 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_own: 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_business_term: node_id type_id short_name long_name description creation_date modified_date ; English query: Show all the people who created business terms in the last 10 days.[/INST] SQL query:
Show all the people who created business terms in the last 10 days.
[ [ "node_business_term", "business term" ], [ "edge_assoc_term_col", "associated business term" ], [ "node_business_term", "business concept" ], [ "m_date", "last modification" ], [ "node_business_term", "business keyword" ] ]
[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_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 ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; 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: Find all tables whose name contains 'weight' as a prefix and has a column which contains 'building' as a prefix.[/INST] SQL query:
Find all tables whose name contains 'weight' as a prefix and has a column which contains 'building' as a prefix.
[ [ "edge_has_table_col", "include column" ], [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge_has", "has" ], [ "node_column", "column" ] ]
[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_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 ; 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_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_business_term: node_id type_id short_name long_name description creation_date modified_date ; English query: Show the type and length for all columns in the lake within tables that have the word 'vehicle' in their names.[/INST] SQL query:
Show the type and length for all columns in the lake within tables that have the word 'vehicle' in their names.
[ [ "type_id", "type id" ], [ "node_classification", "type" ], [ "node_table", "table" ], [ "edge_has", "has" ], [ "node_column", "column" ] ]
[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_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; 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_classification: 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_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_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: Show all metadata records for the DDG table.[/INST] SQL query:
Show all metadata records for the DDG table.
[ [ "node_business_term", "business metadata" ], [ "node_table", "table" ], [ "node_database", "database" ], [ "edge_has", "has" ], [ "node_label", "metadata" ] ]
[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_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 ; node_classification: 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 ; 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 descriptions for labels created in the past 20 days.[/INST] SQL query:
Show the descriptions for labels created in the past 20 days.
[ [ "node_label", "tag" ], [ "edge_has", "has" ], [ "edge", "related" ], [ "ctlg_desc", "catalog description" ], [ "node_label", "label" ] ]
[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_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_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 ; node_owner: 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_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Give me the name and description of all databases in the lake.[/INST] SQL query:
Give me the name and description of all databases in the lake.
[ [ "node_rdbms", "SQL database" ], [ "node_database", "database" ], [ "node_rdbms", "relational database" ], [ "database_type", "database type" ], [ "ctlg_desc", "catalog description" ] ]
[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_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: 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_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; English query: For each owner account, calculate the average size of a file added in the past month.[/INST] SQL query:
For each owner account, calculate the average size of a file added in the past month.
[ [ "edge_own", "has ownership" ], [ "node_file", "file" ], [ "node_file", "document" ], [ "fsize", "file size" ], [ "node_owner", "owner" ] ]
[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_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; 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 ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; English query: Print the number of rows and number of columns in the table named 'fact_finance'.[/INST] SQL query:
Print the number of rows and number of columns in the table named 'fact_finance'.
[ [ "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_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_label: 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_table_col: 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 ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List all columns of type integer.[/INST] SQL query:
List all columns of type integer.
[ [ "node_column", "column" ], [ "type_id", "type id" ], [ "node_classification", "type" ], [ "type_id", "type key" ], [ "col_type", "column data type" ] ]
[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_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 ; 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 ; 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_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_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; English query: List the number of tables derived from each table in the lake.[/INST] SQL query:
List the number of tables derived from each table in the lake.
[ [ "node_table", "table" ], [ "num_rows", "number of rows in the table" ], [ "edge_derive_table_table", "derived table" ], [ "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_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_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 ; edge_own: 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_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; English query: Show the average size of a file owned by each user for all users who own more than 10 files.[/INST] SQL query:
Show the average size of a file owned by each user for all users who own more than 10 files.
[ [ "edge_own", "has ownership" ], [ "node_file", "file" ], [ "edge_own", "own" ], [ "node_owner", "owner" ], [ "edge_own", "has ownership of" ] ]
[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_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_business_term: 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_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 ; 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 ; English query: For each business term, count the number of columns it has been assigned to in the past 1 year.[/INST] SQL query:
For each business term, count the number of columns it has been assigned to in the past 1 year.
[ [ "node_business_term", "business term" ], [ "edge_has", "has" ], [ "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_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_owner: 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_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 ; English query: Show all the people who created business terms in the last 10 days.[/INST] SQL query:
Show all the people who created business terms in the last 10 days.
[ [ "node_business_term", "business term" ], [ "edge_assoc_term_col", "associated business term" ], [ "node_business_term", "business concept" ], [ "m_date", "last modification" ], [ "node_business_term", "business keyword" ] ]
[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_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 ; 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_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: 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_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Find all tables derived from files with prefix 'dot_vzv'.[/INST] SQL query:
Find all tables derived from files with prefix 'dot_vzv'.
[ [ "node_file", "file" ], [ "node_directory", "folder" ], [ "node_table", "table" ], [ "edge_derive_table_table", "derived table" ], [ "edge_derive_table_table", "derived from 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_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 ; 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 ; 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_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 ; English query: Find all tables in the lake derived from csv files.[/INST] SQL query:
Find all tables in the lake derived from csv files.
[ [ "node_file", "file" ], [ "node_table", "csv file" ], [ "node_table", "table" ], [ "edge_derive_table_table", "derived table" ], [ "edge_derive_table_table", "derived from 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 ; node_classification: 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_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 ; English query: Show a sample of 5 records of classifications.[/INST] SQL query:
Show a sample of 5 records of classifications.
[ [ "edge_assoc", "association" ], [ "node_classification", "classification" ], [ "node", "resource" ], [ "a_city", "city" ], [ "relation_type_taxonomy", "taxonomy" ] ]
[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 ; 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: 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_owner: node_id type_id short_name long_name description creation_date modified_date ; English query: Show all metadata records for asset owners.[/INST] SQL query:
Show all metadata records for asset owners.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "node_business_term", "business metadata" ], [ "node_owner", "owner" ], [ "node_label", "metadata" ] ]
[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 ; 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_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 ; English query: Show the names of all tables that are unionable with other tables.[/INST] SQL query:
Show the names of all tables that are unionable with other tables.
[ [ "node_table", "table" ], [ "edge_has", "has" ], [ "edge_unionable_table_table", "union" ], [ "edge_unionable_table_table", "unionable table" ], [ "grp_n", "group name" ] ]
[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_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 ; 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 ; English query: How many tables belong to each owner account?[/INST] SQL query:
How many tables belong to each owner account?
[ [ "edge_own", "has ownership" ], [ "node_table", "table" ], [ "node_owner", "owner" ], [ "num_rows", "number of rows in the table" ], [ "num_tables", "number of tables in the database" ] ]
[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_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_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 ; edge_assoc_class_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: Print out the descriptions for each column in the data lake.[/INST] SQL query:
Print out the descriptions for each column in the data lake.
[ [ "edge_has_table_col", "include column" ], [ "node_database", "database" ], [ "edge_has_table_col", "table has column" ], [ "ctlg_desc", "catalog description" ], [ "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_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_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 ; English query: Find all tables whose name contains 'weight' as a prefix and has a column which contains 'building' as a prefix.[/INST] SQL query:
Find all tables whose name contains 'weight' as a prefix and has a column which contains 'building' as a prefix.
[ [ "edge_has_table_col", "include column" ], [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge_has", "has" ], [ "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_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_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 ; edge_assoc_class_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_joinable_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 columns associated with each classification asset in the lake that has 'nyc' as a prefix.[/INST] SQL query:
Count the columns associated with each classification asset in the lake that has 'nyc' as a prefix.
[ [ "edge_assoc", "association" ], [ "node", "asset" ], [ "edge_assoc_term_col", "associated term" ], [ "node_classification", "classification" ], [ "edge_assoc", "associate" ], [ "edge_has", "has" ], [ "node_column", "column" ] ]
[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_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 ; 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_classification: 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: 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_owner: node_id type_id short_name long_name description creation_date modified_date ; English query: Which are the tables that are unionable with the 'taxi_zones' table?[/INST] SQL query:
Which are the tables that are unionable with the 'taxi_zones' table?
[ [ "node_table", "table" ], [ "edge_has", "has" ], [ "edge_unionable_table_table", "union" ], [ "edge_unionable_table_table", "unionable table" ], [ "edge_derive_table_table", "derived from 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_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 ; edge: 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_derive_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_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; English query: How many total relations are represented in the data lake?[/INST] SQL query:
How many total relations are represented in the data lake?
[ [ "edge_has", "relation has" ], [ "node_database", "data store" ], [ "node_database", "database" ], [ "edge_has", "has" ], [ "edge", "related" ], [ "edge", "relation" ] ]
[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_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_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 ; English query: Show all tables created after June 24 2023.[/INST] SQL query:
Show all tables created after June 24 2023.
[ [ "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: 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_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_joinable_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_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 ; 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 number of database instance present for each database asset type id.[/INST] SQL query:
Show the number of database instance present for each database asset type id.
[ [ "asset_type_records", "asset type" ], [ "type_id", "type id" ], [ "node", "asset" ], [ "node_classification", "type" ], [ "node_database", "database" ], [ "type_id", "asset type 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_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 ; 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 ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: Show the extension and size of all files in the lake.[/INST] SQL query:
Show the extension and size of all files in the lake.
[ [ "node_file", "file" ], [ "node_directory", "folder" ], [ "fsize", "file size" ], [ "extension", "file extension" ], [ "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_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_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 ; 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 ; English query: List all column ids and the number of associated business terms for all columns associated with at least 1 business term.[/INST] SQL query:
List all column ids and the number of associated business terms for all columns associated with at least 1 business term.
[ [ "edge_assoc", "association" ], [ "node_business_term", "business term" ], [ "edge_assoc_term_col", "associated term" ], [ "edge_assoc_term_col", "associated business term" ], [ "edge_assoc", "associate" ], [ "p_name", "number type" ], [ "node_column", "column" ] ]
[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 ; 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 ; 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 ; edge_own: 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_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: Show me the creation dates for all business terms.[/INST] SQL query:
Show 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_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 ; 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_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_assoc_class_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_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Find all classifications belonging to 'testuser' that were created in the past 30 days.[/INST] SQL query:
Find all classifications belonging to 'testuser' that were created in the past 30 days.
[ [ "edge_own", "own" ], [ "relation_type_taxonomy", "taxonomy" ], [ "node_classification", "classification" ], [ "edge_has", "has" ], [ "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_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 ; node_label: 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 ; 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 ; English query: Order all labels by creation date.[/INST] SQL query:
Order all labels by creation date.
[ [ "smm_date", "shipping date" ], [ "c_date", "changed date" ], [ "node_label", "label" ], [ "e_date", "end date" ], [ "s_date", "start date" ] ]
[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_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 ; 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: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show all columns associated with business terms created in the last 10 days.[/INST] SQL query:
Show all columns associated with business terms created in the last 10 days.
[ [ "edge_assoc", "association" ], [ "node_business_term", "business term" ], [ "edge_assoc_term_col", "associated term" ], [ "edge_assoc_term_col", "associated business term" ], [ "edge_assoc", "associate" ], [ "node_business_term", "business keyword" ], [ "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 ; 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 ; 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_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; English query: Show the creation date for the 5 biggest tables by the number of columns that contain the term 'enterprise' in their names.[/INST] SQL query:
Show the creation date for the 5 biggest tables by the number of columns that contain the term 'enterprise' in their names.
[ [ "p_name", "number type" ], [ "node_table", "table" ], [ "num_cols", "number of columns in the table" ], [ "e_date", "end date" ], [ "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 ; 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_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 ; 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_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_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 ; English query: How many columns are present in each of the tables create in the past 7 days?[/INST] SQL query:
How many columns are present in each of the tables create in the past 7 days?
[ [ "node_table", "table" ], [ "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: 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 ; 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 ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; English query: Which tables contain the word 'work' in their names a column that contains the word 'hours' in it's name?[/INST] SQL query:
Which tables contain the word 'work' in their names a column that contains the word 'hours' in it's name?
[ [ "edge_has_table_col", "include column" ], [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge_has_file_table", "include 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 ; 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: 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 ; edge_joinable_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_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Show all descriptions for asset owners.[/INST] SQL query:
Show all descriptions for asset owners.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "description", "asset explaination" ], [ "node_owner", "owner" ], [ "node_id", "asset id" ] ]
[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_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_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 ; 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 ; 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 ; node: node_id type_id short_name long_name description creation_date modified_date ; English query: Find all asset owners whose full name is John Smith.[/INST] SQL query:
Find all asset owners whose full name is John Smith.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "edge_own", "has ownership" ], [ "node_owner", "owner" ], [ "edge_own", "has ownership of" ] ]
[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_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_classification: 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 ; 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: Count the number of columns associated with each classification that contains the word 'category' in it's name.[/INST] SQL query:
Count the number of columns associated with each classification that contains the word 'category' in it's name.
[ [ "edge_assoc", "association" ], [ "edge_assoc_term_col", "associated term" ], [ "node_classification", "classification" ], [ "edge_assoc", "associate" ], [ "node_classification", "category" ], [ "num_cols", "number of columns in the table" ], [ "node_column", "column" ] ]
[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_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 ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; 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_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_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: For each file, show me the file name, description and owner id.[/INST] SQL query:
For each file, show me the file name, description and owner id.
[ [ "edge_own", "has ownership" ], [ "node_file", "file" ], [ "node_file", "document" ], [ "node_owner", "owner" ], [ "extension", "file extension" ] ]
[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 ; edge_assoc_class_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 ; node_owner: 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: Order all column in the lake from newest to oldest.[/INST] SQL query:
Order all column in the lake from newest to oldest.
[ [ "edge_has_table_col", "include column" ], [ "source_node_id", "source" ], [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "node_column", "column" ] ]
[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_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 ; 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 ; 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: 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: 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: 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 ; 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 ; 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 ; 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_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 ; 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: 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_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List ids for all folders that contain more than 100 files.[/INST] SQL query:
List ids for all folders that contain more than 100 files.
[ [ "type_id", "type id" ], [ "node_directory", "directory" ], [ "node_file", "file" ], [ "edge_has", "include" ], [ "node_directory", "folder" ] ]
[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_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 ; edge_assoc_class_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_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: How many columns are associated with each classification label that has 'nyc' as a prefix.[/INST] SQL query:
How many columns are associated with each classification label that has 'nyc' as a prefix.
[ [ "edge_assoc", "association" ], [ "edge_assoc_term_col", "associated term" ], [ "node_classification", "classification" ], [ "edge_assoc", "associate" ], [ "edge_has", "has" ], [ "node_label", "label" ], [ "node_column", "column" ] ]
[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_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_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_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: Show all the tables that were derived from excel files.[/INST] SQL query:
Show all the tables that were derived from excel files.
[ [ "node_table", "spreadsheet" ], [ "node_file", "file" ], [ "node_table", "table" ], [ "edge_derive_table_table", "derived table" ], [ "edge_derive_table_table", "derived from 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 ; 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 ; 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_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_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; 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: 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_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_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 ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; English query: Show the names of the last 5 modified directories.[/INST] SQL query:
Show the names of the last 5 modified directories.
[ [ "mod_date", "last modification" ], [ "node_directory", "directory" ], [ "m_date", "last modification" ], [ "grp_n", "group name" ], [ "e_date", "end date" ] ]
[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_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_nosql: 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 ; 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_file_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 columns of each type present in tables in that contain the word 'water' in their names.[/INST] SQL query:
Count the number of columns of each type present in tables in that contain the word 'water' in their names.
[ [ "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_assoc_term_col: 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_owner: 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_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_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: List creation timestamps for all folders.[/INST] SQL query:
List creation timestamps for all folders.
[ [ "node_directory", "directory" ], [ "source_node_id", "generator" ], [ "node_directory", "folder" ], [ "node_classification", "type" ], [ "s_time", "start time" ] ]
[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_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 ; edge_assoc_term_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_joinable_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_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_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: How many different types of files are there in the lake?[/INST] SQL query:
How many different types of files are there in the lake?
[ [ "node_file", "file" ], [ "asset_type_records", "resource type" ], [ "node_directory", "folder" ], [ "node_classification", "type" ], [ "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_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; 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 ; edge_joinable_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 ; 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_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 ; English query: List all files immediately under the directory 'part1'[/INST] SQL query:
List all files immediately under the directory 'part1'
[ [ "node_directory", "directory" ], [ "node_file", "file" ], [ "edge_has_dir_dir", "include directory" ], [ "node_directory", "folder" ], [ "edge_has_dir_dir", "has directory" ] ]
[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: 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_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 ; English query: List the source assets for the 20 oldest relations in the lake.[/INST] SQL query:
List the source assets for the 20 oldest relations in the lake.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "source_node_id", "source" ], [ "edge_has", "relation has" ], [ "edge", "related" ], [ "edge", "relation" ] ]
[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_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_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; 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_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Find all columns associated with the classification 'enterprise'.[/INST] SQL query:
Find all columns 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: 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_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_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; English query: Find all tables in the lake derived from xlsx files.[/INST] SQL query:
Find all tables in the lake derived from xlsx files.
[ [ "node_file", "file" ], [ "source_node_id", "source" ], [ "node_table", "table" ], [ "edge_derive_table_table", "derived table" ], [ "edge_derive_table_table", "derived from table" ] ]
[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_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_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_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: node_id type_id short_name long_name description creation_date modified_date ; English query: Show the number of columns associated with each business term.[/INST] SQL query:
Show the number of columns associated with each business term.
[ [ "edge_assoc", "association" ], [ "node_business_term", "business term" ], [ "edge_assoc_term_col", "associated term" ], [ "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: 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_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_derive_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 ; 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: Count the number of assets owned by each account older than a week.[/INST] SQL query:
Count the number of assets owned by each account older than a week.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "edge_own", "own" ], [ "node_owner", "owner" ], [ "p_name", "number type" ] ]
[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_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_derive_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 ; English query: How many columns are associated with each label?[/INST] SQL query:
How many columns are associated with each label?
[ [ "edge_assoc", "association" ], [ "edge_assoc_term_col", "associated term" ], [ "edge_assoc", "associate" ], [ "node_label", "label" ], [ "num_cols", "number of columns in the table" ], [ "node_column", "column" ] ]
[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 ; 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 ; 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: node_id type_id short_name long_name description creation_date modified_date ; English query: Find all tables in the lake derived from json files.[/INST] SQL query:
Find all tables in the lake derived from json files.
[ [ "node_file", "file" ], [ "source_node_id", "source" ], [ "node_table", "table" ], [ "edge_derive_table_table", "derived table" ], [ "edge_derive_table_table", "derived from table" ] ]
[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_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_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 ; node_label: node_id type_id short_name long_name description creation_date modified_date ; English query: Show the descriptions for all labels in the database.[/INST] SQL query:
Show the descriptions for all labels in the database.
[ [ "node_rdbms", "SQL database" ], [ "node_database", "database" ], [ "database_type", "database type" ], [ "ctlg_desc", "catalog description" ], [ "node_label", "label" ] ]
[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 ; edge_unionable_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 ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; English query: Which tables contain the word 'weight' in their names a column that contains the word 'building' in it's name?[/INST] SQL query:
Which tables contain the word 'weight' in their names a column that contains the word 'building' in it's name?
[ [ "edge_has_table_col", "include column" ], [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge_has_file_table", "include table" ], [ "node_column", "column" ] ]
[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_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_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 ; edge: 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_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 ; English query: List all files in the HR folder.[/INST] SQL query:
List all files in the HR folder.
[ [ "human_resources", "human resources" ], [ "node_file", "file" ], [ "human_resources", "hr" ], [ "node_directory", "folder" ], [ "edge_has_dir_file", "directory has file" ] ]
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
33
Edit dataset card