prompt
stringlengths 105
7.32k
| response
stringlengths 1
1.45k
|
---|---|
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Example: twotwoonesixzeronine
Example solution: 221609
Example explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.
Problem: zeronineoneninetwosevenfive
| Solution: 0919275 |
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
|
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.
Input: Consider Input: [-74, 23, 40, -41, 0, 99]
Output: 17
Input: Consider Input: [48, -52, -4]
Output: 48
Input: Consider Input: [47, 63, 45, -68, 57, 66]
| Output: 2
|
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]
Example solution: 14
Example explanation: 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.
Problem: x = 5, equation weights = [5, 9, 7]
| Solution: 177 |
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 are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Example: password = a
Example solution: 5
Example explanation: Using 5 steps, it can become a strong password
Problem: password = Bq02iKrwZUSDR7CxgYqsNyXQ!oigYE
| Solution: 10 |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Q: The site collects your contact information for analytics or research. Collection happens by an unnamed service or third party.
A: | Analytics/Research |
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 site collects your contact information for an unspecified purpose. Collection happens when you explicitly provide information in an unspecified way.
Output: | Unspecified |
Q: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
advisable
A: | inadvisable |
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.
Q: password = 3jeO9c.kJrqDAmUGj7iJhvLT
A: | 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) |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Example: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
Example solution: No
Example explanation: Both participants do not agree to the deal, so the answer is No.
Problem: THEM: hey how are you? YOU: hi so i'm looking for balls THEM: lol ok. um, you can have both balls and i'll take the rest? YOU: very well!
| Solution: Yes |
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. |
Q: 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?"
Fact: coral polyps form reefs.
A: | what do coral polyps form? |
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Example: [2,5,1,4],[2,5,8,4,2,0]
Example solution: [2,4,5]
Example explanation: The elements 2,4, and 5 are in both lists. This is a good example.
Problem: [5, 2, 2, 7, 7, 6] , [2, 6, 9, 8, 9, 6]
| Solution: [2, 6] |
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.
Q: Premise: Tina wanted a raise.
Initial Context: She decided it would be easier to commit return fraud at her work.
Original Ending: She acquired the help of a co worker. They got away with this for some time. Eventually the two were caught and fired.
Counterfactual Context: She decided to work hard and get a raise by being honest.
A: | She got better with the help of a co worker. They worked hard on this for some time. Eventually the two were recognized and promoted. |
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 Q]: trout
[EX A]: vertebrate
[EX Q]: football
[EX A]: sport
[EX Q]: rifle
[EX A]: | firearm
|
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
Example input: The site collects your IP address or device IDs for advertising. Collection happens when you implicitly provide information on the website.
Example output: Advertising
Example explanation: The given policy text states that it uses user information for 'advertising' explicitly
Q: The site collects your unspecified information for a basic service or feature. Collection happens when you explicitly provide information on the website, and your data is identifiable. You can choose not to use the service or feature for the collection of your information.
A: | Basic service/feature |
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 input: x = 3, equation weights = [4, 2]
Example output: 14
Example explanation: 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.
Q: x = 9, equation weights = [4, 5, 1, 8, 3]
A: | 30045 |
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 . |
Detailed Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Q: [-58.462, -29.005, -1.854]
A: | [0.655 0.325 0.021] |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Q: An unnamed third party does receive information about you not covered by our label scheme for an unspecified purpose. You can opt in for data collection.
A: | Unspecified |
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 |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Q: I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_LEFT I_RUN
A: | run right twice and run left |
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: [-53.119 45.555 79.189 -53.965 76.339 92.204 -8.849 94.092 -99.925
10.583]
A: -99.925
****
Q: [-51.777 29.162 -57.289 12.468 51.309 -57.076]
A: -57.289
****
Q: [-36.356 -61.691 -0.478 -44.316]
A: | -61.691
****
|
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
|
Definition: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Input: conspicuous
Output: | inconspicuous |
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
[Q]: Command: greater { hop { filter_eq { all_rows ; season ; 2005 } ; races } ; hop { filter_eq { all_rows ; season ; 2012 } ; races } }, interpretation: select the rows whose gold record is equal to - . the number of such rows is 2 .
[A]: no
[Q]: Command: and { only { filter_eq { all_rows ; manager ; bob didier } } ; eq { hop { filter_eq { all_rows ; manager ; bob didier } ; year } ; 1977 } }, interpretation: select the rows whose oberbayern record fuzzily matches to fc ingolstadt 04 . the minimum season record of these rows is 2005 .
[A]: no
[Q]: Command: eq { hop { nth_argmin { filter_eq { all_rows ; coach ; brian noble } ; main article ; 4 } ; lost } ; 7 }, interpretation: select the rows whose coach record fuzzily matches to brian noble . select the row whose main article record of these rows is 4th minimum . the lost record of this row is 7 .
[A]: | yes
|
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
Example: 6 @ 17
Example solution: 23
Example explanation: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23).
Problem: 678 @ 1166 # 7776 # 4695 # 9090 @ 1180 # 2398 @ 726
| Solution: -20209 |
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.
Example input: original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence .
Example output: Tense
Example explanation: The verbs in this example are changed from past tense to present tense.
Q: original sentence: I saw Jim yelling at some guy in a military uniform with a huge red beard . I don't know who he was , but he looked very unhappy . paraphrase: I see Jim yelling at some guy in a military uniform with a huge red beard . I don't know who he is , but he looks very unhappy .
A: | Tense |
Detailed Instructions: In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Q: [-84, 6, 43, -37, 79]
A: | 36 |
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 |
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.
Example input: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq
Edit: twins
Example output: Not Funny
Example explanation: The edited sentence is not making much sense, therefore it's not funny.
Q: News Headline: It ’s wishful thinking to blame Hillary Clinton ’s {loss} on Cambridge Analytica
Edit: hair
A: | 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...'.
One example is below.
Q: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should.
A: You know what, come tell us at the community pool.
Rationale: This is a good response. Because it accepts in indirect way the input sentence and supports it.
Q: I'm just going to go to the dinner party by myself.
A: | You always go to dinner parties alone. Funny, you have never gone home alone at the end of the night. |
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). |
Detailed Instructions: The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Q: But we did see a bunch of responses like this.
A: | Ali vidjeli smo mnogo odgovora poput ovih. |
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.
Q: password = 557vnC4fF
A: 0
****
Q: password = rjAwaEnCZG
A: 1
****
Q: password = n90lM6aezwzVQh5KM1hIWBzYfFXSe3X48UR9bTJdo7Q
A: | 23
****
|
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
|
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.
Example: [1, 2, 3]
Example solution: [0.167, 0.333, 0.500]
Example 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.
Problem: [-25.995, 42.177, 43.706, 112.721, -28.14, 99.071]
| Solution: [-0.107 0.173 0.179 0.463 -0.116 0.407] |
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).
Example: Entity 1: plant
Entity 2: leaf
Example solution: yes
Example explanation: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym.
Problem: Entity 1: tree
Entity 2: coat
| Solution: yes |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Example input: able
Example output: unable
Example explanation: The output is correct as able and unable are opposities of each other in meaning.
Q: aperiodic
A: | periodic |
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Q: x = 1, equation weights = [6, 0, 2]
A: | 8 |
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
Q: Learning how you react to food is important .
A: | 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 |
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.
Input: Consider Input: Near The Portland Arms is a kid friendly pub that serves English food named The Dumpling Tree.
Output: name[The Dumpling Tree], eatType[pub], food[English], familyFriendly[yes], near[The Portland Arms]
Input: Consider Input: You can eat Indian food at The Wildwood pub for a high price range. It has a customer rating of 1 out of 5.
Output: name[Wildwood], eatType[pub], food[Chinese], priceRange[high], customer rating[1 out of 5]
Input: Consider Input: Travellers Rest Beefeater is a low quality and high priced restaurant located near the Café Adriatic by the Riverside.
| Output: name[Travellers Rest Beefeater], priceRange[more than £30], customer rating[low], area[riverside], near[Café Adriatic]
|
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 a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Example Input: I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_WALK
Example Output: jump left thrice and walk opposite left thrice
Example Input: I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN
Example Output: run right thrice after walk opposite left
Example Input: I_JUMP I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT
Example Output: | turn around right after jump
|
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Q: Another part of the company or institution does do something unspecified with your unspecified personal information for an unspecified purpose.
A: | Unspecified |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Q: You can choose not to use a service or feature to avoid the use of generic personal information by an unspecified party for a basic service or feature.
A: | Basic service/feature |
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 |
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Q: x = 9, equation weights = [0, 3, 6]
A: | 33 |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Example: [47, 444, 859, 530, 197, 409]
Example solution: [47, 859, 197, 409]
Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Problem: [225, 123, 541, 259, 653, 811, 719, 47, 982, 811, 376, 132, 116, 189, 770, 439, 457, 633]
| Solution: [541, 653, 811, 719, 47, 811, 439, 457] |
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 |
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
Example solution: Invalid
Example explanation: It is not an argument on the topic of death penalty.
Problem: I think only certain people deserve to have the death penalty.
| Solution: Valid |
Detailed Instructions: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Q: [10, 1, 8, 10, 8, 4, 7, 5, 1, 6] , [9, 6, 6, 2, 1, 8, 3, 6, 6, 3]
A: | [1, 6, 8] |
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 |
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.
Q: password = Bas5xdj8SbOZLqVuyrdobHcUD
A: | 5 |
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.
One 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.'
Solution is here: No
Explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves.
Now, solve this: Context: 'Hi there! I am excited to share these additional camping supplies with you!' 'Yes, same here! I'm glad that we all have our own basic necessities, but extra is always wonderful. 🙂 What are you most interested in?' 'I am most interested in water! My husband and I are traveling with our newborn and we need as much water as possible!🙂'
Utterance: 'Ah, I see! I am in the same boat. We are camping somewhere where there is no source of water and it's very hot. Hm, let's see how to go about this'
Solution: | 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 |
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.
One example is below.
Q: 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.
A: yes
Rationale: 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'.
Q: Command: eq { count { filter_eq { filter_eq { all_rows ; country ; united states } ; score ; 143 } } ; 2 }, interpretation: select the rows whose country record fuzzily matches to united states . among these rows , select the rows whose score record fuzzily matches to 143 . the number of such rows is 2 .
A: | 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: Well, to be fair, we look exactly alike.
A: | And we sound exactly alike. |
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? |
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Example: [2,5,1,4],[2,5,8,4,2,0]
Example solution: [2,4,5]
Example explanation: The elements 2,4, and 5 are in both lists. This is a good example.
Problem: [8, 9, 4, 7, 5, 10, 9, 1] , [1, 1, 9, 10, 10, 2, 10, 4]
| Solution: [1, 4, 9, 10] |
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
Q: [{'first': -94, 'second': -41}, {'first': 18, 'second': 55}, {'first': 40, 'second': 43}, {'first': 77, 'second': -72}, {'first': 66, 'second': 73}, {'first': 87, 'second': 77}, {'first': -82, 'second': 57}]
A: | [{'first': -94, 'second': -41}, {'first': -82, 'second': 57}, {'first': 18, 'second': 55}, {'first': 40, 'second': 43}, {'first': 66, 'second': 73}, {'first': 77, 'second': -72}, {'first': 87, 'second': 77}] |
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.
Example input: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq
Edit: twins
Example output: Not Funny
Example explanation: The edited sentence is not making much sense, therefore it's not funny.
Q: News Headline: This Is What Happens When You Let {Trump} Be Trump
Edit: halloweeners
A: | Funny |
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 Input: However, religious ideas are baseless, and in no way can be used in any argument effectively.
Example Output: Invalid
Example Input: In reality, prison population is a zero sum game because nobody wants a new prison in their back yard (NIMBY principle).
Example Output: Valid
Example Input: Death penalty does not have a clear and definite criterion.
Example Output: | Valid
|
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.
One example: [-11, 2, 3]
Solution is here: -11
Explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
Now, solve this: [ 18.002 95.523 -25.751 -88.209 51.888 -64.953 47.267 -70.394 -32.615]
Solution: | 95.523 |
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.
Example input: bYubMFxyTqR, AcDbMFxSnI
Example output: bYubfmxyTqR, AcDbfmxSnI
Example explanation: Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI'
Q: hLrzoyTGMYFKAmXIRiURBaDzCLeIJ, wvlfuVCTGMYFKAmXIRiUbKiEErhSShcUc
A: | hLrzoyafgiikmmrtuxyRBaDzCLeIJ, wvlfuVCafgiikmmrtuxybKiEErhSShcUc |
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?"
Example input: Fact: pesticides can harm animals.
Example output: What can harm animals?
Example explanation: It's a good question because it is formed by simply replacing the word "pesticides" with "what".
Q: Fact: Most of the interior of the plant fills the space between the dermal tissue and vascular tissues.
A: | Where does most of the space of the interior plant fill? |
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.
Q: JJrUvgVmRFZXFgccNIeduIaQf, QjcRFZXFgccNIeduIaJuy
A: | JJrUvgVmaccdeffgiinruxzQf, QjcaccdeffgiinruxzJuy |
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.
Example input: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Example output: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Example explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Q: [{'first': 32, 'second': 30}, {'first': -83, 'second': 90}, {'first': -84, 'second': 60}, {'first': 36, 'second': 57}, {'first': 93, 'second': 93}, {'first': 24, 'second': 97}, {'first': -22, 'second': 82}, {'first': -5, 'second': 41}]
A: | [{'first': -84, 'second': 60}, {'first': -83, 'second': 90}, {'first': -22, 'second': 82}, {'first': -5, 'second': 41}, {'first': 24, 'second': 97}, {'first': 32, 'second': 30}, {'first': 36, 'second': 57}, {'first': 93, 'second': 93}] |
Q:Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
A: | Kapay Ako |
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
****
|
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Sentence: These are {{ 1 }} ) Assassinate or overthrow Gen. Pervez Musharraf , the Pakistani military " president " who had made a coup in 1999 and has thrown in his lot with the United States against the Taliban and al - Qaeda .
Word: 1
LS
Sentence: In the Beatles ' song {{ " }} Get Back " they advise black Joe to " get back to where you once belonged " , as if England was not a place for black people .
Word: "
``
Sentence: Thus far , none of the many " human {{ rights }} " busybodies across the world have bothered to even notice such a development .
Word: rights
| NNS
|
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)
|
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Q: Premise: Ray and Jerry excitedly got dressed in the morning.
Initial Context: They rushed to eat breakfast and quickly left.
Original Ending: They'd planned to meet friends who were there when the two arrived. Jerry's friend, Melissa, handed then two rainbow-colored flags. Everyone entered the festival grounds ready to party!
Counterfactual Context: They rushed to eat breakfast and quickly left to go to the zoo.
A: | They'd planned to meet friends who were there when the two arrived. Jerry's friend, Melissa, handed then two rainbow-colored flags. Everyone entered the zoo ready to party! |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
One example: difficult
Solution is here: No
Explanation: The word difficult has no natural English rhymes and so the model outputs No as specified in the instructions.
Now, solve this: us
Solution: | bus |
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
One example: The site collects your IP address or device IDs for advertising. Collection happens when you implicitly provide information on the website.
Solution is here: Advertising
Explanation: The given policy text states that it uses user information for 'advertising' explicitly
Now, solve this: The site collects your contact information for analytics or research. Collection happens in an unspecified way, and your data is identifiable.
Solution: | Analytics/Research |
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: | بازی |
Instructions: In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative.
Input: Oh well - ein unerreichter song! . ich habe diese CD vorallem gekauft, weil sich das sehr selten gepresste "oh well" darauf befindet. Es ist für mich einer der originellsten Songs der Pop/Rock Geschichte! Insgesamt ist die CD sehr abwechslungsreich ganz in Stil der alten Fleetwood Mac, noch mit dem unverkennbaren Peter Green. Sicher ein Muss für Liebhaber dieses Musikrichtung!
Output: | POS |
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.
Q: Premise: Sybil walked cautiously at night.
Initial Context: She took a secret way home.
Original Ending: Her friend learned about the rout. Sybil found a note on her route. It was a letter from her friend!
Counterfactual Context: She took her normal route home with her friends.
A: | Her friend knew about the route. Sybil found a note on her route. It was a letter from her dad! |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Let me give you an example: Fact: pesticides can harm animals.
The answer to this example can be: What can harm animals?
Here is why: It's a good question because it is formed by simply replacing the word "pesticides" with "what".
OK. solve this:
Fact: Coal absorbs all visible light.
Answer: | What absorbs all visible light? |
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: Of course, young lady. What size t-shirt do you take?
A: | Can you hold the t-shirt out so we can get a good look at it? |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
follow | wallow |
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
Q: There is a family-friendly coffee shop Aromi in the city centre that provides Italian food but has low customer rating.
A: name[Aromi], eatType[coffee shop], food[Italian], customer rating[low], area[city centre], familyFriendly[yes]
****
Q: Located by the riverside, The Rice Boat is a French restaurant that has a customer rating of 5 out of 5 but isn't family-friendly.
A: name[The Rice Boat], food[French], customer rating[5 out of 5], area[riverside], familyFriendly[no]
****
Q: Near The Bakers is The Golden Curry, a children friendly fast food restaurant with most offerings ranging more than £30.
A: | name[The Golden Curry], food[Fast food], priceRange[more than £30], familyFriendly[yes], near[The Bakers]
****
|
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Q: [ 92.648 -15.36 -12.907 -26.689 -76.053 38.023 98.725 -66.886 -41.34 ]
A: | 98.725 |
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...'.
Example input: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should.
Example output: You know what, come tell us at the community pool.
Example explanation: This is a good response. Because it accepts in indirect way the input sentence and supports it.
Q: I can't eat pudding one more god damn time.
A: | I know, I asked for pizza today, but the pudding guy just keeps showing up. |
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 |
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.
One example: [1, 2, 3]
Solution is here: [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.
Now, solve this: [-29.909, 205.339, 5.093, 124.417, -84.319, 111.55, -26.191, 244.4]
Solution: | [-0.054 0.373 0.009 0.226 -0.153 0.203 -0.048 0.444] |
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
See one example below:
Problem: [{'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}]
Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Problem: [{'first': -53, 'second': -40}, {'first': -74, 'second': 45}, {'first': -11, 'second': 61}, {'first': 19, 'second': 17}, {'first': -93, 'second': -7}, {'first': 85, 'second': -70}, {'first': -39, 'second': 93}]
Solution: | [{'first': -93, 'second': -7}, {'first': -74, 'second': 45}, {'first': -53, 'second': -40}, {'first': -39, 'second': 93}, {'first': -11, 'second': 61}, {'first': 19, 'second': 17}, {'first': 85, 'second': -70}] |
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
|
Instructions: 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.
Input: Set1: '{4, 10, 12, 13, 18, 19, 20}', Set2: '{5}'. How many elements are there in the union of Set1 and Set2 ?
Output: | 8 |
Subsets and Splits