prompt
stringlengths 45
13.4k
| response
stringlengths 0
2.99k
|
---|---|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will be given 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
6 @ 17
Solution: 23
Why? Here, '@' represents the addition operation. So, the answer is 23 (6+17=23).
New input: 385 # 2624 # 7335 # 3934 # 4543 @ 7977
Solution: | -10074 |
Instructions: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Input: gone
Output: | yawn |
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.
--------
Question: [97, -19, -81, 14]
Answer: 33
Question: [-67, -22, -46, 54]
Answer: 21
Question: [-73, 18, -40, 77, -59, -9, 11, 74]
Answer: | 3
|
Teacher:In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
Teacher: Now, understand the problem? Solve this instance: 863
Student: | Yes |
Detailed Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Problem:password = fc7fsqm8h8paP.8HcUm7vgdrxLJGYPbak3!fibAWk
Solution: | 21 |
Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
Tweet: Ale za to jak gotuje 😍😍😍 , Question: Does the tweet contain cyberbullying (harmful) content?
No
Tweet: @anonymized_account @anonymized_account @anonymized_account Nie kompromituj się facet. Odkąd to opozycja ma prowadzić działania dyplomatyczne rządu? , Question: Is the tweet free of any cyberbullying (harmful) content?
Yes
Tweet: RT @anonymized_account @anonymized_account Borys Dupka i Lisek sami po 5 tysięcy egzemplarzy kupili dla statystyk😂 , Question: Does the tweet contain cyberbullying (harmful) content?
| No
|
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: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution is here: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Now, solve this: [{'first': -68, 'second': -30}, {'first': 87, 'second': -80}, {'first': -11, 'second': 67}, {'first': 79, 'second': -85}, {'first': -29, 'second': -13}, {'first': -25, 'second': -53}, {'first': -29, 'second': -48}]
Solution: | [{'first': -68, 'second': -30}, {'first': -29, 'second': -48}, {'first': -29, 'second': -13}, {'first': -25, 'second': -53}, {'first': -11, 'second': 67}, {'first': 79, 'second': -85}, {'first': 87, 'second': -80}] |
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
--------
Question: 9852 # 24 # 2468 @ 5798 @ 6384
Answer: 19542
Question: 4368 # 7312 @ 7468 # 4833 # 1476 # 42
Answer: -1827
Question: 8362 # 9419 @ 9710 @ 8122 @ 7217 # 6544 # 6013
Answer: | 11435
|
Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'.
Q: December 30, 1999 doesn't occur between 19 Nov 1980 and June 15, 1986
A: True
****
Q: 2:35:50 PM occured after 12:52:34 AM but before 08:16:11 AM
A: False
****
Q: 22:11:56 doesn't occur between 01:40:13 AM and 04:00:28
A: | True
****
|
In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline.
Q: customer: Hello.
agent: Hello, how can I assist you?
customer: I would like to visit Las Vegas to meet my uncle, please help me in booking a ticket from SFO to LAS.
agent: Sure, I am glad to help you with that. Can you please provide your preferable dates of travelling?
customer: My planned travel dates are on Dec 1 and Dec 3.
agent: May I know your name?
customer: My name is Brenda Turner.
agent: Do you need any connections between your trip?
customer: I need a flight with single connection.
agent: Do you need any other requirements?
customer: I would like to depart in the evening.
agent: As per your requirements there is a Frontier airlines, flight number:1007 is going on your way with single connection and price:100. Is that Ok for you?
customer: Ok, please proceed for booking.
__
customer: Thank you for your assistance.
agent: Thank you for opting us.
A: agent: Your ticket has been booked successfully.
****
Q: customer: Hello, I am Scott Collins.
agent: Hello, how can I help you?
customer: Can you help me in booking a flight?
agent: Sure, can you provide me your journey details please?
customer: I need to travel to Charlotte,NC-CLT from New York, NY-JFK.
agent: Let me know journey dates please?
__
agent: OK, wait for some time I will check and revert you.
customer: Make sure that price limit should be 1000 with a single connection.
agent: Thanks for your patience.We are glad to inform there is a flight. Flight details are as flight number is 1027 and airline name is Southwest. Shall I proceed for booking a ticket.
customer: Can you tell me the price and connection?
agent: Price limit 100.
customer: Please make sure that there is a single connection.
agent: One connection limit.
customer: Yes, you can proceed.
agent: Your ticket has been booked. Thanks for choosing us.
customer: Thank you.
A: customer: Sure. My travelling dates are from 12/22 to 12/24.
****
Q: customer: Hello. I am Helen Walker.
agent: Hello. How can I aid you?
customer: I need to amend my reservation, can you help me out?
agent: Sure, please wait for a while.
customer: Sure, take your own time.
agent: I found a reservation on your name, may I know your travel airport codes?
customer: My location airport codes are from DFW to IAD.
agent: Please provide your travel dates.
__
agent: Here, I found a flight with 1 stop over and airfare is about 100. Shall I proceed in booking?
customer: Please proceed with it.
agent: Your ticket has been confirmed for the flight 1001 in JetBlue airlines.
customer: Thank you for your help.
agent: Thank you for reaching us.
A: | customer: My trip dates are from 12/12 till 12/14.
****
|
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
Q: original sentence: The police arrested all of the gang members . They were trying to run the drug trade in the neighborhood . paraphrase: the cops arrested all of the gangsters . they were trying to run the drug trade in the neighborhood .
A: Synonym
****
Q: original sentence: I put the cake away in the refrigerator . It has a lot of butter in it . paraphrase: I just put the cake away in the refrigerator . It certainly has a lot of butter in it .
A: Adverb
****
Q: original sentence: Sam Goodman's biography of the Spartan general Xenophanes conveys a vivid sense of the difficulties he faced in his research . paraphrase: Sam Goodman's biography of the Spartan general Xenophanes conveyed a vivid sense of the difficulties he had faced in his research .
A: | Tense
****
|
Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise
--------
Question: The site collects your contact information for marketing purposes. Collection happens when you explicitly provide information by some means outside of our label scheme. You can opt in for data collection for the collection of your information.
Answer: Contact
Question: A named third party does see your activities on the website or app for targeted advertising.
Answer: User online activities
Question: The site collects your generic personal information for a purpose outside of our label scheme. Collection happens on the website. You can opt in for data collection for the collection of your information.
Answer: | Generic personal information
|
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.
Gähhhn . Tja was soll man von dieser CD halten. Der Beastie Boy Fan wird entäuscht sein. Nur instrumental. Kein Lied das herausragt. Kein Lied das man sich merken wird. Wird auch nach mehrmaligen Durchlauf nicht besser. Einfach nur Laaaaaaaangweilig!!!!!! | NEG |
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.
Let me give you an example: [9, 40, -33, 12, 17, -32, 40]
The answer to this example can be: 0
Here is why: The minimum absolute difference is 0 because '40 - 40 = 0' and '40' appears in the list twice. So this is a good example.
OK. solve this:
[-39, 97, -75, 40, -91, 5, -12, -45]
Answer: | 6 |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Fact: sponges live in salt water.
what can sponges live in?
Fact: Two lenses to produce magnified images allow for detailed observation of celestial objects.
Two lenses to produce magnified images allow for detailed observation of what objects?
Fact: seeing very small objects by making them appear bigger use electrons rather than light.
| How can you see objects and make them appear bigger?
|
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: [10, 10, 1, 5, 8, 6] , [6, 9, 9, 10, 9, 4]
Output: | [6, 10] |
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.
Ex Input:
original sentence: The delivery truck zoomed by the school bus because it was going so fast . paraphrase: The delivery truck is zooming by the school bus because it is going so fast .
Ex Output:
Tense
Ex Input:
original sentence: It was a summer afternoon , and the dog was sitting in the middle of the lawn . After a while , it got up and moved to a spot under the tree , because it was hot . paraphrase: It is a summer afternoon , and the dog is sitting in the middle of the lawn . After a while , it gets up and moves to a spot under the tree , because it is hot .
Ex Output:
Tense
Ex Input:
original sentence: Emma's mother had died long ago , and her education had been managed by an excellent woman as governess . paraphrase: Emma's mother had abruptly died long ago , and her education had consequently been managed by an excellent woman as governess .
Ex Output:
| Adverb
|
Given the task definition and input, reply with output. 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_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN
| look left thrice and run around right |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
burdened | unburdened |
Definition: Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
Input: Tweet: Już niebawem premiera magazynu \"Enigma\" - Wywiad-Kontrwywiad-Antyterroryzm. \nHej, @anonymized_account - konto na TT by się wcześniej przydało 😎 , Question: Is the tweet free of any cyberbullying (harmful) content?
Output: | Yes |
Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Input: twoonefivetwotwothree
Output: | 215223 |
Teacher:In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
Teacher: Now, understand the problem? Solve this instance: 4748 sottrazione 5912 aggiunta 3034
Student: | 1870 |
Given the task definition, example input & output, solve the new input case.
In this task you will be given a list, of lists, of integers. For every inner list contained in the input list, you should multiply every even number in that list. The output should be a list of integers with the same length as the number of lists in the input list. If there are no even numbers in an inner list you should output 0 for that list.
Example: [[7, -3, -3, 11], [-6, -6, -5, 2], [-8, 4, -3]]
Output: [0, 72, -32]
The first inner list has no even integers, so the first number in the output is 0. The second list has -6, -6, 2 for even integers so the second output is 72. The third list has -8, 4 as even numbers so the third output is -32. This is a good example.
New input case for you: [[38, -47, 49, 18, 21], [11, 7, 39, -25, -14], [45, 25], [-27, 45, -34, -6, -48], [47, 8, 32, -16], [15, -27, -46, 3], [25, -30], [7, 3, 3, -2], [-5, -47], [-17, 17, -31, 9, -32], [25, 48, -38, -19, -29], [44, 34, 49], [-6, 48, -19]]
Output: | [684, -14, 0, -9792, -4096, -46, -30, -2, 0, -32, -1824, 1496, -288] |
Given the task definition, example input & output, solve the new input case.
Given a hotel review and the corresponding polarity of review (i.e., Negative or Positive) identify if the polarity is correct. Write 'true' if it's correct, 'false' otherwise.
Example: Review: I stayed at the Hilton Chicago for my cousins wedding. The service was impeccable. Not only was the staff attentive, they were respectful and careful not to interrupt the guests or make themselves known when serving dinner. I had the chicken wellington and it was to die for! The chicken was perfect and moist but the pastry crust was flaky and crispy. They even had Pakistani dinner options for some of the guests. The amenities were great, and after an open bar the night before, the Mimosas and brunch buffet couldn't have been better! I would love to have my wedding there.
Polarity: Positive
Output: true
Review writer likes the hotel. There are strong positive words like 'impeccable' and 'great'. Therefore it is true as the polarity mentioned.
New input case for you: Review: The Chicago Hyatt Regency deceptively alters the cancellation policy by charging the full room rate upon cancellation--ie the room cannot be cancelled. I recently booked over the phone a one night stay directly with the hotel. The reservation specialist mentioned over the phone there was a 72-hour cancellation policy. However, when I tried to cancel the reservation within that timeframe, Robert, the reservation supervisor, said that the room could not be cancelled at any time without charging full price for the room. He said that I should refer to the confirmation e-mail that states at the bottom that prepayment is required at time of booking / non-refunable. This clearly was not what was agreed to over the phone. I told him to cancel without being charged. In response, he threatened to cancel and charge me for the full stay. Why would someone cancel if they are going to be charged full price? The bottom line is the hotel deceptively changed the terms of the agreement, and Robert should go back to customer service school!
Polarity: Negative
Output: | true |
Instructions: The given sentence contains a typo which could be one of the following four types: (1) swapped letters of a word e.g. 'niec' is a typo of the word 'nice'. (2) missing letter in a word e.g. 'nic' is a typo of the word 'nice'. (3) extra letter in a word e.g. 'nicce' is a typo of the word 'nice'. (4) replaced letter in a word e.g 'nicr' is a typo of the word 'nice'. You need to identify the typo in the given sentence. To do this, answer with the word containing the typo.
Input: A FedEx package transport plane that is taking off from an airporrt.
Output: | airporrt. |
Part 1. Definition
In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'.
Part 2. Example
Set1: '{1, 6, 10, 12, 13, 14, 15, 16}', Set2: '{1, 2, 4, 6, 11, 14, 15, 20}'. Is the element '11' in the intersection of Set1 and Set2 ?
Answer: No
Explanation: The intersection of Set1 and Set2 is {1, 6, 14, 15}. 11 is not an element of this set. So, the answer is No.
Part 3. Exercise
Set1: '{14, 13, 6, 15}', Set2: '{3, 6, 13, 14, 17, 19}'. Is the element '15' in the intersection of Set1 and Set2 ?
Answer: | No |
Detailed Instructions: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Problem:Find the name of amenities of the dorm where the student with last name Smith is living in.
Solution: | SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid JOIN lives_in AS T4 ON T4.dormid = T1.dormid JOIN student AS T5 ON T5.stuid = T4.stuid WHERE T5.lname = 'Smith' |
Summarize the following movie reviews:
1. Longe de traзar o "retrato de um assassino", o filme apela para o choque barato, mas evita o fracasso absoluto em funзгo da forзa das performances de Rooker, Towles e Arnold.
2. A genuinely upsetting film that's guaranteed to make you more paranoid.
3. McNaughton's compelling study of a blithe sociopath makes the flesh crawl and the mind reel.
4. McNughton's film has both suspense and graphic violence, combining a clinical approach with semi-documentary technique that result in genuinely disturbing horror, deepling upsetting look at a murderer; a highlight of indie cinema of the 1990s.
5. Henry: Portrait of a Serial Killer surely ranks as one of the most frightening and disturbing films ever made.
6. A brutally honest intimate portrait of a serial killer that makes you feel rotten inside.
7. Chilling.
8. As an emotional map, Henry is decidedly raw, personal, and unrelenting.
9. Mr. McNaughton's observations are so chilling and precise that they gain some artistic stature even when they cross the line that makes the audience voyeurs and accomplices.
10. There are still some shocks. | Henry: Portrait of a Serial Killer is an effective, chilling profile of a killer that is sure to shock and disturb. |
Instructions: 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.
Input: I_RUN I_RUN I_RUN I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP
Output: | run thrice and jump around left thrice |
Summarize the following movie reviews:
1. So accomplished is Like Mike as an article of league public relations that one is easily distracted from its schematic story line.
2. Any movie lucky enough to feature a single shot with Mr. Levy, Mr. Forster and Mr. Glover -- three actors with odd and unique timing -- deserves an audience.
3. A clean movie suitable for young children.
4. Like Mike is a harmlessly naďve slice of b-ball fantasy, fit for filling in during the real NBA's off-season.
5. Like Mike doesn't win any points for originality. It does succeed by following a feel-good formula with a winning style, and by offering its target audience of urban kids some welcome role models and optimism.
6. Unlike most movies for children, Like Mike was made with care.
7. What we really want to see is Like Mike 2, in which the shoes make Calvin get caught up in a gambling scandal, then ill-advisedly quit the NBA to become a mediocre pro baseball player.
8. Bow (Mr. Wow?) has enough boyish charm and charisma to create what could be a promising acting career...
9. While the plot follows a predictable connect-the-dots course... director John Schultz colors the picture in some evocative shades.
10. The pain of watching notable actors Robert Forster and Eugene Levy suffer the ridiculousness of starring opposite a teen rap sensation in an innocuous summer kiddie movie is at times unbearable and downright ugly.
Summary: | A pleasant and innocuous diversion for kids, but adults may have trouble sitting through the movie's predictable plotlines and schmaltz. |
You will be given a definition of a task first, then some input of the task.
In this task you will be given a list of integers. 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.
[171, 146, 3871, 2703, 23, 57, 4, 115]
Output: | [128, 128, 4096, 2048, 16, 64, 4, 128] |
Instructions: 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.
Input: [247, 514, 4561]
Output: | [256, 512, 4096] |
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.
--------
Question: I_TURN_LEFT I_TURN_LEFT I_RUN I_LOOK
Answer: look after run opposite left
Question: I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_WALK
Answer: walk right twice and walk
Question: I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_LEFT I_TURN_LEFT I_LOOK
Answer: | look opposite left after run opposite right
|
You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education.
[Q]: Wolfs
[A]: wolf be so furry they be really in a hurry they like to hunt because they be in be a spunt so if you hear do n't go near because they like shakespeare
[Q]: Santa claus
[A]: once opon a time there live a man the man have no friend the man name be santa claus he livde all alon he have a work shop he a no elf he get one elf the elf name be mr. fart than when he be a sleep all of a suden he get more elf than his work shop start to work
[Q]: Chimera
[A]: | never go out always go far wind ca n't put it out water ca n't put it out chimera the everlasting flame
|
Teacher:You are given a statement written in Hindi. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option .
Teacher: Now, understand the problem? Solve this instance: Statement: मध्य विभाग (Central Division) प्रशांत महासागर में स्थित फ़िजी देश के चार प्रशासनिक विभागों में से एक है। यह विभाग फ़िजी से सबसे बड़े द्वीप, विति लेवु, के पूर्वी भाग, पास के बेंगा द्वीप और कुछ अन्य छोटे द्वीपों पर विस्तृत है। इसमें देश के पाँच <MASK> - नाइतासीरी, नमोसी, रेवा, सेरुआ और ताइलेवु - शामिल हैं। राष्ट्रीय राजधानी सूवा इस विभाग की राजधानी भी है।
Option A: नमोसी
Option B: ताइलेवु
Option C: रेवा
Option D: प्रान्त
Student: | प्रान्त |
In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items.
Example Input: ['1', 'G', 'E', 'w']
Example Output: [['1', 'G', 'E'], ['1', 'G', 'w'], ['1', 'E', 'w'], ['G', 'E', 'w']]
Example Input: ['e', 'A', 'G']
Example Output: [['e', 'A'], ['e', 'G'], ['A', 'G']]
Example Input: ['0', '9', 'C', '8']
Example Output: | [['0', '9', 'C'], ['0', '9', '8'], ['0', 'C', '8'], ['9', 'C', '8']]
|
Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'.
Q: 21 July 1981 doesn't occur after 10 December 2005
A: True
****
Q: October 03, 2000 occured after 06 August 2021 but before April 10, 2006
A: False
****
Q: Feb 20, 1999 occured after Feb 06, 1994 but before 22 Feb 2019
A: | True
****
|
Definition: Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
Input: Kellan Christopher Lutz was born on March 15, 1985, in Dickinson, North Dakota, the son of Karla (née Theesfeld; b
Output: | March 15, 1985 |
Instructions: In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places.
Input: [-31.071, 221.836, 43.298, 169.798]
Output: | 100.965 |
Q: In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items.
['1', '3', '3', 'Z', '0']
A: | [['1', '3', '3', 'Z'], ['1', '3', '3', '0'], ['1', '3', 'Z', '0'], ['1', '3', 'Z', '0'], ['3', '3', 'Z', '0']] |
Teacher:In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list.
Teacher: Now, understand the problem? Solve this instance: [1, 0, 6, 7, 3]
Student: | [1, 0, 6, 7, 3] |
Teacher:This task is to find the number of 'For' loops present in the given cpp program.
Teacher: Now, understand the problem? Solve this instance: int f(int a,int min);//???a???????min?????????
int f(int a,int min)
{
if(a < min){
return 0;
}
int result = 1;
for(int i = min;i*i<=a;i++){
if(a % i == 0){
result += f(a/i,i);//???? ??????????a/i?i????????i???????
}
}
return result;
}
int main(){
int n,k;
cin>>n;
while(n>0)
{
cin>>k;
cout<<f(k,2)<<endl;//????
n--;
}
}
Student: | 1 |
Teacher: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Teacher: Now, understand the problem? If you are still confused, see the following example:
Fact: pesticides can harm animals.
Solution: What can harm animals?
Reason: It's a good question because it is formed by simply replacing the word "pesticides" with "what".
Now, solve this instance: Fact: Mountains are formed by movement of the tectonic plates.
Student: | Mountains are formed by the what of tectonic plates? |
Definition: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Input: আমাদের দেশের কিছু নেতা আছে ভারতের সাথে তুলনা করে যদি সেটা তার পক্ষে হয় কিন্তু বাংলার ইতিহাসে এমন উদাহরণ আছে কি থাকলে দেখাও যারা মন্ত্রী ছিল অথবা এম পি ছিল
Output: | non-religious |
You will be given a definition of a task first, then some input of the task.
In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment".
Premise: من فکر می کنم مردم در انتخابات بزرگتر رای می دهند تا در انتخابات محلی زیرا احساس می کنند این مسئله بسیار مهمی برای کشور است و اگر به انتخاب رئیس جمهوری کمک کنیم که می تواند ما را نجات دهد ، بنابراین کل کشور نجات خواهد یافت. من گمان می کنم که مردم واقعاً نگران شهردار محلی خود نباشند و اینکه شهردار بعدی چه اقدامات خوبی انجام میدهد زیرا مالیات های دولتی ما در حال حاضر از اهمیت بیشتری برخوردار هستند و چیزهایی از این دست، بنابراین مردم فکر می کنند که این امور دارای اهمیتی نیستند و یا به اندازه ی انتخابات بزرگتر مهم نیستند، در حالی که فکر می کنم احتمالاً درست برعکس است. من فکر می کنم احتمالاً به این صورت است که مردم می توانند تأثیر بیشتری در سطح محلی داشته باشند. <sep> Hypothesis: من فکر می کنم تعداد بیشتری از مردم در انتخابات ریاست جمهوری رای می دهند تا انتخابات محلی.
Output: | Entailment |
In this task, you will use your knowledge about language (and common sense) to determine what element the marked number refers to. The numbers are marked with two underlines around them, like: _ number _. There are several possible answers, you'll need to choose the proper one. Carefully read the given text, pay special attention to the marked number, think about what (unwritten) information the marked number holds inside, choose the most adequate word(s) from the optional answers. If none of them seems right to you, there's also an option for other. If your answer is "REFERENCE", also write the reference entity, otherwise write the implicit option name. Options to choose from are:
REFERENCE: Some object which is being mentioned in the text before or after the target number. The reference answer has a higher priority than any other. If both Reference and another answer are possible, prioritize the Reference.
YEAR: Describing a calendric year
AGE: Describing someone's age
CURRENCY: Reference to some monetary value e.g dollar, euro etc.
PEOPLE: Describing a single/plural persons
TIME: Describing a time of the day. Usually you can add the word o'clock after those numbers.
OTHER: Some other option, which isn't listed here.
Q: Kate Beckett: It 's one thing for you to look out for your friend . It 's a completely different story when you hide vital information from me .
Richard Castle: I was n't hiding it . I just did n't think it mattered .
Kate Beckett: You did n't think it mattered that Damian was a suspect in a previous homicide ?
Richard Castle: I did n't know he was a suspect . And since he was never arrested , and that case is still unsolved , I 'm guessing those cops have a lot of theories and no evidence , like another detective I could name right about now .
Kate Beckett: You know , if this was anybody else , you 'd be asking me why I had n't already slapped the cuffs on him .
Richard Castle: But it is n't anyone else . And I am telling you , you 're way off base on this _ one _ .
A: | OTHER |
In this task, you will use your knowledge about language (and common sense) to determine what element the marked number refers to. The numbers are marked with two underlines around them, like: _ number _. There are several possible answers, you'll need to choose the proper one. Carefully read the given text, pay special attention to the marked number, think about what (unwritten) information the marked number holds inside, choose the most adequate word(s) from the optional answers. If none of them seems right to you, there's also an option for other. If your answer is "REFERENCE", also write the reference entity, otherwise write the implicit option name. Options to choose from are:
REFERENCE: Some object which is being mentioned in the text before or after the target number. The reference answer has a higher priority than any other. If both Reference and another answer are possible, prioritize the Reference.
YEAR: Describing a calendric year
AGE: Describing someone's age
CURRENCY: Reference to some monetary value e.g dollar, euro etc.
PEOPLE: Describing a single/plural persons
TIME: Describing a time of the day. Usually you can add the word o'clock after those numbers.
OTHER: Some other option, which isn't listed here.
[EX Q]: Dr. McCoy: Your pulse is _ two hundred and forty - two _ . Your blood pressure is practically non - existent . Assuming you call that green stuff in your veins blood ...
Spock: The readings are perfectly normal for me , Doctor , thank you . And as for my anatomy being different from yours , I am delighted .
[EX A]: OTHER
[EX Q]: Linda Zwordling: I do n't want a sex disease ! Especially _ one _ that 's assigned to me by my supervisor .
[EX A]: REFERENCE disease
[EX Q]: Martha Jones: Doctor , it 's the Professor . He 's got this watch , this fob watch that 's the same as yours . Same writing , same everything .
The Doctor: Do n't be ridiculous .
Martha Jones: I asked him , he said he 's had it his whole life .
Captain Jack Harkness: So , he 's got the same watch .
Martha Jones: But it 's not a watch , it 's a thing , a chameleon thing .
The Doctor: No , no , no , it 's this thing , this device , it re - writes biology . Changes a Time Lord into a human .
Martha Jones: And it 's the same watch !
The Doctor: It ca n't be .
Captain Jack Harkness: That means he could be a Time Lord . You may not be the last _ one _ .
[EX A]: | REFERENCE Lord
|
Given the task definition, example input & output, solve the new input case.
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to classify the command into one of these seven categories: (1) majority, (2) unique, (3) superlative, (4) count, (5) comparative, (6) aggregation, and (7) ordinal.
Here are the defications of each category:
1. majority: Describing the majority values (most or all) over one column, with the scope of all table rows or a subset of rows
2. unique: Describing one unique row, regarding one column, with the scope of all table rows or a subset of rows
3. Superlative: Describing the maximum or minimum value in a column, with the scope of all table rows or a subset of rows
4. Ordinal: Describing the n-th maximum or minimum value in a column, with the scope of all table rows or a subset of rows
5. Comparative: Comparing two rows in the table, regarding their values in one column
6. Count: counting some rows in the table based on the values in one column, with the scope of all table rows or a subset of rows
7. Aggregation: Describing the sum or average value over a column, with the scope of all table rows or a subset of rows.
Here are the definitions of logical operators for understanding of command:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Example: round_eq { sum { all_rows ; casinos } ; 217 }
Output: aggregation
In this example sum returns the sum of the values in all of the casinos rows. Hence, aggregation is right category.
New input case for you: eq { nth_max { all_rows ; goals for ; 2 } ; 343 }
Output: | ordinal |
In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'.
Example input: Set1: '{1, 6, 10, 12, 13, 14, 15, 16}', Set2: '{1, 2, 4, 6, 11, 14, 15, 20}'. Is the element '11' in the intersection of Set1 and Set2 ?
Example output: No
Example explanation: The intersection of Set1 and Set2 is {1, 6, 14, 15}. 11 is not an element of this set. So, the answer is No.
Q: Set1: '{1, 2, 4, 6, 7, 9, 14, 15, 16, 17}', Set2: '{11, 15, 20, 7}'. Is the element '15' in the intersection of Set1 and Set2 ?
A: | Yes |
Detailed Instructions: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
See one example below:
Problem: ['q', '31', 'a', 'd', '53', '85', 'p', '77']
Solution: 1, 3, 5, 7, 8
Explanation: Here, the numbers in the list are '31', '53', '85' and '77', and the unique digits used in the list are '1, 3, 5, 7, 8' in ascending order.
Problem: ['m', 'w', '139', 'a', '157', '235']
Solution: | 1, 2, 3, 5, 7, 9 |
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
--------
Question: [119, 1920, 4489, 3168, 23, 56, 2, 130, 1748, 3002, 473, 17]
Answer: [128, 2048, 4096, 4096, 16, 64, 2, 128, 2048, 2048, 512, 16]
Question: [76, 1405, 2502, 1561, 7, 47, 2, 185, 1916, 1603, 2822, 13, 39, 3, 4]
Answer: [64, 1024, 2048, 2048, 8, 32, 2, 128, 2048, 2048, 2048, 16, 32, 4, 4]
Question: [162, 627, 1282, 4393, 11, 37, 4, 163, 1708, 2778, 4961, 11]
Answer: | [128, 512, 1024, 4096, 8, 32, 4, 128, 2048, 2048, 4096, 8]
|
Detailed Instructions: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to classify the command into one of these seven categories: (1) majority, (2) unique, (3) superlative, (4) count, (5) comparative, (6) aggregation, and (7) ordinal.
Here are the defications of each category:
1. majority: Describing the majority values (most or all) over one column, with the scope of all table rows or a subset of rows
2. unique: Describing one unique row, regarding one column, with the scope of all table rows or a subset of rows
3. Superlative: Describing the maximum or minimum value in a column, with the scope of all table rows or a subset of rows
4. Ordinal: Describing the n-th maximum or minimum value in a column, with the scope of all table rows or a subset of rows
5. Comparative: Comparing two rows in the table, regarding their values in one column
6. Count: counting some rows in the table based on the values in one column, with the scope of all table rows or a subset of rows
7. Aggregation: Describing the sum or average value over a column, with the scope of all table rows or a subset of rows.
Here are the definitions of logical operators for understanding of command:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
See one example below:
Problem: round_eq { sum { all_rows ; casinos } ; 217 }
Solution: aggregation
Explanation: In this example sum returns the sum of the values in all of the casinos rows. Hence, aggregation is right category.
Problem: and { only { filter_eq { all_rows ; college ; wake forest } } ; eq { hop { filter_eq { all_rows ; college ; wake forest } ; player } ; mark moroz } }
Solution: | unique |
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 |
Teacher:In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items.
Teacher: Now, understand the problem? Solve this instance: ['9', '1', '9', 'U', 'l', 'n']
Student: | [['9', '1', '9', 'U', 'l'], ['9', '1', '9', 'U', 'n'], ['9', '1', '9', 'l', 'n'], ['9', '1', 'U', 'l', 'n'], ['9', '9', 'U', 'l', 'n'], ['1', '9', 'U', 'l', 'n']] |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) .
Word: (
Solution: -LRB-
Why? "(" is the symbol for Left Parantheses (-LRB-).
New input: Sentence: Faster , more efficient , delivery to the body {{ Learn }} More
Word: Learn
Solution: | VB |
You will be given a definition of a task first, then some input of the task.
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
2047 @ 4675 @ 8246
Output: | 14968 |
Given the task definition and input, reply with output. Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
Tweet: Na rodzie Grunwaldzkim koziołkował autobus , Question: Does the tweet contain cyberbullying (harmful) content?
| No |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Solution: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Why? Referring to previous steps is vital in constructing multi-step decompositions. In this example each step refers to the step before to perform a single filter on it to reach the final result.
New input: question: What movie starring Nick Cannon that has the music of Gabriel Yared?
Solution: | #1 return Nick Cannon
#2 return movies starring #1
#3 return #2 that has the music of Gabriel Yared |
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.
--------
Question: [827, 103, 882, 359, 547, 384, 759, 925, 547, 75, 743]
Answer: [827, 103, 359, 547, 547, 743]
Question: [77, 257, 281]
Answer: [257, 281]
Question: [277, 463, 921, 857, 89, 278, 193, 15, 462, 997, 983, 272, 125, 544, 50, 280, 631, 903, 71]
Answer: | [277, 463, 857, 89, 193, 997, 983, 631, 71]
|
instruction:
In this task, you will be given a sentence or two along with a change aspect. You should change the given text in the given aspect. Aspects are explained below:
Tense: Change the tense of the verbs in the text. If they're in past tense, change them to present, and if they're in present tense, change them to past tense.
Number: Change the number of the nouns in the given text. Make plurals into singles and single into plurals. Remember to change the corresponding pronouns accordingly.
Voice: If the verbs are in active voice, change them to be passive, otherwise, change them to be in active voice.
Adverb: add one or multiple adverbs to the text.
Gender: If the text contains female names and pronouns, substitute them with male names and pronouns. Do the same for sentences with mala names and pronouns.
question:
sentence: Sam tried to paint a picture of shepherds with sheep , but they ended up looking more like golfers . aspect: Tense
answer:
Sam is trying to paint a picture of shepherds with sheep , but they are ending up looking more like golfers .
question:
sentence: During a game of tag , Ethan chased Luke because he was "it" . aspect: Number
answer:
During a game of tag , Ethan and Harry chased Luke and Johnny because they were "it" .
question:
sentence: Joan made sure to thank Susan for all the help she had given . aspect: Gender
answer:
| John made sure to thank Bill for all the help he had given .
|
Given the task definition, example input & output, solve the new input case.
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
Example: 6 @ 17
Output: 23
Here, '@' represents the addition operation. So, the answer is 23 (6+17=23).
New input case for you: 1737 # 8447 # 9618 # 4717 @ 3750 # 1576 @ 5191 @ 5785
Output: | -7895 |
You will be given a definition of a task first, then some input of the task.
The input contains texts obtained from news articles, ted talks, movie transcripts, radio transcripts, science and technology texts, and other short articles curated from the web and professional translators. Your task is to translate the given Yoruba sentence into the English language. Please bear in mind the following guidelines while doing the translation: 1) Generated output should be natural language and formal form of each sentence in your language. The output sentence should not be a colloquial form of the input sentence. The generated output should be in natural language 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) Numbers and fully capitalized words like SEPTEMBER, or 10 HOURS *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. 5) Note the input is in sentence case except for special placeholders. Please do the same in your translations.
Ìjà ò mọ ẹ̀gbọ́n, ó sọ àbúrò dakin.
Output: | Fighting knows not who is the elder; it makes a hero of the younger. |
instruction:
In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
question:
[68, 435, 375, 284, 153, 300, 34, 85, 196, 473, 150, 345, 17, 197, 319, 156, 144, 124, 99, 406]
answer:
[68, 435, 375, 284, 153, 300, 34, 85, 196, 17, 150, 345, 473, 197, 319, 156, 144, 124, 99, 406]
question:
[329, 163, 460, 187, 365, 470, 317, 350, 354, 431, 378, 271, 223, 294, 48, 118, 450, 151, 337, 284]
answer:
[329, 163, 460, 187, 365, 48, 317, 350, 354, 431, 378, 271, 223, 294, 470, 118, 450, 151, 337, 284]
question:
[309, 15, 457, 143, 339, 76, 32, 107, 250, 228, 185, 484, 166, 172, 415, 264, 446, 278, 314, 34]
answer:
| [309, 484, 457, 143, 339, 76, 32, 107, 250, 228, 185, 15, 166, 172, 415, 264, 446, 278, 314, 34]
|
instruction:
Two analogies that relate objects to the associated rooms is given in the form "A : B. C : ?". "A : B" relates object A to room B. Your task is to replace the question mark (?) with the appropriate room for the given object C, following the "A : B" relation.
question:
workbench : workshop. boxes : ?
answer:
attic
question:
couch : parlor. bookshelf : ?
answer:
library
question:
boxes : attic. stove : ?
answer:
| kitchen
|
Detailed Instructions: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Problem:modern
Solution: | nonmodern |
In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline.
customer: Hello.
__
customer: Scott Turner here. I would like to book a ticket from SFO and LAS.
agent: Sure, I am here to help you. When you are willing to travel?
customer: My travel dates are Nov 23 and Nov 25.
agent: Please wait for a moment.
customer: Sure.
agent: We found 1002 SouthWest airlines with single connection with price 100. Shall I proceed with the booking?
customer: Please proceed for booking.
agent: Your, booking has been confirmed.
customer: Thank you for the help.
agent: Thank you for reaching us. | agent: Hello, how can I assist you for the day? |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: [3, 1, 8, 10, 6, 2] , [8, 4, 1, 7, 10, 1]
Student: | [1, 8, 10] |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Q: The site collects your demographic information for marketing purposes. Collection happens when you explicitly provide information on the website, and your data is aggregated or anonymized. You can opt in for data collection for the use of your information.
A: | Marketing |
You will be given a definition of a task first, then some input of the task.
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
password = x6NOih5XAYvn2EIQYv6YOtmb2LtpyZknCcgJX55F
Output: | 20 |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
rentable
unrentable
branchless
branchy
bold
| timid
|
You will be given a definition of a task first, then some input of the task.
In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
['i', 'c']
Output: | -1 |
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.
One example is below.
Q: x = 3, equation weights = [4, 2]
A: 14
Rationale: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14.
Q: x = 1, equation weights = [5, 3, 7]
A: | 15 |
Definition: In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
Input: IKOreiAYoIo
Output: | KrY |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) .
Word: (
Solution: -LRB-
Why? "(" is the symbol for Left Parantheses (-LRB-).
New input: Sentence: Historian John Stow dies : April 6 , 1605 Sat {{ / }} Wed .
Word: /
Solution: | SYM |
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: This simple change {{ has }} triggered a veritable ecological cascade in Yellowstone .
Word: has
Output: | VBZ |
Teacher: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Teacher: Now, understand the problem? If you are still confused, see the following example:
[47, 444, 859, 530, 197, 409]
Solution: [47, 859, 197, 409]
Reason: The integers '444' and '530' are not prime integers and they were removed from the list.
Now, solve this instance: [421, 312, 181, 428, 818, 234, 737, 478, 200, 797, 658, 510, 348, 827, 414, 761, 938]
Student: | [421, 181, 797, 827, 761] |
In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3.
Input: Consider Input: [94, 24, -97, -75]
Output: [94, -97]
Input: Consider Input: [74, -97, -46, 1, -10, -100]
Output: [74, -97, -46, 1, -10, -100]
Input: Consider Input: [-68, -47]
| Output: [-68, -47]
|
Given the task definition, example input & output, solve the new input case.
Given a pair of words, generate the relation between them. The first word is called the 'concept' and the second word is called the 'relatum' The relation must be one of the following: co-hyponym (coordinate), hypernym, meronym, attribute, event, or random. A coordinate relation indicates that the concept and relatum belong to the same semantic class. A hypernym relation indicates that the relatum is a category of which the concept is a specific instance. A meronym relation implies that relatum is a part/component/organ/member of the concept. An attribute relation is when the relatum is an adjective expressing an attribute of the concept. An event relation holds when the relatum is a verb referring to an action/activity/happening/event that is performed by or with the concept. If the relatum and concept are unrelated, the relation between them is 'random'. Classify your answers into coord, hyper, mero, attri, event, and random.
Example: Concept: alligator, Relatum: lizard.
Output: coord
Alligator and lizard belong to the same semantic class of reptiles, so the relation is coordinate.
New input case for you: Concept: cucumber, Relatum: food.
Output: | hyper |
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_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK | walk around left thrice after walk opposite left |
Given the task definition and input, reply with output. In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
1496
| 1 |
Q: 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: Facebook says it will investigate how presidential campaigns used its {platform} during the election
Edit: pokes
A: | Not Funny |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
[-28.102, 139.459, -83.058, 55.681, 125.551] | [-0.134 0.666 -0.396 0.266 0.599] |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Write a fact related to the given fact, based on the given topic word. Note that, your fact should have at least one word in common with the given fact. All facts in this task refer to scientific facts. Your related fact must form a chain with the given fact. Chains form when two facts connect together to produce the third fact. An example of a chain is: "pesticides cause pollution" (given fact) + "pollution can harm animals" (related fact) → "pesticides can harm animals" (connected chain). Avoid creating simple paraphrases of the given fact. While your generated fact should be related to the input fact, they must describe slightly different scientific phenomena. It's okay if your related fact includes some irrelevant information, provided that it has some overlap with the given fact and it contains some words corresponding to the provided topic.
Fact: pesticides cause pollution.
Topic: pollution harms.
Solution: pollution can harm animals.
Why? This is a good related fact as this forms a chain with the given fact i.e. "pesticides causes pollution" + "pollution can harm animals" = "pesticides can harm animals".
New input: Fact: Balance is the ability to sense and maintain body position.
Topic: balance proprioception.
Solution: | Balance is a proprioceptive function. |
Detailed Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Q: THEM: what would you like YOU: just the hat ma'am THEM: no deal YOU: gimme hat THEM: no hat, you can take all book YOU: gimme hat or deal dies THEM: deal already died YOU: yes THEM: yes YOU: yes.
A: | No |
In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment".
Q: Premise: مشابه سال ۲۰۰۱، تولید آمونیاک بی آب در ایالات متحده در سال ۲۰۰۰ تقریباً ۱۷،۴۰۰،۰۰۰ تن (معادل بدون آب) با مصرف ظاهری ۲۲،۰۰۰،۰۰۰ تن و حدود ۴۶۰۰۰۰۰ با واردات خالص مواجه شد. <sep> Hypothesis: ایالات متحده هر سال آمونیاک بی آب تولید نمی کند.
A: | Contradiction |
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
See one example below:
Problem: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) .
Word: (
Solution: -LRB-
Explanation: "(" is the symbol for Left Parantheses (-LRB-).
Problem: Sentence: After the alert condition had long since {{ returned }} to yellow , Zawahiri in late February issued another audiotape .
Word: returned
Solution: | VBN |
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: greater { hop { filter_eq { all_rows ; name ; gary neville } ; total } ; hop { filter_eq { all_rows ; name ; alex stepney } ; total } }, interpretation: select the rows whose name record fuzzily matches to gary neville . take the total record of this row . select the rows whose name record fuzzily matches to alex stepney . take the total record of this row . the first record is greater than the second record .
Student: | yes |
Detailed Instructions: Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise
See one example below:
Problem: The site collects your cookies or tracking elements for a basic service or feature. Collection happens in an unspecified way, and your data is aggregated or anonymized.
Solution: Cookies and tracking elements
Explanation: The type of user information collected is clearly stated in the given policy text as 'cookies or tracking elements'
Problem: The site collects your contact information for analytics or research. Collection happens when you implicitly provide information by an unnamed service or third party, and your data is identifiable.
Solution: | Contact |
Please answer the following question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package de.danoeh.antennapod.
A: | Use it every day. A well thought out application that is easy to use. |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence .
Solution: Tense
Why? The verbs in this example are changed from past tense to present tense.
New input: original sentence: Jane knocked on the door , and Susan answered it . She invited her to come out . paraphrase: cory knocked on the door , and dolly answered it . she invited her to come out .
Solution: | Synonym |
Detailed Instructions: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Problem:display the country ID and number of cities for each country.
Solution: | SELECT country_id , COUNT(*) FROM locations GROUP BY country_id |
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
[Q]: vfvvfmvvfv
[A]: fvvf
[Q]: uydddduuudyuddu
[A]: duuud
[Q]: rynyryynnr
[A]: | rynyr
|
Given the task definition and input, reply with output. In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
['k', '143', 'k', '187', '181', '31', 'c', '9', '117', '445', '117', '179']
| 1, 3, 4, 5, 7, 8, 9 |
Given the task definition and input, reply with output. In this task, you are given a country name and you need to return the barcode prefix of the given country. A barcode prefix is a 3-digit number at the begining of all the barcodes on products from a company or country. Some countries have ranges of barcode prefixes such as, 730 - 739; in such a case, a number from within that range will be considered as a valid output.
Panama
| 745 |
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
5283 sottrazione 6014 sottrazione 9503 | -10234 |
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.
x = 3, equation weights = [8, 1, 5, 7] | 247 |
Instructions: Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise
Input: The site collects your unspecified information for personalization or customization. Collection happens when you explicitly provide information in an unspecified way.
Output: | Unspecified |
You will be given a definition of a task first, then some input of the task.
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.
What is the name of the movie that is rated by most of times?
Output: | SELECT T2.title , T1.mID FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY count(*) DESC LIMIT 1 |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
[Q]: stale
[A]: fresh
[Q]: supportive
[A]: unsupportive
[Q]: mechanical
[A]: | nonmechanical
|
You will be given a definition of a task first, then some input of the task.
In this task, you are given a string with duplicate characters ocurring in the string. You need to return the character which is ocurring with the maximum frequency. In case of a tie, return the character with the least ascii value.
eplymvxiqrdpsvllkduyfuqhccgkwxhezwrrxtpjvxcct
Output: | c |
Subsets and Splits