prompt
stringlengths 98
11.7k
| response
stringlengths 1
1.45k
|
---|---|
Detailed Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Problem:Context: 'I don't think you that fat, your lipids will help you stay warm and full out there, haha' 'Im not as good at you at foraginf for food and water i probably dont have the experience as you do being in the outdoors and living off the land.🙂' 'With the extra firewood, you can hunt for fish and other animals outside to thrive'
Utterance: 'i cant hunt if i dont have the proper nutritional value to make sure i can make it that long. how about i get 2 firewood 2 water and 1 food you get the rest'
Solution: | Yes |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Another part of the company or institution does do something outside of our label scheme with your unspecified personal information for an unspecified purpose.
Unspecified
An unnamed third party does receive unspecified information about you for legal requirements. This applies to a user type outside of our label scheme.
Legal requirement
You can use privacy configuration settings (in your browser or on your device) to control the use of unspecified information by the site, which collects it for an unspecified purpose.
| Unspecified
|
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Example Input: THEM: gimme ballz YOU: you can have balls if i can have the rest THEM: gimme a book with the ball YOU: no. you can only have ball if i can have all books and all hats. THEM: bad deal for me then... why so mean? YOU: bad deal for me, they didn't give me a lot to work with. THEM: one of each for me, 2 books for u YOU: no deal. THEM: oh noes. gimme ball and a book YOU: 1 ball for you. 3 books and 1 hat for me. THEM: gimme ball and book YOU: no deal. THEM: i found a stale french fry.... i'll throw that in the pot. you good with that?
Example Output: No
Example Input: THEM: how about you get two books YOU: i really need the ball... how about i get the ball and one book? THEM: how about you get two books and one hat YOU: need the ball... no deals without the ball THEM: no deal YOU: so be it THEM: one hat and two books for you YOU: as said, no ball for me no deal THEM: no deal YOU: ok, no deal.
Example Output: No
Example Input: THEM: i would like the book and the hat and you can have the rest. YOU: ok deal.
Example Output: | No
|
TASK DEFINITION: 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.
PROBLEM: original sentence: The actress used to be named Terpsichore , but she changed it to Tina a few years ago , because she figured it was too hard to pronounce . paraphrase: The actor used to be named Jacchus , but he changed it to Jake a few years ago , because he figured it was too hard to pronounce .
SOLUTION: Gender
PROBLEM: original sentence: Mark told Pete many lies about himself , which Pete included in his book . He should have been more sceptical . paraphrase: eric told richard many lies about himself , which richard included in his book . he should have been more sceptical .
SOLUTION: Synonym
PROBLEM: original sentence: Pete envies Martin because he is very successful . paraphrase: Pete and Andrew envy Martin and Paul because they are very successful .
SOLUTION: | Number
|
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[{'first': -79, 'second': -34}, {'first': -87, 'second': -25}, {'first': 98, 'second': 3}, {'first': -79, 'second': 61}, {'first': 70, 'second': -79}, {'first': -81, 'second': 6}]
[{'first': -87, 'second': -25}, {'first': -81, 'second': 6}, {'first': -79, 'second': -34}, {'first': -79, 'second': 61}, {'first': 70, 'second': -79}, {'first': 98, 'second': 3}]
[{'first': -98, 'second': -19}, {'first': -28, 'second': -70}, {'first': -28, 'second': -62}]
[{'first': -98, 'second': -19}, {'first': -28, 'second': -70}, {'first': -28, 'second': -62}]
[{'first': 0, 'second': -19}, {'first': 14, 'second': 46}, {'first': 49, 'second': 8}]
| [{'first': 0, 'second': -19}, {'first': 14, 'second': 46}, {'first': 49, 'second': 8}]
|
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Q: [97, 488, 499, 61]
A: | [97, 499, 61] |
You will be given a definition of a task first, then some input of the task.
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.
And if, however, you are detected very early, diagnosed early, treatment can start, and even in HIV-positives, it makes sense.
Output: | A ako, vam se ipak, dijagnosticira vrlo rano, uoči rano, liječenje može početi, i čak kod HIV pozitivnih, ima smisla. |
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.
Today, you can have a complete sequence of the three billion base pairs in the human genome at a cost of about $20,000 and in the space of about a week. | Danas, možemo imati kompletnu sekvencu od tri milijardi parova baza ljudskog genoma za cijenu od oko 20.000 dolara u vremenskom razdoblju od oko jednog tjedna. |
TASK DEFINITION: We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
PROBLEM: But the killing of innocent lives is a crime of almost every nation and by the way, this has gone to the point of needing another thread.
SOLUTION: Valid
PROBLEM: if you execute a pickpocket or give him life imprisonment, then you would have one less thief to worry about but I think we agree that that would be excessive).
SOLUTION: Valid
PROBLEM: I don't believe that they should because if you kill someone, they won't have the chance to either get rehabilitated nor will they have the chance to actually regret what they have done.
SOLUTION: | Valid
|
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.
I have been trying so hard to become a master case scholar in the US. I told my sister about my effort, I love my sister very much. My Activities She Knows Four, So I told them my goal. They said, "You will not become a case scholar,They said you don't deserve that. I was very depressed hearing them. I told my friend about this, and he is a great lawyer. He recognized my plight and gave me hope. Some good words he said,1. Believe in yourself and you can2. There is no world in which you cannot3. You have no choice but to trust yourself4. Who cares about who you are and does not change your lifeHis advice thus changed my life and I am today a very good advocate. I have a 10 person job under me. People in my city tell me to settle their cases. But those who criticized me are in the same place, So I have come to realize that faith is always necessary in life. God is a true friend. | recalled |
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: [ 16.957 -44.176 -12.107]
Solution: | -44.176 |
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
[197, 195, 193, 191, 189, 187, 185, 183, 181, 179, 177, 175, 173, 171, 169, 167, 165, 163, 161, 159, 157, 155, 153, 151, 149, 147, 145, 143, 141, 139, 137, 135, 133, 131, 129, 127, 125, 123, 121, 119, 117, 115, 113, 111, 109, 107, 105, 103, 101, 99, 97, 95, 93, 91, 89, 87, 85, 83, 81, 79, 77, 75, 73, 71, 69, 67, 65, 63, 61, 59, 57, 55, 53, 51, 49, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13]
| 1 |
Q: 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.
The surimi sticks [of] crabmeat, or is being sold as crab meat, is white fish that's being dyed with cochineal.
A: | Surimi štapići su meso rakovice, ili se samo prodaju kao meso rakovice, jer to je bijela riba koja je obojana košenilom. |
You will be given a definition of a task first, then some input of the task.
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_WALK
Output: | turn around left thrice and walk opposite left twice |
Detailed Instructions: 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?"
Problem:Fact: Light splits into different colors when sunlight hits raindrops.
Solution: | What happens to light when it hits rain? |
Definition: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Input: [9, 10, 3, 8, 1] , [7, 1, 9, 8, 9]
Output: | [1, 8, 9] |
Instructions: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Input: Who are the nominees who were nominated for either of the Bob Fosse or Cleavant Derricks awards?
Output: | SELECT Nominee FROM musical WHERE Award = "Tony Award" OR Award = "Cleavant Derricks" |
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.
Problem:[192.474, 219.813, 207.093, 84.325, -67.734, 108.715, -64.143, 244.089]
Solution: | [ 0.208 0.238 0.224 0.091 -0.073 0.118 -0.069 0.264] |
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Q: black
A: man
****
Q: lion
A: male
****
Q: exit
A: | open
****
|
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Example Input: hpdpdpdpddhdd
Example Output: pdpdpdp
Example Input: yyxmmxmmmxmyyxm
Example Output: mxmmmxm
Example Input: aaauccacuu
Example Output: | aaa
|
Definition: 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: '{11, 4, 14}', Set2: '{2, 3, 10, 11, 12, 13, 15, 18, 19, 20}'. How many elements are there in the union of Set1 and Set2 ?
Output: | 12 |
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
See one example below:
Problem: [47, 444, 859, 530, 197, 409]
Solution: [47, 859, 197, 409]
Explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Problem: [598, 569, 486, 236, 197, 92, 967]
Solution: | [569, 197, 967] |
Please answer the following question: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package acr.browser.lightning.
Answer: | Doesn't block google search ads... Bought the paid version for the ad blocking feature. It doesn't work and for some reason I cannot get a refund. |
Q: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
[169, 1884, 2150]
A: | [128, 2048, 2048] |
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.
Problem:[-47.881 98.385 82.799 40.676 60.975 -56.54 ]
Solution: | 98.385 |
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: | effect |
Definition: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Input: [537, 749]
Output: | [] |
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: tfbnDJqmosaqNAbxFvNTdos, JmHLsRuAVMtsaqNAbxFvNTxRLvFeIkTL
A: tfbnDJqmoaabfnnqstvxdos, JmHLsRuAVMtaabfnnqstvxxRLvFeIkTL
****
Q: obrYJdaUwBXoxoaGqRTeqOPbdpxkcBikvEtBnRKPquFhs, ZDcdDEcoaGqRTeqOPbdpxkcBiQYZ
A: obrYJdaUwBXoxabbcdegikooppqqrtxkvEtBnRKPquFhs, ZDcdDEcabbcdegikooppqqrtxQYZ
****
Q: pyZzwlJbuS, UCZzwlJblM
A: | pybjlwzzuS, UCbjlwzzlM
****
|
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Q: [293, 641, 818, 413, 193, 871, 244, 350, 859, 199, 155, 53, 59, 727, 237, 270, 43, 121, 430, 199]
A: | [293, 641, 193, 859, 199, 53, 59, 727, 43, 199] |
Given the task definition and input, reply with output. Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
upland
| lowland |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
One example: Find the id and city of the student address with the highest average monthly rental.
Solution is here: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
Explanation: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example.
Now, solve this: Which programs are never broadcasted in the morning? Give me the names of the programs.
Solution: | SELECT name FROM program EXCEPT SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id WHERE t2.Time_of_day = "Morning" |
Given the task definition, example input & output, solve the new input case.
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
Output: 221609
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.
New input case for you: sixeighteightonesevensixsevenfourfiveninefiveseven
Output: | 688176745957 |
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:Did this president have both a son and a daughter? Was this president born on the east coast?
Solution: | When were the children of this president born? |
Instructions: 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.
Input: News Headline: Cannabis Drug Halved Convulsions in Company-Funded {Epilepsy} Test
Edit: multiplication
Output: | 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.
i think the death penalty should be abolished because some people are sentenced to deathfor a crime they might have not committed.
Valid
In the US at least, we have the right to life, liberty, and the pursuit of happiness as long as it doesn't infringe upon the rights of others.
Valid
If we fail to execute murderers, and doing so would in fact have deterred other murders, we have allowed the killing of a bunch of innocent victims.
| Valid
|
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.
[-98, 95, -29, -15, -55, -85, -10, -55] | 0 |
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.
Air ist entspannt . Auf Pocket Symphony geben sich AIR durchgängig entspannt. Dieses Album passt perfekt für einen gemütlich, ruhigen Tagesausklang. Zurücklehnen und gedanklich abschalten. Dancekracher und schräges findet sich darauf nicht. Dies würde auch nicht sonderlich zum derzeitigen Air-Style passen. Ambient-Pop für die chill-out-zone zuhause, groovy, jedoch immer mit angezogener Handbremse. Die Beats und die bassline sind eher langsam. Nie aufdringlich sind auch die flächigen Sounds und die passenden Samples. Die schön eingespielten "echten" Instrumente sind klar zu hören, und Airs meist etwas melancholischer Gesang passt sich perfekt ein. Wer die etwas frischer wirkende Talkie walkie mochte wird wahrscheinlich auch von dieser ruhigeren Symphonie begeistert sein. Die "neuen" Stimmen der Gastsänger tun dem Album übrigens an den richtigen Stellen gut. Damit entstehen keine "Längen". Wer gerne zu modern-entspannender Musik abhängt wirds mögen ;-) Sehr gute 4 Sterne | POS |
Definition: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Input: radio
Output: | device |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Q: Fact: the mass of the sun causes its gravity on Earth.
A: | What causes gravity on the Earth? |
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.
Let me give you an example: Set1: '{2, 3, 6, 9, 10, 14, 15, 20}', Set2: '{3, 5, 7, 9, 12, 15, 16}'. How many elements are there in the union of Set1 and Set2 ?
The answer to this example can be: 12
Here is why: The union of Set1 and Set2 is {2, 3, 5, 6, 7, 9, 10, 12, 14, 15, 16, 20}. It has 12 elements. So, the answer is 12.
OK. solve this:
Set1: '{1, 7, 8, 9, 12, 13, 14, 16, 17, 20}', Set2: '{2, 3, 9, 11, 12, 15, 16}'. How many elements are there in the union of Set1 and Set2 ?
Answer: | 14 |
instruction:
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.
question:
The Twenty Two is a 3 out of 5 star pub near Café Sicilia and the riverside.
answer:
name[The Twenty Two], eatType[pub], customer rating[3 out of 5], area[riverside], near[Café Sicilia]
question:
The Rice Boat is located near Express by Holiday Inn in the city centre. It serves high quality Indian food in the £20-25 price range and is kids friendly.
answer:
name[The Rice Boat], food[Indian], priceRange[£20-25], customer rating[high], area[city centre], familyFriendly[yes], near[Express by Holiday Inn]
question:
Green Man is children friendly with a high price range. They provide Italian food near All Bar One in the city centre.
answer:
| name[Green Man], food[Italian], priceRange[high], area[city centre], familyFriendly[yes], near[All Bar One]
|
Given the task definition, example input & output, solve the new input case.
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Example: [2,5,1,4],[2,5,8,4,2,0]
Output: [2,4,5]
The elements 2,4, and 5 are in both lists. This is a good example.
New input case for you: [6, 4, 2, 4, 10] , [8, 4, 1, 3, 4]
Output: | [4] |
TASK DEFINITION: We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
PROBLEM: They might not be sociologists but they know the difference between accuracy and non accuracy because they might have had experience dealing with reports like these.
SOLUTION: Invalid
PROBLEM: With remarkably few exceptions, neither the media nor public policy makers have required death penalty opponents to support their claims or to define their standards.
SOLUTION: Valid
PROBLEM: I'd have to do more research into the death penalty website before believing the facts they present.
SOLUTION: | Valid
|
Detailed Instructions: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Q: island
A: | byland |
TASK DEFINITION: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
PROBLEM: Context: 'hello' 'Hello how are you, I was wondering if its okay with you, If i can get 3 waters, 2 firewoods, and 1 food? what are your thoughts?'
Utterance: 'i cant afford to give you all 3 waters because i would need some for myself'
SOLUTION: No
PROBLEM: Context: 'Hi there, good to connect with you. How are you today?'
Utterance: 'I am good, thank you. What are your preferences? I really need the extra food packages. We are doing a lot of hiking and mountain biking and there are no grocery stores for at least 50 miles.🙂'
SOLUTION: Yes
PROBLEM: Context: 'I'm thinking I'l get 2 firewood, and 2 water and 1 food. I'm not sure what you need, but we can figure it out. ' 'my highest priority is water, i need it to stay hydrated from the camping beers' 'Who doesn't? I need more wood. I'm skinny. I get cold easily. Beer hidrates dude 🙂'
Utterance: 'ha no prob on the wood, its out there in nature so i can do with less of it hows 3 water, 1 food, 0 wood sound'
SOLUTION: | No
|
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
[EX Q]: A named third party does receive unspecified information about you for targeted advertising. The data is aggregated or anonymized.
[EX A]: Advertising
[EX Q]: The site collects your financial information for an unspecified purpose. Collection happens by an unnamed service or third party, and your data is identifiable.
[EX A]: Unspecified
[EX Q]: A named third party does do something outside of our label scheme with information about you not covered by our label scheme for analytics or research. The data is aggregated or anonymized.
[EX A]: | Analytics/Research
|
Definition: 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.
Input: dime el nombre de un restaurante " mexican " .
Output: | give me the name of a " mexican " restaurant . |
TASK DEFINITION: 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.
PROBLEM: Loch Fyne is a kid friendly Chinese restaurant with a medium-high price range.
SOLUTION: name[Loch Fyne], eatType[restaurant], food[Chinese], priceRange[£20-25], familyFriendly[yes]
PROBLEM: Loch Fyne has fast food on the riverside with a rating of 1 out of 5 for the restaurant The Rice Boat
SOLUTION: name[Loch Fyne], food[Fast food], customer rating[1 out of 5], area[riverside], near[The Rice Boat]
PROBLEM: Near the river is The Eagle. It is expensive but has 5 stars.
SOLUTION: | name[The Eagle], priceRange[more than £30], customer rating[5 out of 5], area[riverside]
|
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.
Q: Which royalty was this dog breed popular with? Is this dog breed originally from europe?
A: | What european royalty has owned this dog breed? |
Q: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
[6, 7, 8, 8, 8] , [7, 7, 6, 7, 7]
A: | [6, 7] |
Part 1. Definition
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Part 2. Example
Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06.
Answer: yes
Explanation: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'.
Part 3. Exercise
Command: eq { count { filter_eq { all_rows ; opponent ; usc } } ; 3 }, interpretation: select the rows whose opponent record fuzzily matches to usc . the number of such rows is 3 .
Answer: | yes |
Instructions: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Input: রোহিঙ্গা দের সরকার পুরোপুরি ভাবে আশ্রয় দিচ্ছে এটা আমিও সমর্থন করি। অনেকে আবার প্রশ্ন করেন সরকার রোহিঙ্গা দের আশ্রয় দেয়না কেন? সরককার যদি ঢুকতে না দিতো তাহলে একজন রোহিঙ্গা ও বাংলাদেশে ঢুকতে পারতো না। যাই হোক কথা হলো মুসলিম দেশ গুলির নীরবতা নিয়ে। শক্তিশালী একটা মুসলিম দেশ পাকিস্তান একেবারেই নীরব। কারণ বার্মা বৌদ্ধ রাষ্ট্র এদের কিছু বললে তাদের ঘনিস্ট বন্ধু চায়না মন খারাপ করবে। অথচ ভারতে কোটি মুসলমান বাস করে সেই ভারতকে পাকিস্তান মাঝে মাঝে যুদ্ধের হুমকি দেয়। বাংলাদেশর জন মুসমানের জনই ভারত
Output: | non-religious |
Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Input: Sentence: Still , you have a {{ better }} chance of some peace and quiet , and the weather can be surprisingly better in April and September than in mid-July – again , it ’s all part of the uncertainty principle .
Word: better
Output: | JJR |
Detailed Instructions: Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
Q: Have you called out or left early / showed up late prior to this stomach bug ?
A: | 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.
--------
Question: [103.175, 172.942, 74.406]
Answer: [0.294 0.493 0.212]
Question: [123.275, 156.341, 242.486]
Answer: [0.236 0.299 0.464]
Question: [237.808, -4.265, 186.248, 167.554, -95.997]
Answer: | [ 0.484 -0.009 0.379 0.341 -0.195]
|
Teacher:In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Teacher: Now, understand the problem? Solve this instance: Set1: '{3, 4, 5, 11, 12, 17, 19, 20}', Set2: '{3}'. How many elements are there in the union of Set1 and Set2 ?
Student: | 8 |
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...'.
Sorry, I just had an emergency at work.
Well, that sucked. You walked out and left and your wife hasn't come down yet. We've been standing on the front porch the whole time.
I am pretty sure I am from Russia but I'm not 100% where any of you are from.
Catarina, we work so long together. And now you ask me this, where we are from?
When we get close to the destination, can I drive the cab in?
| Yeah, sure. I have a gun, so we can do that.
|
Teacher:Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Teacher: Now, understand the problem? Solve this instance: cold
Student: | old |
Definition: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Input: Context:
Utterance: 'Hi 🙂 I'd like to have more water because the location that I'm going to is really dry. I'll need water to stay hydrated.'
Output: | Yes |
Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06.
Solution: yes
Reason: 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'.
Now, solve this instance: Command: greater { hop { filter_eq { all_rows ; home team ; geelong } ; home team score } ; hop { filter_eq { all_rows ; home team ; richmond } ; home team score } }, interpretation: select the rows whose date record fuzzily matches to 6 june 2010 ( round 13 ) . take the total record of this row . select the rows whose date record fuzzily matches to 5 april 2008 ( round 4 ) . take the total record of this row . the first record is greater than the second record .
Student: | no |
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.
Input: Watch what happens to the men.
Output: | Gledajte što se događa muškarcima. |
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: [-90.424 -51.982 -85.639]
A: | -90.424 |
Q: 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
5631 # 7224 @ 9746 # 8532 @ 8996 # 3971 # 8538 @ 5270 # 9789
A: | -8411 |
Detailed Instructions: In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation.
Problem:Mozambique
Solution: | Republic |
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.
Let me give you an 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.'
The answer to this example can be: No
Here is why: In this utterance, the participant does not use self-need since they do not talk about any need for themselves.
OK. solve this:
Context: 'Grilling is so much fun! We left our grill at home so we can't really do that. I will trade you some food for some water if you would like?' 'sure that sounds fair' 'Ok, do you have any interest in any fire wood?'
Utterance: 'I do need firewood, we cook over open flames. 😮How you get 2 water, 1 food and 1 firewood?'
Answer: | Yes |
instruction:
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
question:
THEM: hello, can i have the hat and book? you can have all 4 balls YOU: sure! deal THEM: thank you.
answer:
Yes
question:
THEM: may i have the hat a book and a ball? YOU: if i give up the hat, i need the remaining items. however if you're wiling to give me the hat and 1 of the other items, you can have the rest THEM: i'll give you the hat and one tof the basketballs YOU: deal.
answer:
Yes
question:
THEM: i'll take the hat and ball, ok? YOU: i need ball, you have rest THEM: ok.
answer:
| Yes
|
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]: Pel que fa als establiments comercials com bars , restaurants o de venda d' aliments entre avui i demà s' habilitaran 8 zones preparades amb contenidors d' obra perquè aquests establiments , que generen un volum important de brossa , puguin dipositar les escombraries en indrets apartats .
[A]: Pel (O) que (O) fa (O) als (O) establiments (O) comercials (O) com (O) bars (O) , (O) restaurants (O) o (O) de (O) venda (O) d' (O) aliments (O) entre (O) avui (O) i (O) demà (O) s' (O) habilitaran (O) 8 (O) zones (O) preparades (O) amb (O) contenidors (O) d' (O) obra (O) perquè (O) aquests (O) establiments (O) , (O) que (O) generen (O) un (O) volum (O) important (O) de (O) brossa (O) , (O) puguin (O) dipositar (O) les (O) escombraries (O) en (O) indrets (O) apartats (O) . (O)
[Q]: El president de la cambra de comerç , Ramon Cierco , espera que Andorra rebi amb bons ulls els projectes per a un nou turisme .
[A]: El (O) president (O) de (O) la (O) cambra (O) de (O) comerç (O) , (O) Ramon (B-PER) Cierco (I-PER) , (O) espera (O) que (O) Andorra (B-LOC) rebi (O) amb (O) bons (O) ulls (O) els (O) projectes (O) per (O) a (O) un (O) nou (O) turisme (O) . (O)
[Q]: L' incendi s' ha declarat a les 15:55 hores i s' ha perllongat durant dues hores .
[A]: | L' (O) incendi (O) s' (O) ha (O) declarat (O) a (O) les (O) 15:55 (O) hores (O) i (O) s' (O) ha (O) perllongat (O) durant (O) dues (O) hores (O) . (O)
|
Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Input: kkaakakakllakk
Output: | akaka |
Given the task definition and input, reply with output. This task is to find the number of 'For' loops present in the given cpp program.
int sum=0;
int main()
{ void shu(int a,int b);
int n=0,i=0,a=0,c=0,j=0;
scanf("%d",&n);
for(i=1;i<=n;i++)
{ scanf("%d",&a);
for(j=2;j<=sqrt((double)a);j++)
{ if(a%j==0)
{ sum=sum+1;
shu(j,a/j);
}
}
printf("%d",sum+1);
if(i<n)
printf("\n");
sum=0;
}
return(0);
}
void shu(int a,int b)
{ int i=0;
for(i=a;i<=sqrt((double)b);i++)
{ if(b%i==0)
{ sum=sum+1;
shu(i,b/i);
}
}
}
| 3 |
Q: Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc.
Sentence: To this end it succeeded with relatively few blood-soaked episodes in its colonial history.
Question: What day did they realize it succeeded?
Category: Absolute Timepoint.
A: | Yes. |
Given the task definition and input, reply with output. 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...'.
Welcome to the New Spaghetti Factory. We make sure that you know you are getting spaghetti in a bowl and not on a plate.
| OK. Is that the new part? The spaghetti being in a bowl? |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
--------
Question: What are all the movies rated as R? List the titles.
Answer: SELECT title FROM film WHERE rating = 'R'
Question: What are the names of the schools with the top 3 largest class sizes?
Answer: SELECT cName FROM college ORDER BY enr DESC LIMIT 3
Question: How many exhibition are there in year 2005 or after?
Answer: | SELECT count(*) FROM exhibition WHERE YEAR >= 2005
|
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
One example is below.
Q: [16, 205, 171, 2, 9, 317]
A: [16, 256, 128, 2, 8, 256]
Rationale: Every integer in the input list is rounded to the nearest power of 2. The number 2 and 16 are in the input list and both are a power of 2, therefore rounding to the closest power of 2 returns the same number. This is a good example.
Q: [86, 1007, 1998]
A: | [64, 1024, 2048] |
TASK DEFINITION: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
PROBLEM: Fact: magnifying objects hundreds of thousands of times is used for seeing very small objects by making them appear bigger.
SOLUTION: magnifying objects hundreds of thousands of times is used for seeing what?
PROBLEM: Fact: microscopes make living creatures appear bigger.
SOLUTION: What makes living creatures appear bigger?
PROBLEM: Fact: Earthworms eat dirt, which is good for plants.
SOLUTION: | Earthworms eat dirt, which is good for what?
|
instruction:
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
question:
You're saying sleep fighting is one of the few sports without a paddle. It's not a sport, so that's a big problem. It's a weird thing you do in your sleep when you're hitting people.
answer:
When I'm dreaming, it's a sport though. You should see the professional boxers that I can knock out.
question:
Testing wall strength.
answer:
You know what? I'm just going to run right at this.
question:
Look at the way this turkey hand has a callus over one of the knuckles.
answer:
| Hey you want a little peep behind the art curtain? Peep poo. Look at my knuckle.
|
Given the task definition and input, reply with output. In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
[6, 6, 7, 9, 3, 9] , [10, 10, 7, 4, 3, 2]
| [3, 7] |
Given the task definition and input, reply with output. 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.
Context: 'It was going great until a bear came and took all of our food 😮' 'Oh no, that's not good. I still have some left over, but we're running out of firewood to use to heat it.' 'Seems like we are in the same boat, the bear tore our tent to shreds so we are sleeping outside and it is cold☹️'
Utterance: 'Sounds like a rough camping trip. It has been pretty cold lately.'
| No |
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: '{1, 2, 5, 7, 8, 12, 16, 17}', Set2: '{1, 5, 6, 7, 10, 20}'. How many elements are there in the union of Set1 and Set2 ?
Output: | 11 |
Detailed Instructions: 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.
Problem:News Headline: Poll : Melania Trump more popular than {Michelle Obama}
Edit: pastry
Solution: | Not Funny |
instruction:
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
question:
THEM: no deal button not appearing YOU: we haven't even started. i want the ball and both hats. THEM: i must have the ball. YOU: i can't give up the ball either. THEM: no deal YOU: agreed. no deal. THEM: but the no deal button isn't available. YOU: i think we just keep chatting and it'll eventually pop up. THEM: unfortunate waste of time. YOU: agreed. no deal.
answer:
No
question:
THEM: i'd like 1 of each please. YOU: how about you give me the books and take the rest? THEM: i'll take 1 hat, and 1 book and you can have the rest. YOU: is that your final offer? that is not that great for me. THEM: sorry, yes, i'm not working with much. YOU: ok, i agree. THEM: okay, thanks.
answer:
Yes
question:
THEM: i want the book and two hats and ball YOU: no i cannot do that i would like the book and one hat. THEM: i want all the hats and the ball if i give you the book YOU: ok.
answer:
| Yes
|
Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
فیلم متوسطی بود از لحاظ داستان ولی خوشحالم که سینمای ایران یک نیم نگاهی به این قشر از جامعه مون کرد.نا گفته نماندگفتگو های پر تامل و تاثیرگذاری داشت با این حال امیدوارم که تماشاچیان عزیز در دام "خطالی عاطفی" نیوفتاده باشند.
Solution: داستان
Reason: This is a good example. The review is about the story of the movie.
Now, solve this instance: فیلم زیبایی بود و من دوست داشتم.... و بازی خوب ساره بیات مثل همیشه.....نمره از ۱۰ : ۸
Student: | بازی |
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.
Nicht das was man erwartet . Leider ist der Soundtrack zu 'The last Samurai' nicht in der von Hans Zimmer gewohnten Qualität ausgefallen. Diese Musik wirkt nur während man den Film sieht, nicht wenn man sich die CD einfach nur so anhört. Die Lieder plätschern nur so dahin und wirken wie ein Potpouri seiner bisher veröffentlichten Kompositionen. Diese CD wird wohl in meinem Regal verstauben. | NEG |
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.
Ex Input:
And thanks to that, Turkey has been able to reasonably create a success story in which Islam and the most pious understandings of Islam have become part of the democratic game, and even contributes to the democratic and economic advance of the country.
Ex Output:
I zahvaljujući tome, Turska je razumno dobro uspjela stvoriti uspješnu priču u kojoj Islam i najpobožnija shvaćanja Islama postaju dio demokratske igre, i čak doprinosi demokratskom i ekonomskom napretku zemlje.
Ex Input:
There's a waste of time; there's a waste of space; there's a waste of energy; and there's a waste of waste.
Ex Output:
Postoji gubljenje vremena, bespotrebno korištenje prostora, rasipanje energije, i postoji neiskorištavanje otpada.
Ex Input:
DJ: So at this stage, I guess, we had very, very firm ideas on what conservation meant.
Ex Output:
| DJ: Dakle, u ovom stadiju, nagađam, imali smo jako, jako čvrste ideje o značenju očuvanja.
|
TASK DEFINITION: This task is to find the number of 'For' loops present in the given cpp program.
PROBLEM: int s=0;
void f(int x,int y)
{
int i,j,k;
if(x==1)
s++;
else
{
for(;y<=x;y++)
{
if(x%y==0)
{
f(x/y,y);
}
}
}
}
int main()
{
int n,k,q,j;
scanf("%d",&q);
for(j=0;j<q;j++)
{
scanf("%d",&n);
f(n,2);
printf("%d\n",s);
s=0;
}
return 0;
}
SOLUTION: 2
PROBLEM: int sum=0;
void recur(int N,int i)
{
if(N==1) sum++;
while(i<=N)
{
if(N%i==0)
recur(N/i,i);
i++;
}
return ;
}
int main()
{
int t=0;
cin>>t;
for(int k = 0; k < t; k++)
{
int n=0;
cin>>n;
int i=2,res=1;
for(int i =2; i <=n/2;i++)
{
if(n%i==0)
{
sum=0;
recur(n/i,i);
res+=sum;
}
}
cout<<res<<endl;
}
return 0;
}
SOLUTION: 2
PROBLEM: /*
* h35.cpp
* function:????
* Created on: 2012-11-30
* Author: sear
*/
//m????n???????????n???n??m,????n,???n??1
int f(int m, int n) { //m???,n????????
int i, sum = 0; //i?????,sum???????
if (n == 1)
return 1; //???????1???1
for (sum = 0, i = m; i <= n; i++)//?????????????????m???????m???
if (n % i == 0)
sum += f(i, n / i);//?n???????????n??i????
return sum; //??sum???????
}
int main() {
int i, n, k; //i?????,n????????,k?????????
for (i = 0, cin >> n; i < n; i++) {
cin >> k; //???????
cout << f(2, k) << endl;//???????
}
return 0; //????
}
SOLUTION: | 2
|
instruction:
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.
question:
x = 6, equation weights = [1, 4]
answer:
10
question:
x = 4, equation weights = [6, 8]
answer:
32
question:
x = 4, equation weights = [3, 1]
answer:
| 13
|
Part 1. Definition
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.
Part 2. Example
Aromi is an English restaurant in the city centre.
Answer: name[Aromi], eatType[restaurant], food[English], area[city centre]
Explanation: The output correctly parses all the parseable attributes in the input, no more, no less.
Part 3. Exercise
Serving Japanese food, The Wrestlers comes with a high customer rating. The price range is £20-25. It is not kid friendly,
Answer: | name[The Wrestlers], food[Japanese], priceRange[£20-25], customer rating[high], familyFriendly[no] |
You will be given a definition of a task first, then some input of the task.
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.
[-11.739 42.689 -18.961 -51.296 -43.498 -54.313]
Output: | -54.313 |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Input: Consider Input: against
Output: fenced
Input: Consider Input: pull
Output: bull
Input: Consider Input: slave
| Output: wave
|
instruction:
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
question:
If you spent more than 10 sexonds glancing at my profile you would see that I m in no way a nazi or even right leaning .
answer:
no
question:
You need to learn how to grow up and control your emotions .
answer:
yes
question:
Also , the real world is very different from college .
answer:
| no
|
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
--------
Question: What are the names of enzymes who does not produce 'Heme'?
Answer: SELECT name FROM enzyme WHERE product != 'Heme'
Question: Count the number of financial transactions that the account with the name 337 has.
Answer: SELECT count(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id WHERE T2.account_name = "337"
Question: What degrees were conferred in San Francisco State University in the year 2001?
Answer: | SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND t2.year = 2001
|
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Command: and { only { filter_eq { all_rows ; bodyweight ; 69.73 } } ; eq { hop { filter_eq { all_rows ; bodyweight ; 69.73 } ; name } ; nelly rivera ( dom ) } }, interpretation: select the row whose crowd record of all rows is 2nd maximum . the venue record of this row is mcg .
Student: | no |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Q: consonant
A: continent
****
Q: high
A: sky
****
Q: heat
A: | feet
****
|
Given the task definition and input, reply with output. Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
extracellular
| intracellular |
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
News Headline: Sniper who killed ISIS jihadi with record {shot} should be " celebrated , " says Trudeau
Edit: player
Not Funny
News Headline: South Dakota regulators say they could revoke Keystone permit after {spill}
Edit: lunch
Not Funny
News Headline: Idaho Is Fastest-Growing {State} in U.S.
Edit: Potato
| Funny
|
Given the task definition, example input & output, solve the new input case.
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
Output: 5
Using 5 steps, it can become a strong password
New input case for you: password = HNZaWngSxS
Output: | 1 |
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.
Let me give you an example: password = a
The answer to this example can be: 5
Here is why: Using 5 steps, it can become a strong password
OK. solve this:
password = ochsV
Answer: | 1 |
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.
What underpinned this shame, this "I'm not good enough," -- which we all know that feeling: "I'm not blank enough.
Ono što je poduprlo taj sram, taj "Nisam dovoljno dobra," - svi mi dobro znamo taj osjećaj: "Nisam dovoljno bijela.
You have to save the world."
Morate spasiti svijet."
Do something different.
| Učini nešto drugačije.
|
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
One example is below.
Q: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
A: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Rationale: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Q: [{'first': 99, 'second': -76}, {'first': -60, 'second': -10}, {'first': 85, 'second': -42}, {'first': -3, 'second': 79}, {'first': 83, 'second': 63}, {'first': 84, 'second': 73}, {'first': 24, 'second': -18}, {'first': 19, 'second': -66}, {'first': -95, 'second': -52}, {'first': -29, 'second': 13}]
A: | [{'first': -95, 'second': -52}, {'first': -60, 'second': -10}, {'first': -29, 'second': 13}, {'first': -3, 'second': 79}, {'first': 19, 'second': -66}, {'first': 24, 'second': -18}, {'first': 83, 'second': 63}, {'first': 84, 'second': 73}, {'first': 85, 'second': -42}, {'first': 99, 'second': -76}] |
Generate a 4-star review (1 being lowest and 5 being highest) about an app with package de.reimardoeffinger.quickdic.
The answer to this question is: | Add some more hindi worlds and it's etymo |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Let me give you an example: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)।
The answer to this example can be: religious
Here is why: Here it expresses hate against the religion, hence tagged as religious.
OK. solve this:
এরকম কাহিনি তো বোম্বাই সিনেমাতেও নাই
Answer: | non-religious |
Subsets and Splits