question_id
stringlengths
11
60
question_text
stringlengths
7
294
decomposition
stringlengths
13
606
operators
stringlengths
10
260
split
stringclasses
1 value
SPIDER_train_890
Find the titles of albums that contain tracks of both the Reggae and Rock genres.
return tracks ;return #1 with genre Reggae ;return #1 with genre Rock ;return #1 in both #2 and #3 ;return albums of #4 ;return titles of #5
['select', 'filter', 'filter', 'intersection', 'project', 'project']
train
SPIDER_train_891
Find all the phone numbers.
return phone numbers
['select']
train
SPIDER_train_892
What are all the phone numbers?
return phone numbers
['select']
train
SPIDER_train_893
What are the customer phone numbers under the policy "Life Insurance"?
return customers ;return #1 under the policy Life Insurance ;return the phone numbers of #2
['select', 'filter', 'project']
train
SPIDER_train_894
What are the phone numbers of customers using the policy with the code "Life Insurance"?
return customers ;return policies of #1 ;return codes of #2 ;return #1 where #3 is Life Insurance ;return phone numbers of #4
['select', 'project', 'project', 'comparative', 'project']
train
SPIDER_train_895
Which policy type has the most records in the database?
return policies ;return types of #1 ;return records of #2 ;return number of #3 for each #2 ;return #2 where #4 is highest
['select', 'project', 'project', 'group', 'superlative']
train
SPIDER_train_896
Which policy type appears most frequently in the available policies?
return the policies ;return #1 that are available ;return types of #2 ;return number of #2 for each #3 ;return #3 where #4 is the highest
['select', 'filter', 'project', 'group', 'comparative']
train
SPIDER_train_897
What are all the customer phone numbers under the most popular policy type?
return policy types ;return customers of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return customers of #4 ;return phone numbers of #5
['select', 'project', 'group', 'superlative', 'project', 'project']
train
SPIDER_train_898
Find the phone numbers of customers using the most common policy type among the available policies.
return customers ;return policy types of #1 ;return number of #1 for each #2 ;return #2 where #3 is the highest ;return #1 where #2 is #4 ;return phone numbers of #5
['select', 'project', 'group', 'comparative', 'comparative', 'project']
train
SPIDER_train_899
Find the policy type used by more than 4 customers.
return policy types ;return customers with #1 ;return number of #2 for each #1 ;return #1 where #3 is higher than 4
['select', 'project', 'group', 'comparative']
train
SPIDER_train_9
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?
return departments ;return heads of #1 ;return temporary acting value of #2 ;return #1 where #3 is 'Yes ;return employees of #4 ;return names of #5 ;return number of #5 for each #4 ;return #6 , #7
['select', 'project', 'project', 'comparative', 'project', 'project', 'group', 'union']
train
SPIDER_train_90
What are the ids of the students who registered for course 301 most recently?
return students ;return #1 who registered for course 301 ;return #2 most recently ;return ids of #3
['select', 'filter', 'filter', 'project']
train
SPIDER_train_900
Find the policy types more than 4 customers use. Show their type code.
return policy types ;return customers that use #1 ;return number of #2 for each #1 ;return #1 where #3 is higher than 4 ;return type codes of #4
['select', 'project', 'group', 'comparative', 'project']
train
SPIDER_train_901
Find the total and average amount of settlements.
return settlements ;return amounts of #1 ;return sum of #2 ;return average of #2 ;return #3 , #4
['select', 'project', 'aggregate', 'aggregate', 'union']
train
SPIDER_train_902
Return the sum and average of all settlement amounts.
return settlements ;return amounts of #1 ;return the average of #2 ;return the sum of #2 ;return #4 , #3
['select', 'project', 'aggregate', 'aggregate', 'union']
train
SPIDER_train_903
Find the name of services that have been used for more than 2 times in first notification of loss.
return first notification of loss ;return number of #1 for each service ;return services ;return #3 where #2 higher than 2
['select', 'group', 'select', 'comparative']
train
SPIDER_train_904
Which services have been used more than twice in first notification of loss? Return the service name.
return services ;return first notification of loss of #1 ;return number of #2 for each #1 ;return #1 where #2 larger than twice ;return names of #4
['select', 'project', 'group', 'comparative', 'project']
train
SPIDER_train_905
What is the effective date of the claim that has the largest amount of total settlement?
return claims ;return total settlements of #1 ;return amounts of #2 ;return #1 where #3 is highest ;return effective dates of #4
['select', 'project', 'project', 'superlative', 'project']
train
SPIDER_train_906
Find the claim that has the largest total settlement amount. Return the effective date of the claim.
return claims ;return total settlement amount for each #1 ;return #1 where #2 is largest ;return effective date of #3
['select', 'group', 'superlative', 'project']
train
SPIDER_train_907
How many policies are listed for the customer named "Dayana Robel"?
return customers ;return policies of #1 ;return #2 where #1 is Dayana Robel ;return number of #3
['select', 'project', 'comparative', 'aggregate']
train
SPIDER_train_908
Count the total number of policies used by the customer named "Dayana Robel".
return customer ;return #1 that is named Dayana Robel ;return policies of #2 ;return number of #3
['select', 'filter', 'project', 'aggregate']
train
SPIDER_train_909
What is the name of the customer who has the most policies listed?
return customers ;return policies listed of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return name of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_91
Find distinct cities of addresses of people?
return people ;return addresses of #1 ;return cities of #2 ;return #3 that are distinct
['select', 'project', 'project', 'filter']
train
SPIDER_train_910
Which customer uses the most policies? Give me the customer name.
return customers ;return policies #1 uses ;return number of #2 for each #1 ;return #1 where #3 is highest ;return customer name of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_911
What are all the policy types of the customer named "Dayana Robel"?
return customers ;return policy types of #1 ;return #2 where #1 is named Dayana Robel
['select', 'project', 'comparative']
train
SPIDER_train_912
Tell me the types of the policy used by the customer named "Dayana Robel".
return customers ;return policies of #1 ;return #2 where #1 is Dayana Robel ;return types of #3
['select', 'project', 'comparative', 'project']
train
SPIDER_train_913
What are all the policy types of the customer that has the most policies listed?
return customers ;return policies listed of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return policy types of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_914
List all the policy types used by the customer enrolled in the most policies.
return customers ;return policies of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return policies of #4 ;return policy types of #5
['select', 'project', 'group', 'superlative', 'project', 'project']
train
SPIDER_train_915
List all the services in the alphabetical order.
return services ;return #1 sorted by alphabetical order
['select', 'sort']
train
SPIDER_train_916
Give me a list of all the service names sorted alphabetically.
return service ;return names of #1 ;return #2 sorted alphabetically
['select', 'project', 'filter']
train
SPIDER_train_917
How many services are there?
return services ;return number of #1
['select', 'aggregate']
train
SPIDER_train_918
Count the total number of available services.
return services ;return #1 which are available ;return the number of #2
['select', 'filter', 'aggregate']
train
SPIDER_train_919
Find the names of users who do not have a first notification of loss record.
return users ;return records of #1 ;return #1 where #2 is first notification of loss ;return #1 besides #3 ;return names of #4
['select', 'project', 'comparative', 'discard', 'project']
train
SPIDER_train_92
What are the different cities where people live?
return cities ;return #1 where people live ;return different #2
['select', 'filter', 'project']
train
SPIDER_train_920
Which customers do not have a first notification of loss record? Give me the customer names.
return customers ;return #1 that have a first notification of loss record ;return #1 besides #2 ;return names of #3
['select', 'filter', 'discard', 'project']
train
SPIDER_train_921
Find the names of customers who have used either the service "Close a policy" or the service "Upgrade a policy".
return customers ;return services used of #1 ;return #1 where #2 is Close a policy ;return #1 where #2 is Upgrade a policy ;return #3 or #4 ;return names of #5
['select', 'project', 'comparative', 'comparative', 'union', 'project']
train
SPIDER_train_922
Which customers have used the service named "Close a policy" or "Upgrade a policy"? Give me the customer names.
return customers ;return services #1 used ;return #1 where #2 is Close a policy ;return #1 where #2 is Upgrade a policy ;return #3 or #4 ;return customer names of #5
['select', 'project', 'comparative', 'comparative', 'union', 'project']
train
SPIDER_train_923
Find the names of customers who have used both the service "Close a policy" and the service "New policy application".
return customers ;return #1 who have used the service Close a policy ;return #1 who have used the service New policy application ;return names of both #2 and #3
['select', 'filter', 'filter', 'intersection']
train
SPIDER_train_924
Which customers have used both the service named "Close a policy" and the service named "Upgrade a policy"? Give me the customer names.
return services ;return #1 that are named Close a policy ;return #1 that are named Upgrade a policy ;return customers of both #2 and #3 ;return names of #4
['select', 'filter', 'filter', 'intersection', 'project']
train
SPIDER_train_925
Find the IDs of customers whose name contains "Diana".
return customers ;return name of #1 ;return #1 where #2 contains Diana ;return IDs of #3
['select', 'project', 'comparative', 'project']
train
SPIDER_train_926
What are the IDs of customers who have "Diana" in part of their names?
return customers ;return #1 who have Diana in part of their names ;return the IDs of #2
['select', 'filter', 'project']
train
SPIDER_train_927
What are the maximum and minimum settlement amount on record?
return settlements ;return amounts of #1 ;return maximum of #2 ;return minimum of #2 ;return #3 , #4
['select', 'project', 'aggregate', 'aggregate', 'union']
train
SPIDER_train_928
Find the maximum and minimum settlement amount.
return settlements ;return amount of #1 ;return maximum of #2 ;return minimum of #2 ;return #3 , #4
['select', 'project', 'aggregate', 'aggregate', 'union']
train
SPIDER_train_929
List all the customers in increasing order of IDs.
return customers ;return IDs of #1 ;return #1 sorted by increasing order of #2
['select', 'project', 'sort']
train
SPIDER_train_93
Find distinct cities of address of students?
return students ;return addresses of #1 ;return distinct cities of #2
['select', 'project', 'project']
train
SPIDER_train_930
What is the ordered list of customer ids?
return customers ;return ids of #1
['select', 'project']
train
SPIDER_train_931
Retrieve the open and close dates of all the policies associated with the customer whose name contains "Diana"
return customers ;return names of #1 ;return #1 where #2 contains Diana ;return policies of #3 ;return open dates of #4 ;return close dates of #4 ;return #5 , #6
['select', 'project', 'comparative', 'project', 'project', 'project', 'union']
train
SPIDER_train_932
What are the open and close dates of all the policies used by the customer who have "Diana" in part of their names?
return customers ;return names of #1 ;return #1 where #2 has Diana ;return policies used by #3 ;return open dates of #4 ;return close dates of #4 ;return #5 , #6
['select', 'project', 'comparative', 'project', 'project', 'project', 'union']
train
SPIDER_train_933
How many kinds of enzymes are there?
return enzymes ;return kinds of #1 ;return number of #2
['select', 'project', 'aggregate']
train
SPIDER_train_934
What is the total count of enzymes?
return enzymes ;return number of #1
['select', 'aggregate']
train
SPIDER_train_935
List the name of enzymes in descending lexicographical order.
return enzymes ;return names of #1 ;return #2 sorted by descending lexicographical order
['select', 'project', 'sort']
train
SPIDER_train_936
What are the names of enzymes in descending order?
return enzymes ;return names of #1 ;return #2 sorted by descending order
['select', 'project', 'sort']
train
SPIDER_train_937
List the names and the locations that the enzymes can make an effect.
return enzymes ;return names of #1 ;return locations #1 can make an effect ;return #2 , #3
['select', 'project', 'project', 'union']
train
SPIDER_train_938
What are the names and locations of all enzymes listed?
return enzymes ;return names of #1 ;return locations of #1 ;return #2 , #3
['select', 'project', 'project', 'union']
train
SPIDER_train_939
What is the maximum Online Mendelian Inheritance in Man (OMIM) value of the enzymes?
return the enzymes ;return the Online Mendelian Inheritance in Man ( OMIM ) values of #1 ;return the maximum of #2
['select', 'project', 'aggregate']
train
SPIDER_train_94
What are the different cities where students live?
return students ;return different cities where #1 live
['select', 'project']
train
SPIDER_train_940
What is the maximum OMIM value in the database?
return OMIM ;return values of #1 ;return maximum of #2
['select', 'project', 'aggregate']
train
SPIDER_train_941
What is the product, chromosome and porphyria related to the enzymes which take effect at the location 'Cytosol'?
return enzymes ;return locations #1 take effect at ;return #1 where #2 is 'Cytosol ;return products of #3 ;return chromosomes of #3 ;return porphyrias of #3 ;return #4 , #5 , #6
['select', 'project', 'comparative', 'project', 'project', 'project', 'union']
train
SPIDER_train_942
What is the product, chromosome, and porphyria of the enzymes located at 'Cytosol'?
return enzymes ;return #1 located at 'Cytosol ;return products of #2 ;return chromosomes of #2 ;return porphyrias of #2 ;return #3 , #4 , #5
['select', 'filter', 'project', 'project', 'project', 'union']
train
SPIDER_train_943
What are the names of enzymes who does not produce 'Heme'?
return enzymes ;return #1 that do not produce 'Heme ;return names of #2
['select', 'filter', 'project']
train
SPIDER_train_944
What are the names of enzymes whose product is not 'Heme'?
return enzymes ;return products of #1 ;return #1 where #2 is not 'Heme ;return names of #3
['select', 'project', 'comparative', 'project']
train
SPIDER_train_945
What are the names and trade names of the medicines which has 'Yes' value in the FDA record?
return medicines ;return values of #1 in FDA record ;return #1 where #2 is 'Yes ;return names of #3 ;return trade names of #3 ;return #4 , #5
['select', 'project', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_946
What are the names and trade names of the medcines that are FDA approved?
return medcines ;return #1 that are FDA approved ;return names of #2 ;return trade names of #2 ;return #3 , #4
['select', 'filter', 'project', 'project', 'union']
train
SPIDER_train_947
What are the names of enzymes in the medicine named 'Amisulpride' that can serve as an 'inhibitor'?
return the medicine named 'Amisulpride ' ;return the enzymes in #1 ;return #2 that can serve as an 'inhibitor ' ;return the names of #3
['select', 'project', 'filter', 'project']
train
SPIDER_train_948
What are the names of the enzymes used in the medicine Amisulpride that acts as inhibitors?
return medicine Amisulpride ;return enzymes in #1 ;return #2 that act as inhibitors ;return names of #3
['select', 'project', 'filter', 'project']
train
SPIDER_train_949
What are the ids and names of the medicine that can interact with two or more enzymes?
return medicines ;return enzymes #1 can interact with ;return number of #2 for each #1 ;return #1 where #3 is at least two ;return ids of #4 ;return names of #4 ;return #5 , #6
['select', 'project', 'group', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_95
List the names of courses in alphabetical order?
return courses ;return #1 sorted by alphabetical order
['select', 'sort']
train
SPIDER_train_950
For every medicine id, what are the names of the medicines that can interact with more than one enzyme?
return medicine ids ;return enzymes #1 can interact with ;return number of #2 for each #1 ;return #1 where #3 is higher than one ;return medicine of #4 ;return name of #5
['select', 'project', 'group', 'comparative', 'project', 'project']
train
SPIDER_train_951
What are the ids, names and FDA approval status of medicines in descending order of the number of enzymes that it can interact with.
return medicines ;return ids of #1 ;return names of #1 ;return FDA approval statuses of #1 ;return enzymes #1 can interact with ;return number of #5 for each #1 ;return #2 , #3 , #4 ;return #7 sorted by #6 in descending order
['select', 'project', 'project', 'project', 'project', 'group', 'union', 'sort']
train
SPIDER_train_952
What are the ids, names, and FDA approval status for medicines ordered by descending number of possible enzyme interactions?
return medicines ;return ids of #1 ;return names of #1 ;return FDA approval statuses of #1 ;return possible enzyme interactions of #1 ;return number of #5 for each #1 ;return #2 , #3 , #4 ;return #7 sorted by #6 descending
['select', 'project', 'project', 'project', 'project', 'group', 'union', 'sort']
train
SPIDER_train_953
What is the id and name of the enzyme with most number of medicines that can interact as 'activator'?
return enzymes ;return #1 with medicines that can interact as 'activator ;return #1 where #2 is highest ;return id of #3 ;return name of #3 ;return #4 , #5
['select', 'filter', 'superlative', 'project', 'project', 'union']
train
SPIDER_train_954
What is the id and name of the enzyme that can interact with the most medicines as an activator?
return enzymes ;return medicines #1 can interact with ;return #2 as an activator ;return number of #3 for each #1 ;return #1 where #4 is highest ;return id of #5 ;return name of #5 ;return #6 , #7
['select', 'project', 'filter', 'group', 'superlative', 'project', 'project', 'union']
train
SPIDER_train_955
What is the interaction type of the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?
return enzymes ;return #1 named 'ALA synthase ;return medicines ;return #3 named 'Aripiprazole ;return interaction type of both #2 and #3
['select', 'filter', 'select', 'filter', 'intersection']
train
SPIDER_train_956
What is the type of interaction for the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?
return medicines ;return #1 that are named 'Aripiprazole ;return types of interactions of #2 ;return enzyme of #3 ;return #3 where #4 is 'ALA synthase
['select', 'filter', 'project', 'project', 'comparative']
train
SPIDER_train_957
What is the most common interaction type between enzymes and medicine? And how many are there?
return interactions ;return #1 between enzymes and medicines ;return types of #2 ;return number of #2 for each #3 ;return #3 where #4 is the highest ;return number of #3 ;return #5 , #6
['select', 'filter', 'project', 'group', 'comparative', 'aggregate', 'union']
train
SPIDER_train_958
What are the most common types of interactions between enzymes and medicine, and how many types are there?
return interactions ;return #1 between enzymes and medicine ;return types of #2 ;return number of #3 ;return the most common #3 ;return #5 , #4
['select', 'filter', 'project', 'aggregate', 'project', 'union']
train
SPIDER_train_959
How many medicines have the FDA approval status 'No' ?
return medicines ;return FDA approval statuses of #1 ;return #1 where #2 is 'No ;return number of #3
['select', 'project', 'comparative', 'aggregate']
train
SPIDER_train_96
What are the names of the courses in alphabetical order?
return courses ;return names of #1 ;return #2 sorted by alphabetical order
['select', 'project', 'sort']
train
SPIDER_train_960
How many medicines were not approved by the FDA?
return medicines ;return #1 that were not approved by the FDA ;return number of #2
['select', 'filter', 'aggregate']
train
SPIDER_train_961
How many enzymes do not have any interactions?
return enzymes ;return #1 that have interactions ;return #1 besides #2 ;return number of #3
['select', 'filter', 'discard', 'aggregate']
train
SPIDER_train_962
What is the count of enzymes without any interactions?
return enzymes ;return #1 without interactions ;return number of #2
['select', 'filter', 'aggregate']
train
SPIDER_train_963
What is the id and trade name of the medicines can interact with at least 3 enzymes?
return medicines ;return enzymes #1 can interact with ;return number of #2 for each #1 ;return #1 where #3 is at least 3 ;return id of #4 ;return trade name of #4 ;return #5 , #6
['select', 'project', 'group', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_964
What are the ids and trade names of the medicine that can interact with at least 3 enzymes?
return medicines ;return enzymes #1 can interact with ;return number of #2 for each #1 ;return #1 where #3 is at least 3 ;return ids of #4 ;return trade names of #4 ;return #5 , #6
['select', 'project', 'group', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_965
What are the distinct name, location and products of the enzymes which has any 'inhibitor' interaction?
return enzymes ;return 'inhibitor interactions of #1 ;return the number of #2 for each #1 ;return #1 where #3 is at least one ;return the distinct names of #4 ;return the distinct locations of #4 ;return the distinct products of #4 ;return #5 , #6 , #7
['select', 'project', 'group', 'comparative', 'project', 'project', 'project', 'union']
train
SPIDER_train_966
What are the different names, locations, and products of the enzymes that are capable inhibitor interactions?
return enzymes ;return #1 that are capable of inhibitor interactions ;return names of #2 ;return locations of #2 ;return products of #2 ;return #3 , #4 , #5
['select', 'filter', 'project', 'project', 'project', 'union']
train
SPIDER_train_967
List the medicine name and trade name which can both interact as 'inhibitor' and 'activitor' with enzymes.
return medicines ;return #1 that can interact with enzymes as a 'inhibitor ;return #1 that can interact with enzymes as a 'activitor ;return #1 in both #2 and #3 ;return medicine names of #4 ;return trade names of #4 ;return #5 , #6
['select', 'filter', 'filter', 'intersection', 'project', 'project', 'union']
train
SPIDER_train_968
What are the medicine and trade names that can interact as an inhibitor and activitor with enzymes?
return medicines ;return #1 that can interact as an inhibitor with enzymes ;return #1 that can interact as an activitor with enzymes ;return #1 in both #2 and #3 ;return the medicine names of #4 ;return the trades names of #4 ;return #5 , #6
['select', 'filter', 'filter', 'intersection', 'project', 'project', 'union']
train
SPIDER_train_969
Show the medicine names and trade names that cannot interact with the enzyme with product 'Heme'.
return medicines ;return enzymes interact with of #1 ;return products of #2 ;return #2 where #3 is 'Heme ;return number of #4 for each #1 ;return #1 where #5 is zero ;return medicine names of #6 ;return trade names of #6 ;return #7 , #8
['select', 'project', 'project', 'comparative', 'group', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_97
List the first names of people in alphabetical order?
return people ;return first names of #1 ;return #2 sorted by alphabetical order
['select', 'project', 'sort']
train
SPIDER_train_970
What are the medicine and trade names that cannot interact with the enzyme with the product 'Heme'?
return enzymes ;return products that #1 can not interact with ;return #1 where #2 is 'Heme ;return medicine name of #3 ;return trade name of #3 ;return #4 , #5
['select', 'project', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_971
How many distinct FDA approval statuses are there for the medicines?
return medicines ;return FDA approval statuses of #1 ;return distinct #2 ;return number of #3
['select', 'project', 'project', 'aggregate']
train
SPIDER_train_972
How many different FDA approval statuses exist for medicines?
return medicines ;return FDA approval statuses of #1 ;return different #2 ;return number of #3
['select', 'project', 'project', 'aggregate']
train
SPIDER_train_973
Which enzyme names have the substring "ALA"?
return enzyme ;return names of #1 ;return substring of #2 ;return #2 where #3 is ALA
['select', 'project', 'project', 'comparative']
train
SPIDER_train_974
What are the names of enzymes that include the string 'ALA'?
return enzymes ;return names of #1 ;return #2 that include the string 'ALA
['select', 'project', 'filter']
train
SPIDER_train_975
find the number of medicines offered by each trade.
return trades ;return medicines offered by #1 ;return number of #2 for each #1
['select', 'project', 'group']
train
SPIDER_train_976
How many medicines are offered by each trade name?
return trade names ;return medicines offered by #1 ;return number of #2 for each #1
['select', 'project', 'group']
train
SPIDER_train_977
List all schools and their nicknames in the order of founded year.
return schools ;return nicknames of #1 ;return founded years of #1 ;return #1 , #2 ;return #4 sorted by #3
['select', 'project', 'project', 'union', 'sort']
train
SPIDER_train_978
What are the different schools and their nicknames, ordered by their founding years?
return different schools ;return nicknames of #1 ;return founding years of #1 ;return #2 , #3 ;return #4 sorted by #3
['select', 'project', 'project', 'union', 'sort']
train
SPIDER_train_979
List all public schools and their locations.
return public schools ;return locations of #1 ;return #1 , #2
['select', 'project', 'union']
train
SPIDER_train_98
What are the first names of the people in alphabetical order?
return people ;return the first names of #1 ;return #2 in alphabetical order
['select', 'project', 'filter']
train