prompt
stringlengths
109
7.32k
response
stringlengths
1
1.45k
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Example: [47, 444, 859, 530, 197, 409] Example solution: [47, 859, 197, 409] Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list. Problem: [183, 583, 533, 23, 271, 59, 823, 239, 736, 233, 223, 181, 557]
Solution: [23, 271, 59, 823, 239, 233, 223, 181, 557]
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Example: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal. Example solution: No Example explanation: Both participants do not agree to the deal, so the answer is No. Problem: THEM: i'd like the book, a hat and two balls. YOU: no on the book, you can have 1 hat and 2 balls THEM: how about i take the book and the hat? YOU: no deal. THEM: how about the book and a ball? YOU: you can have the book if i can have everything else. THEM: unfortunately, that won't do me much good. i need something with the book. YOU: that doesn't work for me THEM: sorry. it's just a bad deal for just the book. YOU: sorry, guess we have no deal.
Solution: No
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. Example: [16, 205, 171, 2, 9, 317] Example solution: [16, 256, 128, 2, 8, 256] Example explanation: Every integer in the input list is rounded to the nearest power of 2. The number 2 and 16 are in the input list and both are a power of 2, therefore rounding to the closest power of 2 returns the same number. This is a good example. Problem: [249, 1595, 1540, 4792]
Solution: [256, 2048, 2048, 4096]
Detailed 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. Q: [203, 993, 2280, 2818, 20, 73, 3, 154, 1843, 706, 2365, 11, 52, 4, 236, 1465] A:
[256, 1024, 2048, 2048, 16, 64, 4, 128, 2048, 512, 2048, 8, 64, 4, 256, 1024]
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. Q: [{'first': -31, 'second': -91}, {'first': -66, 'second': 97}, {'first': 17, 'second': -12}, {'first': 26, 'second': 15}, {'first': 30, 'second': 46}, {'first': 10, 'second': -75}, {'first': 79, 'second': -72}, {'first': 66, 'second': 42}, {'first': 32, 'second': 76}] A:
[{'first': -66, 'second': 97}, {'first': -31, 'second': -91}, {'first': 10, 'second': -75}, {'first': 17, 'second': -12}, {'first': 26, 'second': 15}, {'first': 30, 'second': 46}, {'first': 32, 'second': 76}, {'first': 66, 'second': 42}, {'first': 79, 'second': -72}]
Instructions: In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Input: Anguilla Output:
.ai
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Q: I_TURN_RIGHT I_LOOK I_TURN_LEFT I_TURN_LEFT I_WALK A:
walk opposite left after look right
Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc. Example input: Sentence: Jack played basketball after school, after which he was very tired. Question: How long did Jack play basketball? Category: Event Duration. Example output: Yes. Example explanation: The question asks about the duration of playing basketball, therefore it's a "event duration" question. Q: Sentence: After finally sleeping with Lucrezia , Callimaco confesses everything . Question: Was Callimaco remorseful? Category: Transient v. Stationary. A:
No.
Detailed Instructions: In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Q: [-82, 73, 45, -40, 68, -86, 29, 87, 51, -51] A:
4
Q: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" Fact: A plant will grow larger and bloom. A:
A plant will do this as it grows larger?
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Q: x = 9, equation weights = [9, 2, 3, 0, 8] A:
60758
Detailed Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. Q: nxxxxxxxnxnnnx A:
nxxxxxxxn
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Example input: x = 3, equation weights = [4, 2] Example output: 14 Example explanation: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14. Q: x = 4, equation weights = [5, 1, 8] A:
92
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy". One example is below. Q: 14/25/1405 A: 0 Rationale: It is an invalid date as the month(mm) is 14 which does not lie in the range 1 to 12. Q: 08/39/1262 A:
0
In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them. Example: HeLa cells were first treated with 250 mug / ml Trail followed by pulse labeling of newly synthesized proteins with [ 35S ] methionine. Example solution: HeLa cells Example explanation: HeLa cells are the first immortal human cell line. It should be tagged. Problem: Moreover , reports by both American and British professional societies have led to a re - evaluation of the relative risks associated with plaque induced bacteremia when twice - yearly visits to dental professionals are compared to daily activities .
Solution: plaque
Instructions: In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Input: Senegal Output:
.sn
Instructions: In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Input: Eritrea Output:
.er
Detailed Instructions: You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. Problem:13:27 Hrs Solution:
01:27 PM
Given the task definition and input, reply with output. In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries. Philippines
Southeast Asia
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. One example: I_TURN_LEFT I_JUMP Solution is here: jump left Explanation: If the agent turned to the left and jumped, then the agent jumped to the left. Now, solve this: I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_RUN Solution:
run right after walk opposite right twice
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Q: Entity 1: abdomen Entity 2: organ A:
yes
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. Example input: Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by. Example output: yes Example explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes". Q: However , as someone who wants to be artistic but has no art skills , I 've gotten really into laser engraving / cutting lately . A:
no
In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries. Chile South America Cuba Caribbean Gambia
Western Africa
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. Ex Input: 13:18 Hrs Ex Output: 01:18 PM Ex Input: 10:01 Hrs Ex Output: 10:01 AM Ex Input: 12:04 Hrs Ex Output:
12:04 PM
Detailed 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. Q: [144, 1067, 4187, 964, 22, 58, 2, 49, 1167, 4702, 3973] A:
[128, 1024, 4096, 1024, 16, 64, 2, 64, 1024, 4096, 4096]
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. Example input: The fact that you do not want to donate to these poor, needy people only shows me that you really do not care about the embryos Example output: Invalid Example explanation: It is not an argument on the topic of death penalty. Q: The only question is whether or not any risk of executing an innocent is acceptable. A:
Valid
Q: Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Entity 1: plant food Entity 2: selenium A:
yes
Detailed Instructions: In this task, you are given two questions about a domain. Your task is to combine the main subjects of the questions to write a new, natural-sounding question. For example, if the first question is about the tallness of the president and the second question is about his performance at college, the new question can be about his tallness at college. Try to find the main idea of each question, then combine them; you can use different words or make the subjects negative (i.e., ask about shortness instead of tallness) to combine the subjects. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in the new question, this keyword should also be used the same way. Do not write unnatural questions. (i.e., would not be a question someone might normally ask about domains). Do not write open-ended or subjective questions. (e.g., questions that can be answered differently by different people.) If you couldn't find the answer to your question from a single Google search, try to write a different question. You do not have to stick with the original question word for word, but you should try to create a question that combines the main subjects of the question. Problem:What was the unemployment rate when this president was in charge? What kind of treaties did this president sign that had to do with asia? Solution:
Did this president back any laws to address unemployment?
Q: Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event. Bilateral Acanthamoeba keratitis with late recurrence of the infection in a corneal graft: a case report. A:
non-adverse drug event
Detailed 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'. Q: sixfivefourninezeroninetwotwo A:
65490922
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. Example: original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence . Example solution: Tense Example explanation: The verbs in this example are changed from past tense to present tense. Problem: original sentence: Sara borrowed the book from the library because she needs it for an article she is working on . She reads it when she gets home from work . paraphrase: The book was borrowed by Sara from the library because she needs it for an article she is working on . It is read by her when she gets home from work .
Solution: Voice
Detailed Instructions: The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations. Problem:listar restaurantes " italian " con valoraciones superiores a 6 estrellas. Solution:
list " italian " restaurants with higher ratings that 6 stars .
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. Q: [{'first': 67, 'second': -47}, {'first': -96, 'second': 100}, {'first': 24, 'second': -57}, {'first': -58, 'second': -26}, {'first': 13, 'second': -80}, {'first': -93, 'second': -47}, {'first': 78, 'second': -20}, {'first': -22, 'second': -24}, {'first': 97, 'second': 19}, {'first': 31, 'second': 23}] A:
[{'first': -96, 'second': 100}, {'first': -93, 'second': -47}, {'first': -58, 'second': -26}, {'first': -22, 'second': -24}, {'first': 13, 'second': -80}, {'first': 24, 'second': -57}, {'first': 31, 'second': 23}, {'first': 67, 'second': -47}, {'first': 78, 'second': -20}, {'first': 97, 'second': 19}]
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. Let me give you an example: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( The answer to this example can be: -LRB- Here is why: "(" is the symbol for Left Parantheses (-LRB-). OK. solve this: Sentence: 18T - EI Indonesia {{ Operations }} LLC Word: Operations Answer:
NNPS
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" Example input: Fact: pesticides can harm animals. Example output: What can harm animals? Example explanation: It's a good question because it is formed by simply replacing the word "pesticides" with "what". Q: Fact: disease-causing organisms have a negative impact on the body. A:
What has a negative impact on the body?
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event. Example: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy. Example solution: adverse drug event Example explanation: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy. Problem: The authors describe two patients with this disease who initially had findings suggestive of an optic neuropathy.
Solution: non-adverse drug event
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. One example: Andorra Solution is here: .ad Explanation: .ad is the TLD of the country called Andorra. Now, solve this: Mexico Solution:
.mx
Detailed Instructions: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. Q: যুদ্ধ হলে পাকিস্থান কে ৫ মিনিট এর মোধ্য দুনিয়ার ম্যাপ থেকে মুছে ফেলব A:
non-religious
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value. Q: [-59.805 -29.469 87.331 56.518 -31.485 -12.344] A: 87.331 **** Q: [-51.663 -33.56 93.341 -35.493 16.157 -45.67 ] A: 93.341 **** Q: [-76.769 -12.914 3.362 -6.546] A:
-76.769 ****
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Example input: password = a Example output: 5 Example explanation: Using 5 steps, it can become a strong password Q: password = f18qJYivyHoXF.KV6DiK A:
0
Detailed Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Q: THEM: hello i want the ball and a hat please. YOU: ok deal THEM: you can take the 2 books and the other hat. A:
Yes
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Command: eq { hop { nth_argmin { all_rows ; enrollment ; 2 } ; institution } ; philander smith college }, interpretation: select the row whose enrollment record of all rows is 2nd minimum . the institution record of this row is philander smith college .
yes
Detailed Instructions: In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Q: [-57, 43, -72, 31, -100, -95] A:
5
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Example: Entity 1: plant Entity 2: leaf Example solution: yes Example explanation: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym. Problem: Entity 1: reptile Entity 2: four leg
Solution: yes
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'. Q: Paul Edward Valentine Giamatti was born June 6, 1967, in New Haven, Connecticut, the youngest of three children A: June 6, 1967 **** Q: Pitt was born on December 18, 1963, in Shawnee, Oklahoma, to William Alvin Pitt, the proprietor of a trucking company, and Jane Etta (née Hillhouse), a school counselor A: December 18, 1963 **** Q: Philip Anthony Hopkins was born in the Margam suburb of Port Talbot on 31 December 1937, the son of Annie Muriel (née Yeates) and baker Richard Arthur Hopkins A:
31 December 1937 ****
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. Let me give you an example: [2,5,1,4],[2,5,8,4,2,0] The answer to this example can be: [2,4,5] Here is why: The elements 2,4, and 5 are in both lists. This is a good example. OK. solve this: [5, 1, 1, 4, 9, 7, 1, 2, 8, 3] , [1, 10, 8, 7, 5, 7, 8, 10, 4, 1] Answer:
[1, 4, 5, 7, 8]
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy". 03/20/1699
1
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. Q: Not everyone reacts or behaves the same way . A:
no
This task is to find the number of 'For' loops present in the given cpp program. [Q]: int f(int i,int t) { if(i<t) {return 0;} int b=1; int a; for(a=t;a<i;a++) { if(i%a==0) {b=b+f(i/a,a);} } return b; } int main() { int n; scanf("%d",&n); int i=0; int d[100]; do { scanf("%d",&d[i]); i++; }while(i<n); i=0; do { printf("%d\n",f(d[i],2)); i++; }while(i<n); return 0; } [A]: 1 [Q]: /* * 1000012739_34_1.cpp * * Created on: 2010-12-3 * Author: ??? * Title: 1090 ???? */ int cnt=0; //???????? void slv(int nm,int pr) //nm????????pr??????? { int i; if (nm>=pr) //??????????? { cnt++; //?????? if (pr==1) //???????????2?? pr++; for (i=pr;i<=nm;i++) //?????? { if (nm%i==0) //??nm??? { slv(nm/i,i); //nm??i??? } } } } int main() { int n,i,num; cin>>n; //?????? for (i=1;i<=n;i++) { cnt=0; //??????? cin>>num; //???? slv(num,1); //??cnt cout<<cnt<<endl; //??cnt } } [A]: 2 [Q]: int main() { int count(int x,int y); int i,j,n,a[100],b[100]; scanf("%d", &n); for(i=1;i<=n;i++){scanf("%d", &a[i]);} for(i=1;i<=n;i++){ b[i]=0; for(j=2;j<=a[i];j++){ b[i]+=count(a[i],j); } } for(i=1;i<=n;i++){printf("%d\n", b[i]);} return 0; } int count(int x,int y) { int c=0,k; if(x==y){c=1;} if(x%y!=0){c=0;} if(x!=y&&x%y==0){ for(k=y;k>=2;k--){c+=count((x/y),k);} } return(c); } [A]:
5
Detailed Instructions: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" Q: Fact: humans require nutrients to grow and heal. A:
what requires nutrients to grow and heal?
Part 1. 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'. Part 2. Example Basinger was born in Athens, Georgia, on December 8, 1953 Answer: December 8, 1953 Explanation: The output is correct as it is a valid text span, is of minimal length and is the correct date of birth. Part 3. Exercise Moore was born Julie Anne Smith on December 3, 1960, at the Fort Bragg army installation in North Carolina, the oldest of three siblings Answer:
December 3, 1960,
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. Q: 10:32 Hrs A:
10:32 AM
Given the task definition and input, reply with output. In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy". 07/12/1668, input_format=dd/mm/yyyy
12/07/1668
In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively. Input: Consider Input: BWREXMuksQitwDV Output: w Input: Consider Input: GHWVlr Output: r Input: Consider Input: yvuCHX
Output: y
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. Example: The fact that you do not want to donate to these poor, needy people only shows me that you really do not care about the embryos Example solution: Invalid Example explanation: It is not an argument on the topic of death penalty. Problem: Every convicted person, will contribute back to society through labor.
Solution: Valid
In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation. [Q]: Croatia [A]: 1991 [Q]: Mauritania [A]: 1960 [Q]: Estonia [A]:
1991
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. Problem:[{'first': 97, 'second': -60}, {'first': 20, 'second': 24}, {'first': 17, 'second': -55}] Solution:
[{'first': 17, 'second': -55}, {'first': 20, 'second': 24}, {'first': 97, 'second': -60}]
TASK DEFINITION: In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other. Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise PROBLEM: 'English : His meeting with his lawyer prevented','Kurdish : Hevdîtina bi parêzeran re hat astengkirin' SOLUTION: Yes PROBLEM: 'English : Abdullah Abdulkadiroğlu, Abdullah Kılıç, Ahmet Dönmez, Ali Akkuş, Arda Akın, Ayşe Nazlı Ilıcak, Bayram Kaya, Bilal Şahin, Bülent Ceyhan, Bülent Mumay, Bünyamin Köseli, Azmi Cemal Kalyoncu, Cevheri Güven, Cihan Acar, Cuma Ulus, Emre Soncan, Ercan Gün, Erkan Akkuş, Ertuğrul Erbaş,Fatih Akalan, Fatih Yağmur, Habip Güler, Hanım Büşra Erdal, Haşim Söylemez, Hüseyin Aydın, İbrahim Balta, Kamil Maman, Kerim Gün,Levent Kenez, Mahmut Hazar, Mehmet Gündem, Metin Yıkar, Muhammed Fatih Uğur, Mustafa Erkan Acar, Mürsel Genç, Selahattin Sevi, Seyid Kılıç,Turan Görüryılmaz, Ufuk Şanlı, Ufuk Emin Köroğlu, Yakup Sağlam and Yakup Çetin.','Kurdish : Li gor nûçeya Ajansa Nûçeyan a Doganê, rojnamevanên bi navê Yakup Sağlam, İbrahim Balta, Seyit Kılıç, Bayram Kaya û Cihan Acar hatine desteserkirin. (EKN/ÇT/MB)' SOLUTION: No PROBLEM: 'English : 23% of these women have been murdered for wanting to get divorced. A woman has been killed after filing a criminal complaint against her husband while the divorce suit still continued.','Kurdish : Ji sedî 82yê jinên hatîn kuştin partnerê wan ê kevin an nû ew kuştine. Mêrê kevin ê 3 jinan, mêrê jinekê yê bi zewaca dînî bi wê re zewicî, mêrê 13 jinan, mêrekê ji medyaya civakî jinek nas kirî, mêrekê xwe wek polîs dayî naskirin û çûyî di mala jinekê de, zavayê jinekê û xizmê keçekê, ew kuştin.' SOLUTION:
No
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Q: Entity 1: canyon gooseberry Entity 2: and white flower A:
yes
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. Example Input: 10:32 Hrs Example Output: 10:32 AM Example Input: 11:18 Hrs Example Output: 11:18 AM Example Input: 03:49 Hrs Example Output:
03:49 AM
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event. Q: The nodules regressed after withdrawal of methotrexate therapy in one patient and were arrested with the addition of hydroxychloroquine in the other. A:
adverse drug event
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Q: Command: eq { hop { argmax { all_rows ; high points } ; high points } ; dalembert ( 23 ) }, interpretation: select the row whose high points record of all rows is maximum . the high points record of this row is dalembert ( 23 ) . A:
yes
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. Example input: Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?' Utterance: 'You can take the two water. I am not that thirsty most days.' Example output: No Example explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves. Q: Context: 'It's been so cold these last few days, I'm worried that I didn't bring enough wood for the next few nights.' 'That is unfortunate. How about I give you are my firewood for all your food?' 'That is a very generous offer but I think I need to keep some food to be safe. Do you need any water?' Utterance: 'I can use water, yes. You could have all the firewood, one food ration. Then I could take the water rations and two food rations. ' A:
No
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Example: Entity 1: plant Entity 2: leaf Example solution: yes Example explanation: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym. Problem: Entity 1: carnivore Entity 2: intelligence
Solution: yes
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': 23, 'second': -72}, {'first': 67, 'second': 43}, {'first': -8, 'second': -47}, {'first': -14, 'second': -35}, {'first': 20, 'second': -39}] Solution:
[{'first': -14, 'second': -35}, {'first': -8, 'second': -47}, {'first': 20, 'second': -39}, {'first': 23, 'second': -72}, {'first': 67, 'second': 43}]
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story. Example input: Premise: Susie was sitting on her barstool. Initial Context: She kept kicking the counter with her feet. Original Ending: Suddenly, her kick sent her falling backwards. The chair hit the ground with a thud and broke. Susie hurt her head and was really scared. Counterfactual Context: She kept herself steady with her feet. Example output: Suddenly, an earthquake sent her falling backwards. The chair hit the ground with a thud and broke. Susie hurt her head and was really scared. Example explanation: The generated new ending is perfect. It considers the counterfactual context and changes required parts in original ending. Q: Premise: I went white water rafting. Initial Context: The adrenaline was pumping. Original Ending: We went over a massive waterfall. Which made me get flung out. I hit a rock and cried. Counterfactual Context: Along with me, my friend Joe also joins. A:
We went over a massive waterfall. Which made me get flung out. I hit a rock and cried.
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. Example input: Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by. Example output: yes Example explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes". Q: Here is a more important question , why are you going to college and what are you going to do with it ? A:
no
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Command: eq { hop { argmin { all_rows ; rank } ; nation } ; united states }, interpretation: select the row whose rank record of all rows is minimum . the nation record of this row is united states .
yes
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Q: [232, 241, 557, 239, 827, 155, 881] A:
[241, 557, 239, 827, 881]
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Q: Browns Cambridge is a coffee shop that is family-friendly they serve fast food that is in City center that is near Crowne Plaza Hotel that has a low customer rating. A:
name[Browns Cambridge], eatType[coffee shop], food[Fast food], customer rating[low], area[city centre], familyFriendly[yes], near[Crowne Plaza Hotel]
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Example: [2,5,1,4],[2,5,8,4,2,0] Example solution: [2,4,5] Example explanation: The elements 2,4, and 5 are in both lists. This is a good example. Problem: [9, 1, 4, 6, 7, 6, 4, 9, 8] , [3, 6, 1, 7, 7, 10, 2, 7, 6]
Solution: [1, 6, 7]
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Example input: x = 3, equation weights = [4, 2] Example output: 14 Example explanation: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14. Q: x = 1, equation weights = [3, 8, 9, 7, 1] A:
28
Given the task definition and input, reply with output. Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Query: SELECT count(*) WHERE { M0 a ns:film.film_art_director . M0 ns:organization.organization_founder.organizations_founded M2 } Question: Was a art director that M2 was founded by M0
1
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. Q: That's not really what I mean. A:
To nije ono što mislim.
Given the task definition, example input & output, solve the new input case. You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. Example: 19:00 Hrs Output: 07:00 PM For a 24-Hours format time larger than 12:00, we should subtract 12 hours from the given time, then add 'PM'. So, the output is correct. New input case for you: 16:02 Hrs Output:
04:02 PM
Detailed Instructions: In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them. Q: The primary cellular response in the draining lymph node The primary cellular response in the draining PLN was determined five days after a single injection of HBSS ( open columns ) , 10 mug OVA ( gray ) , 40 mug PSP ( hatched ) or 10 mug OVA + 40 mug PSP ( black ) into both hind footpads of BALB / cA , NIH and C3H / HeN mice . A:
cellular
In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' . One example is below. Q: मी पेंडुलम ढकलले. ते मागे-पुढे फिरले. A: effect Rationale: The second statement is an effect of the first statement as if you disturb a pendulum it will oscillate Q: होस्टने पार्टी रद्द केली. तिला खात्री होती की तिला फ्लू आहे. A:
cause
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations. One example: ¿hay algún restaurante " italian " cerca con opiniones de 3 estrellas? Solution is here: are there any " italian " restaurants nearby with 3 star reviews ? Explanation: The translation correctly preserves " italian " entity and is accurate Now, solve this: muestra todos los restaurantes por debajo de 10 estrellas. Solution:
show all the restaurants below 10 stars .
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. Example input: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should. Example output: You know what, come tell us at the community pool. Example explanation: This is a good response. Because it accepts in indirect way the input sentence and supports it. Q: We live in one house, that we can't seem to leave all the time. But we can leave for short periods and we can sort of appear other places, you know. A:
It must be nice to have a place where you can just be messy and do whatever to your towels.
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. One example is below. Q: Find the id and city of the student address with the highest average monthly rental. A: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1 Rationale: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example. Q: Find the first name and country code of the oldest player. A:
SELECT first_name , country_code FROM players ORDER BY birth_date LIMIT 1
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. Ex Input: [-26, -85, 37] Ex Output: 59 Ex Input: [80, 86, 83, 27] Ex Output: 3 Ex Input: [59, 52, 79, -94, -99, 78, 50] Ex Output:
1
You will be given a definition of a task first, then some input of the task. In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation. Botswana Output:
Republic
Instructions: In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect. Input: تیکه های خنده دار و بعضاً تیکه های منشوری تو لفافه لحظات خنده داری تو این فیلم ایجاد کرده بودن. بازیگران اصلی (آقایان جعفری و عزتی) هم چیز جدیدی برای ارائه نداشتن و البته به خوبی همیشه شون بودن. در نهایت فیلمی نبود که اخرش حسرت اینو بخورین که وقتتون تلف شده و یه بار دیدنش می ارزه. Output:
بازی
Detailed Instructions: Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event. Problem:Pulmonary hypertension during lithium therapy: clinical case study. Solution:
adverse drug event
Detailed Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. Q: hhqjjjjjqhjj A:
hqjjjjjqh
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Example: [2,5,1,4],[2,5,8,4,2,0] Example solution: [2,4,5] Example explanation: The elements 2,4, and 5 are in both lists. This is a good example. Problem: [5, 8, 9, 7, 7, 1, 10] , [2, 7, 5, 10, 9, 3, 7]
Solution: [5, 7, 9, 10]
Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Query: SELECT count(*) WHERE { ?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 . ?x1 a ns:film.director . ?x1 ns:people.person.nationality ns:m.0f8l9c . FILTER ( ?x0 != ?x1 ) . FILTER ( M2 != ?x0 ) . FILTER ( M3 != ?x0 ) . M2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0 . M3 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0 } Question: Did M2 and M3 marry a French film director 's spouse
1
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. Q: dAbhrKxrFhfqsoaLwykXK, WtOciOfKxrFhfqsoadxhgAoQlxw A:
dAbhraffhkoqrsxLwykXK, WtOciOfaffhkoqrsxdxhgAoQlxw
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy". Let me give you an example: 14/25/1405 The answer to this example can be: 0 Here is why: It is an invalid date as the month(mm) is 14 which does not lie in the range 1 to 12. OK. solve this: 05/40/1449 Answer:
0
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy". 14/25/1405 Solution: 0 Why? It is an invalid date as the month(mm) is 14 which does not lie in the range 1 to 12. New input: 14/29/1794 Solution:
0
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Input: Consider Input: x = 2, equation weights = [4, 7] Output: 15 Input: Consider Input: x = 4, equation weights = [8, 6, 1] Output: 153 Input: Consider Input: x = 3, equation weights = [6, 1, 2, 7, 9]
Output: 561
Detailed Instructions: In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Problem:Haiti Solution:
.ht
Instructions: In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Input: !!!!!!!!!!!!!! . Ich finde Brandy klasse. Ihre Soulstimme ist super und ihr neuer Song verbindet Soul und Pop. Man merkt das sie immer mehr über die Musik lernt und sich weier bildet ihre CD's und Songs werden immer besser und deswegen finde ich man sollte die CD umbedingt kaufen!!!!! Output:
POS
Read the given message of a sender that is intended to start a conversation, and determine whether it was written by a 'Bot' or by a 'Human'. Typically, bots will have a more disjointed manner of speaking, and will make statements that don't relate to each other, don't make coherent sense, or otherwise appear unnatural. Human will make statements in a more or less coherent and logical way. Since these messages are supposed to be conversation openers, humans will generally start sensibly with a hello or an introduction. Humans may also ask why the other person is not responding. Bots, however, may act as if they are in the middle of a nonsensical conversation. Q: SENDER A: Ok SENDER A: Hi. Who are you? SENDER A: Talk to me! SENDER A: Are you male? SENDER A: Do you love pets? SENDER A: Do you love music? SENDER A: Where are you from? A: Human **** Q: SENDER A: yeah i will stick to wine forever young baby A: Bot **** Q: SENDER A: Hey! What are you doing? 🧐 A:
Bot ****
In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them. Let me give you an example: HeLa cells were first treated with 250 mug / ml Trail followed by pulse labeling of newly synthesized proteins with [ 35S ] methionine. The answer to this example can be: HeLa cells Here is why: HeLa cells are the first immortal human cell line. It should be tagged. OK. solve this: The CSF - 1 receptor exerts its biological effects on cells via a range of signaling proteins including Erk1 / 2 and Akt . Answer:
cells
Instructions: In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively. Input: GCEKZvBtTqfobjIFaX Output:
v
Instructions: In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation. Input: Lesotho Output:
1966
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Q: [817, 856, 156, 621, 246] A:
[]
Detailed Instructions: In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Q: [4, 1, 1, 0, 4, 3, 6, 3, 1, 2] A:
[0, 6, 2]
You will be given a definition of a task first, then some input of the task. 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'. Naomi Ellen Watts was born on 28 September 1968, in Shoreham, Kent, England Output:
28 September 1968