instruction
stringclasses 1
value | input
stringlengths 732
1.33k
|
---|---|
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: How many columns does the model illustration table have? |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: What are the files and folders directly under HR folder? |
Translate english queries to SQL using the given schema. | Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Find all tables referring to individuals. |
Translate english queries to SQL using the given schema. | Schema: edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_dir_dir: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: List ids for directories that contain more than 20 immediate subdirectories. |
Translate english queries to SQL using the given schema. | Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Among all the columns in the lake, count the occurences of each column type. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print the name, long name and description for the product model id column. |
Translate english queries to SQL using the given schema. | Schema: edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print the names of tables in the lake owned by 'jhenry'? |
Translate english queries to SQL using the given schema. | Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Show long name and description for the start date column in the bill of materials table. |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Sort all rdbms owners by the number of rdbms they own. |
Translate english queries to SQL using the given schema. | Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List the creation dates for all classification labels. |
Translate english queries to SQL using the given schema. | Schema: edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Sort all business terms by it's creation timestamp. |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: What is the average size of a file within each folder? |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Among assets created in the past one day, show the number of assets owned by each user account id. |
Translate english queries to SQL using the given schema. | Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Print out the description and last modified timestamp for each relational database in the lake. |
Translate english queries to SQL using the given schema. | Schema: edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: For each type_id, how many edges are present in the lake? |
Translate english queries to SQL using the given schema. | Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the names of relational databases that have more than 20 tables and were created within the last 2 years. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Sort all files in the lake by extension and creation date. |
Translate english queries to SQL using the given schema. | Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: Find all columns whose name or description contains the term 'id'. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: How many derived tables are there in the lake? |
Translate english queries to SQL using the given schema. | Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find the mean size of files created in the last 30 days for each user? |
Translate english queries to SQL using the given schema. | Schema: node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Find all assets whose name or description contains the term 'bicycle'. |
Translate english queries to SQL using the given schema. | Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Sort all csv files by their creation date from the newest to the oldest. |
Translate english queries to SQL using the given schema. | Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Give the description for the HR folder. |
Translate english queries to SQL using the given schema. | Schema: node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Show all owner account that own 3 relational databases or more. |
Translate english queries to SQL using the given schema. | Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Select id, number of rows, number of columns and description from the metadata for tables in the lake. |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: List all derived tables. |
Translate english queries to SQL using the given schema. | Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List the id, short name, long name and description for all business terms. |
Translate english queries to SQL using the given schema. | Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Which tables were obtained from files with the prefix 'password'? |
Translate english queries to SQL using the given schema. | Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: List all columns associated with business terms created in the past 5 years. |
Translate english queries to SQL using the given schema. | Schema: edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many assets does the user 'kchan' own? |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Select the creation date and modified date columns for all assets in the lake. |
Translate english queries to SQL using the given schema. | Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Display the names of directories that contain the term 'sales' in it's name or description. |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Sort all databases in the lake from oldest to newest. |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Count the number of classifications associated with each column id. |
Translate english queries to SQL using the given schema. | Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Display the description and creation timestamp for all labels. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Print all fields for the table node instance named 'fact_reseller_sales'. |
Translate english queries to SQL using the given schema. | Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Display the number of columns for all tables that contain at least 50 columns. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_has_dir_dir: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: List ids for directories that contain more than 20 immediate subdirectories and number of subdirectories. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Show the count of assets owned by all account that own no more than 10 assets. |
Translate english queries to SQL using the given schema. | Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the type and description for all columns in the table named 'work_order_management_module'. |
Translate english queries to SQL using the given schema. | Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: Which label has associated columns? How many are there? |
Translate english queries to SQL using the given schema. | Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many nosql databases were created in the past week? |
Translate english queries to SQL using the given schema. | Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: How many tables belong to each owner account? |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Print creation timestamp and description for account owners. |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the name of every asset and it's owner. |
Translate english queries to SQL using the given schema. | Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find all tables in the lake derived from excel files. |
Translate english queries to SQL using the given schema. | Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Print all metadata for a sample of 10 classifications. |
Translate english queries to SQL using the given schema. | Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find all tables in the lake derived from csv files. |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Which columns have the word 'water' in their name or description? |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: What are all the assets that belong to the user with asset id 3? |
Translate english queries to SQL using the given schema. | Schema: node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: Print the number of files belonging to each user. |
Translate english queries to SQL using the given schema. | Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many different types of files are there in the lake? |
Translate english queries to SQL using the given schema. | Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print all tables that were pulled from files whose name begins with 'prod'. |
Translate english queries to SQL using the given schema. | Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Display table name, number of rows and number of columns for all tables whose name begins with 'fact'. |
Translate english queries to SQL using the given schema. | Schema: edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Find all columns whose name or description contains the term 'id'. Print the names, long names and descriptions. |
Translate english queries to SQL using the given schema. | Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Count the total number of assoc edges. |
Translate english queries to SQL using the given schema. | Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: List the owner id for every table and the table name. |
Translate english queries to SQL using the given schema. | Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show all columns associated with business terms created in the last 10 days. |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: Print the number of columns and description for the top 10 tables by number of rows. |
Translate english queries to SQL using the given schema. | Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Order all columns in the lake by their last modified timestamp. |
Translate english queries to SQL using the given schema. | Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Print a complete list of pairs of unionable tables. |
Translate english queries to SQL using the given schema. | Schema: edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many tables can be joined with each table in the lake? |
Translate english queries to SQL using the given schema. | Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: List the names of all files that have been modified since Jan 1 2024? |
Translate english queries to SQL using the given schema. | Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print out the descriptions for each column in the data lake. |
Translate english queries to SQL using the given schema. | Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Display the subfolders for 'part6'. |
Translate english queries to SQL using the given schema. | Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print the names of the 10 people who own the most rnumber of relational databases. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Which nodes have the ternm 'subcat' in it's name or description? |
Translate english queries to SQL using the given schema. | Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the number of nodes owned by each user account that owns more than 50 nodes. |
Translate english queries to SQL using the given schema. | Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: How many relational databases are present in the lake? |
Translate english queries to SQL using the given schema. | Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print out the description for each relational database in the lake. |
Translate english queries to SQL using the given schema. | Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Display description and row count for relational databases. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: List all files in the HR folder. |
Translate english queries to SQL using the given schema. | Schema: edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show me the number of columns in each table whose name contains the prefix 'vehicle'. |
Translate english queries to SQL using the given schema. | Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: List any 10 accounts that possess lake assets. |
Translate english queries to SQL using the given schema. | Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: For each table, count the number of columns that are classified as zip code. |
Translate english queries to SQL using the given schema. | Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show all the database records for the lake. |
Translate english queries to SQL using the given schema. | Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show all metadata of tables with 'covid' in it's name. |
Translate english queries to SQL using the given schema. | Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List all classification labels that contain the word 'market'. |
Translate english queries to SQL using the given schema. | Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_dir_dir: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List all the directories that were created in the past day. |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Which are the tables that contain a column that includes the term 'group' in it's name? |
Translate english queries to SQL using the given schema. | Schema: node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the date for the classification labeled 'province'. |
Translate english queries to SQL using the given schema. | Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: How many tables are derived from the product vendor table? |
Translate english queries to SQL using the given schema. | Schema: edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the number of assets owned by all users who have the term 'uwmadison' in their username. |
Translate english queries to SQL using the given schema. | Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Sort the nosql databases in the lake by their last modified date. |
Translate english queries to SQL using the given schema. | Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Give me the id and name for columns which have business terms associated with them. |
Translate english queries to SQL using the given schema. | Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Find records for all columns named address. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Order files by extension and from oldest to newest. |
Translate english queries to SQL using the given schema. | Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Print the names of all folders that have a subfolder size greater than 5kb |
Translate english queries to SQL using the given schema. | Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the type and creation date for all databases in the lake. |
Translate english queries to SQL using the given schema. | Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Show the id, description and size for all folders. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the long name for the BOM table. |
Translate english queries to SQL using the given schema. | Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: Print all details for every edate column in the lake. |
Translate english queries to SQL using the given schema. | Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Print all records created in the past 7 days for edges between tables and columns. |
Translate english queries to SQL using the given schema. | Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Show the number of database instance present for each database asset. |
Translate english queries to SQL using the given schema. | Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: For each table, print the number of columns containing a description. |
Translate english queries to SQL using the given schema. | Schema: edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the type and description for all columns in the table named 'dim_organization'. |
Translate english queries to SQL using the given schema. | Schema: edge_has_dir_dir: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: Print the name and creation time for directories in the lake. |
Translate english queries to SQL using the given schema. | Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Count the number of directory nodes belonging to each owner account? |
Translate english queries to SQL using the given schema. | Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Give me the table name, number of rows and number of columns for all tables whose name begins with 'fact'. |
Translate english queries to SQL using the given schema. | Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: For each asset type, count the number of assets owned by each asset owner. Also output name of the type. |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 30