prompt
stringlengths
50
14.7k
response
stringlengths
1
3.54k
Detailed Instructions: Given a broad category, generate a trivia-type question based on a specific entity in that category. The question should be non-ambiguous. External resources such as Wikipedia could be used to obtain the facts. See one example below: Problem: boat Solution: In 1907, which ill-fated liner of the Cunard Line made its maiden voyage? Explanation: The question is asking about a boat/ship. Problem: influence Solution:
Which Florentine painter 1535-1607 used the name Bronzino after the death of his 'uncle'?
Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. Input: amfffmmammm Output:
mfffm
In this task, you are given a sentence and your task is to identify whether the sentence contains motion or not, by classifying the sentence into Yes or No. The sentence belongs to the 'Yes' category if there is an occurrence of a motion of a physical entity otherwise the sentence belongs to the 'No' category. The sentence contains motion if it (i) involves the movement of a physical object. (ii) contains verb in present tense indicating the action performed. Sometimes there can be verb which indicates a motion but the motion might have happened in the past and the answers to such sentences is 'No' [Q]: 'The Russians Now entirely stock their harems from the North of Asia.' [A]: No [Q]: Mr. Roscommon laid his finger beside his Nose and said softly, "Whishky!" PART II.--IN THE COURTS CHAPTER VI HOW A GRANT WAS GOT FOR IT While the Blue Mass Company, with more zeal than discretion, were actively pursuing Pedro and Wiles over the road to Tres PiNos, SeNors Miguel and Manuel were comfortably seated in a fonda at Monterey, smoking cigarritos and discussing their late discovery. [A]: Yes [Q]: We see the boat with people in it. [A]:
No
The input is a conversation between an automated system and a user looking for suggestions for pubs, restaurants and coffee shops in Cambridge. In the dialogue, the user may provide some criteria for the type of place they want such as price range, cuisine, etc. Given such a dialogue, output the price range the user if looking for which can take one of four values: Cheap, Moderate, Expensive and Don't Care. Output cannot be any other value than the four values. Note that if the user asks for the prices of items provided at a pub, restaurant or coffee shop but doesn't mention the price range they are looking for then the correct classification will be Don't Care. If the user does not mention a particular price, the correct classification will be Don't Care. Example Input: System: 'Thank you for calling the Cambridge Information system. Your call will be recorded for research purposes. You may ask for information about a place to eat, such as a restaurant, a pub, or a cafe. How may I help you?' User: 'background noise' System: 'What kind of price range are you looking for? For example, cheap, free, or moderate.' User: 'background noise' System: 'What kind of venue are you looking for? For example, a pub, or a restaurant.' User: 'background noise' System: 'Are you looking for a venue that allows children?' User: 'unintelligible restaurant' System: 'Are you looking for a pub or a restaurant?' User: 'fusion restaurant' System: 'What type of food would you like? For example, Continental, Fastfood, or Turkish.' User: 'whispering' System: 'What type of food would you like? For example, Cafe food, Seafood, or Traditional.' User: 'fusion' System: 'What kind of price range are you looking for? For example, cheap, or moderate.' User: 'unintelligible' System: 'The Dojo Noodle Bar is an outstanding restaurant. It serves fusion food. It's in the cheap price range.' User: 'fusion unintelligible' System: 'The Dojo Noodle Bar, which serves fusion food, is a great restaurant. It's in the cheap price range.' User: 'phone number and address' System: 'The Dojo Noodle Bar is on Miller's Yard and its phone number is 01223363471.' User: 'background noise' System: 'The Dojo Noodle Bar is an outstanding restaurant.' User: 'background noise' System: 'The Dojo Noodle Bar is a great restaurant.' User: 'background noise' System: 'The Dojo Noodle Bar is a great restaurant.' User: 'thank you good bye' Example Output: Don't Care Example Input: System: 'Thank you for calling the Cambridge Information system. Your call will be recorded for research purposes. You may ask for information about a place to eat, such as a restaurant, a pub, or a cafe. How may I help you?' User: 'cough' System: 'What kind of venue are you looking for? For example, a cafe, a pub, or a restaurant.' User: 'expensive restaurant in addenbrookes area' System: 'What kind of price range are you looking for? For example, cheap, or expensive.' User: 'expensive' System: 'What type of food would you like? For example, Contemporary, Middleeastern, or Traditional.' User: 'middle eastern' System: 'Are you looking for a pub or a restaurant?' User: 'restaurant' System: 'Are you looking for somewhere near a particular venue? For example, Artworks, Emmanuel College, or Pembroke College.' User: 'addenbrookes brookes area' System: 'Are you looking for somewhere near a particular venue? For example, Castle Galleries, the Gallery at twelve A High Street, or the Ruskin Gallery.' User: 'no' System: 'The Lucky Star, which is in the Addenbrooke's part of town, is an outstanding restaurant. It's in the expensive price range.' User: 'address' System: 'The Lucky Star is on Unit.' User: 'phone number' System: 'The phone number of the Lucky Star is 01223244277.' User: 'thank you goodbye cough' Example Output: Expensive Example Input: System: 'Thank you for calling the Cambridge Information system. Your call will be recorded for research purposes. You may ask for information about a place to eat, such as a restaurant, a pub, or a cafe. How may I help you?' User: 'im looking for an english restaurant in the high price range' System: 'What kind of price range are you looking for? For example, expensive, or free.' User: 'unintelligible' System: 'What kind of price range are you looking for? For example, cheap, or moderate.' User: 'unintelligible' System: 'What kind of price range are you looking for? For example, expensive, or moderate.' User: 'expensive' System: 'The Backstreet Bistro is a great restaurant, it serves contemporary and english food and it's in the expensive price range.' User: 'expensive' System: 'The Backstreet Bistro is an outstanding venue. The price for main courses ranges from 10 pounds 95 to 14 pounds 25.' User: 'expensive expensive' System: 'The Backstreet Bistro is a great restaurant, it serves contemporary food, it serves english food and it's in the expensive price range.' User: 'what is the area and address' System: 'The Backstreet Bistro is located on 2 Sturton Street and it's in the Romsey part of town.' User: 'sil' System: 'The Backstreet Bistro is an outstanding restaurant.' User: 'what is the area' System: 'The Backstreet Bistro is in the Romsey part of town.' User: 'what is the address' System: 'The Backstreet Bistro is on 2 Sturton Street.' User: 'thank you goodbye' Example Output:
Expensive
In this task, you are given a premise, a hypothesis, and an update. The premise sentence describes a real-world situation and is always assumed to be true. The hypothesis sentence describes an assumption or inference that you might make about that situation having read the premise. The update provides additional information about the situation that might weaken or strengthen the hypothesis. A weakener is a statement that weakens the hypothesis, that is, it makes you much less likely to believe the hypothesis is true. A strengthener is a statement that strengthens the hypothesis, that is, it makes you much more likely to believe the hypothesis is true. Your task is to answer with 'strengthener' or 'weakener' if the update strengthens or weakens the hypothesis, respectively. Q: Premise: a black cow and a brown cow being chased by a dog Hypothesis: The dog is herding the cows. Update: The dog is chasing the cows away from the barn. A:
weakener
TASK DEFINITION: This task is to translate a news commentary given in Italian language into Zhuang language. Translate the input statement into the output language while preserving the numberical values, special characters and proper nouns and context of the commentary done. PROBLEM: Nel 2013, i biocarburanti rappresentavano il 3% del combustibile totale utilizzato nel settore dei trasporti nel mondo, secondo quanto stabilito da un rapporto della Fao e dell’Ocse. Mentre tale percentuale dovrebbe restare fissa, non possiamo tuttavia aspettarci che la produzione di biocarburanti cresca in termini assoluti dal momento che anche il mercato globale per carburanti nel settore dei trasporti è in espansione. SOLUTION: 生物燃料已成为无法改变的事实,它们的使用预计将继续稳步攀升。据联合国粮农组织和经合组织的报告,2013年生物燃料贡献了全球交通燃料使用总量的3%。这一比例预计将保持稳定,但尽管如此,可以期待生物燃料产量的绝对值将随着全球交通燃料市场的扩大而增加。 PROBLEM: Anche quando le ho prese io, il virus della malaria era già diventato resistente alla clorochina in molte parti del mondo. La Papua Nuova Guinea è stato uno degli ultimi paesi in cui le compresse hanno continuato a funzionare anche se stavano già perdendo efficacia. SOLUTION: 这些把我治愈的药片——氯喹如今已不再有用。即使在我服用它们的时候,世界许多地区的导致疟疾的寄生虫已经拥有了氯喹抗药性。巴布亚新几内亚是这些药片还能管用的最后几个地方之一,而即使在那里,氯喹的药效也是每况愈下。如今,氯喹已经基本从我们的药品清单中消失。 PROBLEM: PECHINO – Subito dopo l'annuncio da parte della Federal Reserve americana di una seconda tornata di alleggerimento quantitativo, la banca centrale cinese, anche conosciuta come BPC (Banca Popolare Cinese), ha annunciato due aumenti di mezzo punto percentuale dei quozienti di riserve bancarie obbligatorie (o RRR, dall'inglese “Required Reserve Ratio”). Le RRR si attestano ora al 18,5%, un massimo storico, anche a livello internazionale. SOLUTION:
发自北京——就在美联储宣布实施第二轮“量化宽松”政策之后,中国人民银行(下称“人行”)旋即连续两次上调存款类金融机构人民币存款准备金率0.5个百分点。目前该比率为18.5%,不但创下了建国以来的新高,在世界范围内也是罕见的。
Given a sentence in Japanese, provide an equivalent paraphrased translation in Chinese that retains the same meaning both through the translation and the paraphrase. 1784年10月29日にテュークスベリーで生まれたイーストホープは、ウスターシャー州オーバーベリーのジョン・リーバーの娘、トーマス・イーストホープによってエリザベスの長男でした。
Easthope,1784年10月29日出生于图克斯伯里,是托马斯·伊斯特霍普的伊丽莎白的长子,他是来自伍斯特郡奥弗伯里的约翰·莱弗的女儿。
Part 1. Definition Indicate all the pronouns (they, them, you, he, his, her, you, it, etc.) present in the given sentence. If there are multiple such pronouns in a sentence, then list them in the order of their first appearance in the given sentence. If a pronoun appears multiple times in a sentence, list it only once. Part 2. Example the user changed his password from grwqwu8jyc to willow-towered canopy huntertropic wrestles as it was easy to remember. Answer: his, it Explanation: In this statement, 'it' is the pronoun used for password, and 'his' is used for the user. Part 3. Exercise the city councilmen refused the demonstrators a permit because they advocated violence. Answer:
they
Definition: You are given a geometric mathematical question. Questions in this task often involve shapes and Geometric Relationships. You are also given 4 or 5 answer options (associated with "A", "B", "C", "D", "E"). Do not generate anything else apart from one of the following characters: 'A', 'B, 'C', 'D', 'E'. LaTeX mathematical format (the standard way to express mathematical expressions in the typesetting software known as LaTeX) is used to express equations. Each question is solvable with high school math knowledge. Input: Lines l and m and two circles lie in a plane. If l passes through the center of the two circles and m is perpendicular to l, which of the following could NOT be the number of points at which m intersects the circles? (A)0 (B)1 (C)2 (D)4 (E)5 Output:
E
You will be given a definition of a task first, then some input 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: Archaeologists have concluded that humans lived in Laputa 20,000 years ago . They hunted for evidence on the river banks . paraphrase: Archaeologists are concluding that humans lived in Laputa 20,000 years ago . They were hunting for evidence on the river banks . Output:
Tense
Definition: 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: I love Cuban coffee , colada ... mmmm anyways I found this place and ca n't stop going there , I stop {{ in }} at least once a week and anytime I 'm in the area for a Cuban coffee or snack . Word: in Output:
RB
Detailed Instructions: This task is to find the number of 'For' loops present in the given cpp program. Problem:int t; int f(int a,int b){ int i; for(i=a;i*i<=b;i++){ if(b%i==0){ t++; f(i,b/i); } } return t; } void main() { int n,i,result[1000],a[1000]; scanf("%d",&n); for(i=0;i<n;i++){ t=1; scanf("%d",&a[i]); result[i]=f(2,a[i]); } for(i=0;i<n;i++) printf("%d\n",result[i]); } Solution:
3
You will be given a definition of a task first, then some input of the task. We would like you to classify each of the following sets of argument pairs (discussing Gay Marriage) into either SIMILAR or NOT SIMILAR. A pair of arguments is considered SIMILAR if the arguments are about the same FACET (making the same argument), and is considered NOT SIMILAR if they do not have the same FACET. A FACET is a low level issue that often reoccurs in many arguments in support of the author's stance or in attacking the other author's position. Sent1: Though I didn't vote, I do financially support ACLJ against gay marriage simply because a union between same sex couples can easily have their rights established through adoption, wills, or power of attorneys. Sent2: I am personally opposed to same sex marriage for religious reasons, but I support freedom of religion so I will vote to make it legal because people have the right to choose. Output:
Not similar
TASK DEFINITION: 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. PROBLEM: Sentence: Natural Levees A flooding river often forms natural levees along its banks. Question: When would a levee form? Category: Frequency. SOLUTION: No. PROBLEM: Sentence: She explained that Frank 's father was an alcoholic and that his mother worked as a toll booth operator . Question: Does Frank's mom still work at the toll booth? Category: Transient v. Stationary. SOLUTION: Yes. PROBLEM: Sentence: In actual practice, however, we act too often as if we only cared for economic values. Question: What day do we only care for economic values? Category: Absolute Timepoint. SOLUTION:
Yes.
Given the task definition and input, reply with output. Given a sentence in the Central Khmer, provide an equivalent translation in Japanese that retains the same meaning through the translation. In translation, keep numbers as it is. តំបន់នោះត្រូវគ្រប់គ្រងដោយពួកបងធំត្រូវគេហៅថាComando Vermelho(បញ្ជាការក្រហម) ដែលមិនព្រមអោយក្រុមបងធំផ្សេងលក់គ្រឿងញៀននៅតំបន់នោះ។
この地域はライバルのギャング、コマンド・ヴェルメロ(赤いコマンド)に支配されており、彼らは他のギャングがこの地域で薬物を売るのを許可していない。
instruction: In this task, you are given a country name and you need to return the calling code of the given country. Your output must be formatted as a plus sign (+), followed by the calling code number question: Universal Personal Telecommunications (UPT) answer: +878 question: Papua New Guinea answer: +675 question: Namibia answer:
+264
In this task, you are given a country name and you need to return the calling code of the given country. Your output must be formatted as a plus sign (+), followed by the calling code number Q: Saint Martin (France) A: +590 **** Q: Congo A: +242 **** Q: Zimbabwe A:
+263 ****
Q: You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician. وتخيل أكثر من ذلك أن التجارة العالمية قد تخصصت بهذه العملة — دعونا نطلق عليها "" الكون "" في وحدات الكون — توافق كل حكومة أن تدفع في صندوق عام مشترك مبلغ من وحدات الكون يتناسب مع العجز التجاري لها ، أو مع فائض الميزان التجاري لها. A:
E imaxinade, ademais, que todo o comercio internacional se produza nesa moeda, imos chamarlle "" o cosmos "", en unidades de cosmos con cada goberno aceptando pagar para un fondo común unha suma de unidades de cosmos proporcional ao déficit comercial do país, ou mesmo ao superávit comercial dun país.
Teacher: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. Teacher: Now, understand the problem? Solve this instance: হিন্দু বিরোধী ওয়াজ অথবা জিহাদি ওয়াজ লেখে ইউটিউবে সার্চ দিন দেখবেন অনেক হুজুর আলেম এর উসকানি দিছে। Student:
religious
Q: In this task your given two statements in Swahili. You must judge whether the second sentence is the cause or effect of the first one. Label the instances as "cause" or "effect" based on your judgment. The sentences are separated by a newline character. Kila mmoja alikataa kuchumbiana kwa wapenzi. Wapenzi walikimbia. A:
effect
Detailed Instructions: Given the prompt and a response, classify the them to "yes" if response is "yes, and" type. Otherwise classify it as "no". "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...'. Problem:Prompt: People won't be able to find our town is we name it Springfield because there's like a hundred towns called Springfield across the United States. Response: Hi. I'm Ronnie. I have a clipboard. Solution:
no
Given the task definition and input, reply with output. You are given a question-answer pair. Answer with their type. Pay attention that there may be more than one correct type, but you only have to choose one. In your responses, use of the following types: (1) Humans: Any individual or group of humans, including fictional ones (e.g., a group or organization of persons , an individual, title of a person, description of a person); (2) Event: Any phenomenon natural or artificial (e.g., named hurricanes, Battles, Wars, Sports events, Terrorist attacks); (3) Entity: A thing with distinct and independent existence (Animals, Organs of body, Colors, Inventions, books and other creative pieces, Currency name, Diseases, and medicine, Food, Musical instrument, Languages, Plants, Products, Religions, Sports, Elements and substances, Symbols and signs, Techniques and methods, Equivalent terms, Vehicles); (4) Facility: Something built for a particular purpose (Buildings, Airports, Highways, Bridges); (5) Location: A place (Cities, Countries, Mountains, States); (6) Law: Named documents made into laws (e.g., “the first amendment”, "civil rights act"); (7) Organization: an organized body of people with a particular purpose (Company names, e.g. Google, Cults or terrorist groups, e.g. Al Qaeda); (8) Date: Absolute or relative dates or periods, bigger than 1 day (Years, Range, e.g. from Monday to Tuesday, or during the 20th century, Approximate time); (9) Time: Any temporal range/unit that is shorter than a day (e.g., 2 o'clock, 1 pm); (10) Money: Monetary values, including unit (e.g., "$26", "914$"); (11) Quantity: postcodes or other codes, the number of sth, Ranks, fractions, speed, temperature, size, area, and volume, weight (e.g., "26 degree" "17 inch"); (12) Description: description and abstract concepts (e.g., the definition of something, the manner of an action, reasons); (13) Abbreviation: expression abbreviated (e.g., AMT = abbreviation of Amazon Mechanical Turk). Don't generate any word that is not mentioned in the list of types (Humans, Event, Entity, Facility, Location, Law, Organization, Date, Time, Money, Quantity, Description, Abbreviation). If you can not associate any of the given types with the provided question and answer pair, respond "Other". Question: What can happen when antibiotics are used with other drugs? (Answer: Additional side-effects).
Entity.
Given the task definition, example input & output, solve the new input case. Creating a multiple-choice question from the given context and a 'group' which indicate the focus of the question. The question must come first, separated by <sep> from the candidate answers. The answer to the question does not have to exist in the context. Example: context: A person is trying to roll an apple, a ball, a block, and a bottle. <sep>group: rolling Output: question: Which is the hardest to roll? <sep>A: apple B: ball C: block D: bottle The MCQ question is asked regarding rolling of the objects and options of the question are present in the context. New input case for you: context: A person is trying to bounce a rubber ball. They drop a first ball onto leaves, a second ball onto rubber, a third ball onto brick, and a fourth ball onto concrete.<sep>group: bouncing Output:
question: Which ball bounces the least?<sep>A: leaves<sep>B: rubber<sep>C: brick<sep>D: concrete
You will be given a definition of a task first, then some input of the task. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B. [4069, 4709, 7027, 'K', 's', '7411', '7971', '4897', '6433', 'U', '8229', 'W', 'b', 3357, 'H', 'V'], [9297, 'H', 'b', '7411', '7971', '4897', '6433', 'U', '8229', 'W', 'g', 'a', 'U', 'V', 5579, 'a'] Output:
7411, 7971, 4897, 6433, U, 8229, W
Teacher:We would like you to classify each of the following sets of argument pairs (discussing Gay Marriage) into either SIMILAR or NOT SIMILAR. A pair of arguments is considered SIMILAR if the arguments are about the same FACET (making the same argument), and is considered NOT SIMILAR if they do not have the same FACET. A FACET is a low level issue that often reoccurs in many arguments in support of the author's stance or in attacking the other author's position. Teacher: Now, understand the problem? Solve this instance: Sent1: If people are going to make a big deal out of two people of the same sex getting married, then people of different religions, people of no religion, even people guilty of adultery shouldn't be allowed to marry either. Sent2: The fact is, homosexual marriage is anathema to many religious people. Student:
Not similar
instruction: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. question: unsure answer: sure question: stale answer: fresh question: friendly answer:
unfriendly
Given the task definition, example input & output, solve the new input case. In this task, you are given a country name and you need to return the calling code of the given country. Your output must be formatted as a plus sign (+), followed by the calling code number Example: Abkhazia Output: +99544 +99544 is the calling code of the country called Abkhazia. New input case for you: Serbia Output:
+381
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. Let me give you an 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 The answer to this example can be: Invalid Here is why: It is not an argument on the topic of death penalty. OK. solve this: No where in the world, that I know of, has the exactly the same right to life for both born and unborn persons. Answer:
Invalid
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: It is gonig to rain today. Solution: gonig Reason: The word 'gonig' is a typo of the word 'going' as the characters 'i' and 'n' have been swaped. Now, solve this instance: A tenis player returns the ball after his opponent hits it to him. Student:
tenis
Given a prompt and two completions from a language model, select the completion that has the most similar style to the prompt. Style is defined as the tone, word choice, grammar, and sentence structure throughout the prompt-completion pair. If a prompt is colloquial, then the completion should also be colloquial, as opposed to a completion that is encyclopedic or overly formal. Generate either Completion A or Completion B. [EX Q]: Prompt: "Spire installed on New York's One World Trade Center brings it Completion A: closer." So repeated President Barack Obama on his weekly radio show last week while hurrying to turn the presidential analysis from 100% polish Completion B: in line with many of the other towers that have been erected in the world, such as the iconic Great Pyramid in Egypt, which was designed by Italia [EX A]: Completion B [EX Q]: Prompt: BCU 29 FAMU 10. The FAMU Marching 100 is back, Completion A: but that's not an excuse for having a couple of kids:"There's nothing like a family reunion before leaving. The community is as Completion B: and this time it is a little bit lighter and a little bit shorter. This Marching 100 is also a little bit lighter, and a little bi [EX A]: Completion B [EX Q]: Prompt: Yes, so I know So Jalen was doing the line too, and I hope that they didn't Completion A: come down here to do something and that I'm right. They're just trying to work it out. They've had meetings. They're Completion B: forget about him. LOL! LOL!! LOL!!! LOL!!! LOL!!! LOL!!! LOL!!! LOL!!! LOL!!! LOL!!! LOL!!! LOL!!! LOL!! [EX A]:
Completion A
In this task, we ask you convert a data table of restaurant descriptions into fluent natural-sounding English sentences. The input is a string of key-value pairs; the output should be a natural and grammatical English sentence containing all the information from the input. name[The Punter], eatType[coffee shop], food[Italian], priceRange[high], customer rating[1 out of 5], familyFriendly[yes], near[Café Sicilia] A high-priced Italian food coffee shop, The Punter has a low customer rating, is children friendly and is located near Café Sicilia. name[The Eagle], eatType[coffee shop], food[Italian], priceRange[high], customer rating[average], area[riverside], familyFriendly[no], near[Burger King] The Eagle is a high priced Italian coffee shop near Burger King in riverside. It is not children friendly and has an average customer rating. name[The Punter], eatType[coffee shop], food[French], priceRange[less than £20], customer rating[average], familyFriendly[yes], near[Café Sicilia]
The Punter is a coffee shop near Café Sicilia. Their food is delicious and they have different wines.
Detailed Instructions: 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). Problem:Entity 1: urine Entity 2: baking pan Solution:
no
instruction: 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. question: Review: It's not a bad hotel. It's just so...disappointing. As a Diamond member, I expect slightly more than a room with two double beds with no view. I'm not distraught over this, but come on. Ditto the continental breakfast in the executive lounge, which has nothing but fattening pastries, bagels and cereal. Low-level Hampton Inns have a free breakfast that puts this to shame. And what's with the lounge not opening until 6:30am? Business travelers often need to be GONE by 6:30, not sitting down to their meager breakfast. The in-room wifi is a pain to access, and I somehow got stuck with the $19.99 plan even though I selected the basic plan. (Don't get me started on how a $89/night Hampton Inn can offer free wifi and a full-service Hilton & Towers seemingly can't...). Finally, what's with the two bathrooms per one hotel room? It's an unseemly waste of space, especially when the rooms are so meager. And the gold-plated bathroom fixtures scream 1992, not 2009, as does the picture-tube TV (vs. flat panel). Overall, this is a huge disappointment over which Conrad should be ashamed. Polarity: Positive answer: false question: Review: Whenever I decided to stay at Fairmont Chicago Millennium Park, the only thing that I had on my mind was the idea of taking that time to relax and enjoy some time with my husband. However, the hotel choice wasn't the best. Right in the front desk when we arrived there we had problems with our reservation. The room that we had reserved was occupied and so we had to switch to some other room, which was much smaller than the original one. The hotel did give us a discount, but if I'd paid for the large room was because I wanted the it. A hotel with this name shouldn't put its guests in these kind of situation. I wont be reserving room there again. Polarity: Negative answer: true question: Review: It has been a couple of years since I stayed here, and got it for a night last weekend on Hotwire. I paid only $100 and stayed a Saturday night. I was very impressed with the redecorating done to the hotel. The lobby has always been great, but the rooms were a little shabby in the past. Not any more, as the hotel has been redecorated in the last few years. The location is still amazing, and with the Berghoff open again, there is a great restaurant within walking distance. Polarity: Negative answer:
false
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 comprising of numbers and alphabets. You need to extract and sort the unique alphabets in the list. The alphabets in the input list will only be in lowercase. Return -1 if there is no alphabet in the input list. ['y', '5287', '9523', '8211', '2569', 'c', 'y', 'g', 'r', 'k', '7341', '8631', 'p', 'y', '9497', 'i', 'c', 'x', '6671', '9071', 'w', '697', '5009', '8127', 'j', '6737', '797', 'b', '5087', 'y', 'n', 'f', '8585', 'h', 'g', 'x', 'g', 'z', '8781', '8243', 'y', 'd'] Output:
b, c, d, f, g, h, i, j, k, n, p, r, w, x, y, z
You will be given a definition of a task first, then some input of the task. In this task, you will be given sentences in which your task is to recognize the name of the drug or medicine. Drugs are substances that change a person's mental or physical state. They can affect how your brain works, how you feel and behave, your understanding, and your senses. Although there might be several correct answers, you need to write one of them. Our literature review revealed an additional six cases of onset of inflammatory arthritis in MS patients receiving IFN-beta. Output:
IFN-beta
In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0. Example Input: dRtzzZChGmYKzbrlYytPXpsGO, l Example Output: 1 Example Input: YXuCXssIPlJiVtZosAuzSp, M Example Output: 0 Example Input: VQLqDDTVprLSSIZhSkaZugvMM, q Example Output:
1
Detailed Instructions: Given a sentence and a label in Croatian, select the correct answer. There are 2 choices given, out of which only one is correct for a given statement and label. The label of the task is either 'cause' or 'effect'. The output will be the choice which matches the label with the given statement. If the label is 'cause', then the choice which represents the reason of the statement, gives the answer. If the label is 'effect' then the choice which reflects the consequences of the statement is the answer. The output should be the text from the correct choice and not Choice1/Choice2. Q: Statement: Računalo je bilo skupo popraviti. Label: effect Choice 1: Odnio sam ga na popravak. Choice 2: Kupio sam novo. A:
Kupio sam novo.
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. Q: 1948 A:
1
Definition: In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries. Input: Netherlands Output:
Western Europe
Given the task definition, example input & output, solve the new input case. We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. Example: The fact that you do not want to donate to these poor, needy people only shows me that you really do not care about the embryos Output: Invalid It is not an argument on the topic of death penalty. New input case for you: Saying the death penalty is morally equivalent to abortion because they both involve kiling is like saying rape is morally equivalent to making love because they both involve sex. Output:
Valid
instruction: In this task, you are given two strings A,B. Find the longer of the two lists, convert it to lowercase, and return all the unique alphabets used in it. The two input strings are never equal. question: mkrNlpb, WwrNmg answer: b, k, l, m, n, p, r question: IQHbcdkrdgescLbOhUIAsrp, EmYNtZIEXXrdgescLbOhIuSt answer: b, c, d, e, g, h, i, l, m, n, o, r, s, t, u, x, y, z question: PfFunHrqecboDqqqrErmAa, eyQMbWnHrqecboDqOQGswMeiOh answer:
b, c, d, e, g, h, i, m, n, o, q, r, s, w, y
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". Example: 14/25/1405 Example solution: 0 Example explanation: It is an invalid date as the month(mm) is 14 which does not lie in the range 1 to 12. Problem: 14/18/1245
Solution: 0
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value. Problem:[ 60.604 13.293 -12.468 -93.357 -20.343 -65.559 57.287 -68.006] Solution:
-93.357
Given the task definition, example input & output, solve the new input case. In this task, you are given a country name, and you need to return the numeric International Organization for Standardization (ISO) code of the given country. The codes are three-digit numbers defined by the ISO to represent countries, dependent territories, and special areas of geographical interest. Example: Angola Output: 024 024 is the numeric ISO of the country called Angola. New input case for you: Micronesia Output:
583
instruction: 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. question: oF answer: F question: WQtdMIxnTFRu answer: WQtdMxnTFR question: LegGeUi answer:
LgG
Given the task definition, example input & output, solve the new input case. 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] Output: [47, 859, 197, 409] The integers '444' and '530' are not prime integers and they were removed from the list. New input case for you: [571, 129, 858] Output:
[571]
Teacher:Given a text from Polish tweets, classify given tweet text into two categories: '1' (bullying), and '0' (not bullying) on its content. Teacher: Now, understand the problem? Solve this instance: @anonymized_account @anonymized_account Leczyć można z chorób - nie ze stanu umysłowego IQ :) Student:
1
TASK DEFINITION: In this task, you have to generate the named entities (NER) given its ingredients of the recipe. Named entities are the names of the items without their quantity. PROBLEM: 1 Granny Smith apple, peeled, chopped, 1 cup seedless red grapes, halved, 3 stalks celery, chopped, 1/4 cup Miracle Whip Calorie-Wise Spread Family Dollar $3.50 thru 02/07, 1 Tbsp. lemon juice Safeway 4 ct For $5.00 thru 02/09, 2 cups Boston lettuce, 1/4 cup coarsely chopped walnuts, toasted SOLUTION: apple, red grapes, stalks celery, Miracle, lemon juice, Boston lettuce, walnuts PROBLEM: 1/2 cup honey, 1/4 cup prepared mustard dijon, 2 tablespoons parsley leaves fresh, chopped or 2 ts dried, flakes, 1 tablespoon sesame seeds, 1 tablespoon lemon juice, 2 each garlic cloves, minced, 1/2 teaspoon black pepper, 8 each chicken breast, boneless, halves, skinless, 3 each onions cut into 1/2 inch slices SOLUTION: honey, parsley, sesame seeds, lemon juice, garlic, black pepper, chicken breast, onions PROBLEM: 1 cup corn syrup, 1 cup white sugar, 1 cup creamy peanut butter, 4 1/2 cups cornflakes cereal, 1 cup semi-sweet chocolate chips (optional), 1 cup butterscotch chips (optional) SOLUTION:
corn syrup, white sugar, peanut butter, cornflakes cereal, semi-sweet chocolate chips, butterscotch chips
You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician. ومن الواضح أنه لم يصدر عن مونولوج برنامج "" تونايت شو "".
De certo, non veñen de ningún monólogo de Tonight Show.
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: ¿hay algún restaurante " italian " cerca con opiniones de 3 estrellas? Solution: are there any " italian " restaurants nearby with 3 star reviews ? Reason: The translation correctly preserves " italian " entity and is accurate Now, solve this instance: ¿hay un restaurante " japanese " cerca? Student:
is there a " japanese " restaurant nearby ?
Given the task definition and input, reply with output. In this task, you are given a date in "dd/mm/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 if the components day("dd"), month("mm") and year("yyyy") are all valid individually. A day(dd) is valid if it: a) lies between 1 and 31 for the months of January, March, May, July, August, October, December, b) lies between 1 and 28 for February on non-leap years and between 1-29 on leap years, c) lies between 1-30 for all other months. 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". 39/08/1538
0
Part 1. Definition You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Part 2. Example password = a Answer: 5 Explanation: Using 5 steps, it can become a strong password Part 3. Exercise password = ieCm1orlCO8AXkuwFag.DiZIaCuiMDC8FOqS5BMdk Answer:
21
Teacher: 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 Teacher: Now, understand the problem? If you are still confused, see the following example: 6 @ 17 Solution: 23 Reason: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23). Now, solve this instance: 9992 # 6015 # 821 # 443 # 9007 Student:
-6294
TASK DEFINITION: Read the given text and if it has abusive content then indicate via "yes". Otherwise indicate via"no". We consider the content to be abusive if it contains any of the following instances: (1) Identity Directed Abuse (e.g., Content which contains a negative statement made against an identity. An identity is a social category that relates to a fundamental aspect of individuals community, socio-demographics, position or self-representation) (2) Affiliation Directed Abuse (e.g., Content which express negativity against an affiliation. We define affiliation as a (more or less) voluntary association with a collective. Affiliations include but are not limited to: memberships (e.g. Trade unions), party memberships (e.g. Republicans), political affiliations (e.g. Right-wing people) and occupations (e.g. Doctors).) (3) Person Directed Abuse (e.g., Content which directs negativity against an identifiable person, who is either part of the conversation thread or is named. Person-directed abuse includes serious character based attacks, such as accusing the person of lying, as well as aggression, insults and menacing language.) and (4) Counter Speech (e.g., Content which challenges, condemns or calls out the abusive language of others.). Note that URLs in the text have been replaced with [Link]. PROBLEM: What do they think he's gonna do? Walk into congress and go, "Hey, you know that big ass report we typed up? It was a joke! The real one is right here! Trump is guilty!" This is the fuckin government, not the new season of Brooklyn 99 SOLUTION: no PROBLEM: If the issues with interbreeding was such an issue we would have so many more problems in the Middle East and such because cousin marriages over there aren't that unusual (which as an Arab living in the USA was weird until i read it's like a 2% or something increase in birth defects for cousin marriages) and mostly a result of the arranged marriages stuff. It's almost always when you have siblings or parent-child and that's more of a risk of recessive traits being amplified. It's the successive and repeated incest that usually is what causes major problems. Cousin marriages only increase the chances of birth defects from 2%-3% to 6%-7% The focus on birth defects usually are mislead and unfortunately changes the discussion from "these marriages are bad because of power dynamic" to "its bad to the child's health" which tends to ignore basic genetics and biology and weakens the argument. SOLUTION: no PROBLEM: Welcome to chinese philosophy. SOLUTION:
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. Q: [{'first': 19, 'second': 67}, {'first': 85, 'second': 52}] A:
[{'first': 19, 'second': 67}, {'first': 85, 'second': 52}]
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: [90, 757, 225, 2410, 22, 82, 4] A:
[64, 512, 256, 2048, 16, 64, 4]
You will be given a definition of a task first, then some input of the task. Given a premise and two alternatives in Gujarati, choose the alternative that is either a plausible cause or effect of the situation described by the premise. The premise is the 'નિવેદન' field and the alternatives are the 'વિકલ્પA' and 'વિકલ્પB' fields.The output should either be "વિકલ્પ A" or "વિકલ્પ B" based on your judgment. નિવેદન: મેં લોન્ડ્રોમેટમાં વોશિંગ મશીનમાં સિક્કા મૂક્યા. વિકલ્પ A: મશીન સંચાલિત. વિકલ્પ B: હું લોન્ડ્રી ડિટરજન્ટની બહાર દોડી ગયો. Output:
વિકલ્પ A
In this task you are given a tweet and you must identify whether the tweet contains any offense or any form of (untargeted) profanity. Label the post as NOT if the post does not contain offense or profanity. Non-offensive posts do not include any form of offense or profanity. label the post as OFFENSIVE if the post contains offensive language or a targeted (veiled or direct) offense. Twitter user mentions were substituted by @USER and URLs have been substitute by URL. @USER California? How? Gun control laws should of prevented this
OFFENSIVE
Instructions: In this task, you are given inputs 'i', 'j', and A, where 'i' and 'j' are integers and A is a list. A list is shown by two brackets and comma-separated numbers and characters inside, like ['1', '12', 'l']. You need to concatenate all elements of A from the ith element to the jth element, and then reverse the resulting string. 'i' and 'j' will be non-negative, and will always have a value less than the length of A. 'i' will always be less than 'j'. Perform the operations in order, i.e., do not reverse first and then concatenate. Input: 4, 5, ['1669', 'v', '2377', '645', 'o', 'd', '765'] Output:
o546
Teacher:We would like you to classify each of the following sets of argument pairs (discussing Death Penalty) into either SIMILAR or NOT SIMILAR. A pair of arguments is considered SIMILAR if the arguments are about the same FACET (making the same argument), and is considered NOT SIMILAR if they do not have the same FACET. A FACET is a low level issue that often reoccurs in many arguments in support of the author's stance or in attacking the other author's position. Teacher: Now, understand the problem? Solve this instance: Sent1: Especially given that you have accepted that some innocent people are executed. Sent2: Essentially, you believe a fetus should be allowed to be killed simply for existing, while you protect the lives of people who have murdered other innocent people (as murder is generally what a person will get the death penalty for). Student:
Not similar
In this task, you will be shown a prompt from a judicial decision and multiple holding statements derived from citations following text in a legal decision. Holdings represent the governing legal rule when the law is applied to a particular set of facts. There are five answer choices for each citing text. The correct answer is the holding statement that corresponds to the citing text. The four incorrect answers are other holding statements. You should find the correct option. There is a <HOLDING> token in the position of the citing text prompt where the holding statement was extracted. [EX Q]: exception, which provides that “[t]here is no time limit on the filing of a motion to reopen” if the motion “is based on changed country conditions arising in the country of nationality or the country to which removal has been ordered, if such evidence is material and was not available and would not have been discovered or presented at the previous proceeding.” 8 U.S.C. § 1229a(c)(7)(C)(ii). After review of the administrative record and consideration of the parties’ briefs, we dismiss the petition in part and deny the petition in part. I Ms. Lian acknowledges that binding circuit precedent prohibits us from reaching her challenge to the BIA’s refusal to reopen her proceedings sua sponte under 8 C.F.R. § 1003.2(a). See Lenis v. U.S. Att’y Gen., 525 F.3d 1291, 1293 (11th Cir.2008) (<HOLDING>). Nonetheless, Ms. Lian urges us to overrule Holding statements: (A) holding that we lack jurisdiction to review a claim not brought before the bia even when the bia addresses it sua sponte (B) holding that this court lacks jurisdiction to review claims that have not been raised before the bia (C) holding that this court lacks jurisdiction to review decisions of the bia refusing to reopen immigration proceedings sua sponte (D) holding that a decision of the bia whether to reopen a case sua sponte under 8 cfr 10032a is entirely discretionary and therefore beyond the courts review ie the court lacks jurisdiction to review the bias decision not to reopen (E) holding that the court lacks jurisdiction to review legal arguments not raised before the bia [EX A]: (C) [EX Q]: the peremptory strike. Purkett v. Elem, 514 U.S. 765, 768, 115 S.Ct. 1769, 131 L.Ed.2d 834 (1995). In this case, we cannot say that the Florida state court’s judgment was contrary to, or an unreasonable application of clearly established federal law, specifically the Supreme Court’s holding in Bat-son. As for the State’s strike of the first black prospective juror, the interaction between the parties and the state court (where, upon being challenged, the State revealed that it wished to strike this juror because two prosecutors had seen her sleeping during the jury selection process, and the trial court then moved onto the next juror) was adequate under Batson, so trial counsel was not ineffective in that respect. See Hightower v. Terry, 459 F.3d 1067, 1072 n. 9 (11th Cir.2006) (<HOLDING>). Moreover, even assuming that Sneed’s counsel Holding statements: (A) recognizing this purpose albeit implicitly (B) recognizing that a trial judge can implicitly find a prosecutors proffered reasons credible (C) holding that the trial judge cannot simply rjubber stamp a prosecutors nonracial explanation no matter how whimsical or fanciful but in order to permit a questioned peremptory challenge must conclude that the proffered reasons are first neutral and reasonable and second not a pretext (D) holding that findings by the trial judge are considered binding on appeal when supported by adequate substantial and credible evidence (E) holding that state prosecutors agreements with defendant not binding on federal prosecutors [EX A]: (B) [EX Q]: leaving the corner and walking away from the officers after making eye contact with them. See United States v. Jones, 619 F.2d 494, 494 (5th Cir. 1980) (individual’s flight from uniformed law enforcement officer may be a fact used to support reasonable suspicion “that criminal activity is afoot”); Magda, 547 F.2d at 758-59 (defendant’s companion immediately moved away with a “rapid motion” after looking in direction of observing officer); State v. Belton, 441 So. 2d 1195, 1198 (La. 1983) (flight, nervousness, or a startled look at the sight of an officer may be a factor leading to reasonable suspicion), cert. denied, 466 U.S. 953, 80 L. Ed. 2d 543 (1984). Id., 331 N.C. at 233-34, 415 S.E.2d at 722-23; See also State v. I.R.T., 184 N.C. App. 579, 585-86, 647 S.E.2d 129, 134-35 (2007) (<HOLDING>); State v. Crenshaw, 144 N.C. App. 574, 578-79, Holding statements: (A) holding that the officer had reasonable grounds to conduct an investigatory detention where a juvenile in a high drug area started walking away upon the approach of a law enforcement officer while keeping his head turned away from the officer and while moving his mouth as if he had something in it (B) holding that in deciding whether officers are entitled to qualified immunity it is not only the evidence of clearly established law that is for the court but also whether a reasonable officer could have believed that his or her conduct was lawful in light of the information the officer had (C) holding fact that appellant immediately turned and started walking in opposite direction when confronted by police officer was factor to be considered in determining existence of probable cause to believe he was attempting to flee after committing offense (D) holding that absent probable cause to arrest a police officer may approach an individual to conduct a brief investigatory stop when the officer has a reasonable articulable suspicion that criminal conduct is afoot (E) holding that absent warrant or exigent circumstances an officer had no authority to demand that the juvenile keep the door open to his residence or demand entry into it and thus the juvenile could not be convicted of resisting a law enforcement officer for trying to close door even if the officer had probable cause to believe that the juvenile was sheltering a runaway [EX A]:
(A)
TASK DEFINITION: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" PROBLEM: Fact: Gases from burning coal and oil dissolving in water in the atmosphere causes polluted rain. SOLUTION: Gases from burning coal and and oil dissolving in the atmosphere can cause what? PROBLEM: Fact: When water reaches zero degrees Celsius, it expands. SOLUTION: What happens when water reaches zero degrees Celsius? PROBLEM: Fact: Sponges feed on the detritus and the detrital organisms. SOLUTION:
What do sponges eat.?
The task is to identify if a given passage or sentence has proper punctuation. This includes proper capitalization and the use of punctuations such as commas, semi-colons and full-stops. The answer is True if all punctuation is properly applied, else the answer is False. Input: Consider Input: The conspirators were in a loft, approached by a ladder and a trap-door, access through which could only be obtained one by one. Output: True Input: Consider Input: William Greer, operator of the Presidential limousine, estimated the car's speed at the time of the first shot as 12 to 15 miles per hour. Output: True Input: Consider Input: However, the fact must not be blinked that machine-made paper cannot in the nature of things be made of so good a texture as that made by hand.
Output: True
Definition: Given news headlines, an edited word and funniness labels. The original sentence has word with the given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Your task is to generate answer "Yes" if an edited sentence matches funniness label, otherwise generate answer "No". Input: News Headline: Politico : {Alabama} Stands by Judge Moore Edit: panda Label: Not Funny Output:
No
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. Let me give you an example: Set1: '{2, 3, 6, 9, 10, 14, 15, 20}', Set2: '{3, 5, 7, 9, 12, 15, 16}'. How many elements are there in the union of Set1 and Set2 ? The answer to this example can be: 12 Here is why: The union of Set1 and Set2 is {2, 3, 5, 6, 7, 9, 10, 12, 14, 15, 16, 20}. It has 12 elements. So, the answer is 12. OK. solve this: Set1: '{1, 3, 4, 7, 11, 12, 13, 16, 17}', Set2: '{1, 4, 6, 9, 14, 15, 16, 18}'. How many elements are there in the union of Set1 and Set2 ? Answer:
14
You will be given a definition of a task first, then some input of the task. 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. Niemann-Pick type C is an autosomal-recessive, neurovisceral storage disorder that results from defective cholesterol esterification. Output:
non-adverse drug event
This task is about using the specified sentence and converting the sentence to Resource Description Framework (RDF) triplets of the form (subject, predicate object). The RDF triplets generated must be such that the triplets accurately capture the structure and semantics of the input sentence. The input is a sentence and the output is a list of triplets of the form [subject, predicate, object] that capture the relationships present in the sentence. When a sentence has more than 1 RDF triplet possible, the output must contain all of them. Don't Tear Me Up, from Wandering Spirit, reached #1 on the US main charts.
[["Don't Tear Me Up", 'PEAK_CHART_POSITIONS_US_MAIN', '1'], ["Don't Tear Me Up", 'ALBUM', 'Wandering Spirit']]
Definition: Given an input stream, the objective of this task is to classify whether words in the stream are grammatically correct or not. The input to this task is a stream of words, possibly from captions generated by a speech-to-text engine, and the output is a classification of each word from the labels (reason) = [NO_DIFF (correct), CASE_DIFF (case error), PUNCUATION_DIFF (punctuation error), CASE_AND_PUNCUATION_DIFF (both case and punctuation error), STEM_BASED_DIFF (stem word error), DIGIT_DIFF (digit error), INTRAWORD_PUNC_DIFF (intra-word punctuation error), and UNKNOWN_TYPE_DIFF (an error that does not corrrespond to the previous categories)]. Input: ['the', 'mayor', 'of', 'a', 'town', 'saw', 'an', 'article', 'that', 'claimed', 'the', 'national', 'unemployment', 'rate', 'is', '8%', 'they', 'wondered', 'if', 'this', 'held', 'true', 'in', 'their', 'own', 'town', 'so', 'they', 'took', 'a', 'sample', 'of', '200', 'residents', 'to', 'test', 'the', 'null', 'hypothesis', 'is', 'that', 'the', 'unemployment', 'rate', 'is', 'the', 'same', 'as', 'the', 'national', 'one', 'versus', 'the', 'alternative', 'hypothesis', 'which', 'is', 'that', 'the', 'unemployment', 'rate', 'is', 'not', 'the', 'same', 'as', 'the', 'national', 'where', 'P', 'is', 'the', 'proportion', 'of', 'residents', 'in', 'the', 'town', 'that', 'are', 'unemployed', 'the', 'sample', 'included', '22', 'residents', 'who', 'were', 'unemployed', 'assuming', 'that', 'the', 'conditions', 'for', 'inference', 'have', 'been', 'met', 'and', 'so'] Output:
['NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'CASE_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'NO_DIFF', 'CASE_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'CASE_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'CASE_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'NO_DIFF', 'NO_DIFF']
instruction: In this task, you're given text messages in natural language. Your task is to classify those text messages based on their content into two classes: (1) Spam and (2) Ham messages. If the content of the given message is irrelevant to the receiver or is equally relevant to many other potential recipients then it must be labeled as ‘spam’, otherwise, it should be labeled as ‘ham’. question: Then why no one talking to me answer: ham question: Ela kano.,il download, come wen ur free.. answer: ham question: Yoyyooo u know how to change permissions for a drive in mac. My usb flash drive answer:
ham
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. 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. [227, 151] Output:
[227, 151]
Q: Convert a disfluent question to a proper question. A disfluent question is a question that has some interruptions in it while framing. A proper question is the correct form of the question without any disfluency. Which is one of the park features located in downtown Fresno no sorry located in north Fresno? A:
Which is one of the park features located in North Fresno?
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 Q: A named third party does do something outside of our label scheme with your financial information for a basic service or feature. You can configure your privacy with third-party user settings. A:
Financial
In this task, you're given statements in native Malayalam language. The statement can be written with the Malayalam alphabet or the English alphabet. Your job is to evaluate if the statement is offensive or not. Label the post as "Not offensive" if the post does not contain offense or insult. Non-offensive posts do not include any form of offense or insult. Label the post as "Offensive" if the post contains offensive language. കേരള സൂര്യ ഫാൻസിന്റെ ആശംസകൾ KAAPPAAN ON SEP 20 🤩🤩🤩 Not offensive എന്നാ ഊമ്പിയ background score ആണ് Offensive ഇത് കാണുന്ന ഇക്ക hatters സതീർത്യ പണി പാളിയല്ലോ
Not offensive
In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0. One example: IcLCZgiymDWVHOGsOMdoksiLJoj, h Solution is here: 0 Explanation: h is not present in the string. Now, solve this: bwYcqzyFLrEzVdKzAoOLSQI, q Solution:
1
Definition: 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: [83, 684, 80] Output:
[64, 512, 64]
instruction: 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. question: eq { hop { argmax { all_rows ; win % } ; coach } ; rick barnes } answer: superlative question: eq { hop { argmax { all_rows ; purse } ; tournament } ; senior tournament players championship } answer: superlative question: round_eq { sum { all_rows ; gold } ; 94 } answer:
aggregation
Teacher: You will be given a passage consisting of set of facts and a question as input. The task is to answer a question of form 'Where is <person_name>?' using one of the given facts to determine the latest location of the person. Answer should be a word/phrase describing the location from the supporting fact. Avoid answers that are incomplete or incorrect. Teacher: Now, understand the problem? If you are still confused, see the following example: Passage: Mary moved to the bathroom. John went to the hallway. Question: Where is Mary? Solution: bathroom Reason: 'Mary moved to the bathroom.' is a supporting fact from which we can conclude that Mary is in bathroom. Now, solve this instance: Passage: Mary travelled to the bedroom. Daniel moved to the hallway. Daniel journeyed to the garden. Daniel journeyed to the hallway. Question: Where is Daniel? Student:
hallway
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. [EX Q]: Bolivia [EX A]: Republic [EX Q]: Northern Mariana Islands [EX A]: Commonwealth of the US [EX Q]: Iceland [EX A]:
Republic
TASK DEFINITION: Based on the given context, craft a common-sense question, especially those that are LONG, INTERESTING, and COMPLEX. The goal is to write questions that are easy for humans and hard for AI machines! To create such questions, here are some suggestions: A. What may (or may not) be the plausible reason for an event? B. What may (or may not) happen before (or after, or during) an event? C. What may (or may not) be a plausible fact about someone (or something)? D. What may (or may not) happen if an event happens (or did not happen)? You can also create other types of questions. DO NOT make your question answerable without looking at the context, or question of which the correct answer can be directly extracted from the context. DO NOT ask a question that requires very specialized knowledge that is not common sense. DO NOT ask too simple or too short questions. Your question must be related to the context and answerable with common sense. Try to add more variations and complexity to the questions. PROBLEM: Context: It means I ' m getting old , well I ' m not an old person I ' m a teenager . And belive it or not ! I'M NOT EXITED ! I mean what is going to happend any way ?. SOLUTION: Why is my age changing ? PROBLEM: Context: And it may be some need to justify this theory that is influencing my perceptions , but the fact he chose hallucination over reality in the end may as well be a metaphor for the same thing . And then I read the following passage , which came a little bit later in Jacob 's recap . The definition of madness is the inability to filter out the false from the true ... Our bodies know better , they call it dreaming , and they force us awake . Stay there and become mad , become chimerical , abominable , something that can not exist . SOLUTION: Why did he choose hallucination over reality ? PROBLEM: Context: Yesterday was an interesting day on the job . I had my first ever morning show meeting where I was n't one of the morning show guys . Jay Sharpe is the morning man at The Wolf and he 's a sharp young fella who will be a lot of fun to work with over the next few months . We 're gon na do some great stuff . SOLUTION:
What job does the narrator have at the morning show ?
In this task you need to give reasons to justify the pronoun coreference relations. Each of the provided inputs contains a sentence with a target pronoun and a question about how to justify the coreference between a noun phrase and the target pronoun. Good practices involve the discussion about how the descriptions attached to the targeted pronoun relate to the noun phrase candidate in the question. The reasoning could come from one or multiple following knowledge types about commonsense: First: 'Property', the knowledge about property of objects (e.g., ice is cold). Second: 'Object', the knowledge about objects (e.g., cats have ears). Third: 'Eventuality', the knowledge about eventuality (e.g., 'wake up' happens before 'open eyes'). Forth: 'Spatial', the knowledge about spatial position (e.g., object at the back can be blocked). Fifth: 'Quantity', the knowledge about numbers (e.g., 2 is smaller than 10). Sixth: all other knowledge if above ones are not suitable. Write the sentence in natural language. [Q]: Sentence: Bob paid for Charlie's college education, but now Charlie acts as though it never happened. He is very ungrateful. Question: Why does the 'He' refer to charlie? [A]: Because Charlie is the one who acts like it never happened. [Q]: Sentence: When Tommy dropped his ice cream, Timmy giggled, so father gave him a stern look. Question: Why does the 'him' refer to timmy? [A]: Because the stern look would be to the one who giggled at Tommys misfortune. [Q]: Sentence: The father carried the sleeping boy in his arms Question: Why does the 'his' refer to the father? [A]:
Because He carried the boy.
Detailed Instructions: Given a prompt and two completions from a language model, select the completion that is the least toxic with respect to continuing the prompt. Toxicity is defined as a rude, disrespectful, or unreasonable statement that is likely to make you leave a discussion. Generate either Completion A or Completion B. Problem:Prompt: "Spire installed on New York's One World Trade Center brings it Completion A: up every day. The skyscrapers were so enormous, it cost almost more than $10m in construction. Yet it's only 10 years since Completion B: in line with many of the other towers that have been erected in the world, such as the iconic Great Pyramid in Egypt, which was designed by Italia Solution:
Completion B
Detailed Instructions: Given a part of privacy policy text, classify it into one of these categories: (1) First Party Collection/Use (how and why a service provider collects user information), (2) Third Party Sharing/Collection (how user information may be shared with or collected by third parties), (3) User Choice/Control (choices and control options available to users), (4) User Access, Edit, & Deletion (if and how users may access, edit, or delete their information), (5) Data Retention (how long user information is stored), (6) Data Security (how user information is protected), (7) Policy Change (if and how users will be informed about changes to the privacy policy). Problem:The site collects your cookies or tracking elements for analytics or research. Collection happens when you implicitly provide information on the website. Solution:
First Party Collection/Use
Teacher: Given an entity, a before event, an after event, and an attribute related to the entity, generate a sentence as output. Your sentence should show the changes in the attribute of the entity. Teacher: Now, understand the problem? If you are still confused, see the following example: entity: arm before: free after: grasped attr: state Solution: state of arm was free before and grasped afterwards Reason: The attribute state of the entity arm was free before and afterwards it was grasped hence the output. Now, solve this instance: entity: new muffler hangar before: uninstalled after: installed attr: location Student:
location of new muffler hangar was uninstalled before and installed afterwards
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 are the maximum and minimum number of cows across all farms. Output:
SELECT max(Cows) , min(Cows) FROM farm
Part 1. Definition The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. Part 2. Example Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?' Utterance: 'You can take the two water. I am not that thirsty most days.' Answer: No Explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves. Part 3. Exercise Context: 'hi' 'hi there! ready to go hiking? Where will you be going, I'll be going to NY, the Catskills mountains.' 'yes im ready rocky mountains ' Utterance: 'awesome! I love the rockies. So let's try and divy up our extra supplies then. Personally, I feel that I'd need the most extra food, as I'm a rather large guy and plan to go hiking a lot during this time. Firewood would be nice, so I could have a big bonfire. What are your prefernces? ' Answer:
Yes
In this task you need to give reasons to justify the pronoun coreference relations. Each of the provided inputs contains a sentence with a target pronoun and a question about how to justify the coreference between a noun phrase and the target pronoun. Good practices involve the discussion about how the descriptions attached to the targeted pronoun relate to the noun phrase candidate in the question. The reasoning could come from one or multiple following knowledge types about commonsense: First: 'Property', the knowledge about property of objects (e.g., ice is cold). Second: 'Object', the knowledge about objects (e.g., cats have ears). Third: 'Eventuality', the knowledge about eventuality (e.g., 'wake up' happens before 'open eyes'). Forth: 'Spatial', the knowledge about spatial position (e.g., object at the back can be blocked). Fifth: 'Quantity', the knowledge about numbers (e.g., 2 is smaller than 10). Sixth: all other knowledge if above ones are not suitable. Write the sentence in natural language. Q: Sentence: Anne gave birth to a daughter last month. She is a very charming baby. Question: Why does the 'She' refer to anne's daughter? A: Because She is a very charming baby.: Anne gave birth to a daughter last month. **** Q: Sentence: Susan knows all about Ann's personal problems because she is indiscreet. Question: Why does the 'she' refer to ann? A: Because Ann is the one with the personal problems making her more likely to be indiscreet. **** Q: Sentence: Although they ran at about the same speed, Sue beat Sally because she had such a good start. Question: Why does the 'she' refer to sue? A:
Because Sue won. The reason Sue won is because she had a good start. ****
Definition: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the elicit-pref strategy, otherwise output No. elicit-pref is a cooperative negotiation strategy. It is used to discover the preference order of the opponent in the negotiation. Input: Context: 'We likely need a lot of firewood and some water to put out the fire when we are done lol. What are you thinking?' 'Yea, I'm not too into firewood because it will be quite hot when I make my camping trip. I could definitely use some more food just in case of an emergency out there.' 'Then how about I give you all my food in exchange for all the firewood and since I have to put out the fire, maybe 2 water for me and 1 for you?' Utterance: 'That sounds like a fair deal. I have no problem with that one.' Output:
No
Critic consensus:A gritty, languidly paced crime drama that blends old-fashioned ambiance with modern cynicism. Numbered reviews:1. [Xavier Beauvois] is a clean and sure director, with a good selective eye: he knows where we ought to be looking at any moment. We can hope for more Beauvois films with worlds of their own. 2. Has a clipped, Bressonian quality that makes it frustrating but also increasingly fascinating. 3. The film's plot, revolving around a murder investigation that turns nasty, ticks along smoothly and efficiently. But it's ultimately more of a character drama, and a reminder that great acting often has little to do with words. 4. Basically a vivid meal of characters, plus coffee and wine and one gin tonic, Le Petit Lieutenant keeps true to its brasserie menu. 5. Beauvois makes the milieu his own, too, showing us credible and affecting human beings caught up in a world that often reveals humanity at its worst. 6. Le Petit Lieutenant looks at Antoine's life with lyricism. 7. ... one that will likely earn more respect from viewers than it will passion. 8. The movie's realism is unimpeachable, though American cops might be stunned by the idea of a half-dozen detectives being assigned to the murder of an anonymous floater. 9. Just as the French may overrate our cinema (Jerry Lewis, anyone?), we may overrate theirs. Take Le Petit Lieutenant -- please. 10. ...More than any film in recent memory, Le Petit Lieutenant conveys the relentless toll of big-city police work. Critic consensus:While it's plenty predictable and sentimental, The Sapphires also has an irresistible feel-good vibe, winning music and charming performances to spare. Numbered reviews:1. A rousing soundtrack helps to compensate for some of the historical embellishments in this Australian crowd-pleaser. 2. Fires on all cylinders when it drops all pretense and allows its talented cast to simply belt out a series of pure, unfiltered slices of ear candy. 3. It might not possess the exuberant innocent fun of 'That Thing You Do!' or the overall brilliance of 'The Commitments' but 'The Sapphires' shines enough in its own right. (Complete Content Details for Parents also available) 4. 'Sapphires' got heart and soul 5. Let's trivialize a legacy of cruelty and denigration, in a country where indigenous people suffered from centuries of human rights abuse! And let's make the carnage of Vietnam look like a paintball game! 6. If you love the music of Motown and enjoy a feel good success flick, then "The Sapphires" fits the bill. 7. [A] genial, entertaining, cliché-ridden showbiz story from Australia. 8. Delirious surprises crowd out the clichés in this thoroughly disarming movie. 9. A very conventional story of a '60s Australian girl group gains extra power from its context and setting in this fact-based story set to the beat of Motown soul. 10. "The Sapphires" illustrates how the same old story - in this case, the one about a 1960s girl group and its struggles - can be freshened up through the novelties of place and characterization. Critic consensus:The Intern doesn't do enough with its timely premise, but benefits from the unorthodox chemistry of its talented leads. Numbered reviews:
1. There's not much here story-wise. But when Meyers wants to write an involving scene with characters thinking and feeling the way humans think and feel, you want to applaud. 2. A nice little film that is peppered with several mild laughs. 3. The Intern is a throwback comedy to the filmmaker's early work such as Baby Boom and Father of the Bride: sweet, uncomplicated, and overly earnest. 4. Meyers continues to be like baseball sabermetrics in cinematic form: Maybe never a home-run hitter, but someone who's patient and gets on base over and over and over again. 5. De Niro and Hathaway's characters grow ever closer in their relationship, and even end up literally "in bed" together. But it's not what it sounds like. 6. The Intern is an insubstantial Nancy Meyers comedy kept afloat by Robert De Niro and Anne Hathaway's screen chemistry. 7. The Intern is feel-good cinema with something to say, but still doesn't want its viewers to feel bad about anything. 8. The movie wants to believe that you can manage the perfect career and family life - that humanity doesn't need to be sacrificed for capitalism - and because we like these characters so much, we do, too. 9. The potential for this film to fall apart due to a saccharine script or overacting was high, but Meyers and her cast never let that happen. 10. I found Meyers' script charming and delightful. Plus the added charisma of De Niro and Hathaway on screen helps to keep "The Intern" from getting stupid.
instruction: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. question: x = 4, equation weights = [0, 5] answer: 5 question: x = 1, equation weights = [2, 4, 0] answer: 6 question: x = 7, equation weights = [7, 1, 9] answer:
359
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. Andorra
Southern Europe
instruction: Combine the given two facts to write a concluding fact. Note that there should be some parts of the first and second facts that are not mentioned in this conclusion fact. Your combined fact should be the result of a chain between the two facts. Chains form when two facts connect together to produce a concluding fact. An example of a chain is: "pesticides cause pollution" (fact1) + "pollution can harm animals" (fact2) → "pesticides can harm animals" (conclusion fact). Parts of the concluding fact overlap with the first and the second fact. To construct such a concluding fact, a useful way is to borrow the subject from one fact and the ending conclusions from another fact. question: Fact 1: when a plant grows , the size of the leaves of that plant may increase. Fact 2: Leaves are the main sites of photosynthesis. answer: when a plant grows the main site of photosynthesis increases in size. question: Fact 1: a plant requires water to grow. Fact 2: Plants respond to fertility and watering by growing larger and producing more blooms, but they will grow and bloom well with just average conditions. answer: A plant will grow larger and bloom. question: Fact 1: Skin color is a polygenic trait. Fact 2: Polygenic inheritance Polygenic traits are controlled by an unknown number of genes. answer:
Skin color is inherited from a number of genes.
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. One example is below. Q: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}] A: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}] Rationale: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example. Q: [{'first': 98, 'second': -60}, {'first': 10, 'second': 7}, {'first': 10, 'second': -3}, {'first': -88, 'second': -18}, {'first': 27, 'second': -80}, {'first': -27, 'second': -72}, {'first': 80, 'second': -67}, {'first': -78, 'second': -73}, {'first': 11, 'second': 54}, {'first': 94, 'second': 94}] A:
[{'first': -88, 'second': -18}, {'first': -78, 'second': -73}, {'first': -27, 'second': -72}, {'first': 10, 'second': -3}, {'first': 10, 'second': 7}, {'first': 11, 'second': 54}, {'first': 27, 'second': -80}, {'first': 80, 'second': -67}, {'first': 94, 'second': 94}, {'first': 98, 'second': -60}]
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) 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 gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control. Q: So if you want to ban guns, 1,531,764 people will get killed or injured, and you'll only take guns out of the hands of those who don't even commit gun crimes. A: Valid **** Q: Second, regulating private party sales will not render gun shows unimpor-tant as sources of trafficked crime guns; the best evidence is that most of those guns are sold by licensed retailers. A: Valid **** Q: Let me ask you a question if I might: How do you explain the 2nd Amendment phrase ���the right of the people���? A:
Valid ****
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Input: password = pHC.bIK Output:
1
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. Example: [1,3,5] Example solution: 3.000 Example explanation: The mean of the input list is (1+3+5)/3, which equals 3. This is a good example. Problem: [9.786, 4.383, 175.284, 142.256, -95.57, -81.48, 116.872, 195.826]
Solution: 58.42
instruction: 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. question: [[-13, 26, -11, -16, -33], [41, -49], [-31, 3], [31, -13, -31, 13, 37], [10, -42, 33]] answer: [-416, 0, 0, 0, -420] question: [[-2, -30], [26, -22, -44, -2], [16, 28], [38, 39, 16, 14], [-18, -49, 35, -16, -18], [31, 23, 2, -3], [3, 49], [31, 22], [-1, -5, -44], [-35, -41, 23], [-14, -11, -44], [10, 18], [25, 1, 37], [-36, -45, 16]] answer: [60, -50336, 448, 8512, -5184, 2, 0, 22, -44, 0, 616, 180, 0, -576] question: [[22, 36, 29, -21], [37, -38, -12, 26, 15], [32, -24, 28, 5]] answer:
[792, 11856, -21504]
Q: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. [{'first': -82, 'second': -64}, {'first': -12, 'second': 73}, {'first': -4, 'second': -17}, {'first': -92, 'second': 60}, {'first': 69, 'second': -13}, {'first': 69, 'second': 95}, {'first': 58, 'second': 29}, {'first': 100, 'second': -67}] A:
[{'first': -92, 'second': 60}, {'first': -82, 'second': -64}, {'first': -12, 'second': 73}, {'first': -4, 'second': -17}, {'first': 58, 'second': 29}, {'first': 69, 'second': -13}, {'first': 69, 'second': 95}, {'first': 100, 'second': -67}]
TASK DEFINITION: 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: What are the heights of perpetrators in descending order of the number of people they injured? SOLUTION: SELECT T1.Height FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Injured DESC PROBLEM: Return the number of accounts that the customer with the first name Art and last name Turcotte has. SOLUTION: SELECT count(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Art" AND T2.customer_last_name = "Turcotte" PROBLEM: What is the semester which most student registered in? Show both the name and the id. SOLUTION:
SELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1
Definition: 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_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT Output:
turn right thrice and turn around right thrice
Teacher:You are given a question-answer pair. Answer with their type. Pay attention that there may be more than one correct type, but you only have to choose one. In your responses, use of the following types: (1) Humans: Any individual or group of humans, including fictional ones (e.g., a group or organization of persons , an individual, title of a person, description of a person); (2) Event: Any phenomenon natural or artificial (e.g., named hurricanes, Battles, Wars, Sports events, Terrorist attacks); (3) Entity: A thing with distinct and independent existence (Animals, Organs of body, Colors, Inventions, books and other creative pieces, Currency name, Diseases, and medicine, Food, Musical instrument, Languages, Plants, Products, Religions, Sports, Elements and substances, Symbols and signs, Techniques and methods, Equivalent terms, Vehicles); (4) Facility: Something built for a particular purpose (Buildings, Airports, Highways, Bridges); (5) Location: A place (Cities, Countries, Mountains, States); (6) Law: Named documents made into laws (e.g., “the first amendment”, "civil rights act"); (7) Organization: an organized body of people with a particular purpose (Company names, e.g. Google, Cults or terrorist groups, e.g. Al Qaeda); (8) Date: Absolute or relative dates or periods, bigger than 1 day (Years, Range, e.g. from Monday to Tuesday, or during the 20th century, Approximate time); (9) Time: Any temporal range/unit that is shorter than a day (e.g., 2 o'clock, 1 pm); (10) Money: Monetary values, including unit (e.g., "$26", "914$"); (11) Quantity: postcodes or other codes, the number of sth, Ranks, fractions, speed, temperature, size, area, and volume, weight (e.g., "26 degree" "17 inch"); (12) Description: description and abstract concepts (e.g., the definition of something, the manner of an action, reasons); (13) Abbreviation: expression abbreviated (e.g., AMT = abbreviation of Amazon Mechanical Turk). Don't generate any word that is not mentioned in the list of types (Humans, Event, Entity, Facility, Location, Law, Organization, Date, Time, Money, Quantity, Description, Abbreviation). If you can not associate any of the given types with the provided question and answer pair, respond "Other". Teacher: Now, understand the problem? Solve this instance: Question: What percentage of the population in Montana speak English? (Answer: 94.8 percent). Student:
Location.