prompt
stringlengths
98
11.7k
response
stringlengths
1
1.45k
instruction: 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'. question: nineninethreetwoeightninethreesixfourseven answer: 9932893647 question: twoninezerofoureighttwoonethreeeight answer: 290482138 question: zerosevensevenzerothreeninesevenfivethreesevenonesix answer:
077039753716
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. Input: Consider Input: Chad Output: Central Africa Input: Consider Input: United States Minor Outlying Islands Output: Micronesia/Caribbean Input: Consider Input: Holy See (Vatican City State)
Output: Southern Europe
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. See one example below: Problem: [9, 40, -33, 12, 17, -32, 40] Solution: 0 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: [12, -66, 0, 87, -61, -38, 10, 47, 84] Solution:
2
Given the task definition, example input & output, solve the new input case. 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. Example: x = 3, equation weights = [4, 2] Output: 14 Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14. New input case for you: x = 6, equation weights = [3, 5] Output:
23
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. 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: Jack played basketball after school, after which he was very tired. Question: How long did Jack play basketball? Category: Event Duration. Solution: Yes. Why? The question asks about the duration of playing basketball, therefore it's a "event duration" question. New input: Sentence: The NMCC learned about United 93 from the White House. Question: Is United 93 still operational? Category: Transient v. Stationary. Solution:
No.
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. password = a Solution: 5 Why? Using 5 steps, it can become a strong password New input: password = rOMZ! Solution:
1
Detailed Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise Problem:A user can delete their account (although the company or organization may continue to keep some data), within the scope of information explicitly provided by the user. Solution:
Not Specified
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 The site collects your demographic information for a basic service or feature. Collection happens when you explicitly provide information on the website. You can opt in for data collection for the collection of your information.
Basic service/feature
Instructions: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Input: topless Output:
topped
Detailed Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Problem:password = gX Solution:
4
Definition: In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation. Input: Bermuda Output:
Dependent Territory of the UK
Q: Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'. For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'. Carod-Rovira ha dit que ' Catalunya esponsoritza Espanya ' , ja que cada català aporta cada any 220.000 pessetes a Madrid que mai no tornen . A:
Carod-Rovira (B-PER) ha (O) dit (O) que (O) ' (O) Catalunya (B-ORG) esponsoritza (O) Espanya (B-ORG) ' (O) , (O) ja (O) que (O) cada (O) català (O) aporta (O) cada (O) any (O) 220.000 (O) pessetes (O) a (O) Madrid (B-ORG) que (O) mai (O) no (O) tornen (O) . (O)
instruction: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. question: THEM: i'd love to keep the ball and 2 books ; you can keep the hats YOU: let me think, you can have the ball, i need one book and two hats THEM: unfortunately hats are worthless to me... any chance you can just take the hats? : ) YOU: i'll take the three hats, and one book THEM: i feel like that was some form of backwards jedi mindtrick, but deal. YOU: giggles, thanks. answer: Yes question: THEM: i'd like to have the two hats and book YOU: how about you can have the two hats and one ball, i keep the books and 1 ball... right down the middle. THEM: not much for sports, balls don't do much for me. YOU: well, they do not help me at all, so i'd prefer we meet down the middle somehow. do you propose anything different? THEM: alright, i'll take two hats and the two balls if they don't do a thing for you. YOU: and we're still going to roll with an uneven split. in that case, i'll take the books and a hat, then? THEM: yes sir. answer: Yes question: THEM: i would like the ball and books please YOU: i have to have ball. 6 points for me. you can have everything else. THEM: ball is 7 points for me sorry cant let it go YOU: okay. let's just chat till we can no deal it. THEM: no deal YOU: nada. THEM: no YOU: ne THEM: no YOU: this is stupid. answer:
No
You will be given a definition of a task first, then some input of the task. 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. Query: SELECT count(*) WHERE { ?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 M0 . FILTER ( ?x0 != M0 ) . M1 ns:film.film.directed_by ?x0 } Question: Was M1 directed by a spouse of M0 Output:
1
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. Q: Sentence: He them imprisons the royal family in his prison . Question: How many times was the royal family in prison? Category: Frequency. A:
Yes.
Teacher: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?" Teacher: Now, understand the problem? Solve this instance: Fact: Differentiation is the process by which unspecialized basic units of life become specialized. Student:
Differentiation is the process by which unspecialized basic units of life become what?
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]: [6, 1, 1, 3, 2, 9, 10, 4, 10, 4] , [9, 2, 2, 6, 7, 4, 10, 3, 6, 1] [A]: [1, 2, 3, 4, 6, 9, 10] [Q]: [1, 6, 5, 2, 9] , [1, 1, 4, 3, 6] [A]: [1, 6] [Q]: [10, 9, 8, 9, 1, 8, 5, 9] , [1, 5, 8, 5, 3, 7, 2, 3] [A]:
[1, 5, 8]
Detailed Instructions: 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. Problem:Premise: Gus looked at the chess board with great interest. Initial Context: He moved his hand for a pawn but took it back. Original Ending: His opponent tilted his head with interest. Gus thought more and went to grab his knight. The opponent gasped with this turn of events. Counterfactual Context: He moved his pawn forward one space. Solution:
His opponent tilted his head with interest. Gus thought more and wished he had moved his knight. The opponent gasped and made his move for checkmate.
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". Q: 02/35/1392 A: 0 **** Q: 02/24/1256 A: 1 **** Q: 15/44/1101 A:
0 ****
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. Ex Input: duck Ex Output: move Ex Input: motorcycle Ex Output: vehicle Ex Input: invalid Ex Output:
bad
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' . Example: मी पेंडुलम ढकलले. ते मागे-पुढे फिरले. Example solution: effect Example explanation: The second statement is an effect of the first statement as if you disturb a pendulum it will oscillate Problem: द्राक्षाचा रस किण्वित केला. रस वाइनकडे वळला.
Solution: effect
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise A named third party does receive your demographic information for an additional (non-basic) service or feature. The data is personally identifiable. You can choose not to use the service or feature for the collection or sharing and use of your information. Additional service/feature The site collects your generic personal information for service operations or security. Collection happens on the website for users with accounts, and your data is identifiable. Service Operation and Security A named third party does receive your location information for personalization or customization. You can opt in for data collection.
Personalization/Customization
TASK DEFINITION: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. PROBLEM: x = 6, equation weights = [1, 4, 3] SOLUTION: 63 PROBLEM: x = 7, equation weights = [4, 6, 0, 1] SOLUTION: 1667 PROBLEM: x = 6, equation weights = [0, 6, 7] SOLUTION:
43
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations. encuentra restaurantes con al menos 9 reseñas.
find restaurants with at least 9 reviews .
Teacher:In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. Teacher: Now, understand the problem? Solve this instance: [158.46, 196.881] Student:
[0.446 0.554]
Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise Input: The website ignores Do Not Track headers and the user's Do Not Track preference. Output:
Not Specified
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' . Example input: मी पेंडुलम ढकलले. ते मागे-पुढे फिरले. Example output: effect Example explanation: The second statement is an effect of the first statement as if you disturb a pendulum it will oscillate Q: गुन्हेगाराने पॅरोलचे उल्लंघन केले. तिला परत तुरूंगात पाठवण्यात आले. A:
effect
Q: 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. I_TURN_LEFT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT A:
turn right thrice after run left
TASK DEFINITION: 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. PROBLEM: [-16.778 -20.192 -20.875 -15.329 57.081 69.46 ] SOLUTION: 69.46 PROBLEM: [-72.895 -49.506 77.683 99.896 58.854] SOLUTION: 99.896 PROBLEM: [-79.298 83.113 35.999 77.465 92.832 92.843 79.436 -41.57 -90.856] SOLUTION:
92.843
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 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. Samoa Output:
Polynesia
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]: I got a promotion at work! It all seemed to be a normal day when a client came in with a problem. I figured I would help them out as if I'd help anyone else. It turned out to be not an average problem. It took me longer than normal for this client, but it was worth it in the end. The client had a problem that would effect a ton of people. I actually had to be in top form to get it done. When done I was thanked and it seemed like this person actually cared that I was able to help them out. My IT team noticed how hard I'd been working lately. They also noticed the extra amount of attention and effort I put into this client. So they promoted me within the team because of it! The people I worked with daily got to have a great day out. We even got an awesome lunch out of it! I also now have some perks that I didn't have before the promotion. Just goes to show if you keep at it and go the extra miles sometimes, sometimes good things happen. Much love out to you all! [EX A]: imagined [EX Q]: I was anxious to have the sinus surgery as my nose had been full of polyps with deviated septum for likely a couple of years at that point. I was quite miserable, comparable to a sinus infection for years with no real relief. Multiple doctors, many rounds of steroids and antibiotics with no relief. At one point I was offered depression medications. I was also scared to have someone cutting and cleaning right next to my brain and eyes with only a couple thin bones in between. But at this point I felt desperate. My quality of life was rather low so I was determined to go through with the surgery. And I'm glad I did and I'm grateful I found my ENT doctor when I did. My husband's mother took care of our toddler while my mother and husband accompanied me. I'm grateful for my husband for distracting me with talk of anything other than what was happening that day and rubbing my cold feet before surgery. It really is the little things in life that are most memorable. Breathing through one's nose is definitely something a lot of people take for granted. I remember laying on the freezing cold operating table with nurses, techs, doctor and all the machines as a nurse injected the drug to put me under which felt like cold fire in my veins. I remember waking up in recovery with my nose packed full of gauze and such, wondering where my family was. I've only been under anesthesia one other time and to be honest it is a rather traumatizing experience but the nurses and doctors certainly don't acknowledge it as such. [EX A]: retold [EX Q]: I continue to be going through a divorce. Previously I discussed how my ex spouse was court ordered to make my car payment. He didn't and my car was repossessed. We later went to court because he was in contempt/ violation of the court order. He basically got a slap on the hand. Fast forward to today. He continues to be responsible for the same bills, minus that specific car payment and now had to make a car payment on another car. He has failed to make any kind of payment in the last 3 months, not even child support. The divorce has taken over a year to finalize. I don't see an end in site. His attorney recently requested to be dismissed from his case. I guess my ex thinks he is above the law. We will see if he gets a slap on the hand this time. He is of course, in contempt again. We will have a trial scheduled. [EX A]:
retold
Detailed Instructions: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Q: weaned A:
unweaned
TASK DEFINITION: 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. PROBLEM: Command: eq { diff { hop { filter_eq { all_rows ; rank ; 1 } ; silver } ; hop { filter_eq { all_rows ; rank ; 2 } ; silver } } ; 1 }, interpretation: select the rows whose rank record fuzzily matches to 1 . take the silver record of this row . select the rows whose rank record fuzzily matches to 2 . take the silver record of this row . the first record is 1 larger than the second record . SOLUTION: yes PROBLEM: Command: eq { hop { nth_argmax { all_rows ; difference ; 2 } ; team } ; americano - sp }, interpretation: for the gender records of all rows , all of them fuzzily match to coed . SOLUTION: no PROBLEM: Command: and { only { filter_eq { all_rows ; bowling style ; left arm slow chinaman } } ; eq { hop { filter_eq { all_rows ; bowling style ; left arm slow chinaman } ; player } ; michael bevan } }, interpretation: select the row whose first elected record of all rows is 4th minimum . the incumbent record of this row is robert aderholt . SOLUTION:
no
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 One example is below. Q: 6 @ 17 A: 23 Rationale: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23). Q: 5446 # 9993 # 1289 A:
-5836
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: Sam took French classes from Adam , because he was known to speak it fluently . paraphrase: Sam recently took French classes from Adam , because he was known to speak it fluently . A: Adverb **** Q: original sentence: At the Loebner competition the judges couldn't figure out which respondents were the chatbots because they were so advanced . paraphrase: at the loebner competition the referees couldn't figure out which respondents were the coversational agents because they were so advanced . A: Synonym **** Q: original sentence: The customer walked into the bank and stabbed one of the tellers . He was immediately taken to the hospital . paraphrase: One of the tellers was stabbed by the customer that walked into the bank . He was immediately taken to the hospital . A:
Voice ****
Q: 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. [-58, -94, -13, -77, -95, 44, -71, -2, -72] A:
1
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' . Problem:या हेरगिरीने शत्रूचे स्थान शोधले. या हेरगिरीने शत्रूचा फोन बग केला. Solution:
cause
instruction: 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. question: News Headline: Charlotte Pence : I {Bought} The Gay Bunny Book Edit: Wrote answer: Funny question: News Headline: Kentucky gov. apologizes for comments linking teacher {protests} to child abuse Edit: vacations answer: Funny question: News Headline: Fugu Freakout : Do n't {Eat} The Blowfish , Japanese Officials Warn : Poisonous Edit: inflate answer:
Funny
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. Input: Consider Input: I'm never going to say the word horse as long as I live. Output: Well, why would you promise that? We're at a stable. You can say horse. Input: Consider Input: Look at this. Most of these are dummy buttons. There's like three buttons that actually do stuff for the ship. And all the buttons that actually do things, they're all different colors. Output: Can we just put this right in the cockpit today and get this ship into outer space? Input: Consider Input: Yes, when that fancy fellow comes into town and he says "She is the sheriff?" and everybody else uses contractions. That's how I learned contractions.
Output: So that's why when you used to say "My favorite show is Who is the Boss" and you laughed, we did not know why you laughed.
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).
Teacher: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. Teacher: Now, understand the problem? Solve this instance: We are talking here about, oftentimes, very young individuals with spinal cord injuries, that in the prime of their life -- 20s, 30s, 40s -- hit a wall and the wheelchair's the only option. Student:
Mi ovdje govorimo o, često, vrlo mladim osobama s ozljedama leđne moždine, koji u najboljim godinama svog života -- 20tim, 30tim, 40tim -- udare u zid i invalidska kolica su jedina opcija.
TASK DEFINITION: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. PROBLEM: password = O03 SOLUTION: 3 PROBLEM: password = Nbk4zWvsEO.NZPMCnQlXneghC SOLUTION: 5 PROBLEM: password = AtWD!!3nv6ewWGiMPn3s.bjDdMfmteCTlnU SOLUTION:
15
In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other. Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise -------- Question: 'English : I) Banning carrying or transportation of all sorts of gun and bullet even if they are registered','Kurdish : k) Qedexekirina hatina wa kesên ku qinaeta li ser wan ew e ku ew ciwatê têk didin.' Answer: No Question: 'English : * 18% of the greenhouse gas emission arises from animal husbandry and 8% from poultry farming.','Kurdish : Ji 3yê 1ê zewiyên tên kêlandin ji bo xwedîkirina heywanan têne kêlandin.' Answer: Yes Question: 'English : The Presidency of Religious Affairs has declared that funeral won’t be held for those killed in coup attempt.','Kurdish : Diyanetê di daxuyaniya xwe de got ku ‘ew tezkiye û duayên birayên xwe yên mumîn heq nakin’ û destnîşan kir ku wê li ser cenazeyên wan kesan ve sela neyê xwendin, teçhiz, tekfin û nimêja cenazeyê jî dê bo wan neyê kirin.’' Answer:
No
Part 1. Definition In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. Part 2. Example [1, 2, 3] Answer: [0.167, 0.333, 0.500] Explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example. Part 3. Exercise [42.111, 23.706] Answer:
[0.64 0.36]
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: whale Entity 2: tail yes Entity 1: change Entity 2: plaque no Entity 1: lava Entity 2: skin
no
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. [Q]: rounded [A]: angular [Q]: memberless [A]: membered [Q]: unprovocative [A]:
provocative
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. Input: x = 8, equation weights = [5, 2, 4] Output:
340
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. Something light like that , and then since your talking about the bathroom mention how fucking gross it is how someone is leaving it so nasty .
yes
Teacher: 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' . Teacher: Now, understand the problem? If you are still confused, see the following example: मी पेंडुलम ढकलले. ते मागे-पुढे फिरले. Solution: effect Reason: The second statement is an effect of the first statement as if you disturb a pendulum it will oscillate Now, solve this instance: मी एक कप कॉफी प्यायलो. माझे जांभई थांबले. Student:
effect
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, 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. Aromi is an English restaurant in the city centre. Solution: name[Aromi], eatType[restaurant], food[English], area[city centre] Why? The output correctly parses all the parseable attributes in the input, no more, no less. New input: Giraffe is not family friend. It is a fast food pub in the city centre. Solution:
name[Giraffe], eatType[pub], food[Fast food], area[city centre], familyFriendly[no]
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' . Example: मी पेंडुलम ढकलले. ते मागे-पुढे फिरले. Example solution: effect Example explanation: The second statement is an effect of the first statement as if you disturb a pendulum it will oscillate Problem: मी नोकरीची मुलाखत घेतली. मुलाखतकाराने कठीण प्रश्न विचारले.
Solution: cause
Given the task definition, example input & output, solve the new input case. 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: I_TURN_LEFT I_JUMP Output: jump left If the agent turned to the left and jumped, then the agent jumped to the left. New input case for you: I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_LOOK Output:
look opposite right after run opposite right thrice
Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise Input: A named third party does receive your cookies or tracking elements for marketing purposes. The data is personally identifiable. You can opt out using the provided link for the use of your information. Output:
Marketing
Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise Input: Another part of the company or institution does receive your computer information for targeted advertising. Output:
Advertising
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. Example: 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 Example solution: 1 Example explanation: Query correctly extracts data for male spouse of M2 Problem: Query: SELECT DISTINCT ?x0 WHERE { ?x0 ns:film.film.written_by ?x1 . ?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x2 . ?x1 ns:people.person.sibling_s/ns:people.sibling_relationship.sibling|ns:fictional_universe.fictional_character.siblings/ns:fictional_universe.sibling_relationship_of_fictional_characters.siblings ?x2 . ?x2 a ns:film.writer . FILTER ( ?x1 != ?x2 ) } Question: What did a screenwriter 's sibling and parent write
Solution: 1
You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right One example is below. Q: [1,2,2,3] A: 1 Rationale: The array is monotonic as 1 < 2 <= 2 < 3 Q: [19, 24, 29, 34, 39, 44, 49, 54, 59, 64, 69, 74, 79, 84, 89, 94, 99, 104, 109, 114, 119, 124, 129, 134, 139, 144] A:
1
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. Input: x = 10, equation weights = [1, 9, 0] Output:
190
Part 1. Definition 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. Part 2. Example [47, 444, 859, 530, 197, 409] Answer: [47, 859, 197, 409] Explanation: The integers '444' and '530' are not prime integers and they were removed from the list. Part 3. Exercise [649, 769, 97, 769, 59, 96, 797, 30, 397, 103, 280] Answer:
[769, 97, 769, 59, 797, 397, 103]
You will be given a definition of a task first, then some input of the task. 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". 11/30/1790 Output:
1
Given the task definition, example input & output, solve the new input case. 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. Example: The fact that you do not want to donate to these poor, needy people only shows me that you really do not care about the embryos Output: Invalid It is not an argument on the topic of death penalty. New input case for you: Most of the African Americans I know are very aware of the problem, that "driving while black" is a good enough reason for the police (in many instances) to pull over/harrass/arrest....ad infinitum. Output:
Invalid
Given the task definition and input, reply with output. 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. [6, 7, 5, 3, 9, 9, 1, 1] , [5, 5, 1, 3, 2, 3, 7, 2]
[1, 3, 5, 7]
Given the task definition and input, reply with output. You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right [179, 173, 167, 161, 155, 149, 143, 137, 131, 125, 119, 113, 107, 101, 95, 89, 83, 77, 71, 65, 59, 53, 47, 41, 35]
1
Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Input: password = bfctwHc Output:
1
Part 1. Definition The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. Part 2. 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.' Answer: No Explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves. Part 3. Exercise Context: 'Hello, how are you? Looking forward to camping?' 'Oh yeah, that's for sure. What camping item do you prioritize?' Utterance: 'I'm going to need some extra wood because I'm somewhat injured and can't really gather more.' Answer:
Yes
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". 11/04/2004, input_format=mm/dd/yyyy
04/11/2004
Given the task definition, example input & output, solve the new input case. 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. Example: Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: yes Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'. New input case for you: Command: and { only { filter_eq { filter_less { all_rows ; points ; 20 } ; draw ; 2 } } ; eq { hop { filter_eq { filter_less { all_rows ; points ; 20 } ; draw ; 2 } ; team } ; wanda nowa huta } }, interpretation: select the rows whose points record is less than 20 . among these rows , select the rows whose draw record is equal to 2 . there is only one such row in the table . the team record of this unqiue row is wanda nowa huta . Output:
yes
Detailed Instructions: 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...'. Q: Garmonson is where they make Garmons. A:
They're never lost in that town, that's for darn sure.
Detailed Instructions: In this task, you are given two questions about a domain. Your task is to combine the main subjects of the questions to write a new, natural-sounding question. For example, if the first question is about the tallness of the president and the second question is about his performance at college, the new question can be about his tallness at college. Try to find the main idea of each question, then combine them; you can use different words or make the subjects negative (i.e., ask about shortness instead of tallness) to combine the subjects. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in the new question, this keyword should also be used the same way. Do not write unnatural questions. (i.e., would not be a question someone might normally ask about domains). Do not write open-ended or subjective questions. (e.g., questions that can be answered differently by different people.) If you couldn't find the answer to your question from a single Google search, try to write a different question. You do not have to stick with the original question word for word, but you should try to create a question that combines the main subjects of the question. Problem:Where are bird watching spots in this national park? How many species of birds does this national park house? Solution:
What birds can you see when you are bird watching at this national park?
TASK DEFINITION: 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. PROBLEM: [3, 10, 9, 8, 5] , [7, 10, 3, 4, 4] SOLUTION: [3, 10] PROBLEM: [2, 10, 7, 7, 4] , [3, 7, 3, 4, 7] SOLUTION: [4, 7] PROBLEM: [8, 7, 10, 6, 4, 7, 9, 1, 3] , [3, 5, 4, 8, 10, 8, 3, 10, 9] SOLUTION:
[3, 4, 8, 9, 10]
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. [{'first': -41, 'second': -3}, {'first': 53, 'second': 100}, {'first': 82, 'second': -3}, {'first': 62, 'second': -9}, {'first': 89, 'second': 19}, {'first': 16, 'second': -96}, {'first': -53, 'second': -70}, {'first': -70, 'second': -33}]
[{'first': -70, 'second': -33}, {'first': -53, 'second': -70}, {'first': -41, 'second': -3}, {'first': 16, 'second': -96}, {'first': 53, 'second': 100}, {'first': 62, 'second': -9}, {'first': 82, 'second': -3}, {'first': 89, 'second': 19}]
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. News Headline: Chris {Cornell} , Soundgarden frontman , dies aged 52 Edit: Christmas Not Funny News Headline: Essential Politics : California 's hottest congressional {races} , ranked Edit: assistants Funny News Headline: North Korea : China and Russia call on US to freeze military {exercises} in bid to cool tensions Edit: food
Not Funny
TASK DEFINITION: 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. PROBLEM: But the statistics don't support the idea that the death penalty is any more effective as a detterent than is a life sentence. SOLUTION: Valid PROBLEM: VOC isn't a good debator since his points are meandering and generic. SOLUTION: Invalid PROBLEM: jesus immediately agreed to them enforcing the death penalty, since the penalty for sin is death. SOLUTION:
Valid
TASK DEFINITION: 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. PROBLEM: [ 90.31 72.447 47.846 7.9 -45.426] SOLUTION: 90.31 PROBLEM: [ 87.067 4.785 -51.973 -40.102 63.022 58.52 24.633 -7.286 -16.109] SOLUTION: 87.067 PROBLEM: [ -3.323 49.393 56.267 -10.978 -91.589 29.088 -0.719 -99.152] SOLUTION:
-99.152
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. Ex Input: lpskpurqrFeRDdHAWY, rOGhmQrqrFeRlsQ Ex Output: lpskpuefqrrrDdHAWY, rOGhmQefqrrrlsQ Ex Input: corVoOd, IzrVoKvF Ex Output: coorvOd, IzorvKvF Ex Input: IMQsSFngZyUNgb, FIQsSFngZybzs Ex Output:
IMfgnqssyzUNgb, FIfgnqssyzbzs
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?" Q: Fact: tulips have a characteristic life cycle that includes alternation of generations. A: What has a characteristic life cycle that includes alternation of generations? **** Q: Fact: a lawn mower converts hydrocarbons into motion. A: a lawn mower converts _ into motion? **** Q: Fact: trucks and cars are used for travel. A:
what are used for travel? ****
Teacher: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. Teacher: Now, understand the problem? Solve this instance: YBfefrYKaiYhnSjkMnvOgSGCx, GnWPlrVHVJhmpJfefrYKaiYhnSjkIwGhAB Student:
YBaeffhijkknrsyyMnvOgSGCx, GnWPlrVHVJhmpJaeffhijkknrsyyIwGhAB
You will be given a definition of a task first, then some input of the task. This task is to find the number of 'For' loops present in the given cpp program. int f(int,int); int main() { int n,a[32768],i; cin>>n; for(i=0;i<=n-1;i++) { cin>>a[i]; } for(i=0;i<=n-1;i++) { cout<<f(a[i],2)+1<<endl; } return 0; } int f(int a,int p) { int i,sum=0; for(i=2;i<=sqrt(a);i++) { if(((double)a/i==a/i)&&(i>=p)) { p=i; sum=sum+1+f(a/i,p); } } return sum; } Output:
3
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. One example is below. Q: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}] A: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}] Rationale: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example. Q: [{'first': -40, 'second': 23}, {'first': -76, 'second': -9}, {'first': 97, 'second': 96}, {'first': 94, 'second': -95}, {'first': 96, 'second': -94}, {'first': -8, 'second': 51}, {'first': 83, 'second': 58}, {'first': 32, 'second': -56}, {'first': -10, 'second': -81}, {'first': 23, 'second': 46}] A:
[{'first': -76, 'second': -9}, {'first': -40, 'second': 23}, {'first': -10, 'second': -81}, {'first': -8, 'second': 51}, {'first': 23, 'second': 46}, {'first': 32, 'second': -56}, {'first': 83, 'second': 58}, {'first': 94, 'second': -95}, {'first': 96, 'second': -94}, {'first': 97, 'second': 96}]
Please answer the following question: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package com.android.keepass. Answer:
Fingerprint unlock on Android Great app though needs the fingerprint unlock functionality that is available in the equivalent iOS app.
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: Guyana A: South America **** Q: Togo A: Western Africa **** Q: Ukraine A:
Eastern Europe ****
Given the task definition, example input & output, solve the new input case. In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Example: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( Output: -LRB- "(" is the symbol for Left Parantheses (-LRB-). New input case for you: Sentence: By the end of 2005 , you 'll feel {{ more }} confident , more determined , and far more capable of making the mountains come to you ! Word: more Output:
RBR
Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'. For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'. [Q]: La demarcació de Tarragona té 33 municipis que encara no disposen de Pla General d' Ordenació Urbana ( PGOU ) , segons dades facilitades pel conseller de Política Territorial , Pere Macias , en resposta a una pregunta parlamentària del diputat d' ERC Jaume Oliveras . [A]: La (O) demarcació (O) de (O) Tarragona (B-LOC) té (O) 33 (O) municipis (O) que (O) encara (O) no (O) disposen (O) de (O) Pla (B-MISC) General (I-MISC) d' (I-MISC) Ordenació (I-MISC) Urbana (I-MISC) ( (O) PGOU (B-MISC) ) (O) , (O) segons (O) dades (O) facilitades (O) pel (O) conseller (O) de (O) Política (B-ORG) Territorial (I-ORG) , (O) Pere (B-PER) Macias (I-PER) , (O) en (O) resposta (O) a (O) una (O) pregunta (O) parlamentària (O) del (O) diputat (O) d' (O) ERC (B-ORG) Jaume (B-PER) Oliveras (I-PER) . (O) [Q]: Segons Puig , ' així ho va reconèixer el regidor de l' Àrea d' Urbanisme en un escrit de data 6 d' octubre de 1998 , en el qual també demanava a l' Incasol que continués el projecte que s' havia aprovat l' anterior mes de juny ' . [A]: Segons (O) Puig (B-PER) , (O) ' (O) així (O) ho (O) va (O) reconèixer (O) el (O) regidor (O) de (O) l' (O) Àrea (B-ORG) d' (I-ORG) Urbanisme (I-ORG) en (O) un (O) escrit (O) de (O) data (O) 6 (O) d' (O) octubre (O) de (O) 1998 (O) , (O) en (O) el (O) qual (O) també (O) demanava (O) a (O) l' (O) Incasol (B-ORG) que (O) continués (O) el (O) projecte (O) que (O) s' (O) havia (O) aprovat (O) l' (O) anterior (O) mes (O) de (O) juny (O) ' (O) . (O) [Q]: Fonts de Bombers han confirmat que en l' apagada del foc hi han intervingut quatre cotxes dels parcs de Mollerussa , Les Borges Blanques , Montblanc i Lleida , dos dels quals ja s' han retirat i els altres dos romanien hores d' ara humitejant la zona . [A]:
Fonts (O) de (O) Bombers (B-ORG) han (O) confirmat (O) que (O) en (O) l' (O) apagada (O) del (O) foc (O) hi (O) han (O) intervingut (O) quatre (O) cotxes (O) dels (O) parcs (O) de (O) Mollerussa (B-LOC) , (O) Les (B-LOC) Borges (I-LOC) Blanques (I-LOC) , (O) Montblanc (B-LOC) i (O) Lleida (B-LOC) , (O) dos (O) dels (O) quals (O) ja (O) s' (O) han (O) retirat (O) i (O) els (O) altres (O) dos (O) romanien (O) hores (O) d' (O) ara (O) humitejant (O) la (O) zona (O) . (O)
Instructions: 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. Input: Premise: Charles was fond of Asian women and wanted an Asian girlfriend. Initial Context: In the Campus library, an Asian girl flirted with him. Original Ending: Charles was elated and asked her out on a date. That night they went to the movies and dinner. The girl told Charles she was moving back to Vietnam in the morning. Counterfactual Context: Charles ended up flirting with a Latina girl in the library. Output:
Charles got dumped by the girl instantly. He was hurt badly. Charles vowed to never fall in love again.
instruction: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" question: duck answer: puck question: pay answer: play question: finger answer:
linger
Teacher: 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 Teacher: Now, understand the problem? If you are still confused, see the following example: The site collects your IP address or device IDs for advertising. Collection happens when you implicitly provide information on the website. Solution: Advertising Reason: The given policy text states that it uses user information for 'advertising' explicitly Now, solve this instance: A user can view their information, within the scope of information the company has learned about the user. Student:
Not Specified
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. Let me give you an example: فیلم متوسطی بود از لحاظ داستان ولی خوشحالم که سینمای ایران یک نیم نگاهی به این قشر از جامعه مون کرد.نا گفته نماندگفتگو های پر تامل و تاثیرگذاری داشت با این حال امیدوارم که تماشاچیان عزیز در دام "خطالی عاطفی" نیوفتاده باشند. The answer to this example can be: داستان Here is why: This is a good example. The review is about the story of the movie. OK. solve this: بازی لیلا حاتمی عزیز عــــالـــی بود! فیلم یه طنز ظریفیم داشت.دوس داشتم حالشو.ولی فیلم درگیر کننده ای نبود. Answer:
بازی
Given the task definition and input, reply with output. In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Unterdurschnittlich . "Wir sind Helden" (der Bandname scheint Programm) inzenzieren sich lediglich selbst vor einem willfährigen Publikum. Die Musik ist schlecht, die Texte selbstbeweihräuchernd und von einen durschaubaren Scheinorginalität. Das gleiche Prinzip, das wir von "PUR" erkennen.
NEG
Q: Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story. Premise: Lee was driving by himself all the way to Florida. Initial Context: His only map was on his cell phone. Original Ending: He left his phone on the back of a toilet somewhere in Texas. He had no way of communicating or finding his way. After 30 hours he found himself in West Virginia. Counterfactual Context: Lee didn't need any maps because he's driven this route many times before. A:
He left his phone on the back of a toilet somewhere in Texas. He had no way of communicating or finding his phone. After 30 hours he found himself in Florida, with no phone.
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?" Ex Input: Fact: swallowing pills whole is used for curing people when they are sick. Ex Output: swallowing pills whole is used for curing people when they are what? Ex Input: Fact: Ejaculation occurs when muscle contractions propel male gametes. Ex Output: What occurs when muscles contract and propel male gametes? Ex Input: Fact: Papilloma causes diseases. Ex Output:
What causes diseases?
Q: 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...'. You say stalactite, I say stalagmite. A:
Those are two totally different things. You should write a song about that.
Instructions: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" Input: captain Output:
clapton
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. [EX Q]: In the city centre you will find a moderately priced Fast food coffee shop called The Eagle. It is located near Burger King, is not kid friendly and has a customer rating of 1 out of 5. [EX A]: name[The Eagle], eatType[coffee shop], food[Fast food], priceRange[moderate], customer rating[1 out of 5], area[city centre], familyFriendly[no], near[Burger King] [EX Q]: The moderately priced fast food establishment The Rice Boat can be found in the riverside area neat the Express by Holiday Inn. it is kids friendly and has been rated 1 out of 5 by previous customers. [EX A]: name[The Rice Boat], food[Fast food], priceRange[moderate], customer rating[1 out of 5], area[riverside], familyFriendly[yes], near[Express by Holiday Inn] [EX Q]: In riverside is a coffee shop with high price range and a rating of 3 out of 5, it is near Avalon and yes is also child friendly. It is called Blue Spice. [EX A]:
name[Blue Spice], eatType[coffee shop], priceRange[high], customer rating[3 out of 5], area[riverside], familyFriendly[yes], near[Avalon]
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: [-76.402 14.134 -25.819 54.065 -43.597 74.493 57.588 46.474] A:
-76.402
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: By the time the spelling bee arrived Ana and her best friend were sure she would win. Question: What happened after the spelling bee? Category: Event Ordering. Answer:
Yes.
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...'. Q: I mean, the post office is losing stuff all the time. I had so many birthday cards get lost on the way to my house, I just figured they got up and ran away. That's the only logical solution. A: See, I thought it was guys like Roger who were just opening peoples' mail. **** Q: Looks like everybody made it. A: Looks like the gang's all here, cool. But we're still missing one person. Donna. Remember Donna? I heard she fell into the grand canyon. **** Q: I saw the ad about troll beads. They seem magically to me. A:
Well, we're doing a special. Aren't we Gerald? ****
Instructions: In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively. Input: cBYFjOIEGsZLDNoRdT Output:
s
TASK DEFINITION: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. PROBLEM: [41.906, 72.529, 77.48, 232.888, 200.432, 218.833, -15.873, 149.865] SOLUTION: [ 0.043 0.074 0.079 0.238 0.205 0.224 -0.016 0.153] PROBLEM: [-81.794, -64.395, -79.319, 158.778, 83.741] SOLUTION: [-4.808 -3.785 -4.663 9.334 4.923] PROBLEM: [-69.189, 245.992] SOLUTION:
[-0.391 1.391]
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 will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}] Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}] Why? The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example. New input: [{'first': 86, 'second': 35}, {'first': -60, 'second': -46}, {'first': 97, 'second': -3}, {'first': 63, 'second': -3}, {'first': -16, 'second': -49}, {'first': -65, 'second': 98}, {'first': 3, 'second': 83}, {'first': 29, 'second': 21}, {'first': -38, 'second': -77}] Solution:
[{'first': -65, 'second': 98}, {'first': -60, 'second': -46}, {'first': -38, 'second': -77}, {'first': -16, 'second': -49}, {'first': 3, 'second': 83}, {'first': 29, 'second': 21}, {'first': 63, 'second': -3}, {'first': 86, 'second': 35}, {'first': 97, 'second': -3}]
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 Input: 03/26/1836, input_format=mm/dd/yyyy Ex Output: 26/03/1836 Ex Input: 16/08/1931, input_format=dd/mm/yyyy Ex Output: 08/16/1931 Ex Input: 12/08/1857, input_format=mm/dd/yyyy Ex Output:
08/12/1857
Given the task definition and input, reply with output. In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. Set1: '{17, 13, 6, 15}', Set2: '{9, 20}'. How many elements are there in the union of Set1 and Set2 ?
6