prompt
stringlengths
109
7.32k
response
stringlengths
1
1.45k
Answer the following question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. Answer:
Love it Google play service
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. Q: Command: eq { count { filter_eq { all_rows ; directedby ; guy ferland } } ; 2 }, interpretation: select the rows whose directedby record fuzzily matches to guy ferland . the number of such rows is 2 . A:
yes
Q: 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. Mongolia A:
Eastern Asia
Detailed Instructions: 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. Q: [-91, -95, -8, -51, 57, -8, 72] A:
0
Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc. Input: Consider Input: Sentence: In actual practice, however, we act too often as if we only cared for economic values. Question: What happens after we only care for economic values? Category: Event Ordering. Output: Yes. Input: Consider Input: Sentence: The dog accompanied him, frisking about him in friendly fashion. Question: What did he give the dog later? Category: Event Ordering. Output: Yes. Input: Consider Input: Sentence: While these laws were met with skepticism and ridicule, they've often become standard practice in other states. Question: How long have the laws been subject to ridicule? Category: Event Duration.
Output: Yes.
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. 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. A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy. Solution: adverse drug event Why? Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy. New input: A patient with generalized MG was effectively managed with MM but developed CNS lymphoma after 3 years of treatment. Solution:
adverse drug event
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: eq { count { filter_eq { all_rows ; result ; w } } ; 10 }, interpretation: select the rows whose traction type record fuzzily matches to petrol . the number of such rows is 2 .
no
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. Q: [9, 9, 4, 8, 7, 3, 10] , [9, 5, 3, 1, 5, 7, 1] A:
[3, 7, 9]
Part 1. Definition Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase. Part 2. Example 1975 년부터 76 년까지 NBA 시즌은 전국 농구 협회 (National Basketball Association)의 30 번째 시즌이었다. Answer: La saison 1975-1976 de la National Basketball Association était la 30e saison de la NBA. Explanation: This is a correct and accurate translation from Korean to French because the translated paraphrase retains the main message that between the years 1975-1976, the 30th NBA season occurred. Part 3. Exercise 획기적인 "Smash"(1994)의 네 번째 트랙과 세 번째 싱글입니다. Answer:
C'est la quatrième piste et le troisième single de leur album "Smash" (1994).
Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. 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. One example is below. Q: Query: SELECT DISTINCT ?x0 WHERE { ?x0 a ns:people.person . ?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 . ?x1 ns:people.person.gender ns:m.05zppz . ?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M2 . FILTER ( ?x0 != ?x1 ) . FILTER ( ?x1 != M2 ) } Question: Who did M2 's male spouse marry A: 1 Rationale: Query correctly extracts data for male spouse of M2 Q: Query: SELECT DISTINCT ?x0 WHERE { ?x0 a ns:film.film . ?x0 ns:film.film.directed_by ?x1 . ?x0 ns:film.film.edited_by ?x1 . ?x0 ns:film.film.written_by ?x1 . ?x1 ns:film.actor.film/ns:film.performance.film M1 . ?x1 ns:film.film_costumer_designer.costume_design_for_film M1 . ?x1 ns:film.writer.film M1 } Question: Did M1 marry M3 , marry M0 's star and editor , and influence M2 A:
0
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. Q: This is one of my favorite features in section one. A:
Ovo je jedna od mojih najdražih odlika u sekciji jedan.
Detailed Instructions: 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. Q: Myanmar A:
Southeast Asia
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. Example: [47, 444, 859, 530, 197, 409] Example solution: [47, 859, 197, 409] Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list. Problem: [29, 204, 937]
Solution: [29, 937]
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'. Example: twotwoonesixzeronine Example solution: 221609 Example explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example. Problem: seveneightoneonesevensevenzeroeightone
Solution: 781177081
Instructions: 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. Input: [{'first': 54, 'second': -30}, {'first': 95, 'second': -43}, {'first': -94, 'second': 21}, {'first': 75, 'second': -33}] Output:
[{'first': -94, 'second': 21}, {'first': 54, 'second': -30}, {'first': 75, 'second': -33}, {'first': 95, 'second': -43}]
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. Example input: Find the id and city of the student address with the highest average monthly rental. Example output: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1 Example explanation: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example. Q: Which grades have 4 or more high schoolers? A:
SELECT grade FROM Highschooler GROUP BY grade HAVING count(*) >= 4
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?" Let me give you an example: Fact: pesticides can harm animals. The answer to this example can be: What can harm animals? Here is why: It's a good question because it is formed by simply replacing the word "pesticides" with "what". OK. solve this: Fact: Turning blades cause air to move. Answer:
What would a turning blade cause?
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. One example is below. Q: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)। A: religious Rationale: Here it expresses hate against the religion, hence tagged as religious. Q: মালাউন দের বাঁশ ডুকাও বাঁশের পয়সা আমি দেব A:
religious
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. 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. فیلم متوسطی بود از لحاظ داستان ولی خوشحالم که سینمای ایران یک نیم نگاهی به این قشر از جامعه مون کرد.نا گفته نماندگفتگو های پر تامل و تاثیرگذاری داشت با این حال امیدوارم که تماشاچیان عزیز در دام "خطالی عاطفی" نیوفتاده باشند. Solution: داستان Why? This is a good example. The review is about the story of the movie. New input: افتضاح :) به خصوص بازی پگاه آهنگرانی! Solution:
بازی
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Q: professional A:
unprofessional
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'. Q: nineseventwonineeighttwoseventhree A:
97298273
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. Q: original sentence: George got free tickets to the play , but he gave them to Eric , because he was particularly eager to see it . paraphrase: George and Bob got free tickets to the play , but they gave them to Eric and Jeff , because they were particularly eager to see it . A:
Number
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. Mo Kalpha radiation
Mo
Detailed Instructions: 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. Q: x = 9, equation weights = [0, 5, 6, 1, 8] A:
4148
Detailed Instructions: 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 Problem:2611 @ 6783 @ 8407 # 5813 @ 4138 Solution:
16126
In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy". [EX Q]: 18/04/2007, input_format=dd/mm/yyyy [EX A]: 04/18/2007 [EX Q]: 11/04/2004, input_format=mm/dd/yyyy [EX A]: 04/11/2004 [EX Q]: 07/14/1786, input_format=mm/dd/yyyy [EX A]:
14/07/1786
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...'. Example input: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should. Example output: You know what, come tell us at the community pool. Example explanation: This is a good response. Because it accepts in indirect way the input sentence and supports it. Q: I'm not going to tell you my name, you scum. Look at you, you look like a pinata. A:
Hey, these pinatas don't come cheap. I gotta steal them out of the place where they fix my car.
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. Example: crystal Example solution: rock Example explanation: A crystal is a type of rock, so rock is a valid hypernym output. Problem: up
Solution: increase
This task is to find the number of 'For' loops present in the given cpp program. One example is below. Q: main() { float a[4]; float k; float c; int i; for(i=0;i<4;i++) { scanf("%f",&a[i]); } scanf("%f",&c); c=2*3.1415926*c/360; k=(a[0]+a[1]+a[2]+a[3])/2; double s,sq; sq=(k-a[0])*(k-a[1])*(k-a[2])*(k-a[3]) - a[0]*a[1]*a[2]*a[3]*(double)cos(c/2)*(double)cos(c/2); if(sq<0) printf("Invalid input"); else { s=sqrt(sq); printf("%.4f",s); } } A: 1 Rationale: The number of 'for' loops in the code is given by the number of 'for' string present in the code. Since we can find the exact number of for loops, this is a good example. 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 } A:
2
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...'. Example input: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should. Example output: You know what, come tell us at the community pool. Example explanation: This is a good response. Because it accepts in indirect way the input sentence and supports it. Q: Daniel and Beth, you guys can be most helpful by stalling. That's your specialty. Stay here. A:
What do you say, Beth? One last stall together before we go our separate ways?
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. Example: [47, 444, 859, 530, 197, 409] Example solution: [47, 859, 197, 409] Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list. Problem: [225, 123, 541, 259, 653, 811, 719, 47, 982, 811, 376, 132, 116, 189, 770, 439, 457, 633]
Solution: [541, 653, 811, 719, 47, 811, 439, 457]
Part 1. Definition 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. Part 2. Example فیلم متوسطی بود از لحاظ داستان ولی خوشحالم که سینمای ایران یک نیم نگاهی به این قشر از جامعه مون کرد.نا گفته نماندگفتگو های پر تامل و تاثیرگذاری داشت با این حال امیدوارم که تماشاچیان عزیز در دام "خطالی عاطفی" نیوفتاده باشند. Answer: داستان Explanation: This is a good example. The review is about the story of the movie. Part 3. Exercise خیلی خوب بود خیلی سیمرغ برای نوید محمد زاده کم بود وای جایی که التماس میکرد ......................... Answer:
بازی
Detailed Instructions: Read the given story and classify it as 'imagined', 'recalled', or 'retold'. If a story is imagined, the person who wrote the story is making it up, pretending they experienced it. If a story is recalled, the person who wrote the story really experienced it and is recalling it from memory. If a story is retold, it is a real memory like the 'recalled' stories, but written down much later after previously writing a 'recalled' story about the same events. So, recalled stories and retold stories will be fairly similar, in that they both were real experiences for the writer. Imagined stories have a more linear flow and contain more commonsense knowledge, whereas recalled stories are less connected and contain more specific concrete events. Additionally, higher levels of self reference are found in imagined stories. Between recalled and retold stories, retold stories flow significantly more linearly than recalled stories, and retold stories are significantly higher in scores for cognitive processes and positive tone. Problem:My wife and I went on our honeymoon about three month ago. It was a road trip visiting various cities and amusement parks. We chose this because we both love rollercoasters and it fit our budget. We were both very excited about it. In total, we visited 5 parks and 3 major cities. We were supposed to visit 6 parks, but one day got rained out and we had to skip it. Our trip started in Ohio. The first park was called holiday world and was in Santa Clause Indiana. Next, we went to Kentucky Kingdom in Louisville, Kentucky. After this, we were supposed to go to Dollywood, but the rain canceled it. Our next park was Carowinds, just outside Charlotte North Carolina. We were there long enough for a day in the park and the city. After this, we went to Kings Dominion in Doswell Virginia. They have a coaster that pulls so many G's everyone blacks out or gets close to it. After a day here, we visited Philadelphia. We spent a night and day in the city. We toured around the sites and ate plenty of Cheesesteaks and Dinic's roasted pork sandwiches. Our final stop was Toronto and Canada's Wonderland just outside the city. We spent three days. This was we made sure to take in as much as the city had to offer. We also stopped on the way there to see Niagara Falls. I had never seen it from the Canadian side. It was way more impressive than from the American side. Solution:
recalled
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. -------- Question: Monaco Answer: Western Europe Question: Belgium Answer: Western Europe Question: Brazil Answer:
South America
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Example input: able Example output: unable Example explanation: The output is correct as able and unable are opposities of each other in meaning. Q: steady A:
unsteady
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...'. One example is below. Q: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should. A: You know what, come tell us at the community pool. Rationale: This is a good response. Because it accepts in indirect way the input sentence and supports it. Q: So my name's Tom. A:
Oh, Caroline. So sorry. I should have said that as soon as we got in here.
Detailed Instructions: 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: Hervorragend... . ...so mein Urteil über dieses Album. Was es so besonders macht, sind nicht nur die besonderen, von vielen Einflüssen geprägten Melodien und vielfältigen Arrangements, nein, insbesondere sind es die Texte, die gleichzeitig hochintelligent und doch immer emotional und anrührend sind. Lieder, die berühren und vieles sagen - so muss Musik sein. A:
POS
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. ارزش چند بار دیدن رو هم داره این فیلم آقای مکری هنرمند نابغه ای هستن . کارگردانی واقعا و به جرات می تونم بگم فیلم خوبیه که با کشش عجیبی تو رو با خودش می بره و هرگز رهات نمی کنه و این لذتبخشه .... داستان فیلم خنده داری بود ، پیام فیلم هم خوب بود، بازی ها هم خوب بودن ولی نگاهش به مسیحیت توی ایران یکم توام با شیطنت بود
بازی
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. One example: فیلم متوسطی بود از لحاظ داستان ولی خوشحالم که سینمای ایران یک نیم نگاهی به این قشر از جامعه مون کرد.نا گفته نماندگفتگو های پر تامل و تاثیرگذاری داشت با این حال امیدوارم که تماشاچیان عزیز در دام "خطالی عاطفی" نیوفتاده باشند. Solution is here: داستان Explanation: This is a good example. The review is about the story of the movie. Now, solve this: خیلی خوب. خیلی خوب. بازی‌ها خوب. فیلمنامه خوب. احترام به شعور مخاطب عالی. هدیه تهرانی فوق‌العاده. مریلا زارعی عالی. فقط یک زن می‌توانست این‌طور جزئیات چنین قصه‌ای را دربیاورد. آفرین. Solution:
بازی
Detailed Instructions: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Q: The Plough is a child friendly restaurant with a high price range. This restaurant can be found near The Bakers. A:
name[The Plough], eatType[restaurant], priceRange[high], familyFriendly[yes], near[The Bakers]
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. One example: I_TURN_LEFT I_JUMP Solution is here: jump left Explanation: If the agent turned to the left and jumped, then the agent jumped to the left. Now, solve this: I_WALK I_WALK I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN Solution:
walk twice and run left thrice
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: Here 's info on the {{ Elliotts }} . Word: Elliotts NNPS Sentence: Karzai also has to deal {{ with }} the stepped up rivalry between India and Pakistan in Afghanistan . Word: with IN Sentence: 28 - Number of vacation days Bush took in August 2001 , the month he received a 6 August Presidential Daily Briefing headed {{ " }} Osama bin Laden Determined to Strike US Targets . " Word: "
``
You will be given a definition of a task first, then some input of the task. 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. There has been no further recurrence in the long-term follow-up. Output:
non-adverse drug event
Instructions: In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' . Input: संगणक क्रॅश झाला. मी एक व्हायरस डाउनलोड केला. Output:
cause
Given the task definition and input, reply with output. Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase. 회사는 그 다음 좁은 게이지 인 St. Louis와 Cairo Railroad를 인수했습니다.
La compagnie était alors le chemin de fer Saint-Louis et le Caire, qui a acquis une voie étroite.
Detailed Instructions: We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. Q: Resources that largely come from taxes, taxes from the people who suffered in the hands of the criminals. A:
Valid
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. One example is below. Q: gocogccocco A: gocog Rationale: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example. Q: mqqkqmqkqqkmmq A:
qqkqmqkqq
Detailed Instructions: 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. Q: [820, 269, 782, 235, 788] A:
[269]
Detailed Instructions: This task is to find the number of 'For' loops present in the given cpp program. See one example below: Problem: main() { float a[4]; float k; float c; int i; for(i=0;i<4;i++) { scanf("%f",&a[i]); } scanf("%f",&c); c=2*3.1415926*c/360; k=(a[0]+a[1]+a[2]+a[3])/2; double s,sq; sq=(k-a[0])*(k-a[1])*(k-a[2])*(k-a[3]) - a[0]*a[1]*a[2]*a[3]*(double)cos(c/2)*(double)cos(c/2); if(sq<0) printf("Invalid input"); else { s=sqrt(sq); printf("%.4f",s); } } Solution: 1 Explanation: The number of 'for' loops in the code is given by the number of 'for' string present in the code. Since we can find the exact number of for loops, this is a good example. Problem: int yinshu[10000]; int j=0; int temp=0; int main() { void fenjie(int j,int sum); int t,n[10000],i; cin>>t; for(i=0;i<10000;i++) { yinshu[i]=0; } for(i=0;i<t;i++) { cin>>n[i]; } for(i=0;i<t;i++) { fenjie(1,n[i]); cout<<temp<<endl; temp=0; } return 0; } void fenjie(int j,int sum) { for(int i=2;i<=sum;i++) { if(sum%i==0&&yinshu[j-1]<=i) { yinshu[j]=i; if(sum==i) { temp++; } else { fenjie(j+1,sum/i); } } } } Solution:
4
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'. Example Input: Steven Allan Spielberg was born on December 18, 1946 in Cincinnati, Ohio Example Output: December 18, 1946 Example Input: Ryan Thomas Gosling was born on November 12, 1980, in London, Ontario, to Thomas Ray Gosling, a traveling salesman for a paper mill, and Donna, a secretary Example Output: November 12, 1980 Example Input: Caryn Elaine Johnson was born in Manhattan, New York City, on November 13, 1955, the daughter of Robert James Johnson Jr Example Output:
November 13, 1955
Read the given story and classify it as 'imagined', 'recalled', or 'retold'. If a story is imagined, the person who wrote the story is making it up, pretending they experienced it. If a story is recalled, the person who wrote the story really experienced it and is recalling it from memory. If a story is retold, it is a real memory like the 'recalled' stories, but written down much later after previously writing a 'recalled' story about the same events. So, recalled stories and retold stories will be fairly similar, in that they both were real experiences for the writer. Imagined stories have a more linear flow and contain more commonsense knowledge, whereas recalled stories are less connected and contain more specific concrete events. Additionally, higher levels of self reference are found in imagined stories. Between recalled and retold stories, retold stories flow significantly more linearly than recalled stories, and retold stories are significantly higher in scores for cognitive processes and positive tone. [EX Q]: My husband has been out of jail for about a month and it has been stressful, to say the least. We fight all the time and as much as I try, I can't make him happy or help him with his anger. He has returned to meth one time since he's been out and it was terrible to watch. He had full-on delusions and wanted to argue you with me over scientific principles that were non-existent. He claimed that all plants have psychedelic properties and that he could make DMT out of the mimosa trees that grow near our house. I found him passed out at the base of a poor tree that had been hacked halfway out of the ground with a garden trowel. He seems to be doing better and has gotten into an outpatient treatment program in the last week. I fear he has some psychological issues that need medication, but I dare not say anything about it to him. Luckily, I work from home and can monitor him while he's here. I moved after his arrest to a more rural area to avoid the drug culture that our old neighborhood was immersed in. As for myself, I have no desire to use drugs, other than maybe some pot now and then to relax. I feel like there are so many other people that suffer from addiction and there are no real resources to help them, save meetings and for-profit rehabs. I have started a non-profit application so that people might be able to get to meetings and appointments. It seems that people on drugs have no transportation to get to the help that they so desperately need. Watching the man that I love devolve into an angry crazy caricature is heartbreaking to say the least. He was a beautiful, intelligent, thoughtful, playful, poetic soul when I married him and drugs have taken that man away and left me with a shell. I hope and pray that he can come back to his former self and I will use all my resources to make that happen. [EX A]: retold [EX Q]: I have been trying so hard to become a master case scholar in the US. I told my sister about my effort, I love my sister very much. My Activities She Knows Four, So I told them my goal. They said, "You will not become a case scholar,They said you don't deserve that. I was very depressed hearing them. I told my friend about this, and he is a great lawyer. He recognized my plight and gave me hope. Some good words he said,1. Believe in yourself and you can2. There is no world in which you cannot3. You have no choice but to trust yourself4. Who cares about who you are and does not change your lifeHis advice thus changed my life and I am today a very good advocate. I have a 10 person job under me. People in my city tell me to settle their cases. But those who criticized me are in the same place, So I have come to realize that faith is always necessary in life. God is a true friend. [EX A]: recalled [EX Q]: I had gone grocery shopping to pick up a few things. I had gathered the things i needed and a few extras and headed to the cash to purchase. I had purchased my items and was leaving the store. I noticed an older woman with a cart of groceries. She was walking home and was trying to figure out a way to carry all of her bags. I live across the street from the grocery store so I told myself i should offer some assistance to her. I approached her and offered my help. I told her i would drop my things off at home and come back to help her carry some things. She lived nearby as well. So i did exactly that. I dropped my things off at home, and came back to the store to help her carry her bags to her home. She was very appreciative of my help. She wanted to give me a cake she had made and i declined. I told her we could go for coffee sometime as a thank you. I felt good about helping her. I think it's important to help others when we are able and i was able to help her. I wanted to help her. She's a lovely woman and now we are friends. She knows she can count on me to help if she needs it. [EX A]:
retold
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. Q: বেরিয়ে আসছে ভারতের ধর্মনিরপেক্ষতার আসল চেহারা, চাপের মুখেই ধর্মান্তরিত হন ২০০ মুসলমান A:
religious
Detailed Instructions: Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase. Q: 그녀는 사망 한 후 Edmund Ashfield와 Richard Glanville과 결혼했습니다. A:
Elle a épousé Edmund Ashfield et après sa mort, Richard Glanville.
Given the task definition and input, reply with output. This task is to find the number of 'For' loops present in the given cpp program. /* *????? *???2010 - 12 - 07 *????????? ???? */ int num(int,int,int); int qufen(int); int power(int,int); int main() { int t; cin >> t; while(t >= 1) { int n,i,x,sum = 1; cin >> n; x = qufen(n); //qufen???????????????????? for(i = 2; i <= x; i++) sum = sum + num(n,i,2); //num?????????????i???????? cout << sum << endl; t--; } return 0; } int qufen(int n) { int j; for(j = 1; ; j++) { if(power(2,j) > n) { return j - 1; break; } } } int power(int a,int b) { int sum = 1,k; for(k = 1; k <= b; k++) //????????? sum = sum * a; return sum; } int num(int n,int g,int h) { if((g == 1)&&(n >= h)) //??????? return 1; int i,j = 0,count = 0,a[20000]; for(i = h; i < n; i++) //???????????? n ?? i ?? g ??????n / i????? g - 1? { //?n = i * ……?g?? ???? n / i = h * ……(g - 1 ???h??????i??? if(n % i == 0) { a[j] = i; j++; } } if(j == 0) //j == 0????????????????? return 0; else { for(i = 0; i < j; i++) count = count + num(n / a[i],g - 1,a[i]); return count; } }
5
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. Q: If you put in the work , anything is possible . A:
no
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. Example input: I_TURN_LEFT I_JUMP Example output: jump left Example explanation: If the agent turned to the left and jumped, then the agent jumped to the left. Q: I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_LOOK I_LOOK I_LOOK A:
run right thrice and look thrice
In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation. One example is below. Q: Angola A: 1975 Rationale: 1975 is the year of independence of Angola. Q: Italy A:
1861
Teacher:In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy". Teacher: Now, understand the problem? Solve this instance: 13/45/1072 Student:
0
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...'. Example: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should. Example solution: You know what, come tell us at the community pool. Example explanation: This is a good response. Because it accepts in indirect way the input sentence and supports it. Problem: I see four vets in the area. Which vet would you like?
Solution: You see four vets? Where are we, Hawaii?
Q: Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc. Sentence: With large population movements in the 1990s to urban areas, the provision of education has undergone transformation as well. Question: Is education still undergoing transformation? Category: Transient v. Stationary. A:
Yes.
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 Example input: 6 @ 17 Example output: 23 Example explanation: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23). Q: 4001 # 3984 # 4426 # 3582 @ 9317 # 8035 @ 9225 @ 1079 A:
3595
Detailed Instructions: 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. Q: فقط بازی بهبودی خوب بود. کش دار کردن الکی داستان و دخیل کردن هزارتا موضوع روشنفکری نیست... فرقی با فیلم هندی هایی که وسط فیلم برادر از آب در می آن و از اون طرف پدرشون گم شده و... ندارد!!! A:
داستان
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. Q: Context: 'Nice. That's okay with me. You get 3 waters and a I get 3 firewood' 'I was actually saying you get 2 firewood and I get 3 waters. Then you could have 2 food and I get 1 food.' 'That's seems fair to me since we all need food to eat' Utterance: 'Okay, I'm glad we were able to work something out!' A: No **** Q: Context: 'Great thank you. I am looking for primarily some firewood and food for my camping trip soon. ' 'I'm going camping too and also need food and wood, mostly food though' 'Okay I understand that! Is there a particular reason that you do not need much water?' Utterance: 'I figure I could always get some at the stream 🙂' A: No **** Q: Context: 'I need all three, but need food the most' 'I would give you all of the additional food if you gave me all of the additional water. ' 'That sounds like a deal' Utterance: 'Shall we divide the firewood two to one? ' A:
No ****
Detailed 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. Q: [7, 0, 6, 7, 7, 6, 0, 6, 1, 1] A:
[]
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" Let me give you an example: difficult The answer to this example can be: No Here is why: The word difficult has no natural English rhymes and so the model outputs No as specified in the instructions. OK. solve this: cross Answer:
kross
Instructions: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. Input: GIYAOBElCatKxlZfaYOC, sUEIdWOBElCatKXm Output:
GIYAabceklotxlZfaYOC, sUEIdWabceklotXm
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. One example is below. Q: crystal A: rock Rationale: A crystal is a type of rock, so rock is a valid hypernym output. Q: action A:
act
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. Example input: فیلم متوسطی بود از لحاظ داستان ولی خوشحالم که سینمای ایران یک نیم نگاهی به این قشر از جامعه مون کرد.نا گفته نماندگفتگو های پر تامل و تاثیرگذاری داشت با این حال امیدوارم که تماشاچیان عزیز در دام "خطالی عاطفی" نیوفتاده باشند. Example output: داستان Example explanation: This is a good example. The review is about the story of the movie. Q: یک داستان 15 دقیقه ای را که کش اش بدهی می شود عمده فیلم های ایرانی. این فیلم هم با وجود شروع طوفانی اش در همان حد یک ربع است. A:
داستان
You will be given a definition of a task first, then some input of the task. 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. Uruguay Output:
.uy
You will be given a definition of a task first, then some input of the task. 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. gauge Output:
tool
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Example: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal. Example solution: No Example explanation: Both participants do not agree to the deal, so the answer is No. Problem: THEM: evening! how would it sound to you if you got to keep every single hat? i'll be happy with the book and both balls. YOU: no deal. i will take the hats and one ball and you can have the rest THEM: i absolutely can't part with a ball. i'm prepared to let you have the book and the hats, though. YOU: deal.
Solution: Yes
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. Example input: Find the id and city of the student address with the highest average monthly rental. Example output: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1 Example explanation: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example. Q: What is the average grade of students who have friends? A:
SELECT avg(grade) FROM Highschooler WHERE id IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)
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. [EX Q]: tnnntntnnn [EX A]: nnntntnnn [EX Q]: nynygnggynyggg [EX A]: ggynygg [EX Q]: uuuvvauuuuvvvaa [EX A]:
uuuu
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. Q: nccnincnciicc A: cninc **** Q: aaarrrprrapaar A: rrprr **** Q: kfvkvffvfv A:
fvkvf ****
Detailed Instructions: In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' . Q: स्नानगृहातील आरश्याने धूम उडविली. मुलगी पंखा चालू केली. A:
effect
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Example input: able Example output: unable Example explanation: The output is correct as able and unable are opposities of each other in meaning. Q: high A:
low
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. Q: Premise: Jane was reading in bed. Initial Context: Suddenly, she noticed loud music coming from next door. Original Ending: She tried to ignore it but it persisted for hours. Finally, she marched next door. She yelled at her neighbor, who apologized profusely. Counterfactual Context: Suddenly, she noticed her neighbor sitting outside. A:
She tried to ignore him but he started making a lot of noise. Finally, she marched next door. She yelled at her neighbor, who apologized profusely.
Answer the following question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. Answer:
Dhoni Wonderful like ms dhoni
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. Example: [9, 40, -33, 12, 17, -32, 40] Example solution: 0 Example explanation: The minimum absolute difference is 0 because '40 - 40 = 0' and '40' appears in the list twice. So this is a good example. Problem: [-71, 97, 97, 58, -70, -24, -49, -37]
Solution: 0
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. Example: Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?' Utterance: 'You can take the two water. I am not that thirsty most days.' Example solution: No Example explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves. Problem: Context: 'I know how that goes...We are planning on hiking too and we could also use some extra food.' 'well I am sure between you and me we will find a way....' 'I really need some food, but I could also use extra firewood. It is supposed to be pretty cold at night and we would love to cook up some smores.' Utterance: 'I hear you we have the same issues well you can have either 2 food or 2 firewood what would you prefer?'
Solution: Yes
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: An unnamed third party does collect on the first party website or app your unspecified personal information for an additional (non-basic) service or feature. A:
Additional service/feature
Instructions: 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. Input: Leider viel Potential verschenkt . Das Tarja singen kann wissen wir aus alten tagen, in denen Sie mit Nightwish große Erfolge feierte. Die Vorfreude auf ihre CD war dementsprechend umso größer. Voller Erwartung hörte ich mir die ersten Tracks der CD an, nur leider stellte sich kein großer Aha Efekt ein, keine Gänsehaut lief mir den Rücken runter... nein eher Enttäuscht war ich nach dem ersten durchhören. Über Tarjas Stimme kann man nicht schimpfen. Erstklassig gesungen und in alter Manier. Gesanglich befindet sich dieses Album auf altem Niveau. Aber musikalisch ist es ganz großer Mist. Es ist traurig was dem Hörer da geboten wird. Die Gitarre wirkt so aufgesetzt, es ist fast schon peinlich. Die selben 08/15 Parts, das monotone Spiel durchzieht das gesamte Album. Gute, eingängige Riffs bzw Soli sucht man vergebens, jeder Vorschüler kann das besser. Besonders bei "My Little Phoenix" merkt man wie wenig Wert auf gute Musiker gelegt wurde. Ein weiteres Beispiel ist die Coverversion Poison von Alice Cooper. Dieser Song ist eine einzige Frechheit. Nicht nur die Stimme wirkt hier einfach fehl am Platz, auch musikalisch habe ich selten etwas schlechteres gehört als hier. Hier macht sich Tarja lächerlich. So kann man Poison nicht singen und spätestens wenn die Gitarre einsetzt überkommt einen der Drang weiter zu schalten. Es wurde einfach viel zu viel Wert darauf gelegt das Tarja im Mittelpunkt steht. Selbstverständlich bei einem Soloalbum, nur dem aufmerksamen Hörer wird nicht entgangen sein das Nightwish nicht nur aufgrund ihrer Frontfrau so berühmt wurden, auf die sie so oft reduziert wurden. Natürlich kann man hier Tarja nicht mit Nightwish vergleichen. Aber eins ist gewiss: "Dark Passion Play" ist musikalisch sehr gut. Ob einem der neue Gesang gefällt ist reine Ansichtssache, während "My Winter Storm" sich schlicht im hinteren Mittelfeld befindet. Da kann auch Tarjas Stimme nichts dran ändern. Wiedererkennungswert hat hier lediglich die Stimme und ihr Nachname. Doch gute Musik braucht mehr als das. Ganz zerreißen will ich das Album nun auch nicht. "Calling Grace" oder "Boy and the Ghost" sind wunderschöne Balladen die durch Piano oder Streicher deutlich an tiefe gewinnen. Doch diese "harten" Gitarreneinlagen passen nicht zu dieser Art von Musik. Wer damit leben kann und nicht etwa die Hoffnung hat etwas auf der CD zu finden was etwa so wie Nightwish klingen könnte der soll sich diese CD kaufen. Jedem anderen der wirklich gute Musik will soll sich an die alten Nightwish - Alben halten. Auf denen ist mehr als genug von Tarja drauf, doch da stimmt das Gesamtpaket. Zur Bewertung: Gesang: 4 - 5 Sterne Musikalisch: 1 - 2 Sterne da ihr die Balladen durchaus liegen. Die Gesamtbewertung ist mit 2 Sternen ziemlich wohlwollend ausgefallen. Output:
NEG
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'. Example: twotwoonesixzeronine Example solution: 221609 Example explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example. Problem: eighteightthreefourzeroone
Solution: 883401
Detailed 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. Q: amalgamate A:
blend
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. Example: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy. Example solution: adverse drug event Example explanation: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy. Problem: We describe a case of fibrosing alveolitis, diagnosed by lung biopsy, in a patient receiving amiodarone which responded to corticosteroid therapy.
Solution: adverse drug event
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'. Let me give you an example: Basinger was born in Athens, Georgia, on December 8, 1953 The answer to this example can be: December 8, 1953 Here is why: The output is correct as it is a valid text span, is of minimal length and is the correct date of birth. OK. solve this: Ryan Rodney Reynolds was born on October 23, 1976, in Vancouver, British Columbia Answer:
October 23, 1976
Instructions: 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. Input: دوست نداشتم... ی داستان خطیه بدون هیجان Output:
داستان
Detailed Instructions: 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. Q: x = 4, equation weights = [2, 9, 6] A:
74
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. Let me give you an example: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq Edit: twins The answer to this example can be: Not Funny Here is why: The edited sentence is not making much sense, therefore it's not funny. OK. solve this: News Headline: Eight times Donald Trump has changed his {position} on Obamacare Edit: hatred Answer:
Not Funny
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. Example: Sentence: Sam pulled up a chair to the piano, but it was broken, so he had to sing instead. Question: What was broken? Example solution: piano Example explanation: The given sentence clearly states that Sam pulled up a chair to the piano, but piano was broken, so he had to sing instead. Therefore, the answer is piano. This is a positive example as the answer is correct and complete. Problem: Sentence: Sam Goodman's biography of the Spartan general Xenophanes conveys a vivid sense of the difficulties he faced in his research. Question: Who faced difficulties?
Solution: Sam
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value. Q: [ 14.526 14.846 91.458 34.776 -99.348 -63.142 -45.993 -50.398 -14.359 -44.703] A:
-99.348
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. 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. A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy. Solution: adverse drug event Why? Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy. New input: Acute renal failure during lisinopril and losartan therapy for proteinuria. Solution:
adverse drug event
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" One example is below. Q: difficult A: No Rationale: The word difficult has no natural English rhymes and so the model outputs No as specified in the instructions. Q: them A:
gem
Q: 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). Entity 1: dissection Entity 2: water A:
no
Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc. Let me give you an example: Sentence: Jack played basketball after school, after which he was very tired. Question: How long did Jack play basketball? Category: Event Duration. The answer to this example can be: Yes. Here is why: The question asks about the duration of playing basketball, therefore it's a "event duration" question. OK. solve this: Sentence: There are now more protons than electrons inside the atom. Question: When did the number of electrons increase? Category: Absolute Timepoint. Answer:
Yes.
Detailed Instructions: 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. Q: x = 0, equation weights = [6, 2, 0, 4, 1] A:
1
Detailed Instructions: 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. Q: [{'first': 9, 'second': 64}, {'first': 48, 'second': 48}, {'first': -31, 'second': 40}, {'first': 30, 'second': 54}, {'first': 32, 'second': 94}, {'first': -87, 'second': 13}, {'first': 92, 'second': -11}, {'first': -38, 'second': 27}, {'first': -92, 'second': 63}] A:
[{'first': -92, 'second': 63}, {'first': -87, 'second': 13}, {'first': -38, 'second': 27}, {'first': -31, 'second': 40}, {'first': 9, 'second': 64}, {'first': 30, 'second': 54}, {'first': 32, 'second': 94}, {'first': 48, 'second': 48}, {'first': 92, 'second': -11}]
instruction: 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. question: zzEfcggxKzUYKmoyGAIkblhyTP, A answer: 1 question: LhxzCOwCYAKsWCTTPTxEZXVHF, a answer: 0 question: xGBhSWolXQjQriqXemkV, n answer:
0
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. Example: [9, 40, -33, 12, 17, -32, 40] Example solution: 0 Example explanation: The minimum absolute difference is 0 because '40 - 40 = 0' and '40' appears in the list twice. So this is a good example. Problem: [48, -32, -8, -52, -4]
Solution: 4
You will be given a definition of a task first, then some input of the task. 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. بازیهای این فیلم فوق العاده بود!!! فوووووووق العاااااده!! انگار داشتی فیلم مستند می دیدی!!... البته خیلی داستان خاصی نداشت، نمایش چند روز از زندگی یک خانواده بود! ولی واقعا تماشای این همه بازی درخشان، لذت بخش بود! درود به همه تیم بازیگری این فیلم! Output:
بازی