prompt
stringlengths
98
11.7k
response
stringlengths
1
1.45k
Q: In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Command: less { hop { filter_eq { all_rows ; name ; john childress } ; overall } ; hop { filter_eq { all_rows ; name ; claude crabb } ; overall } }, interpretation: select the rows whose name record fuzzily matches to john childress . take the overall record of this row . select the rows whose name record fuzzily matches to claude crabb . take the overall record of this row . the first record is less than the second record . A:
yes
Detailed Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. Problem:twofivesevenonethreefiveeightzero Solution:
25713580
Detailed Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. Problem:toatoataaattatt Solution:
taaat
You will be given a definition of a task first, then some input of the task. In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Nein, danke! . Da wären wir also, nach über einem Jahrzehnt ein neues GNR Album. Ich war nie begeistert darüber, dass Axl den Namen behalten hat und die Band neu besetzt hat, der frühere Sound war einfach einmalig. Aber ich war auch so offen zu sagen, wenn dieses Album mir musikalisch gefällt geb ich ihm eine Chance. Was ich erwartet habe war ein fach ein Album das sich noch nach GNR anhört, auch mit neuer Besetzung. Was soll ich sagen meine Erwartungen wurden enttäuscht. Das Album trägt zwar den Bandnamen GNR, aber es ist der verzweifelte versuch sich so weit wie möglich von GNR ab zu grenzen. Nichts vom Sound ist gebliebn. Sicherlich hätte sich der Sound der Guns auch mit der alten Besetzung verändert, hat er ja von Appetite zu Illusion auch, aber in 100 Jahren wäre nichts wie Chinese Democracy dabei rausgekommen. Das Album hat einen Metaleinschlag, um sich ja vom (klassischen) Rock der Alten Guns zu trennen, als GNR Fan will ich aber genau diesen hören, egal mit welcher Besetzung. Ich weiß nicht ob es an den 25 Jahren Sex, Drugs & Rock N'Roll liegt, aber Axls Stimme ist hier größtenteils nur noch Geschrei. Das die Band neue besetzt ist und der Sound komplett verändert wurde, der Name aber behalten wurde, hat nur ein Ziel: Cash. Und für das genaue Gegenteil stand GNR immer. Eine Band die mit Geld genau so glücklich war wie ohne, denen es nur um die Musik ging. Hätte man dem Projekt einen neuen Namen gegeben, hätte ich ihnen als neue Metal-Band eine Chance gegeben. Wenn sie aber GNR draufschreiben, bewerte ich auch als GNR Fan. Deshalb nur 2 Sterne denn die Musik ist vielleicht Geschmackssache, aber für jeder, der auch nur ein bisschen GNR möchte ( und zu diesen Leuten zähle ich als echter Fan, der sogar die Slash Bio gelesen hat) wird mit dieser Platte nicht glücklich. Ich hab den Neuen Guns eine offene Chance gegeben , weil ich nicht vergangenen Zeiten hinterher weinen wollte, aber selten wurde ich so enttäuscht. Output:
NEG
You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right One example: [1,2,2,3] Solution is here: 1 Explanation: The array is monotonic as 1 < 2 <= 2 < 3 Now, solve this: [99, 2, 21, 75, 68, 11, 60, 96, 30, 38] Solution:
2
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. [76, 139, 5000, 2561]
[64, 128, 4096, 2048]
Teacher:In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. Teacher: Now, understand the problem? Solve this instance: Set1: '{16, 17, 4, 13}', Set2: '{2, 5, 6, 7, 8, 13, 16, 17, 20}'. How many elements are there in the union of Set1 and Set2 ? Student:
10
This task is to find the number of 'For' loops present in the given cpp program. [EX Q]: //************************************** //**???12.1??——???? *** //**????? ???1000012888 *** //************************************** int f(int, int);//??f?????????? int main() { int n, a, i; cin >> n; for (i = 1; i <= n; i++) { cin >> a; cout << f(a, 2) << endl; } return 0; } int f(int x, int b)//f(a,b)?a?????b????????? { int j, re = 1;//??a=a???????re???0 if(x < b) return 0; for (j = b; j < x; j++) { if(x % j == 0) re = re + f(x / j, j);//???????????????? } return re;//??re } [EX A]: 2 [EX Q]: int way(int x,int m) { int sum=0,p=0,i; for(i=m;i<x;i++) if(x%i==0) { p++; sum=sum+way(x/i,i); } sum=sum+1; if(p==0) sum=1; if(m>x) sum=0; return(sum); } int main() { int n,a,i; scanf("%d",&n); for(i=1;i<=n;i++) { scanf("%d",&a); printf("%d\n",way(a,2)); } return 0; } [EX A]: 2 [EX Q]: int j; int discharge(int x,int y) { int a=1; for(int i=y;i<=(sqrt((double)x));i++) { if(x%i==0) { a=a+discharge(x/i,i); } } return a; } int main() { int n,x,r[100]; cin>>n; for(j=0;j<n;j++) { cin>>x; r[j]=discharge(x,2); } for(j=0;j<n-1;j++) { cout<<r[j]<<endl; } cout<<r[n-1]; return 0; } [EX A]:
3
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations. muestra todos los restaurantes " chinese " con reseñas realizadas en el último mes
show me all " chinese " restaurants with reviews made in the last month
You will be given a definition of a task first, then some input of the task. In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. [70, 3, 100, 853, 463] Output:
[3, 853, 463]
Q: The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations. ¿qué restaurante "chinese" tiene más comentarios? A:
which " chinese " restaurant has the most reviews ?
Q: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Sentence: PLEASE DO N'T USE THIS MOVING COMPANY IF YOU DO N'T WANT TO : CRY , HAVE TROUBLE AND A {{ BAD }} EXPERIENCE ON THE DAY OF YOUR MOVE . Word: BAD A:
JJ
Given the task definition and input, reply with output. In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. [461, 896, 401, 772, 832, 607, 825, 109]
[461, 401, 607, 109]
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect. -------- Question: فیلم کلا مورد علاقه مخاطب عام ساخته شده و طنز خوبی داره. بازی ها خیلی معمولی هستند. بیشتر فیلم سرگرم کننده ای هست با موضوعات هیجان انگیز اکتی! فیلمنامه : متوسط بازی ها: متوسط موسیقی: خوب کارگردانی: خوب فیلمبرداری: خوب کلا اگه خواستین فیلم سرگرم کننده خوبی ببینین توصیه میشود. Answer: بازی Question: فیلم خوش ساختی بود هم بازیها عالی بود هم موسیقی فیلم. واقعا دستشون درد نکنه خسته نباشید میگم بهشون. بازی صابر ابر هم که محشر بود. Answer: کارگردانی Question: خیلی خوب بود خیلی سیمرغ برای نوید محمد زاده کم بود وای جایی که التماس میکرد ......................... Answer:
بازی
TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. PROBLEM: THEM: i would really like the basketball. YOU: i get 0 balls 1 hat and 2 books THEM: deal. SOLUTION: Yes PROBLEM: THEM: i keep the book you get the rest YOU: deal THEM: deal. SOLUTION: Yes PROBLEM: THEM: can i have 2 hats and the ball? YOU: how about i give you all the hats an i get everything else THEM: deal. SOLUTION:
Yes
Teacher:In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Teacher: Now, understand the problem? Solve this instance: Hinweis auf Cream Gesamtausgabe "Those Were The Days" . ACHTUNG : Endlich gibt es die Gesamtausgabe ALLER Songs der Cream (live und studio) auf 4 CD's. Es wäre um jeden Titel schade, den Sie von Baker, Bruce &amp; Clapton verpassen ! Titel der 4-CD-Box : "Those Were The Days" Student:
POS
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. The bird brought a message for you in its beak. What does it say?
It says "breakfast you will never have as long as you do not recall the answer to the song of light and down the tunnel you will fall."
Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. Input: [27.0, -67.331, 148.479, 212.478, 83.204, 184.995, -78.713, 231.503, 139.485] Output:
[ 0.031 -0.076 0.169 0.241 0.094 0.21 -0.089 0.263 0.158]
You will be given a definition of a task first, then some input of the task. Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. News Headline: Iran successfully launches satellite-carrying rocket into {space} Edit: tree Output:
Funny
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. [138.371, 30.093] [0.821 0.179] [234.403, 65.141] [0.783 0.217] [7.867, 208.497, 79.708, 43.769, -85.261, 240.911]
[ 0.016 0.421 0.161 0.088 -0.172 0.486]
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Q: [8, 7, 6, 5, 3, 5, 7, 9, 1] , [1, 1, 6, 10, 3, 5, 6, 9, 2] A: [1, 3, 5, 6, 9] **** Q: [2, 8, 2, 8, 1, 7, 1, 5, 5, 1] , [3, 4, 10, 8, 10, 3, 1, 9, 6, 6] A: [1, 8] **** Q: [7, 10, 6, 4, 2, 7, 5, 1] , [9, 2, 7, 5, 7, 9, 4, 10] A:
[2, 4, 5, 7, 10] ****
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Example: password = a Example solution: 5 Example explanation: Using 5 steps, it can become a strong password Problem: password = zExk.piXVg
Solution: 1
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect. از بهرام توکلی انتظار می رفت این فیلم . ولی نمی دونم چطور راصی شده بود انقدر فیلمش کند ریتم و خسته کننده باشه... مث یه برکه آروم ! کارگردانی یکی از ارزشمندترین فیلم های سالیان اخیر با بازی دلچسب تمامی بازیگران. ایده اصلی فیلم بسیار جالب بود و سکانس ها و دیالوگهای ماندگاری داشت. از اون فیلمهایی که یادت نمیره هیچوقت. بازی افتضاح :) به خصوص بازی پگاه آهنگرانی!
بازی
Detailed Instructions: In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. See one example below: Problem: Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Solution: yes Explanation: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'. Problem: Command: eq { hop { nth_argmax { all_rows ; joined ; 3 } ; school } ; south bend clay }, interpretation: select the row whose points record of all rows is maximum . the club record of this row is ud las palmas . Solution:
no
You will be given a definition of a task first, then some input of the task. You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. original sentence: Mary took out her flute and played one of her favorite pieces . She has had it since she was a child . paraphrase: Mary is taking out her flute and playing one of her favorite pieces . She has had it since she was a child . Output:
Tense
You will be given a definition of a task first, then some input of the task. In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them. In mock - electroporated neurons , BDNF induced an IEG response of c - fos ( A ) , Egr1 ( B ) , Egr2 ( C ) and Arc ( D ) . Output:
neurons
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Q: Give the names of countries with English and French as official languages. A: SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" AND T2.IsOfficial = "T" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "French" AND T2.IsOfficial = "T" **** Q: What is the id of the candidate who most recently accessed the course? A: SELECT candidate_id FROM candidate_assessments ORDER BY assessment_date DESC LIMIT 1 **** Q: Which apartments have unit status availability of both 0 and 1? Return their apartment numbers. A:
SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1.apt_id = T2.apt_id WHERE T2.available_yn = 0 INTERSECT SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1.apt_id = T2.apt_id WHERE T2.available_yn = 1 ****
TASK DEFINITION: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. PROBLEM: Context: 'Haha yup me too. I have a teenage son who eats about 5000 calories a day. Okay, I think the most fair option is one of takes 2 firewood and 1 of the other two items. I don't care who.' 'Sure. How about you take 2 firewood, and 1 food and 1 water?' 'That's fine with me. This should be a great weekend to get out.' Utterance: 'yes sounds good! hope it doesn't rain' SOLUTION: No PROBLEM: Context: 'The basics of man - food and water' 'Ah, okay, I could use some of that too! Which one do you need most?' 'water. How about you?' Utterance: 'I could use water, too, but I'd be willing to give some up if you give me more items overall' SOLUTION: Yes PROBLEM: Context: 'I'm doing well. I can't wait to go camping' 'I am usually not much of a camper! I will start with an offer if that is ok with you.' 'sure' Utterance: 'I suggest I take 2 water, 2 food and 1 firewood.' SOLUTION:
No
Detailed Instructions: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. Problem:নাস্তিক বা হিন্দুরা আপনার এই ধরনের বক্তব্য শুনে আরো চটে যাচ্ছে, রেগে যাচ্ছে Solution:
religious
Detailed Instructions: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Q: How many orders does Luca Mancini have in his invoices? A:
SELECT count(*) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "Lucas" AND T1.last_name = "Mancini"
Detailed Instructions: Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. Problem:Breathing methods are a great idea . Solution:
no
Definition: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise Input: The site collects an information type outside of our label scheme for an unspecified purpose. Collection happens when you explicitly provide information in an unspecified way. You can configure your privacy using a method outside our label scheme. Output:
Unspecified
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect. واقعا اگر نگم درجه یک ترین که نگفتنش ظلمه به جرات میتونم بگم یکی از بهترین کمدیای تاریخ ایران بود ...داستان، شوخی ها و .. همه چی عالییی بود و البته گل سرسبد همه ی این اتفاقای خوب حامد بهداد که نشون داد ی ستاره اگر واقعی باشه حالا حالا ها قرار نیست خاموش شه! حامد بینظیر بود.‌
داستان
Instructions: In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Input: [2, 3, 7, 3, 3, 5, 0, 0] Output:
[2, 7, 5]
Definition: In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said. Input: Sentence: As Ollie carried Tommy up the long winding steps, his legs ached. Question: Whose legs ached? Output:
Ollie
Instructions: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red. Input: document Output:
record
Given the task definition and input, reply with output. You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. 06:43 Hrs
06:43 AM
Teacher: In this task, you are given two questions about a domain. Your task is to combine the main subjects of the questions to write a new, natural-sounding question. For example, if the first question is about the tallness of the president and the second question is about his performance at college, the new question can be about his tallness at college. Try to find the main idea of each question, then combine them; you can use different words or make the subjects negative (i.e., ask about shortness instead of tallness) to combine the subjects. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in the new question, this keyword should also be used the same way. Do not write unnatural questions. (i.e., would not be a question someone might normally ask about domains). Do not write open-ended or subjective questions. (e.g., questions that can be answered differently by different people.) If you couldn't find the answer to your question from a single Google search, try to write a different question. You do not have to stick with the original question word for word, but you should try to create a question that combines the main subjects of the question. Teacher: Now, understand the problem? If you are still confused, see the following example: What college did this president attend? Where did this president meet his wife? Solution: Did this president meet his wife in college? Reason: This is a good question. By combining "meet wife" and "college" we get to a new question. Now, solve this instance: How long should the tails of this dog breed be when docked? What is the natural tail length of this dog breed? Student:
How long should the tails of this dog breed be naturally or when docked?
Definition: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" Input: Fact: Specialization occurs when Genetic variation enables a species to adapt. Output:
Genetic variation enables?
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event. Thrombotic microangiopathy (TMA) is a serious toxicity associated with a small number of antineoplastic agents.
non-adverse drug event
Definition: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. Input: I lost all my money so I'm here for this inheritance now. Output:
It doesn't feel fair that you can even be here for that. You lost 20 million dollars.
In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said. Ex Input: Sentence: There are too many deer in the park, so the park service brought in a small pack of wolves. The population should decrease over the next few years. Question: Which population will decrease? Ex Output: deer Ex Input: Sentence: The scientists are studying three species of fish that have recently been found living in the Indian Ocean. They began two years ago. Question: Who or what began two years ago? Ex Output: scientists Ex Input: Sentence: Tom said "Check" to Ralph as he took his bishop. Question: Who owned the bishop that Tom took? Ex Output:
Ralph
TASK DEFINITION: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. PROBLEM: [{'first': -99, 'second': 63}, {'first': -99, 'second': 91}, {'first': -37, 'second': 13}, {'first': -38, 'second': -56}, {'first': 6, 'second': -70}, {'first': 41, 'second': -69}, {'first': -51, 'second': 31}, {'first': -55, 'second': -31}, {'first': -44, 'second': 68}, {'first': -49, 'second': -2}] SOLUTION: [{'first': -99, 'second': 63}, {'first': -99, 'second': 91}, {'first': -55, 'second': -31}, {'first': -51, 'second': 31}, {'first': -49, 'second': -2}, {'first': -44, 'second': 68}, {'first': -38, 'second': -56}, {'first': -37, 'second': 13}, {'first': 6, 'second': -70}, {'first': 41, 'second': -69}] PROBLEM: [{'first': 7, 'second': 56}, {'first': 55, 'second': 19}, {'first': 12, 'second': -88}, {'first': 82, 'second': 73}, {'first': 67, 'second': -25}, {'first': 27, 'second': -79}, {'first': 20, 'second': -41}, {'first': 86, 'second': -64}] SOLUTION: [{'first': 7, 'second': 56}, {'first': 12, 'second': -88}, {'first': 20, 'second': -41}, {'first': 27, 'second': -79}, {'first': 55, 'second': 19}, {'first': 67, 'second': -25}, {'first': 82, 'second': 73}, {'first': 86, 'second': -64}] PROBLEM: [{'first': -73, 'second': -67}, {'first': -64, 'second': -42}] SOLUTION:
[{'first': -73, 'second': -67}, {'first': -64, 'second': -42}]
You will be given a definition of a task first, then some input of the task. Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise A named third party does receive your health information for an additional (non-basic) service or feature. Output:
Additional service/feature
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. [Q]: Which cities have lower temperature in March than in Dec and have never served as host cities? [A]: SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Dec EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city [Q]: What are the ids, names, dates of opening, and other details for accounts corresponding to the customer with the first name "Meaghan"? [A]: SELECT T1.account_id , T1.date_account_opened , T1.account_name , T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan' [Q]: What are the line 1 and average monthly rentals of all student addresses? [A]:
SELECT T1.line_1 , avg(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id
Q: Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'. Jessica Marie Alba was born in Pomona, California, on April 28, 1981, to Catherine Louisa (née Jensen) and Mark David Alba A:
April 28, 1981
TASK DEFINITION: In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation. PROBLEM: Puerto Rico SOLUTION: Commonwealth of the US PROBLEM: Brunei SOLUTION: Monarchy (Sultanate) PROBLEM: Ghana SOLUTION:
Republic
This task is to find the number of 'For' loops present in the given cpp program. Q: int f(int,int); //???? int main( ) //????? { //????? int n,i,a[50]; cin >>n; //?????? for(i=0;i<n;i++){ cin >>a[i]; //???? cout <<f(a[i],2) <<endl; //???? } return 0; //??????????????????? } //????? int f(int n,int p) //????????????=p????? { int sum=0,m; for(m=p;m<=n;m++) if(n%m==0){ if(m<n) sum=sum+f(n/m,m); //n?????m?????=n/i?????=m????? if(m==n) sum=sum+1; //n?????n?????=1 } return sum; } A:
2
Given the task definition, example input & output, solve the new input case. In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Example: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( Output: -LRB- "(" is the symbol for Left Parantheses (-LRB-). New input case for you: Sentence: 24 - Number of prisoners in mid-2003 being monitored by psychiatrists in Guantanamo {{ 's }} new mental ward . Word: 's Output:
POS
In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Q: Sch... . Ach, Bestes Album? Das schreiben nur Leute die kein Plan haben!!! Denn es hat weder gute Beats noch Lyrics! Wu Tang hat den alten Flavor längst verloren! An der Eastcoast herrschen Nas, Jay-Z, DMX, Ja Rule, ... und im Süden Master P, Juvenile, Three 6 Mafia, ... im Midwest Eminem, Lil Bow Wow und Nelly und an der WestCoast Dr.Dre, Snoop Dogg, Xzibit, Mack 10... Wu Tang kommen aus New York und haben dort seit Jahren nix mehr zu melden, nur in Europa sind sie erfolgreich! Platin, OK, das war gut, aber nur wegen 2 Songs! Master P's MP Da Last Don 4x Platin, oder wenn ihr harte Rap Gruppen hören wollt: THREE 6 MAFIA, aber auf Iron Flag kann ich kaum einen guten Song finden, und wenn ich es mir 1000x anhöre, immer noch nix!!! Wer was von Rap versteht wird sich neue Alben von Master P, Three 6 Mafia, Nas oder Mack 10 holen! Peace A:
NEG
Instructions: Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. Input: if you are in the usa , since you are under 26 , you should still be on your parent 's insurance . Output:
yes
Given the task definition and input, reply with output. In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Deep down... . Mobb Deep macht auf einmal Club Music, aha... Mobb Deep ist auf einmal bei G-Unit, aha... Mobb Deep ist nicht mehr Mobb Deep, yapp... So viel gibt es zum Album zu sagen...man hört, dass es G-Unit ist, wer den Sound mag, der wird auch das Album mögen... Wieso zur Hölle muss 50 Cent gleich auf 6 Tracks gefeatured werden? Das Album ist ein halbes G-Unit Album... Wer sich den Beat Creep mit 50 Cent einfallen lassen hat, der muss auch einen an der Waffel haben, aber was solls... Beste Tracks des Albums: Backstage Pass und der Outta Control Remix mit 50 Cent... Fazit: 2 Sterne!
NEG
You will be given a definition of a task first, then some input of the task. In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0. vZFFniaxHUGOEwMLXinDRi, F Output:
1
instruction: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. question: Did you get the scroll, what happened? answer: They didn't have anything without dairy or soy. They tried to give me toppings. And they had the scroll in the register, so they couldn't open it. question: Hold on Jared and Joseph, you've disrupted this science fair and Linda's presenting her experiment and OK, yeah, I guess in order to show that the experiment works, we can take two students and put them in here and see what happens. answer: Well, Heidi, it's a classic fold by Mrs. White. She almost took control of the situation as an adult supervising science fair, but then she let herself be bowled over by 2 kids. question: OK. Let me try it. Get a load of my bite and chew. I bite and then...aww, it all spilled out of my mouth. answer:
We just saw your chew and spit. That's disgusting. You better work on the bite and chew some more.
Teacher:In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries. Teacher: Now, understand the problem? Solve this instance: United Kingdom Student:
British Isles
Detailed Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. Problem:Context: 'i am giving you one firewood' 'That doesn't work for me. I propose you get 2 water and one firewood and 2 food.' 'so you would get 2 firewood, 1 water and 1 food' Utterance: 'yes' Solution:
No
Given the task definition and input, reply with output. Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. year-round
seasonal
Q: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. [205, 137, 1633] A:
[256, 128, 2048]
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" Input: Consider Input: Fact: origami changes paper's shape. Output: What does origami change about paper? Input: Consider Input: Fact: swallowing pills whole is used for curing people when they are sick. Output: swallowing pills whole is used for curing people when they are what? Input: Consider Input: Fact: Aggression is behavior that is intended to cause hurt.
Output: Aggression is behavior that is intended to what?
Teacher: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Teacher: Now, understand the problem? If you are still confused, see the following example: [47, 444, 859, 530, 197, 409] Solution: [47, 859, 197, 409] Reason: The integers '444' and '530' are not prime integers and they were removed from the list. Now, solve this instance: [731, 22, 200, 211, 193, 911, 685, 853, 331, 754, 353, 187, 997] Student:
[211, 193, 911, 853, 331, 353, 997]
Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Input: Sentence: Eagle Transmission determined that much of the work the dealer said needed to {{ be }} done was unneccesary and what needed to be fixed was only $ 400 !! Word: be Output:
VB
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. How many students got accepted after the tryout? SELECT count(*) FROM tryout WHERE decision = 'yes' Find the city with the most number of stores. SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city ORDER BY count(*) DESC LIMIT 1 How many products were not included in any order?
SELECT count(*) FROM products WHERE product_id NOT IN ( SELECT product_id FROM Order_items )
You will be given a definition of a task first, then some input of the task. In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. eightninethreefourninezerofive Output:
8934905
Part 1. Definition You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. Part 2. Example 19:00 Hrs Answer: 07:00 PM Explanation: For a 24-Hours format time larger than 12:00, we should subtract 12 hours from the given time, then add 'PM'. So, the output is correct. Part 3. Exercise 12:02 Hrs Answer:
12:02 PM
Part 1. Definition In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Part 2. Example Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( Answer: -LRB- Explanation: "(" is the symbol for Left Parantheses (-LRB-). Part 3. Exercise Sentence: After a good few minutes , he asked : " {{ what }} do you want ? " Word: what Answer:
WP
You will be given a definition of a task first, then some input of the task. In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. [85, 35, 68] Output:
17
Q: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. [-94.718, 126.431] A:
[-2.987 3.987]
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Q: Central African Republic A:
.cf
Definition: In this task, you are given two questions about a domain. Your task is to combine the main subjects of the questions to write a new, natural-sounding question. For example, if the first question is about the tallness of the president and the second question is about his performance at college, the new question can be about his tallness at college. Try to find the main idea of each question, then combine them; you can use different words or make the subjects negative (i.e., ask about shortness instead of tallness) to combine the subjects. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in the new question, this keyword should also be used the same way. Do not write unnatural questions. (i.e., would not be a question someone might normally ask about domains). Do not write open-ended or subjective questions. (e.g., questions that can be answered differently by different people.) If you couldn't find the answer to your question from a single Google search, try to write a different question. You do not have to stick with the original question word for word, but you should try to create a question that combines the main subjects of the question. Input: Where can i eat in this national park? What types of boating activities are available in this national park? Output:
Can i buy food or go boating in this national park?
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. The toilets are in the toilet aisle. Right now, you're in screen doors. That's what I thought these were, but I wasn't 100% sure. You're saying sleep fighting is one of the few sports without a paddle. It's not a sport, so that's a big problem. It's a weird thing you do in your sleep when you're hitting people. When I'm dreaming, it's a sport though. You should see the professional boxers that I can knock out. You gave me two chapters on status last year.
I did, but it was only to appease you. I thought maybe you'd go away. I didn't expect us to have such a long relationship.
Given the task definition, example input & output, solve the new input case. In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Example: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( Output: -LRB- "(" is the symbol for Left Parantheses (-LRB-). New input case for you: Sentence: Asked by {{ : }} yheggy - ga Word: : Output:
:
Q: In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. Set1: '{4, 5, 6, 10, 11, 12, 14, 15, 18, 19}', Set2: '{19, 6}'. How many elements are there in the union of Set1 and Set2 ? A:
10
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Q: I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK A: look opposite right thrice and look left twice **** Q: I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_LOOK A: run left twice and look opposite right **** Q: I_TURN_LEFT I_TURN_LEFT I_LOOK I_TURN_LEFT I_TURN_LEFT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK A:
look right thrice after look opposite left twice ****
TASK DEFINITION: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. PROBLEM: x = 1, equation weights = [6, 1, 0] SOLUTION: 7 PROBLEM: x = 1, equation weights = [1, 8] SOLUTION: 9 PROBLEM: x = 0, equation weights = [6, 0] SOLUTION:
0
Definition: In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0. Input: JiyqWfAyroaOQIdUpKfqWD, h Output:
0
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. -------- Question: I just bought name brand pants and sweaters today , like 8 pieces , for $ 40 or so . Answer: no Question: You have your own talents and dreams :) Answer: no Question: Ground bees are often mistaken for wasps . Answer:
no
Teacher: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" Teacher: Now, understand the problem? If you are still confused, see the following example: difficult Solution: No Reason: The word difficult has no natural English rhymes and so the model outputs No as specified in the instructions. Now, solve this instance: history Student:
mystery
Teacher: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red. Teacher: Now, understand the problem? If you are still confused, see the following example: crystal Solution: rock Reason: A crystal is a type of rock, so rock is a valid hypernym output. Now, solve this instance: carp Student:
food
You will be given a definition of a task first, then some input of the task. In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. twofoursevenfivenine Output:
24759
You will be given a definition of a task first, then some input of the task. In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. [5, 6, 2, 2, 3, 1, 7] , [4, 5, 8, 3, 8, 7, 3] Output:
[3, 5, 7]
Please answer this: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.lukekorth.screennotifications. ++++++++ Answer: Unstable.... No function of screen timeout setting...it uses its default setting whatever you set up. And a WARNING to the users who has """"""""""""""""double-tap-on-screen"""""""""""""""" function for on/off screen....THIS APP SCREWS IT UP"" Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. ++++++++ Answer: Good Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.frostwire.android. ++++++++ Answer:
I absolutely love this app because you can get music and movies and TV series for free
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story. Premise: Jenna had never been on an airplane before. Initial Context: She was excited to fly on one to visit her grandma in Florida. Original Ending: She had a window seat so she could look down at the cities. Jenna ate the peanuts and drank the juice the attendant gave her. She was excited to return back home on another plane after her visit. Counterfactual Context: She was going to see her brother in Paris.
She had a window seat so she could look down at the city. Jenna ate the peanuts and drank the juice the attendant gave her. She was excited to return back home on another plane after her visit.
Part 1. Definition You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Part 2. Example password = a Answer: 5 Explanation: Using 5 steps, it can become a strong password Part 3. Exercise password = cvV Answer:
3
TASK DEFINITION: In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. PROBLEM: 1 Maxi-CD - 2 Songs + Bonustrack!! . Mit dieser Singleauskopplung holen sich die vier verbliebenen Engel selbst wieder aus ihrem Tief. Mit der eingängigen Ballade "Amaze me", die man zu dieser Jahreszeit wunderbar hören kann und der Covercersion des 80er Klassikers "Teardrops", bedienen sie verschiedene Geschmäcker. Weiter ist das Video zu "Amaze me" zu sehen. Nicht zu vergessen "Ain't gonna look the other way". Dieser Song hat mich doch schon positiv überrascht. Nachdem ich das Album "Destiny" eher als altbacken empfunden habe, wartet dieser Song mit überraschender Frische auf. Die Stimmen kommen einem vor, wie zum ersten Mal gehört. Der Song liegt den Mädels wie angegossen und der Ohrwurm ist vorprogrammiert! Nach dem Flop von "Maybe" hab ich mir schon Gedanken gemacht, wie es um die Zukunft der Mädels steht und als dann "Amaze me"/"Teardrops" als 2-Track angekündigt wurde, habe ich nur noch schwarz gesehen. Aber mit neuem Manager, 2 Editionen der Single, toller Musik, treuen Fans und interessierten Musikkennern, sollte es ihnen machbar sein endlich wieder einen Hit zu landen, der nicht schon nach 2 Wochen aus den Top 10 bzw. Top 20 fliegt. Finde es echt bemerkenswert, dass sich diesmal wirklich Gedanken gemacht wurden. 1 Maxi-CD, 2 Songs und 1 Bonustrack, nicht zu vergessen der schöne Remix von "Amaze me" und das Instrumental. SOLUTION: POS PROBLEM: tolle stimme, aber... . ...bis auf die ersten drei lieder (welche wirklich ganz toll sind) is, zumindest für mich, nix hörenswertes mehr dabei... 4 - 6 sind stinknormal, fast schon langweilig. 7 - 9 sind mittelprächtig, 10 - 12 sind mariah carey-mäßig (also auch nicht so das wahre) und 13 versinkt im absoluten schmalz... aber die stimme ist toll :-) SOLUTION: NEG PROBLEM: Verwechslungsgefahr . Diese Platte hat nichts mit dem canadischen Künstler K-Os zu tun, die Namensgebung K-O$ dieser Rap-Platte führt zur Verwechslung. SOLUTION:
NEG
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. original sentence: The police arrested all of the gang members . They were trying to run the drug trade in the neighborhood . paraphrase: The police immediately arrested all of the gang members . They were seriously trying to run the drug trade in the neighborhood . Adverb original sentence: Bill passed the half-empty plate to John because he was hungry . paraphrase: Bill and Jake passed the half-empty plate to John and Luke because they were hungry . Number original sentence: This morning , Joey built a sand castle on the beach , and put a toy flag in the highest tower , but this afternoon the wind knocked it down . paraphrase: This morning , Joey and Bill built sand castles on the beach , and put toy flags in the highest towers , but this afternoon the wind knocked them down .
Number
Teacher: Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Teacher: Now, understand the problem? If you are still confused, see the following example: Entity 1: plant Entity 2: leaf Solution: yes Reason: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym. Now, solve this instance: Entity 1: chemical bond Entity 2: atom Student:
yes
Definition: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Input: 7173 @ 6651 @ 1920 @ 5424 @ 7783 # 4793 # 2612 @ 1753 @ 666 Output:
23965
Definition: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. Input: এই হিন্দুরা কাশ্মীরে মুসলিম এবং হায়দারাবাদে মুসলিম হত্যা করেছে । এটা তারা নিজেদের মুখেই স্বীকার করেছে । তাহলে প্রকৃত সংখ্যা হবে তার থেকে অনেক অনেক বেশী । কাশ্মীরের জম্মু ছিল মুসলিম সংখ্যাগরিষ্ঠ এলাকা । মুসলিমদের উপর গনহত্যা চালিয়ে সেটা হিন্দু সংখ্যাগরিষ্ঠ এলাকা বানিয়ে ফেলেছে । গুজরাটে মুসলিমকে পুড়িয়ে হত্যা করেছে । গুজরাটের মুসলিমদের ঘর বাড়ি আজও তাদের দখলে । গুজরাটের মুসলিম এমপিকে পর্যন্ত তারা জবাই করে হত্যা করেছে । এত বড় হারামজাদা জাতি এই হিন্দু মালাউনের বাচ্চারা । Output:
religious
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" -------- Question: most Answer: ghost Question: box Answer: foxx Question: dress Answer:
mess
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Q: Sentence: But to stand , day after day , and {{ to }} make such preposterous statements , known to everybody to be lies , without even being ridiculed in your own milieu , can only happen in this region . Word: to A:
TO
Detailed Instructions: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. See one example below: Problem: [2,5,1,4],[2,5,8,4,2,0] Solution: [2,4,5] Explanation: The elements 2,4, and 5 are in both lists. This is a good example. Problem: [2, 1, 5, 8, 3, 9, 2, 5, 8] , [9, 5, 2, 3, 6, 2, 9, 10, 6] Solution:
[2, 3, 5, 9]
Detailed Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise Q: A named third party does not receive your contact information for targeted advertising. A:
Advertising
Given the task definition, example input & output, solve the new input case. In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Example: [2,5,1,4],[2,5,8,4,2,0] Output: [2,4,5] The elements 2,4, and 5 are in both lists. This is a good example. New input case for you: [7, 1, 1, 2, 7] , [4, 2, 2, 7, 10] Output:
[2, 7]
Part 1. Definition Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. Part 2. Example Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by. Answer: yes Explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes". Part 3. Exercise Might be completely unrelated sounds similar to rabies and encephalitis and menengitis maybe even annurism should definitely go to doctor that is not normal . Answer:
no
Part 1. Definition In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. Part 2. Example [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}] Answer: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}] Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example. Part 3. Exercise [{'first': 31, 'second': 77}, {'first': 60, 'second': 54}, {'first': 0, 'second': -87}, {'first': 51, 'second': -82}, {'first': -3, 'second': -2}, {'first': -18, 'second': -56}, {'first': -19, 'second': -61}] Answer:
[{'first': -19, 'second': -61}, {'first': -18, 'second': -56}, {'first': -3, 'second': -2}, {'first': 0, 'second': -87}, {'first': 31, 'second': 77}, {'first': 51, 'second': -82}, {'first': 60, 'second': 54}]
Given the task definition and input, reply with output. In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. [{'first': 26, 'second': 27}, {'first': 47, 'second': 52}, {'first': 77, 'second': -13}, {'first': 35, 'second': -92}, {'first': 64, 'second': 17}, {'first': 26, 'second': 27}, {'first': 27, 'second': -64}]
[{'first': 26, 'second': 27}, {'first': 26, 'second': 27}, {'first': 27, 'second': -64}, {'first': 35, 'second': -92}, {'first': 47, 'second': 52}, {'first': 64, 'second': 17}, {'first': 77, 'second': -13}]
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. -------- Question: [242, 549, 1378, 3281, 19, 63, 3, 217, 638, 4094, 2139, 12] Answer: [256, 512, 1024, 4096, 16, 64, 4, 256, 512, 4096, 2048, 16] Question: [28, 261, 3333, 1659, 20, 84, 2, 123, 120, 3109, 1194, 19, 69, 4, 192, 1452] Answer: [32, 256, 4096, 2048, 16, 64, 2, 128, 128, 4096, 1024, 16, 64, 4, 256, 1024] Question: [159, 163, 4153, 1730, 8, 44, 4, 31, 984, 3724, 3153, 10] Answer:
[128, 128, 4096, 2048, 8, 32, 4, 32, 1024, 4096, 4096, 8]
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. [Q]: [10, 7, 10, 1, 7, 4, 2, 10, 5, 2] , [1, 2, 8, 3, 8, 1, 5, 8, 4, 4] [A]: [1, 2, 4, 5] [Q]: [8, 10, 3, 7, 3, 10, 3, 2, 3] , [8, 4, 9, 7, 6, 7, 3, 10, 8] [A]: [3, 7, 8, 10] [Q]: [4, 9, 9, 9, 9, 5, 4] , [10, 9, 8, 10, 2, 6, 6] [A]:
[9]
Detailed Instructions: You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right Q: [120, 117, 114, 111, 108, 105, 102, 99, 96, 93, 90, 87, 84, 81, 78, 75, 72, 69, 66, 63, 60, 57, 54, 51, 48, 45, 42, 39] A:
1
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. Set1: '{17}', Set2: '{3, 10, 14, 15, 17, 20}'. How many elements are there in the union of Set1 and Set2 ?
6