Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
query: string
pos: list<item: string>
child 0, item: string
neg: list<item: string>
child 0, item: string
pos_scores: list<item: double>
child 0, item: double
neg_scores: list<item: double>
child 0, item: double
prompt: string
type: string
messages: list<item: struct<role: string, content: string>>
child 0, item: struct<role: string, content: string>
child 0, role: string
child 1, content: string
positive_messages: list<item: list<item: struct<role: string, content: string>>>
child 0, item: list<item: struct<role: string, content: string>>
child 0, item: struct<role: string, content: string>
child 0, role: string
child 1, content: string
negative_messages: list<item: list<item: struct<role: string, content: string>>>
child 0, item: list<item: struct<role: string, content: string>>
child 0, item: struct<role: string, content: string>
child 0, role: string
child 1, content: string
to
{'messages': List({'role': Value('string'), 'content': Value('string')}), 'positive_messages': List(List({'role': Value('string'), 'content': Value('string')})), 'negative_messages': List(List({'role': Value('string'), 'content': Value('string')}))}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1779, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 299, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
query: string
pos: list<item: string>
child 0, item: string
neg: list<item: string>
child 0, item: string
pos_scores: list<item: double>
child 0, item: double
neg_scores: list<item: double>
child 0, item: double
prompt: string
type: string
messages: list<item: struct<role: string, content: string>>
child 0, item: struct<role: string, content: string>
child 0, role: string
child 1, content: string
positive_messages: list<item: list<item: struct<role: string, content: string>>>
child 0, item: list<item: struct<role: string, content: string>>
child 0, item: struct<role: string, content: string>
child 0, role: string
child 1, content: string
negative_messages: list<item: list<item: struct<role: string, content: string>>>
child 0, item: list<item: struct<role: string, content: string>>
child 0, item: struct<role: string, content: string>
child 0, role: string
child 1, content: string
to
{'messages': List({'role': Value('string'), 'content': Value('string')}), 'positive_messages': List(List({'role': Value('string'), 'content': Value('string')})), 'negative_messages': List(List({'role': Value('string'), 'content': Value('string')}))}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1348, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1832, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
messages list | positive_messages list | negative_messages list |
|---|---|---|
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the average interaction scoring and total interaction count grouped by sourceDatabase in the interaction table?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.open_targets_platform.interaction.count ; Column meaning: The number of recorded interactions between entities in each entry, typically representing a single occurrence. ; type INT64 ; has values \"1\" , \"1\""
}
],
[
{
"role": "... | [
[
{
"role": "user",
"content": "bigquery-public-data.open_targets_platform.interaction.bigquery-public-data.open_targets_platform.interaction.count"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.open_targets_platform.interaction.bigquery-public-data.open_targets_p... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the average quality score and total number of variants per reference_name for variants that appear in both the 1000 Genomes Phase 3 Optimized Schema Variants table and the Simons Genome Diversit... | [
[
{
"role": "user",
"content": "human_genome_variants.human_genome_variants._1000_genomes_phase_3_optimized_schema_variants_20150220.dp ; Column meaning: Total read depth indicating the number of sequencing reads covering the variant position in the sample. ; type NUMBER ; has values \"16527\" , \"1... | [
[
{
"role": "user",
"content": "HUMAN_GENOME_VARIANTS.HUMAN_GENOME_VARIANTS._1000_GENOMES_PHASE_3_OPTIMIZED_SCHEMA_VARIANTS_20150220.EX_TARGET ; Column meaning: Indicates whether the variant is located within an exome target region, with TRUE representing inclusion and FALSE otherwise. ; type BOOLEA... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: How many distinct source short names (src_short_name) appear in both the bigquery-public-data.ebi_chembl.source_23 and bigquery-public-data.ebi_chembl.source_26 tables, grouped by their source ID (src_i... | [
[
{
"role": "user",
"content": "bigquery-public-data.ebi_chembl.source_23.src_id ; type STRING ; has values \"2\" , \"41\""
}
],
[
{
"role": "user",
"content": "bigquery-public-data.ebi_chembl.source_23.src_short_name ; type STRING ; has values \"GSK_TCMDC\" , \"ATC\""
}
... | [
[
{
"role": "user",
"content": "bigquery-public-data.ebi_chembl.source_28.src_short_name ; type STRING ; has values \"UNDEFINED\" , \"LITERATURE\""
}
],
[
{
"role": "user",
"content": "bigquery-public-data.ebi_chembl.source_25.src_id ; type STRING ; has values \"0\" , \"1\""
... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Find the name of the patient who made the appointment with the most recent start date.\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "Patient.Name ; Table meaning: Patient. Column meaning: name ; type VARCHAR(30) ; has values \"\"Random J. Patient\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Patient.SSN ; Table meaning: Patient. Column meaning: ssn ; type INTE... | [
[
{
"role": "user",
"content": "Affiliated_With.Department ; Table meaning: Affiliated_With. Column meaning: department ; type INTEGER ; has values \"\"1\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Affiliated_With.Physician ; Table meaning: Affiliated_With. C... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the average protein_abundance_log2ratio for proteins with the same refseq_id and phosphorylation_sites observed in both the breast and AML studies, grouped by refseq_id and phosphorylation_sites... | [
[
{
"role": "user",
"content": "isb-cgc-bq.cptac.quant_phosphoproteome_aml_gilteritinib_resistance_pdc_current.phosphorylation_sites ; Column meaning: A list of specific amino acid residues with phosphorylation modifications, indicated by their position and residue type (e.g., serine 's' or threonin... | [
[
{
"role": "user",
"content": "isb-cgc-bq.CPTAC.quant_phosphoproteome_AML_ex_vivo_drug_response_sorafenib_treatment_pdc_current.phosphorylation_sites ; Column meaning: A string listing one or more phosphorylation sites on proteins, indicated by amino acid residues (serine) and their position number... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Which services type had both successful and failure event details?\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "Services.Service_Type_Code ; Table meaning: Services. Column meaning: service type code ; type CHAR(15) ; has values \"\"Marriage\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Services.Service_ID ; Table meaning: Services. Column... | [
[
{
"role": "user",
"content": "Events.Event_ID ; Table meaning: Events. Column meaning: event id ; type INTEGER ; has values \"\"3\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Participants.Participant_Details ; Table meaning: Participants. Column meaning: par... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Which genes have variants that show a significant association with diseases (pval < 5e-8) and also have a high predicted probability of being causal according to locus2gene (y_proba_full_model > 0.8)?"
... | [
[
{
"role": "user",
"content": "open-targets-genetics.genetics.locus2gene.alt ; Column meaning: The column contains the alternate nucleotide bases observed at specific genetic loci. ; type STRING ; has values \"C\" , \"T\""
}
],
[
{
"role": "user",
"content": "open-targets-ge... | [
[
{
"role": "user",
"content": "open-targets-genetics.genetics.sa_gwas.open-targets-genetics.genetics.sa_gwas.pos"
}
],
[
{
"role": "user",
"content": "open-targets-genetics.genetics.locus2gene.open-targets-genetics.genetics.locus2gene.gene_id"
}
],
[
{
"rol... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the total revenue generated per aircraft_code for flights that actually departed in 2023?"
}
] | [
[
{
"role": "user",
"content": "airlines.airlines.flights.actual_departure ; Column meaning: The actual departure time of the flight recorded as text, with null values represented by '\\N' indicating missing or unavailable data. ; type TEXT ; has values \"\\N\" , \"\\N\""
}
],
[
{
... | [
[
{
"role": "user",
"content": "AIRLINES.AIRLINES.TICKET_FLIGHTS.ticket_no ; Column meaning: A unique alphanumeric identifier assigned to each individual airline ticket associated with a flight. ; type TEXT ; has values \"0005435212351\" , \"0005435212381\""
}
],
[
{
"role": "user"... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: How many quantities of Advantus plastic paper clips were ordered overall?\nExternal knowledge: Advantus plastic paper clips is the \"Product Name\";"
}
] | [
[
{
"role": "user",
"content": "central_superstore.Product ID ; Table meaning: This table records detailed sales transactions including customer, product, order, shipping, and financial information for orders shipped within the Central region.. Column meaning: product id ; type TEXT ; has values \"\... | [
[
{
"role": "user",
"content": "central_superstore.Customer ID ; Table meaning: This table records detailed sales transactions including customer, product, order, shipping, and financial information for orders shipped within the Central region.. Column meaning: customer id ; type TEXT ; has values \... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Which city has the most bad aliases?\nExternal knowledge: the most bad aliases refer to MAX(COUNT(bad_alias));"
}
] | [
[
{
"role": "user",
"content": "avoid.bad_alias ; Table meaning: This table lists undesirable or incorrect aliases associated with specific zip codes.. Column meaning: bad alias ; type TEXT ; has values \"\"Bad Nation\"\" , \"\"Bad River Indian Reservation\"\" ; has_null = False"
}
],
[
... | [
[
{
"role": "user",
"content": "CBSA.CBSA ; Table meaning: This table lists Core-Based Statistical Areas (CBSAs) with their unique identifiers, names, and classification types such as Micro.. Column meaning: CBSA ; type INTEGER ; has values \"\"10300\"\" ; has_null = False"
}
],
[
{
... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Which evaluation types have been modified more than once, and what is the most recent modification date for each of them?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.usfs_fia.population_evaluation_type.eval_type_modified_date ; Column meaning: The date when the evaluation type was last updated or modified, with many entries currently missing or not applicable. ; type DATE ; has values \"NaT\" , \"NaT\""
}
... | [
[
{
"role": "user",
"content": "bigquery-public-data.usfs_fia.population_evaluation_type.bigquery-public-data.usfs_fia.population_evaluation_type.eval_type_modified_date"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.usfs_fia.population_evaluation_type.bigquery-pu... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the total quantity ordered and total sales amount for each product in the year 1997, considering the discount applied on each order detail?"
}
] | [
[
{
"role": "user",
"content": "northwind.northwind.order_details.discount ; Column meaning: The column represents the discount rate applied to each order detail, expressed as a decimal fraction between 0 and 1. ; type FLOAT ; has values \"0.0\" , \"0.150000006\""
}
],
[
{
"role": ... | [
[
{
"role": "user",
"content": "NORTHWIND.NORTHWIND.PRODUCTS.discontinued ; Column meaning: Indicates whether a product is discontinued, with 1 representing discontinued and 0 representing active. ; type NUMBER ; has values \"1\" , \"0\""
}
],
[
{
"role": "user",
"content": "... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the average daily arithmetic mean of SO2 levels by state and county for the year 2020?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.epa_historical_air_quality.o3_hourly_summary.county_name ; Column meaning: The name of the county where the hourly ozone air quality measurements were recorded. ; type STRING ; has values \"Denali\" , \"Denali\""
}
],
[
{
"role":... | [
[
{
"role": "user",
"content": "bigquery-public-data.epa_historical_air_quality.so2_daily_summary.bigquery-public-data.epa_historical_air_quality.so2_daily_summary.county_name"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.epa_historical_air_quality.wind_hourly_su... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the average product_weight_g for each product_category_name_english, considering only products with more than 3 product_photos_qty?"
}
] | [
[
{
"role": "user",
"content": "electronic_sales.electronic_sales.product_category_name_translation.product_category_name ; Column meaning: Contains the translated names of product categories representing various electronic and household item groups. ; type TEXT ; has values \"informatica_acessorios... | [
[
{
"role": "user",
"content": "ELECTRONIC_SALES.ELECTRONIC_SALES.PRODUCTS.product_height_cm ; Column meaning: The height of the product measured in centimeters as a floating-point number. ; type FLOAT ; has values \"10.0\" , \"4.0\""
}
],
[
{
"role": "user",
"content": "ELEC... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What are the names of reviewers who had rated 3 star and 4 star?\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "Rating.rID ; Table meaning: Rating. Column meaning: reviewer id ; type INT ; has values \"\"201\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Rating.stars ; Table meaning: Rating. Column meaning: rating stars ; type INT ; has val... | [
[
{
"role": "user",
"content": "Movie.director ; Table meaning: Movie. Column meaning: director ; type TEXT ; has values \"\"Victor Fleming\"\" ; has_null = True"
}
],
[
{
"role": "user",
"content": "Movie.mID ; Table meaning: Movie. Column meaning: movie id ; type INT ; has ... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: How many active patients are managed by each active organization, grouped by the organization's type?"
}
] | [
[
{
"role": "user",
"content": "fhir_synthea.fhir_synthea.organization.active ; Column meaning: Indicates whether the organization is currently active and operational (true) or inactive (false). ; type BOOLEAN"
}
],
[
{
"role": "user",
"content": "fhir_synthea.fhir_synthea.or... | [
[
{
"role": "user",
"content": "FHIR_SYNTHEA.FHIR_SYNTHEA.PATIENT.meta ; type VARIANT ; has values \"{\n \"profile\": [\n \"http://standardhealthrecord.\" , \"{\n \"profile\": [\n \"http://standardhealthrecord.\""
}
],
[
{
"role": "user",
"content": "FHIR_SYNTHEA.FHIR... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: How many Chinese restaurants are there on 1st st, Livermore?\nExternal knowledge: Chinese restaurant refers to food_type = 'chinese'; 1st st refers to street_name = '1st st'; Livermore refers to city = ... | [
[
{
"role": "user",
"content": "generalinfo.city ; Table meaning: This table contains general information about restaurants, including their city, cuisine type, name, unique identifier, and average review rating.. Column meaning: city ; type TEXT ; has values \"\"livermore\"\" ; has_null = False"
... | [
[
{
"role": "user",
"content": "generalinfo.label ; Table meaning: This table contains general information about restaurants, including their city, cuisine type, name, unique identifier, and average review rating.. Column meaning: label ; type TEXT ; has values \"\"st. francis\"\" , \"\"dang how cho... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the total funding amount in USD for clinical trials and their associated grants that started in 2020, grouped by funder organization name from the grants table?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.dimensions_ai_covid19.clinical_trials.associated_grant_ids ; Column meaning: A list of grant identification numbers associated with each clinical trial, which may be empty if no grants are linked. ; type ARRAY<STRING> ; has values \"[]\" , \"[]\""... | [
[
{
"role": "user",
"content": "bigquery-public-data.dimensions_ai_covid19.clinical_trials.acronym ; Column meaning: A short, standardized abbreviation or shorthand used to uniquely identify a clinical trial. ; type STRING"
}
],
[
{
"role": "user",
"content": "bigquery-public... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Who is the \"CTO\" of club \"Hopkins Student Enterprises\"? Show the first name and last name.\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "Club.ClubID ; Table meaning: Club. Column meaning: club id ; type INTEGER ; has values \"\"1\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Club.ClubName ; Table meaning: Club. Column meaning: club name ; type VARCHAR(40) ; has va... | [
[
{
"role": "user",
"content": "Club.ClubDesc ; Table meaning: Club. Column meaning: club description ; type VARCHAR(1024) ; has values \"\"A competitive tennis club.\"\" , \"\"Venture capital fund for student...\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Cl... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What are the types of vocals used in the song \"Le Pop\"?\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "Vocals.Type ; Table meaning: Vocals. Column meaning: type ; type TEXT ; has values ; has_null = False"
}
],
[
{
"role": "user",
"content": "Vocals.SongId ; Table meaning: Vocals. Column meaning: song id ; type INTEGER ; has values ; has_null ... | [
[
{
"role": "user",
"content": "Albums.AId ; Table meaning: Albums. Column meaning: aid ; type INTEGER ; has values ; has_null = False"
}
],
[
{
"role": "user",
"content": "Albums.Label ; Table meaning: Albums. Column meaning: label ; type TEXT ; has values ; has_null = Fal... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the total carbon offset metric tons and average yearly sunlight kwh total by state combining data from both the postal code and census tract levels, for states where the percent qualified is abo... | [
[
{
"role": "user",
"content": "sunroof_solar.sunroof_solar.solar_potential_by_censustract.carbon_offset_metric_tons ; Column meaning: Estimated amount of carbon dioxide emissions, in metric tons, offset by solar energy potential within each census tract. ; type FLOAT ; has values \"1654.37511976481... | [
[
{
"role": "user",
"content": "SUNROOF_SOLAR.SUNROOF_SOLAR.SOLAR_POTENTIAL_BY_CENSUSTRACT.number_of_panels_w ; Column meaning: The column contains the total wattage capacity of solar panels installed or estimated for each census tract. ; type NUMBER ; has values \"382\" , \"106\""
}
],
[
... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Who is the vendor of the resources needed by the project that had the highest cost of optional tip?\nExternal knowledge: Highest cost of the optional tip refers to Max(total_price_including_optional_sup... | [
[
{
"role": "user",
"content": "projects.projectid ; Table meaning: This table records detailed information about educational funding projects, including their focus areas, school demographics, costs, and teacher involvement.. Column meaning: project id ; type TEXT ; has values \"\"00001ccc0e81598c4... | [
[
{
"role": "user",
"content": "donations.dollar_amount ; Table meaning: This table records detailed information about individual donations, including amounts, payment methods, donor details, messages, and timestamps.. Column meaning: dollar amount ; type TEXT ; has values \"\"10_to_100\"\" ; has_nu... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: For each project_short_name, how many unique cases have somatic mutations in both SOMATIC_MUTATION_DR6 and SOMATIC_MUTATION_DR7 tables, considering only mutations with Variant_Classification = 'Missense... | [
[
{
"role": "user",
"content": "tcga_hg38_data_v0.tcga_hg38_data_v0.somatic_mutation_dr6.case_barcode ; Column meaning: Original TCGA case barcode, eg TCGA-DX-A8BN ; type TEXT ; has values \"TCGA-02-0033\" , \"TCGA-02-0055\""
}
],
[
{
"role": "user",
"content": "tcga_hg38_dat... | [
[
{
"role": "user",
"content": "TCGA_HG38_DATA_V0.TCGA_HG38_DATA_V0.SOMATIC_MUTATION_DR6.aliquot_barcode_tumor ; Column meaning: TCGA aliquot barcode for the tumor, eg TCGA-12-1089-01A-01D-0517-01 ; type TEXT ; has values \"TCGA-02-0033-01A-01D-1490-08\" , \"TCGA-02-0055-01A-01D-1490-08\""
}
]... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Which payer plans have more than 100 distinct persons enrolled, and what is the average duration in days of those plans?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.cms_synthetic_patient_data_omop.payer_plan_period.payer_plan_period_end_date ; Column meaning: The date on which a patient's enrollment in a specific payer plan period ends. ; type DATE ; has values \"2010-08-31\" , \"2010-08-31\""
}
],
[
... | [
[
{
"role": "user",
"content": "bigquery-public-data.cms_synthetic_patient_data_omop.drug_exposure.bigquery-public-data.cms_synthetic_patient_data_omop.drug_exposure.person_id"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.cms_synthetic_patient_data_omop.payer_pla... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Show the names of authors from college \"Florida\" or \"Temple\"\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "submission.Author ; Table meaning: submission. Column meaning: author ; type TEXT ; has values \"\"Steve Niehaus\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "submission.College ; Table meaning: submission. Column meaning: colleg... | [
[
{
"role": "user",
"content": "Acceptance.Result ; Table meaning: Acceptance. Column meaning: result ; type TEXT ; has values \"\"Accepted\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Acceptance.Submission_ID ; Table meaning: Acceptance. Column meaning: submi... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: For each programming language, what is the average number of dependent projects for libraries that have more than 5 versions and have had their latest release published after 2020-01-01?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.libraries_io.projects.dependent_projects_count ; Column meaning: The number of projects that directly depend on a given project. ; type INT64 ; has values \"0\" , \"0\""
}
],
[
{
"role": "user",
"content": "bigquery-public-... | [
[
{
"role": "user",
"content": "bigquery-public-data.libraries_io.projects.bigquery-public-data.libraries_io.projects.dependent_projects_count"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.libraries_io.projects.bigquery-public-data.libraries_io.projects.language"... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: List the name of the shop with the latest open year.\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "shop.Shop_Name ; Table meaning: shop. Column meaning: shop name ; type TEXT ; has values \"\"Naval's shop\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "shop.Open_Year ; Table meaning: shop. Column meaning: open year ; type INT ; ... | [
[
{
"role": "user",
"content": "device.Applications ; Table meaning: device. Column meaning: applications ; type TEXT ; has values \"\"5.0.0.419\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "device.Carrier ; Table meaning: device. Column meaning: carrier ; type... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the average miRNA expression (miRNAexpr) per cancer study in the pancancer atlas, considering only samples with corrected miRNA expression data?"
}
] | [
[
{
"role": "user",
"content": "isb-cgc-bq.pancancer_atlas.filtered_pancanmirs_ebadjonprotocolplatformwithoutrepswithuncorrectmirs_08_04_16.corrected ; Column meaning: Indicates whether the microRNA expression data has been adjusted for batch effects or other technical variations. ; type STRING ; ha... | [
[
{
"role": "user",
"content": "isb-cgc-bq.pancancer_atlas.Filtered_pancanMiRs_EBadjOnProtocolPlatformWithoutRepsWithUnCorrectMiRs_08_04_16.isb-cgc-bq.pancancer_atlas.Filtered_pancanMiRs_EBadjOnProtocolPlatformWithoutRepsWithUnCorrectMiRs_08_04_16.Corrected"
}
],
[
{
"role": "user"... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the total sum of 'total' claim amounts and the corresponding totalBenefit amounts from ExplanationOfBenefit for each patient, considering only claims with status 'active' and grouping results by... | [
[
{
"role": "user",
"content": "fhir_synthea.fhir_synthea.claim.id ; type TEXT ; has values \"ea6f76f3-9cb7-4cdc-b32b-9aab692fbaf0\" , \"ea8027f7-128e-48c8-8edd-8c8eadf9abdf\""
}
],
[
{
"role": "user",
"content": "fhir_synthea.fhir_synthea.claim.patient ; Column meaning: Cont... | [
[
{
"role": "user",
"content": "FHIR_SYNTHEA.FHIR_SYNTHEA.EXPLANATION_OF_BENEFIT.StructureDefinition_bluebutton_outpatient_prpayamt_extension ; Column meaning: Contains JSON-formatted data representing the outpatient prepayment amount in USD currency as defined by the Blue Button StructureDefinition... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: For approved molecules linked to targets that are cancer driver genes, what is the average mouseKOScore grouped by the molecule's drugType?"
}
] | [
[
{
"role": "user",
"content": "open-targets-prod.platform.molecule.drugtype ; Column meaning: Indicates the classification of the molecule based on its chemical or biological type, such as Small molecule or Protein. ; type STRING ; has values \"Small molecule\" , \"Protein\""
}
],
[
{
... | [
[
{
"role": "user",
"content": "open-targets-prod.platform.targetPrioritisation.hasSmallMoleculeBinder ; Column meaning: Indicates whether a target has an associated small molecule binder, with 1 representing presence and 0 representing absence. ; type INT64"
}
],
[
{
"role": "user... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What are the top 5 most frequent label_names in the bounding box annotations for images from the 'train' subset in the open_images dataset? SQL: SELECT a.label_name, COUNT(*) AS annotation_count FROM `b... | [
[
{
"role": "user",
"content": "bigquery-public-data.open_images.annotations_bbox.image_id ; type STRING ; has values \"036b24f92ed0d95e\" , \"d7f443439c6ffbfe\""
}
],
[
{
"role": "user",
"content": "bigquery-public-data.open_images.annotations_bbox.label_name ; Column meanin... | [
[
{
"role": "user",
"content": "bigquery-public-data.open_images.annotations_bbox.is_truncated ; Column meaning: Indicates whether the bounding box is partially outside the image boundaries, resulting in a truncated annotation. ; type BOOL"
}
],
[
{
"role": "user",
"content":... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the average protein expression value per study for samples collected from participants in the whitelist, considering only aliquots that have methylation beta values measured, grouped by study?"
... | [
[
{
"role": "user",
"content": "isb-cgc-bq.pancancer_atlas.barcodemap.aliquotbarcode ; Column meaning: Unique string identifiers representing specific tumor sample aliquots from the TCGA project, encoded with detailed sample and portion information. ; type STRING ; has values \"TCGA-04-1331-10A-01D-... | [
[
{
"role": "user",
"content": "isb-cgc-bq.pancancer_atlas.Original_TCGA_RPPA_pancan_clean.isb-cgc-bq.pancancer_atlas.Original_TCGA_RPPA_pancan_clean.AliquotBarcode"
}
],
[
{
"role": "user",
"content": "isb-cgc-bq.pancancer_atlas.Original_TCGA_RPPA_pancan_clean.isb-cgc-bq.pan... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: For proteins (refseq_id) that appear in both the CPTAC HNSCC and PDA discovery studies, what is the average protein_abundance_log2ratio in each study, grouped by refseq_id, considering only samples wher... | [
[
{
"role": "user",
"content": "isb-cgc-bq.cptac.quant_phosphoproteome_cptac_hnscc_discovery_study_pdc_current.phosphorylation_sites ; Column meaning: A string listing the specific amino acid residues and their positions where phosphorylation occurs, using single-letter codes for amino acids followe... | [
[
{
"role": "user",
"content": "isb-cgc-bq.CPTAC.quant_phosphoproteome_CPTAC_GBM_discovery_study_pdc_current.refseq_id ; Column meaning: Unique identifier given to a sequence in the NCBI RefSeq database ; type STRING ; has values \"NP_001129108.1\" , \"NP_001449.3\""
}
],
[
{
"role... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the sum of year 1 and year 2 students?\nExternal knowledge: year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1"
}
] | [
[
{
"role": "user",
"content": "person.student ; Table meaning: This table records individuals' roles, statuses, and durations within an academic program, distinguishing between faculty and students.. Column meaning: student ; type INTEGER ; has values \"\"1\"\" ; has_null = False ; Value descriptio... | [
[
{
"role": "user",
"content": "advisedBy.p_id ; Table meaning: This table records the advisory relationships between individuals, linking each person to their assigned advisor.. Column meaning: person id ; type INTEGER ; has values \"\"6\"\" ; has_null = False"
}
],
[
{
"role": "u... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Please give the name of the director who achieved the Outstanding Animated Program (For Programming Less Than One Hour) award whose episode title is \"No Loan Again, Naturally\".\nExternal knowledge: th... | [
[
{
"role": "user",
"content": "Award.award ; Table meaning: This table records awards and nominations received by episodes, individuals, or songs associated with the show, including details such as award type, category, organization, recipient, role, result, and year.. Column meaning: award ; type ... | [
[
{
"role": "user",
"content": "Award.award_id ; Table meaning: This table records awards and nominations received by episodes, individuals, or songs associated with the show, including details such as award type, category, organization, recipient, role, result, and year.. Column meaning: award id ;... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the average Medicare payment amount and total line service count grouped by provider type for physicians and other suppliers in 2015?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.cms_medicare.physicians_and_other_supplier_2015.average_medicare_payment_amt ; Column meaning: The average amount paid by Medicare per service or claim for each physician or supplier in 2015. ; type FLOAT64 ; has values \"142.9375\" , \"129.673636... | [
[
{
"role": "user",
"content": "bigquery-public-data.cms_medicare.physicians_and_other_supplier_2015.bigquery-public-data.cms_medicare.physicians_and_other_supplier_2015.line_srvc_cnt"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.cms_medicare.physicians_and_other... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What are the top 10 most frequent Gene names from mitelman-db.prod.MolClinGene associated with InvNo values that have a Sole clone in mitelman-db.prod.KaryClone?"
}
] | [
[
{
"role": "user",
"content": "mitelman-db.prod.karyclone.invno ; Column meaning: An integer representing the unique identifier for each inversion event within a karyotype clone. ; type INT64 ; has values \"1\" , \"1\""
}
],
[
{
"role": "user",
"content": "mitelman-db.prod.k... | [
[
{
"role": "user",
"content": "mitelman-db.prod.KaryClone.mitelman-db.prod.KaryClone.RefNo"
}
],
[
{
"role": "user",
"content": "mitelman-db.prod.KaryClone.mitelman-db.prod.KaryClone.InvNo"
}
],
[
{
"role": "user",
"content": "mitelman-db.prod.MolClin... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Count the number of distinct product types.\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "Products.product_type_code ; Table meaning: Products. Column meaning: product type code ; type VARCHAR(10) ; has values \"\"Clothes\"\" ; has_null = False"
}
]
] | [
[
{
"role": "user",
"content": "Addresses.address_details ; Table meaning: Addresses. Column meaning: address details ; type VARCHAR(255) ; has values \"\"28481 Crist Circle East Burdettestad,...\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Addresses.address_i... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What are the top 10 most common object categories (label_display_name) detected in bounding boxes along with their average confidence scores?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.open_images.annotations_bbox.confidence ; Column meaning: A floating-point value representing the confidence score of the bounding box annotation, typically indicating the certainty of the detected object. ; type FLOAT64 ; has values \"1.0\" , \"1... | [
[
{
"role": "user",
"content": "bigquery-public-data.open_images.labels.bigquery-public-data.open_images.labels.confidence"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.open_images.dict.bigquery-public-data.open_images.dict.label_display_name"
}
],
[
... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What are the top 5 most popular male baby names by total number of births across all states in the usa_1910_current dataset?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.usa_names.usa_1910_2013.gender ; Column meaning: Indicates the gender associated with the given name, represented as a single letter (e.g., 'F' for female). ; type STRING ; has values \"F\" , \"F\""
}
],
[
{
"role": "user",
... | [
[
{
"role": "user",
"content": "bigquery-public-data.usa_names.usa_1910_2013.bigquery-public-data.usa_names.usa_1910_2013.number"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.usa_names.usa_1910_2013.bigquery-public-data.usa_names.usa_1910_2013.gender"
}
],
... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the count of distinct InvNo per Tissue in mitelman-db.prod.CytogenInv for cases where the corresponding RefNo appears in mitelman-db.prod.CytogenInvValid with a non-null Reason field?"
}
] | [
[
{
"role": "user",
"content": "mitelman-db.prod.cytogeninv.invno ; Column meaning: A unique integer identifier representing the specific inversion event within the cytogenetic investigation. ; type INT64 ; has values \"1\" , \"1\""
}
],
[
{
"role": "user",
"content": "mitelm... | [
[
{
"role": "user",
"content": "mitelman-db.prod.MolBiolClinAssoc.InvNo ; Column meaning: A unique integer identifier representing the specific inversion event associated with each record. ; type INT64 ; has values \"1\" , \"1\""
}
],
[
{
"role": "user",
"content": "mitelman-... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Return the total points of the gymnast with the lowest age.\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "gymnast.Total_Points ; Table meaning: gymnast. Column meaning: total points ; type REAL ; has values \"\"58.061\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "gymnast.Gymnast_ID ; Table meaning: gymnast. Column meaning: gymnast id... | [
[
{
"role": "user",
"content": "gymnast.Floor_Exercise_Points ; Table meaning: gymnast. Column meaning: floor exercise points ; type REAL ; has values \"\"9.725\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "gymnast.Horizontal_Bar_Points ; Table meaning: gymnast... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: For each project_name, what is the total number of unique aliquots and the total file size across all files for that project, considering only files with state 'submitted' and samples with sample_type '... | [
[
{
"role": "user",
"content": "isb-cgc.gdc_metadata.rel12_filedata_current.cases__case_id ; Column meaning: Associated entity case UUID ; type STRING ; has values \"6e22b287-5b45-4f5f-a825-b200aa6943e6\" , \"ffedc8be-1056-4205-b9d9-99b5bdb872db\""
}
],
[
{
"role": "user",
"c... | [
[
{
"role": "user",
"content": "isb-cgc.GDC_metadata.rel13_aliquot2caseIDmap.isb-cgc.GDC_metadata.rel13_aliquot2caseIDmap.aliquot_gdc_id"
}
],
[
{
"role": "user",
"content": "isb-cgc.GDC_metadata.rel21_caseData.isb-cgc.GDC_metadata.rel21_caseData.case_gdc_id"
}
],
[
... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: How many persons in total have participated in 12 meter Mixed Sailing competitions?\nExternal knowledge: 12 meter Mixed Sailing competitions refer to event_name = 'Sailing Mixed 12 metres';"
}
] | [
[
{
"role": "user",
"content": "competitor_event.competitor_id ; Table meaning: This table records the participation of competitors in events along with any medals they have won.. Column meaning: competitor id ; type INTEGER ; has values \"\"12\"\" ; has_null = False ; Value description: commonsense... | [
[
{
"role": "user",
"content": "city.city_name ; Table meaning: This table stores unique identifiers and names of cities that have hosted or are associated with the Olympic Games.. Column meaning: city name ; type TEXT ; has values \"\"Barcelona\"\" ; has_null = False"
}
],
[
{
"ro... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Show the name of track and the number of races in each track.\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "track.Name ; Table meaning: track. Column meaning: name ; type TEXT ; has values \"\"Auto Club Speedway\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "race.Track_ID ; Table meaning: race. Column meaning: track id ; type TEXT ; has... | [
[
{
"role": "user",
"content": "race.Class ; Table meaning: race. Column meaning: class ; type TEXT ; has values \"\"DP/GT\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "race.Date ; Table meaning: race. Column meaning: date ; type TEXT ; has values \"\"January 2... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: List the official full names of all the legislators that served 13 district for 26 consecutive years.\nExternal knowledge: served only one district for 26 consecutive years refers to SUBTRACT(SUM(cast(s... | [
[
{
"role": "user",
"content": "current-terms.district ; Table meaning: This table records detailed information about legislators' current terms, including their personal, contact, and political details during their active service.. Column meaning: district ; type REAL ; has values \"\"13.0\"\" ; ha... | [
[
{
"role": "user",
"content": "current-terms.address ; Table meaning: This table records detailed information about legislators' current terms, including their personal, contact, and political details during their active service.. Column meaning: address ; type TEXT ; has values \"\"2264 Rayburn HO... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What are the top 10 organizations by total revenue (totrevnue) that also reported program service revenue (prgmservrev) greater than $1,000,000 in 2012 according to the IRS 990 EZ forms?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.irs_990.irs_990_ez_2012.ein ; Column meaning: A unique nine-digit Employer Identification Number assigned to organizations filing the IRS Form 990-EZ in 2012. ; type STRING ; has values \"870644812\" , \"521140870\""
}
],
[
{
"ro... | [
[
{
"role": "user",
"content": "bigquery-public-data.irs_990.irs_990_ez_2012.bigquery-public-data.irs_990.irs_990_ez_2012.ein"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.irs_990.irs_990_ez_2012.bigquery-public-data.irs_990.irs_990_ez_2012.prgmservrev"
}
]... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: How many universities have a campus fee higher than average?\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "csu_fees.CampusFee ; Table meaning: csu_fees. Column meaning: campus fee ; type INTEGER ; has values \"\"1951\"\" ; has_null = False"
}
]
] | [
[
{
"role": "user",
"content": "Campuses.Campus ; Table meaning: Campuses. Column meaning: campus ; type TEXT ; has values \"\"Sonoma State University\"\" , \"\"Fresno State University\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Campuses.County ; Table meanin... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: For each police district, what is the count of incidents reported in the sfpd_incidents table and the count of fire service calls in the sffd_service_calls table in 2022, considering only incidents that... | [
[
{
"role": "user",
"content": "bigquery-public-data.san_francisco.sffd_service_calls.call_date ; Column meaning: The date on which a fire service call was received or recorded in San Francisco. ; type DATE ; has values \"2012-09-13\" , \"2000-09-07\""
}
],
[
{
"role": "user",
... | [
[
{
"role": "user",
"content": "bigquery-public-data.san_francisco.sffd_service_calls.supervisor_district ; Column meaning: The district number of the city supervisor responsible for the area where the service call was made. ; type STRING ; has values \"3\" , \"3\""
}
],
[
{
"role"... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Which top 10 targetIds have the highest average interactionScore in interactionEvidence for interactions where the target is a cancer driver gene and has a small molecule binder according to targetPrior... | [
[
{
"role": "user",
"content": "bigquery-public-data.open_targets_platform.interactionevidence.interactionscore ; Column meaning: A floating-point value representing the strength or confidence level of the interaction evidence between biological entities, ranging approximately from 0 to 1. ; type FL... | [
[
{
"role": "user",
"content": "bigquery-public-data.open_targets_platform.targetPrioritisation.bigquery-public-data.open_targets_platform.targetPrioritisation.targetId"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.open_targets_platform.targetPrioritisation.bigqu... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the count of patents grouped by their priority_year that have corresponding publications published after 2015?"
}
] | [
[
{
"role": "user",
"content": "dimensions_ai_covid19.dimensions_ai_covid19.patents.application_number ; type TEXT ; has values \"MC2698\" , \"MA49712\""
}
],
[
{
"role": "user",
"content": "dimensions_ai_covid19.dimensions_ai_covid19.patents.priority_year ; type NUMBER ; has... | [
[
{
"role": "user",
"content": "DIMENSIONS_AI_COVID19.DIMENSIONS_AI_COVID19.PATENTS.category_hrcs_rac ; type VARIANT"
}
],
[
{
"role": "user",
"content": "DIMENSIONS_AI_COVID19.DIMENSIONS_AI_COVID19.PUBLICATIONS.date ; type TEXT ; has values \"2022-07-15\" , \"2022-07-21\""
... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: For participants in the \"BRCA\" study, what is the average methylation Beta value by SampleType from the HumanMethylation450 dataset, considering only those samples that have corresponding survival dat... | [
[
{
"role": "user",
"content": "isb-cgc-bq.pancancer_atlas.filtered_jhu_usc_edu_pancan_merged_humanmethylation27_humanmethylation450_betavalue_whitelisted.beta ; Column meaning: A numeric value representing the methylation beta value, indicating the proportion of methylated DNA at a specific CpG sit... | [
[
{
"role": "user",
"content": "isb-cgc-bq.pancancer_atlas.BarcodeMap.isb-cgc-bq.pancancer_atlas.BarcodeMap.Study"
}
],
[
{
"role": "user",
"content": "isb-cgc-bq.pancancer_atlas.Filtered_jhu_usc_edu_PANCAN_merged_HumanMethylation27_HumanMethylation450_betaValue_whitelisted.i... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Show year where a track with a seating at least 5000 opened and a track with seating no more than 4000 opened.\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "track.Year_Opened ; Table meaning: track. Column meaning: year opened ; type REAL ; has values \"\"1997.0\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "track.Seating ; Table meaning: track. Column meaning: seating ; type REAL ; h... | [
[
{
"role": "user",
"content": "race.Class ; Table meaning: race. Column meaning: class ; type TEXT ; has values \"\"DP/GT\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "race.Date ; Table meaning: race. Column meaning: date ; type TEXT ; has values \"\"January 2... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the total file_size in bytes by data_type for samples that appear in both the HG38_GDC_R14 and HG19_GDC_R14 datasets, grouped by data_type?"
}
] | [
[
{
"role": "user",
"content": "tcga_mitelman.tcga_versioned.per_sample_file_metadata_hg19_gdc_r14.sample_gdc_id ; Column meaning: Unique GDC identifier for this sample (corresponds to the sample_barcode), eg a1ec9279-c1a6-4e58-97ed-9ec1f36187c5 -- this can be used to access more information from ... | [
[
{
"role": "user",
"content": "TCGA_MITELMAN.TCGA_VERSIONED.PER_SAMPLE_FILE_METADATA_HG19_GDC_R14.case_barcode ; Column meaning: Original TCGA case barcode, eg TCGA-12-1089 -- note that each case typically has a primary-tumor sample and a matched-normal (blood or adjacent tissue) sample; please r... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What is the total number of dependent projects and the average repository stars count grouped by the main programming language for projects updated after January 1, 2023?"
}
] | [
[
{
"role": "user",
"content": "libraries_io.libraries_io.projects.dependent_projects_count ; Column meaning: The number of projects that directly depend on the given project. ; type NUMBER ; has values \"0\" , \"0\""
}
],
[
{
"role": "user",
"content": "libraries_io.librarie... | [
[
{
"role": "user",
"content": "LIBRARIES_IO.LIBRARIES_IO.PROJECTS_WITH_REPOSITORY_FIELDS.repository_open_issues_count ; Column meaning: The number of open issues currently reported in the project's associated repository. ; type NUMBER"
}
],
[
{
"role": "user",
"content": "LI... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What are the average and minimum price (in Euro) of all products?\nExternal knowledge:"
}
] | [
[
{
"role": "user",
"content": "Catalog_Contents.price_in_euros ; Table meaning: Catalog_Contents. Column meaning: price in euros ; type DOUBLE ; has values \"\"159.84\"\" ; has_null = False"
}
]
] | [
[
{
"role": "user",
"content": "Attribute_Definitions.attribute_data_type ; Table meaning: Attribute_Definitions. Column meaning: attribute data type ; type VARCHAR(10) ; has values \"\"Bool\"\" ; has_null = False"
}
],
[
{
"role": "user",
"content": "Attribute_Definitions.at... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: For each gene_id present in both variants and variant_gene tables, what is the average cadd score of variants annotated with the most severe consequence, grouped by gene_id and filtered to include only ... | [
[
{
"role": "user",
"content": "open-targets-genetics.genetics.variant_gene.alt_allele ; Column meaning: The column contains the alternate nucleotide allele observed at a specific genetic variant position. ; type STRING ; has values \"A\" , \"A\""
}
],
[
{
"role": "user",
"co... | [
[
{
"role": "user",
"content": "open-targets-genetics.genetics.variant_disease_credset.gene_id ; type STRING"
}
],
[
{
"role": "user",
"content": "open-targets-genetics.genetics.variant_gene.fpred_max_score ; Column meaning: Maximum functional prediction score indicating the ... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: How did the total value of corn production in Iowa counties change between the 2002 and 2012 censuses?"
}
] | [
[
{
"role": "user",
"content": "bigquery-public-data.usda_nass_agriculture.census_2002.commodity_desc ; Column meaning: The type or category of agricultural commodity or service reported in the 2002 census data. ; type STRING ; has values \"HAY\" , \"AG SERVICES\""
}
],
[
{
"role":... | [
[
{
"role": "user",
"content": "bigquery-public-data.usda_nass_agriculture.census2012.county_name ; Column meaning: The name of the county where the agricultural data was collected. ; type STRING"
}
],
[
{
"role": "user",
"content": "bigquery-public-data.usda_nass_agriculture... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: Which nation and region does the Customer#000000008 come from?\nExternal knowledge: nation refers to n_name; region refers to r_name; Customer#000000008 refers to c_name = 'Customer#000000008'"
}
] | [
[
{
"role": "user",
"content": "customer.c_name ; Table meaning: This table stores detailed information about customers, including their account balance, contact details, market segment, and associated nation.. Column meaning: customer name ; type TEXT ; has values \"\"Customer#000000008\"\" , \"\"C... | [
[
{
"role": "user",
"content": "customer.c_acctbal ; Table meaning: This table stores detailed information about customers, including their account balance, contact details, market segment, and associated nation.. Column meaning: customer account balance ; type REAL ; has values \"\"3560.03\"\" ; ha... |
[
{
"role": "user",
"content": "Instruct: Retrieve columns used for writing SQL for given question.\nQuery: What are the top 10 drugs by average evidence score associated with the target class \"Kinase\" from the knownDrugsAggregated table, considering only evidence with a confidence score greater than 0.8?"
... | [
[
{
"role": "user",
"content": "bigquery-public-data.open_targets_platform.evidence.confidence ; Column meaning: A qualitative measure indicating the reliability or certainty level of the evidence presented. ; type STRING"
}
],
[
{
"role": "user",
"content": "bigquery-public-... | [
[
{
"role": "user",
"content": "bigquery-public-data.open_targets_platform.evidence.diseaseModelAssociatedModelPhenotypes ; Column meaning: Structured lists of phenotype terms from disease models associated with the evidence, each identified by an ontology ID and label. ; type STRUCT<list ARRAY<STRU... |
End of preview.
embedding-0.6b-spider2.0-data
Contrastive training data for the thanhdath/embedding-0.6b-spider2.0
column retriever. 39,238 (query, positive-columns, hard-negative-columns) groups.
No SynSQL — BIRD train + Spider train + Spider 2.0 synthetic only.
| source | rows |
|---|---|
| BIRD train | 9,356 |
| Spider train | 8,386 |
| Spider 2.0 synth (BQ/SF) | 17,693 |
| Spider 2.0 synth (SQL-Gen) | 3,803 |
Files
train.jsonl— SWIFT embedding format (messages,positive_messages,negative_messages); used to train the model.train_flagembedding_format.jsonl— same data in FlagEmbedding format (query,pos,neg, scores); pre-conversion source.
- Downloads last month
- 9