text stringlengths 642 1.45k | English Query stringlengths 21 123 | synonyms listlengths 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... | 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 ;... | 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_... | 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_dat... | 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 lon... | 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 t... | 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... | 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_t... | 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: n... | 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 ... | 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_... | 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... | 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_... | 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_ass... | 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 s... | 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... | 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... | 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_d... | 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 modifie... | 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... | 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_... | 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_... | 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 modi... | 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_... | 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 ... | 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 ... |
[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_tabl... | 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... | 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_... | 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 mo... | 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 ; n... | 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 descripti... | 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_co... | 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_i... | 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_na... | 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_... | 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:... | 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 descript... | 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_... | 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 t... |
[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: edg... | 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_nam... | 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: ... | 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... | 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 ... | 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_... | 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... | 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_nam... | 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_data... | 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 l... | 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_... | 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 ... | 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 ... | 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 s... | 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_na... | 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... | 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 sho... | 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_dat... | 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 modif... | 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_nam... | 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_... | 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_di... | 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_... | 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_... | 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_n... | 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_nosq... | 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 des... | 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: n... | 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_... | 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"
],
[
"... |
[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 lo... | 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 descrip... | 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_t... | 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_busines... | 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 keywor... |
[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 descripti... | 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_da... | 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 typ... | 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 ; nod... | 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: edg... | 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_classi... | 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"
],
... |
[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 modifie... | 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_... | 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_... | 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 l... | 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 ... | 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_classific... | 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... | 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 lon... | 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... | 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 ; nod... | 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_da... | 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... | 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... | 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 sho... | 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_i... | 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 lo... | 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... | 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_... |
[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 sho... | 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 descript... | 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 ;... | 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_... | 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_uniona... | 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_i... | 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"
]
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.