text
stringlengths
642
1.45k
English Query
stringlengths
21
123
synonyms
listlengths
5
7
[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_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modifi...
Sort all labels chronologically 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: edge_assoc: 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_o...
Order all columns in the lake by their length.
[ [ "edge_has_table_col", "include column" ], [ "edge_has_table_col", "table has column" ], [ "edge_has", "has" ], [ "num_cols", "number of columns in the table" ], [ "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_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_d...
Show all columns of type boolean.
[ [ "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: 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 ; edge_has: edge_id type_id short_name long_name descript...
Print all records for the dim sales territory table.
[ [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge_has", "has" ], [ "a_city", "city" ], [ "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 ; 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...
Print the creation and last modification timestamp for the human resources directory.
[ [ "human_resources", "human resources" ], [ "mod_date", "last modification" ], [ "node_directory", "directory" ], [ "m_date", "last modification" ], [ "node", "resource" ] ]
[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_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_la...
Count the number of assets owned by asset owners among assets created in the past 30 days.
[ [ "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_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 ; edge_has_dir_file: edge_id type_id short_name long_name ...
Select the directory name and last modified date for all directories.
[ [ "c_date", "changed date" ], [ "node_directory", "directory" ], [ "mod_date", "modification date" ], [ "c_date", "modification date" ], [ "m_date", "modification date" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_assoc: edge_id t...
Print all records created in the past 3 days for relations outlining a column within a table.
[ [ "edge_has", "relation has" ], [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge", "related" ], [ "edge", "relation" ], [ "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_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 ...
For each table, how many other tables can be joined with it?
[ [ "edge_joinable_table_table", "join" ], [ "node_table", "table" ], [ "num_rows", "number of rows in the table" ], [ "num_cols", "number of columns in the table" ], [ "edge_derive_table_table", "derived from table" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: ...
For each owner account, display the mean size of a file added in 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_unionable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_direc...
Count all possible unionable tables for each table.
[ [ "node_table", "table" ], [ "edge_unionable_table_table", "union" ], [ "edge_unionable_table_table", "unionable table" ], [ "edge_derive_table_table", "derived from table" ], [ "edge_joinable_table_table", "joinable table" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: 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...
What are 10 biggest tables by number of rows?
[ [ "node_table", "table" ], [ "num_rows", "number of rows in the table" ], [ "edge_has", "has" ], [ "edge_derive_table_table", "derived from table" ], [ "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_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 lo...
Count the number of classifications associated with each column id.
[ [ "edge_assoc", "association" ], [ "edge_assoc_term_col", "associated term" ], [ "node_classification", "classification" ], [ "edge_assoc", "associate" ], [ "edge_has_table_col", "table has column" ], [ "p_name", "number type" ], [ "node_co...
[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_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modifie...
How many rows and columns does the popular baby names table have?
[ [ "node_table", "table" ], [ "num_rows", "number of rows in the table" ], [ "edge_has_table_col", "table has column" ], [ "edge_has", "has" ], [ "node_column", "column" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_table: node_id t...
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: node_label: 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_has_dir_dir: edge_id type_id short_name long...
Find all folders in the lake with size greater than 1GB.
[ [ "node_directory", "directory" ], [ "node_directory", "folder" ], [ "fsize", "file size" ], [ "edge_has", "has" ], [ "a_city", "city" ] ]
[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_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: no...
Show the number of files belonging to each owner account.
[ [ "edge_own", "has ownership" ], [ "node_file", "file" ], [ "node_directory", "folder" ], [ "node_owner", "owner" ], [ "p_name", "number type" ] ]
[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 ; node_directory: node_id type_id short_name long_name description ...
Show the number of related assets for each asset.
[ [ "relation_type_taxonomy", "related connection" ], [ "node", "asset" ], [ "target_node_id", "related resource" ], [ "edge", "related" ], [ "edge", "relation" ], [ "p_name", "number 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: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: e...
Count all possible joinable tables for each table in the lake.
[ [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge_unionable_table_table", "unionable table" ], [ "edge_derive_table_table", "derived from table" ], [ "edge_joinable_table_table", "joinable table" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id sho...
Display all the business terms in the lake.
[ [ "node_business_term", "business term" ], [ "edge_assoc_term_col", "associated business term" ], [ "node_business_term", "business concept" ], [ "edge_has", "has" ], [ "node_business_term", "business keyword" ] ]
[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: 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 descri...
List all tables that were pulled from files whose name begins with 'student_covid_vaccinations'.
[ [ "node_file", "file" ], [ "node_directory", "folder" ], [ "node_table", "table" ], [ "extension", "file extension" ], [ "grp_n", "group name" ] ]
[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_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge...
Order all relational database owners by the number of relational databases they own.
[ [ "edge_own", "own" ], [ "node_rdbms", "SQL database" ], [ "node_owner", "owner" ], [ "node_database", "database" ], [ "node_rdbms", "relational database" ], [ "edge", "related" ], [ "edge", "relation" ] ]
[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_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_classification...
For each owner, display the sum of all file sizes created in the past month.
[ [ "edge_own", "has ownership" ], [ "dsize", "directory size" ], [ "node_file", "file" ], [ "fsize", "file size" ], [ "node_owner", "owner" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_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_...
Show all tables that contain less than 10 columns.
[ [ "edge_has", "include" ], [ "node_table", "table" ], [ "edge_has_file_table", "file has table" ], [ "edge_has_file_table", "include 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 ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_labe...
Find all classifications associated with a column whose description contains the term 'knowledge'.
[ [ "edge_assoc", "association" ], [ "edge_assoc_term_col", "associated term" ], [ "node_classification", "classification" ], [ "edge_assoc", "associate" ], [ "edge_has_table_col", "table has column" ], [ "node_column", "column" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_derive_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_te...
Show the columns that have the word 'water' in their name or description?
[ [ "edge_has_table_col", "include column" ], [ "edge_has_table_col", "table has column" ], [ "edge_has", "has" ], [ "grp_n", "group name" ], [ "node_column", "column" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge: 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_busine...
How many columns has each business term been assigned to in the past 20 days?
[ [ "node_column", "column" ], [ "node_business_term", "business term" ], [ "edge_has", "has" ], [ "num_cols", "number of columns in the table" ], [ "node_business_term", "business keyword" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_column: node_id ...
Which are the tables contain a column that includes the word 'borough' in it's name?
[ [ "edge_has_table_col", "include column" ], [ "edge_has", "include" ], [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "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_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 t...
Print the creation dates and descriptions of all business terms in the lake.
[ [ "node_business_term", "business term" ], [ "ctlg_desc", "catalog description" ], [ "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 ; 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...
What is the total size of all files created in the last 30 days for each user account?
[ [ "node_file", "file" ], [ "act_number", "account number" ], [ "node_directory", "folder" ], [ "fsize", "file size" ], [ "edge_has", "has" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nos...
List the creation data of nosql databases created in the past week.
[ [ "node_rdbms", "SQL database" ], [ "node_database", "database" ], [ "node_rdbms", "relational database" ], [ "node_nosql", "NoSQL database" ], [ "database_type", "database type" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node: 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_assoc_class_col: edge_id type_id short_name long_name des...
How many columns of type 'integer' are present in the lake?
[ [ "node_column", "column" ], [ "type_id", "type id" ], [ "node_classification", "type" ], [ "num_cols", "number of columns in the table" ], [ "col_type", "column data type" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: 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 ; node: node_id type...
Show all columns with the term 'prod' in their name or description.
[ [ "edge_has_table_col", "include column" ], [ "node_business_term", "business term" ], [ "edge_has_table_col", "table has column" ], [ "grp_n", "group name" ], [ "node_column", "column" ] ]
[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 ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_unionable_table_table: ...
Show all columns that have 10 or more rows, 10 or more columns and were created in the last 10 days.
[ [ "edge_has_table_col", "include column" ], [ "edge_own", "own" ], [ "edge_has_table_col", "table has column" ], [ "edge_has", "has" ], [ "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 ; 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 s...
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_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: node_id ...
Order all assets in descending order of their last modified timestamp.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "mod_date", "last modification" ], [ "m_date", "last modification" ], [ "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_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...
List sizes and descriptions for all files belonging to owner id 3.
[ [ "edge_own", "has ownership" ], [ "node_file", "file" ], [ "doc_owr", "document owner id" ], [ "node_directory", "folder" ], [ "node_owner", "owner" ] ]
[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: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_ta...
Show the number of columns that each business term has been assigned to in the past 10 days.
[ [ "node_column", "column" ], [ "node_business_term", "business term" ], [ "edge_has", "has" ], [ "num_cols", "number of columns in the table" ], [ "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 ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_...
Which are the tables in the lake owned by 'jdoe'?
[ [ "edge_own", "has ownership" ], [ "edge_own", "own" ], [ "node_table", "table" ], [ "node_owner", "owner" ], [ "edge_own", "has ownership of" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_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_rdbms: node_i...
Show the short name, long name and description for the modification column in the bill of materials table.
[ [ "bill_of_materials", "bill of materials" ], [ "longName", "long name" ], [ "node_table", "table" ], [ "bom_lvl", "bill of materials level" ], [ "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_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_assoc_class_col: edge_id type_id s...
Sort the nosql databases in the lake by their last modified date.
[ [ "c_date", "changed date" ], [ "mod_date", "last modification" ], [ "m_date", "last modification" ], [ "node_database", "database" ], [ "node_nosql", "NoSQL database" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_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_column: node_id type_id sh...
Show the creation dates for the 10 oldest assets in the lake.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "node_id", "asset id" ], [ "e_date", "end date" ], [ "s_date", "start date" ] ]
[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_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id ty...
Count the number of assets of each type owned by each user.
[ [ "node", "asset" ], [ "edge_own", "own" ], [ "node_classification", "type" ], [ "node_owner", "owner" ], [ "p_name", "number type" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node: node_id type_id short_name long_name description creation_date modified_date ; node_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 descript...
List all assets whose name contains the word 'voter'.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "edge_has", "include" ], [ "node_id", "asset identifier" ], [ "long_name", "asset long name" ] ]
[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_assoc_term_col: edge_id type_id short_name lo...
Show all tables with 'covid' in it's name.
[ [ "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: 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_directory: no...
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_business_term: node_id type_id short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_table_col: edge_id ty...
Name the 5 earliest created folders in the data lake.
[ [ "longName", "long name" ], [ "node_directory", "folder" ], [ "node_database", "data store" ], [ "node_database", "database" ], [ "grp_n", "group name" ] ]
[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_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_na...
Which are the tables contain a column that includes the word 'borough' in it's name?
[ [ "edge_has_table_col", "include column" ], [ "edge_has", "include" ], [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "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 ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node: node_id type_...
Print all records for the 25 most recently modified assets.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "mod_date", "last modification" ], [ "m_date", "last modification" ], [ "m_date", "modification 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 ; edg...
Print all metadata for the job candidate id column.
[ [ "node_business_term", "business metadata" ], [ "job_cand_id", "job candidate id" ], [ "node_label", "metadata" ], [ "job_ttl", "job title" ], [ "node_column", "column" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_classificati...
Count the number of string columns in the lake.
[ [ "edge_has_table_col", "include column" ], [ "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: node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; 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 typ...
Show all the details for all the tables in the lake.
[ [ "node_table", "table" ], [ "num_rows", "number of rows in the table" ], [ "edge_has_table_col", "table has column" ], [ "edge_has_file_table", "include 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_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_n...
Print the creation timestamp and description for every database.
[ [ "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: 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:...
For each asset type, how many assets are present in the lake?
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "node_classification", "type" ], [ "type_id", "asset type key" ], [ "type_id", "asset type id" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_c...
Find the number of columns inside each table that have a classification label that contains the term 'phone' in it.
[ [ "node_classification", "classification" ], [ "node_table", "table" ], [ "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: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_unionable_table_...
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: node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_directory: node_id ...
List the number of assets owned by all users with 5 assets or more.
[ [ "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: 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_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date...
For each table in the data lake, count the number of columns that contain a description.
[ [ "edge_has_table_col", "include column" ], [ "node_table", "table" ], [ "num_cols", "number of columns in the table" ], [ "p_name", "number type" ], [ "node_column", "column" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: 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 ; edg...
How many tables are derived from the table 'nycc'?
[ [ "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 ; node_owner: node_id type_id short_name long_name description creation_date modified_date ; node_directory: node_id type_id sh...
Show the number of assets owned by all accounts that have been modified in the past 1 day.
[ [ "node", "asset" ], [ "edge_own", "own" ], [ "node_owner", "owner" ], [ "edge_has", "has" ], [ "p_name", "number type" ] ]
[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_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 descrip...
List all relational databases that contain more than 10 tables and were created in the past year.
[ [ "node_rdbms", "SQL database" ], [ "node_table", "table" ], [ "node_database", "database" ], [ "node_rdbms", "relational database" ], [ "database_type", "database type" ], [ "edge", "related" ], [ "edge", "relation" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_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: edge_id type_id short_name long_name description s...
Show the 10 most recent files by modification date.
[ [ "c_date", "changed date" ], [ "node_file", "file" ], [ "mod_date", "modification date" ], [ "c_date", "modification date" ], [ "m_date", "modification 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 ; 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...
Count owner accounts.
[ [ "edge_own", "has ownership" ], [ "act_number", "account number" ], [ "edge_own", "own" ], [ "node_owner", "owner" ], [ "edge_own", "has ownership of" ] ]
[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_has: edge_id type_id short_name long_name descriptio...
How many association relationships are recorded in the data lake?
[ [ "edge_assoc", "relation associate" ], [ "edge_assoc", "association" ], [ "edge_has", "relation has" ], [ "edge_assoc", "associate" ], [ "edge", "relation" ], [ "attributes_of_each_graph_edge", "relation attributes" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_table_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; edge_has_file_table...
Which are the directories in the data lake that were created in the past 24 hours?
[ [ "node_directory", "directory" ], [ "edge_has_dir_dir", "has directory" ], [ "node_database", "data store" ], [ "node_database", "database" ], [ "edge_has", "has" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id shor...
Print metadata records for columns.
[ [ "node_column", "column" ], [ "edge_has_table_col", "include column" ], [ "node_business_term", "business metadata" ], [ "node_label", "metadata" ], [ "col_type", "column data 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 ; 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_na...
Name the 5 earliest created folders in the data lake with size greater than 100Kb.
[ [ "node_directory", "folder" ], [ "fsize", "file size" ], [ "node_database", "data store" ], [ "node_database", "database" ], [ "grp_n", "group name" ] ]
[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_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_directory: node_id type_id short_name lon...
Show the mean size of a subdirectory within each directory.
[ [ "node_directory", "directory" ], [ "edge_has_dir_dir", "include directory" ], [ "node_directory", "folder" ], [ "fsize", "file size" ], [ "edge_has_dir_dir", "has directory" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ...
List all users who own exactly 5 assets
[ [ "asset_type_records", "asset type" ], [ "edge_own", "has ownership" ], [ "node", "asset" ], [ "edge_own", "own" ], [ "edge_own", "has ownership of" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_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_di...
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_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_owner: node_id type_id short_name long_name descr...
What is the average size of a subfolder in each folder?
[ [ "node_directory", "folder" ], [ "fsize", "file size" ], [ "node", "resource" ], [ "edge_has", "has" ], [ "a_city", "city" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; edge_unionable_table_table: edge_id type_id sh...
Count all possible unionable tables for each table.
[ [ "node_table", "table" ], [ "edge_unionable_table_table", "union" ], [ "edge_unionable_table_table", "unionable table" ], [ "edge_derive_table_table", "derived from table" ], [ "edge_joinable_table_table", "joinable table" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_assoc: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term:...
Give me the id and name for all columns with at least one label.
[ [ "edge_has_table_col", "include column" ], [ "type_id", "type id" ], [ "edge_has_table_col", "table has column" ], [ "node_label", "label" ], [ "node_column", "column" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; 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_n...
Print size and description for folders.
[ [ "node_directory", "directory" ], [ "node_directory", "folder" ], [ "fsize", "file size" ], [ "node_classification", "classification" ], [ "ctlg_desc", "catalog description" ] ]
[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_has_table_col: edge_id typ...
Show the creation time for all tables in the lake.
[ [ "creation_date", "origination time" ], [ "e_time", "end time" ], [ "node_table", "table" ], [ "s_time", "start time" ], [ "edge_derive_table_table", "derived from table" ] ]
[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_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 crea...
Show all tables created in the last 24 hours.
[ [ "mod_date", "last modification" ], [ "node_table", "table" ], [ "m_date", "last modification" ], [ "edge_has_table_col", "table has column" ], [ "edge_derive_table_table", "derived from table" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id...
Print the name, creation date and description for all csv files whose name contains the prefix 'dim'.
[ [ "node_file", "file" ], [ "node_table", "csv file" ], [ "node_directory", "folder" ], [ "e_date", "end date" ], [ "s_date", "start date" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_has_dir_file: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: n...
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: node_table: node_id type_id short_name long_name description creation_date modified_date num_cols num_rows ; 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 des...
List creation timestamps for directories.
[ [ "node_directory", "directory" ], [ "edge_has_dir_dir", "include directory" ], [ "source_node_id", "generator" ], [ "edge_has_dir_dir", "has directory" ], [ "s_time", "start time" ] ]
[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_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node: node_id type_i...
Find all tables in the lake 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: 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_file:...
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_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_di...
Show all meta data records for all business term column association relationships.
[ [ "edge_assoc", "association" ], [ "node_column", "column" ], [ "node_business_term", "business term" ], [ "node_database", "data store" ], [ "edge_assoc", "associate" ], [ "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 ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_nosql: node_id ...
Print the name, description, number of rows and number of columns for all tables.
[ [ "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: 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_i...
List all records for the sales quota table.
[ [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge_has", "has" ], [ "edge", "related" ], [ "edge_derive_table_table", "derived from table" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_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_n...
Which tables have more than 100 rows in them?
[ [ "edge_own", "own" ], [ "node_table", "table" ], [ "edge_has_table_col", "table has column" ], [ "edge_has", "has" ], [ "edge_derive_table_table", "derived from table" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; node_label: node_id type_id short_name long_name description creation_date modified_date ; node_classification: node_id type_id short_name long_name descri...
Select creation date and description for all account owners.
[ [ "c_date", "changed date" ], [ "act_number", "account number" ], [ "node_owner", "owner" ], [ "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 ; node_rdbms: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; node_d...
How many relational databases are present in the lake?
[ [ "node_rdbms", "SQL database" ], [ "node_database", "database" ], [ "node_rdbms", "relational database" ], [ "database_type", "database type" ], [ "edge", "related" ], [ "edge", "relation" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_assoc_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_dat...
Show the creation date and last modified date for the 10 biggest tables in the lake by the number of rows.
[ [ "c_date", "changed date" ], [ "node_table", "table" ], [ "mod_date", "modification date" ], [ "c_date", "modification date" ], [ "m_date", "modification date" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_has_file_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_owner: node_id ...
List all the files owned by 'asmith'.
[ [ "edge_own", "has ownership" ], [ "node_file", "file" ], [ "edge_own", "own" ], [ "node_directory", "folder" ], [ "node_owner", "owner" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: node_nosql: node_id type_id short_name long_name description creation_date modified_date database_type num_tables ; edge_assoc_class_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_join...
Print description of table count for relational databases.
[ [ "node_table", "table" ], [ "node_database", "database" ], [ "node_rdbms", "relational database" ], [ "num_rows", "number of rows in the table" ], [ "edge", "related" ], [ "edge", "relation" ] ]
[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: node_id type_id short_name long_name description creation_date modified_date ; node_file: node_id type_id short_name long_name description cr...
What are the 5 biggest folders in the lake?
[ [ "dsize", "directory size" ], [ "node_directory", "directory" ], [ "node_directory", "folder" ], [ "edge_has", "has" ], [ "edge_has_dir_file", "directory has file" ] ]
[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_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 ...
Show 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: node_database: node_id type_id short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_file_table: edge_id typ...
List names and descriptions 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: node_owner: node_id type_id short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id short_n...
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: node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id short_name long_name description creation_date modified_date ; node_owner: node_id type_id short_name long_name d...
Print the total size of files owned for each owner account.
[ [ "edge_own", "has ownership" ], [ "node_file", "file" ], [ "edge_own", "own" ], [ "fsize", "file size" ], [ "node_owner", "owner" ] ]
[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_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 sour...
Show the first 10 classification labels created.
[ [ "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: node_directory: node_id type_id short_name long_name description creation_date modified_date dsize ; edge_joinable_table_table: edge_id type_id short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node...
Give the average folder size for each asset owner.
[ [ "node", "asset" ], [ "dsize", "directory size" ], [ "node_directory", "folder" ], [ "fsize", "file size" ], [ "node_owner", "owner" ] ]
[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: 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_nam...
Print all metadata for the column named 'mod_date'.
[ [ "mod_date", "mod date" ], [ "c_date", "mod date" ], [ "m_date", "mod date" ], [ "node_label", "metadata" ], [ "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 ; node_file: node_id type_id short_name long_name description creation_date modified_date extension fsize ; node_classification:...
Find tables obtained from the file 'nycc.csv'.
[ [ "node_file", "file" ], [ "node_file", "document" ], [ "node_table", "table" ], [ "extension", "file extension" ], [ "edge_derive_table_table", "derived from table" ] ]
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: edge_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_dir: edge_id type_id short_name...
For each asset owner that owns more than 10 assets, show the total number of assets owned.
[ [ "asset_type_records", "asset type" ], [ "node", "asset" ], [ "edge_own", "has ownership" ], [ "edge_own", "own" ], [ "node_owner", "owner" ] ]