prompt
stringlengths
48
10.5k
response
stringlengths
0
1.56k
Detailed Instructions: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. Q: GRkhcmCIhSVISxwtOm, mIqKkhcmCIhSVIIB A:
GRcchhiikmsvSxwtOm, mIqKcchhiikmsvIB
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. Q: [-68.451, 107.556, 238.04, 191.811, -57.072] A:
[-0.166 0.261 0.578 0.466 -0.139]
Detailed Instructions: In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline. Q: customer: Hello. agent: Hello. How can I help you? customer: I am Gregory Thompson. I have a business meeting in Minneapolis, can you help me for booking? __ customer: My travelling dates are from 04/16 till 04/18. agent: Sure, may I know your airport codes? customer: My travelling airport codes are from HOU to MSP. agent: Here, I found a flight for you with 1 connection and fare is 200. Can I proceed? customer: Ok, please proceed for booking. agent: Your booking is done with flight 1014 in JetBlue airlines. customer: Thank you for booking. agent: Welcome, have a safe flight. A:
agent: Sure, I will help you in booking. Can you please share your travel dates?
In this task, you need to answer 'Yes' if the given word is the longest word (in terms of number of letters) in the given sentence, else answer 'No'. Note that there could be multiple longest words in a sentence as they can have the same length that is the largest across all words in that sentence. Q: Sentence: 'a person riding a surf board on a wave'. Is 'riding' the longest word in the sentence? A:
Yes
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" -------- Question: tire Answer: sire Question: grew Answer: pooh Question: die Answer:
sky
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy". Q: 14/17/1894 A:
0
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. [Q]: mmfffffffm [A]: mfffffffm [Q]: ljjljjllllj [A]: ljjljjl [Q]: qzzlzlqzqlql [A]:
lqzql
You will be given a definition of a task first, then some input of the task. In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other. Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise 'English : Berfo Kırbayır was calling out to the then Minister Ergin in her letter as follows:','Kurdish : Dayîka Berfo di nameya xwe de ji Wezîrê Dadê yê wê demê Sadullah Ergin re wiha bang dikir:' Output:
Yes
In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation. Example: Angola Example solution: 1975 Example explanation: 1975 is the year of independence of Angola. Problem: Marshall Islands
Solution: 1990
Part 1. Definition In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Part 2. Example [47, 444, 859, 530, 197, 409] Answer: [47, 859, 197, 409] Explanation: The integers '444' and '530' are not prime integers and they were removed from the list. Part 3. Exercise [43, 169, 625, 601, 463, 585, 60, 718] Answer:
[43, 601, 463]
Instructions: In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation. Input: Faroe Islands Output:
Part of Denmark
Detailed Instructions: 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. See one example below: Problem: If gun bans worked there would be no gun deaths in the countries that have banned guns. Solution: Valid Explanation: It is an argument that claims that gun bans will not work. Problem: This was an interesting one because it seperated militia from the right to bear arms, including specifically stating that a state cannot deprive a person of that right. Solution:
Valid
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'. Q: Tony Curtis was born Bernard Schwartz on June 3, 1925, at the Fifth Avenue Hospital corner of East 105th Street in Manhattan, New York City, the first of three boys born to Helen (née Klein) and Emanuel Schwartz A:
June 3, 1925
Read the passage and find if the passage agrees, disagrees, or has a neutral stance on whether Global warming is caused by human activities. Answer only with keyword (a) agrees - if passage agrees with the target (b) disagrees - if passage disagrees with the target (c) neutral - if the given passage neither agrees nor disagrees with the target. You don't need to use external knowledge in this task, and you have to answer based on the given passage. Climate change is not primarily caused by man. disagrees There is some change in how carbon is divided between the atmosphere and the ocean. neutral Australia could become so hot and dry that its residents could join the ranks of the world's climate refugees.
agrees
You are given a statement written in Hindi. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option . Example Input: Statement: इस चुनावी क्षेत्र (राइडिंग) में अप्रवासियों की संख्या सबसे ज्यादा है। अप्रवासियों व उनके बच्चों को मिलाकर ये समूह यहाँ की कुल जनसंख्या ११८९०५ का ७५ प्रतिशत हैं। २००६ की जनगणनाके अनुसार लगभग एक तिहाई निवासी चीन के हैं और पंद्रह प्रतिशत भारत या <MASK> से संबंधित हैं। शहर का पंजाबी बाज़ार और समूहों में रहने वाली पंज़ाबी सिखों की बिरादरी का इस क्षेत्र पर दबदबा है। सेवा क्षेत्र, खुदरा व्यापार, निर्माण उद्योग यहाँ की आपदनी और रोजगार का मुख्य स्रोत हैं। २५ से ज्यादा उम्र के लगभग ३० % लोगों के पास विश्वविद्यालय की डिग्रियाँ हैं। Option A: पाकिस्तान Option B: वैंकूवर Option C: गुयना Option D: कनाडा Example Output: पाकिस्तान Example Input: Statement: मारानगोनी संस्थान, एक फ़ैशन संस्थान है जिसके कैम्पस मिलान, <MASK> और पेरिस में हैं। 1935 में स्थापित, यह फ़ैशन डिजाइन और उद्योगों के लिए अत्यधिक कुशल पेशेवर तैयार करता है। Option A: लंदन Option B: बैंकॉक Option C: वेनिस Option D: जर्मनी Example Output: लंदन Example Input: Statement: मनीलाल मगन्लाल डाक्टर (२८ जूलाई १८८१ - ८ जनवरी १९५६) <MASK> में जन्मे, लंदन शिक्षित वकील और नेता था, जो[के अनेक देशों की यात्रा की ब्रिटिश साम्राज्य समेत, [फिजी]], मॉरीशस और अदन, को कानूनी सहायता उपलब्ध कराने के स्थानीय जातीय भारत आबादी. वह मिले गाँधी, जो उसे कहा मॉरीशस जाना, जहां उन्होंने भारत का प्रतिनिधित्व किया अदालत में Mauritians और संपादित एक समाचार पत्र,हिन्दुस्तानी. गांधी के बाद बाद एक फिजी में बैरिस्टर के लिए जरूरत से उसे सूचित किया और वह में फिजी में 1912 पहुंचे। Option A: लंदन Option B: भारत Option C: मॉरीशस Option D: सोमालिया Example Output:
भारत
Q: This task is reading a paragraph and determining if it has proper nouns in it or not. A proper noun is a noun that designates a particular being or thing, does not take a limiting modifier, and is usually capitalized in English. The answer is true if at least one proper noun is present in the sentence, false otherwise. America has produced a good many showy books, the typography, paper, and illustrations of which are, however, all wrong, A:
False
Instructions: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Input: By the Rainbow Vegetarian Café and close to the riverside, The Golden Palace is offering pub food for less than £20. Output:
name[The Golden Palace], eatType[pub], priceRange[less than £20], area[riverside], near[Rainbow Vegetarian Café]
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. noninstitutional institutional perceptive unperceptive balconied
unbalconied
Detailed Instructions: Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Problem:Query: SELECT count(*) WHERE { ?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M0 . ?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M0 . FILTER ( ?x0 != M0 ) . M1 ns:film.film.starring/ns:film.performance.actor ?x0 . M1 ns:film.film.starring/ns:film.performance.actor M2 . M1 ns:film.film.starring/ns:film.performance.actor M3 } Question: What was produced , written , and executive produced by a Italian art director Solution:
0
In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'. Let me give you an example: Set1: '{1, 6, 10, 12, 13, 14, 15, 16}', Set2: '{1, 2, 4, 6, 11, 14, 15, 20}'. Is the element '11' in the intersection of Set1 and Set2 ? The answer to this example can be: No Here is why: The intersection of Set1 and Set2 is {1, 6, 14, 15}. 11 is not an element of this set. So, the answer is No. OK. solve this: Set1: '{10, 13, 15, 17, 19, 20}', Set2: '{2, 12}'. Is the element '15' in the intersection of Set1 and Set2 ? Answer:
No
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. Example: 1644 Example solution: 1 Example explanation: 1644 is a leap year as 1644 is divisible by 4. Problem: 1280
Solution: 1
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively. aBxyZde Solution: y Why? y has the maximum ascii value in the given string. New input: TmGMz Solution:
z
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Q: [227, 154, 213, 479, 326, 15, 554, 110, 81, 301, 17, 173, 479] A: [227, 479, 17, 173, 479] **** Q: [902, 829] A: [829] **** Q: [278, 47, 582, 521, 246, 277, 143, 993, 135, 367, 19, 862, 241, 235, 380, 107, 311, 837] A:
[47, 521, 277, 367, 19, 241, 107, 311] ****
Teacher:In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' . Teacher: Now, understand the problem? Solve this instance: माणूस अपंग झाला. त्याच्या कुटुंबीयांनी त्याला आर्थिक मदतीची ऑफर दिली. Student:
effect
Teacher:In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Teacher: Now, understand the problem? Solve this instance: The Golden Curry provides average English food. Although it is not a family-friendly restaurant. Student:
name[The Golden Curry], food[English], customer rating[average], familyFriendly[no]
In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3. Example input: [2, 5, 9, 6, 11] Example output: [2, 5, 11] Example explanation: 6 and 9 are removed from the list because they are divisible by 3. Q: [-84, 4, -32, 58] A:
[4, -32, 58]
In this task, you are given a country name, and you need to return the country's surface area in terms of square kilometers. Up to two decimal places are allowed in your answer. -------- Question: Cambodia Answer: 181035.00 Question: Belgium Answer: 30518.00 Question: Heard Island and McDonald Islands Answer:
359.00
Q: In this task, you will be presented with a question in Dutch language, and you have to write the person names from the question if present. B denotes the first item of a phrase and an I any non-initial word. Phrase used for the person name - PER. There can be instances with no person name entity, then return 'None'. Misschien dat dat iets losmaakt bij de bobo's van het Nederlandse voetbal . " A:
None
Find the movie name from the given conversation. If the movie name is not found give output as "unknown" Ex Input: ASSISTANT: What type of movies do you enjoy? , USER: I like I like comedies quite a bit. I think I think they're underrated. , ASSISTANT: What appeals to you with these type of movies? , USER: I mean they're just fine and you can laugh and have a good time and the subject matter is light and, you know, it's generally just about see seeing some funny. , ASSISTANT: Is there a specific movie you enjoy from this genre? , USER: Well one of them that I think is funny is the movie Hot Rod. Ex Output: Hot Rod Ex Input: ASSISTANT: Hello. What kind of movies do you like? , USER: Hi. I really like the comedies and documentaries. , ASSISTANT: Me too. Why do you like this kind of movie? , USER: I find both of them entertaining in different ways. I think I really like things that make me laugh. I want to be in a good mood most of the time, and documentaries can be sad, but they're very informative, and I learn a lot about how other people live, so that's why I like those. , ASSISTANT: Can you name a particular documentary that you like? , USER: The one I This one that I really liked was Going Clear, about Scientology. I also really liked Thirteen. Ex Output: Thirteen Ex Input: ASSISTANT: what kind of movies do you like? , USER: I like a lot of action movies. And sometimes animation if they fit right with my personal liking. , ASSISTANT: what do you like about these kinds of movies? , USER: Animation you could do a whole bunch of stuff that you cannot do with live action. Sometimes CGI is never the best option and the best way to go about like impossible stuff is do it in animation because the idea's limitless on what you can do. , ASSISTANT: can you name a movie that you really liked? , USER: Last movie I really liked was Justice League. Ex Output:
Justice League
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you will be shown an English sentence. You need to classify the sentence as either a representation of an anaphor number agreement or as an incorrect representation. An anaphor is an expression whose interpretation depends upon another expression. Anaphor number agreement is a restriction where a phrase agrees with the preceeding expression: plurals match plurals or singular expressions match singular expressions. In this task a valid representation of anaphor number agreement should be denoted as 'good' while everything else should be denoted as 'bad'. A correct representation of an anaphor number agreement will be a grammatically correct instance of a sentence where the subject and self-referencing nouns match plurality. An incorrect representation is a sentence in which the subject and self-referencing noun's plurality do not match. Bob helped himself to some food. Solution: good Why? The use of himself agrees with the singular subject Bob. New input: These women observed herself. Solution:
bad
Instructions: 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. Input: Sentence: Alexander the Great's accomplishments and legacy have been depicted in many cultures. Question: When did Alexander the Great reign? Category: Absolute Timepoint. Output:
Yes.
Part 1. Definition 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". Part 2. Example 14/25/1405 Answer: 0 Explanation: It is an invalid date as the month(mm) is 14 which does not lie in the range 1 to 12. Part 3. Exercise 03/35/1583 Answer:
0
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. Q: A tenis player is getting ready to hit a ball. A: tenis **** Q: Tedsy bear in sweater sitting on shelf near plant. A: Tedsy **** Q: The nalf eaten desert is next to a glass of juice. A:
nalf ****
In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items. [Q]: ['B', '9', '3', '4', '6', 'e'] [A]: [['B', '9', '3', '4', '6'], ['B', '9', '3', '4', 'e'], ['B', '9', '3', '6', 'e'], ['B', '9', '4', '6', 'e'], ['B', '3', '4', '6', 'e'], ['9', '3', '4', '6', 'e']] [Q]: ['5', 'w', 'R', 'L'] [A]: [['5', 'w', 'R'], ['5', 'w', 'L'], ['5', 'R', 'L'], ['w', 'R', 'L']] [Q]: ['q', '0', 'U', 'D'] [A]:
[['q', '0', 'U'], ['q', '0', 'D'], ['q', 'U', 'D'], ['0', 'U', 'D']]
Teacher:Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'. Teacher: Now, understand the problem? Solve this instance: Tweet: @anonymized_account Od 5-ciu lat mieszka z nami starsza, samotna osoba.\nJej obecność okazała się dla nas prawdziwym Darem. , Question: Is the tweet free of any cyberbullying (harmful) content? Student:
Yes
Given a sentence in Japanese, provide an equivalent paraphrased translation in Chinese that retains the same meaning both through the translation and the paraphrase. 2010年4月23日から29日まで、スペインのカタルーニャのバルセロナにあるReal Club de Tenisバルセロナで開催されました。
它于2010年4月23日至4月29日在西班牙巴塞罗那加泰罗尼亚的巴塞罗那皇家俱乐部举行。
In this task, you are given two questions about a domain. Your task is to combine the main subjects of the questions to write a new, natural-sounding question. For example, if the first question is about the tallness of the president and the second question is about his performance at college, the new question can be about his tallness at college. Try to find the main idea of each question, then combine them; you can use different words or make the subjects negative (i.e., ask about shortness instead of tallness) to combine the subjects. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in the new question, this keyword should also be used the same way. Do not write unnatural questions. (i.e., would not be a question someone might normally ask about domains). Do not write open-ended or subjective questions. (e.g., questions that can be answered differently by different people.) If you couldn't find the answer to your question from a single Google search, try to write a different question. You do not have to stick with the original question word for word, but you should try to create a question that combines the main subjects of the question. [Q]: What party was this president part of? Who did this president choose as a vice president? [A]: What party was the vice president of this president? [Q]: What lakes are in this national park? Is kayaking permitted in a lake in this national park? [A]: Which lakes can i rent kayak at in this national park? [Q]: Is this dog breed not hypoallergenic? Does this dog breed always have spots? [A]:
Does this dog breed shed frequently or have spots on their coat?
Given the task definition and input, reply with output. 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: The father carried the sleeping boy in his arms . paraphrase: The fathers carried the sleeping boys in their arms .
Number
Given the task definition and input, reply with output. In this task, we have Spanish and Catalan tweets for automatic stance detection. The data has three labels Against, Favor, and Neutral which express the stance towards the target -independence of Catalonia. If the tweet criticizes the independence of Catalonia then it's 'Against' and if the tweets support it then it will be labeled as 'Favor' also if the tweets state information or news rather than stating opinion then it will be characterized as 'Neutral'. Tweet: Escriviu-los. Que els seus carcellers sàpiguen que els estimem molt. #freetothom #LlibertatPresesPolítiques #RetornExiliades https://t.co/fvvANor6Co
Favor
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 list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list. ['4427', '3829', 'g', '671', '7079', '5789', 'r'] Output:
3, 7
In this task, you're given two articles in the Thai language and the possible genre they belong to in the English language. Determine if the two articles share a positive sentiment on the given genre. Indicate your answer with Y for yes if they do and N for no if they don't. Genres available include: politics,human_rights,quality_of_life,international,social,environment,economics,culture,labor,national_security,ict,education Article1: Title: การ์ด กปปส.แจ้งวัฒนะขอขมากองทัพ-กรณียิง พ.อ.วิทวัส Body: เว็บกองทัพไทยเผยภาพ การ์ด กปปส. นำพวงมาลัยมาขอขมากรณียิงทำร้าย พ.อ.วิทวัส วัฒนกุล เนื่องจากเข้าใจผิดว่ามาก่อเหตุยิงเอ็ม 79 โดยขอสำนึกผิดและสัญญาว่าจะไม่ให้เกิดเหตุอีก ด้าน พ.อ.วิทวัส รู้สึกพอใจส่วนการดำเนินคดีขอให้เป็นไปตามกระบวนกฎหมาย 28 เม.ย. 2557 - ตามที่เมื่อคืนวันที่ 24 เม.ย. เกิดเกตุการ์ด กปปส. ยิงทำร้าย พ.อ.วิทวัส วัฒนกุล รองผู้อำนวยการกองวิเทศสัมพันธ์ สํานักวิเทศสัมพันธ์ กรมข่าวทหาร  (กวส.สวส.ขว.ทหาร) ขณะลงจากรถยนต์ไปย้ายกรวยยางที่ตั้งขวางถนนบริเวณซอย 7 ศูนย์ราชการ ถ.แจ้งวัฒนะ โดยต่อมาถูกส่งตัวไปรักษาที่ รพ.มงกุฎวัฒนะนั้น (อ่านข่าวก่อนหน้านี้) [1] ล่าสุด เว็บไซต์กองบัญชาการกองทัพไทย [2] ลงภาพข่าว "ผู้แทน กปปส.แจ้งวัฒนะ ขอขมา พ.อ. วิทวัสฯ" โดยระบุว่าเมื่อวันศุกร์ที่ 25 เมษายน 2557 เวลา 11.00 น. ผู้แทนพุทธอิสระ แกนนำและหัวหน้าการ์ด กปปส.แจ้งวัฒนะ ได้ติดต่อเพื่อเข้าขอขมา พ.อ.วิทวัส แต่เนื่องจากยังรักษาตัวอยู่ที่โรงพยาบาลไม่สะดวก จึงขอให้ขอขมาผ่านผู้บังคับบัญชาของตน การเข้าขอขมาของการ์ด กปปส. แจ้งวัฒนะ ในครั้งนี้ หัวหน้าการ์ด กล่าวว่า รู้สึกเสียใจต่อเหตุการณ์ ที่เกิดขึ้น เนื่องจากในคืนนั้นเวลาประมาณ 23.00 น. ได้ถูกยิงด้วยเอ็ม 79 บริเวณด้านหน้าศาลปกครองสูงสุด และต่อมาได้ถูกยิงด้วยอาวุธปืนอีกจำนวนหนึ่ง กลุ่มการ์ดจึงได้เพิ่มความระมัดระวังเพื่อป้องกันตนเอง จนเกิดการเข้าใจผิดคิดว่า พ.อ.วิทวัส เป็นผู้ที่มาก่อเหตุ และเมื่อทราบว่าเป็นทหาร จึงได้รีบนำตัวส่งโรงพยาบาลโดยทันที ทางฝ่าย กปปส. แจ้งวัฒนะ รู้สึกเสียใจต่อการกระทำดังกล่าว ได้สำนึกผิดและสัญญาว่าจะไม่ให้เกิดเหตุการณ์เช่นนี้ขึ้นอีกเป็นอันขาด การขอขมาในครั้งนี้ พ.อ.วิทวัส ได้รับทราบ รู้สึกพอใจ สำหรับเรื่องการดำเนินคดีขอให้เป็นไปตามกระบวนการทางกฎหมาย Article 2: Title: ผบ.ทอ.เผยเรดาร์ ทอ.สุราษฎร์ธานีตรวจพบ MH370 ในคืนที่ขาดการติดต่อ Body: ผบ.ทอ. เผยเรดาร์ ทอ.ระบบสะท้อนตัวเครื่องบินที่สุราษฎร์ธานี ตรวจพบเครื่องบินมาเลเซียแอร์ไลน์ในคืนเกิดเหตุเมื่อ 10 วันก่อน พบออกนอกเส้นทางไปทางทิศตะวันตกเฉียงเหนือบริเวณช่องแคบมะละกา ก่อนหายไปจากจอเรดาร์ โดยถือเป็นบทเรียนกองทัพอากาศในอาเซียนเรื่องความร่วมมือเรดาร์การทหาร 18 มี.ค. 2557 - ตามที่ตั้งแต่วันที่ 8 มี.ค. 2557 มีรายงานว่าเครื่องบินของสายการบินมาเลเซียแอร์ไลน์ เที่ยวบิน MH370 จากสนามบิน KLIA รัฐสลังงอร์ ประเทศมาเลเซีย ปลายทางกรุงปักกิ่ง สาธารณรัฐประชาชนจีน ขาดการติดต่อขณะเข้าสู่น่านฟ้าของเวียดนามในบริเวณอ่าวไทย (อ่านข่าวก่อนหน้านี้) [1] และต่อมานายกรัฐมนตรีมาเลเซียแถลงเมื่อวันที่ 15 มี.ค. ว่าอุปกรณ์แจ้งพิกัดบนเครื่องบินถูกหยุดการทำงาน และมีการเปลี่ยนทิศทางการบินออกจากเส้นทางบินปกติ มาทางทิศตะวันตกนั้น (อ่านข่าวก่อนหน้านี้) [2] ล่าสุด สถานีวิทยุกระจายเสียงแห่งประเทศไทย [3] รายงานว่า เมื่อวันที่ 18 มี.ค. พล.อ.อ.ประจิน จั่นตอง ผู้บัญชาการทหารอากาศ เปิดเผยว่า เรดาร์ของกองทัพอากาศ ที่จังหวัดสุราษฎ์ธานี ตรวจพบข้อมูลของเครื่องบินสายการบินมาเลเซียแอร์ไลน์ ในเรดาห์ระบบสกินเพ้นท์ ซึ่งเป็นเรดาร์แบบสะท้อนจากตัวเครื่องบิน พบว่ามีเส้นทางบินที่ผิดปกติ โดยบินขึ้นไปทางทิศตะวักตกเฉียงเหนือ บริเวณช่องแคบมะละกา เมื่อเวลา 00.22 น. ของวันที่ 8 มีนาคมที่ผ่านมา ก่อนจะหายไปจากจอเรดาร์ ซึ่งทางกองทัพอากาศจะประสานไปยังกองทัพอากาศมาเลเซีย เพื่อตรวจสอบว่า ข้อมูลดังกล่าว ตรงกับที่มาเลเซียตรวจพบหรือไม่ ซึ่งเหตุการณ์ในครั้งนี้ถือเป็นบทเรียนให้กับกองทัพ พร้อมเตรียมประสานไปยังกองทัพอากาศของประเทศสมาชิกอาเซียน ในเรื่องของความร่วมมือเกี่ยวกับเรดาร์ทหาร เพื่อความมั่นคงต่อไป ผู้บัญชาการทหารอากาศ กล่าวอีกว่า ส่วนกรณีสถานการณ์ทางการเมืองนั้น มองว่า ทุกฝ่ายต้องลดทิฐิของตัวเองลง และหันหน้าเข้าเจรจา เพื่อแก้ปัญหาในภาพรวม และเป็นของขวัญให้กับประชาชนชาวไทย ในเทศกาลสงกรานต์ ยืนยัน ไม่รับตำแหน่งนายกรัฐมนตรีคนกลาง Do both the articles share the same sentiment for the genre: education?
yes
Definition: This task is to find the number of 'For' loops present in the given cpp program. Input: int divide(int d,int n) { int sum=0; for(int i=d;i<n;i++){ if (n%i==0&&(n/i)>=i){ sum=sum+1; sum=sum+divide(i,n/i);}} return (sum); } int main() { int n,num; cin>>n; for(int i=0;i<n;i++){ cin>>num; cout<<divide(2,num)+1<<endl;} return 0; } Output:
2
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task you will be given 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. hNarAik Solution: hNrk Why? The three vowels in the input 'a, 'A', and 'i' are removed. New input: hMEigcoifZunUVnaH Solution:
hMgcfZnVnH
Instructions: In medical studies, the efficacy of medical treatments (called interventions) is evaluated within a group of study participants. You will be given a sentence of a study report in which your task is to list the phrases that describe the intervention(s) of the study. You should list the phrase in the same order that they appear in the text, separated by commas. If no information about the interventions is mentioned, just answer with "not found". Interventions are: a specific drug, surgery, talking therapy, a lifestyle modification, control or placebo treatment. Do not include details, dosages, frequency and duration, intervention mentions that are not in an informative span of text. Input: [ The effect of ionic and nonionic x-ray contrast media on myocardial perfusion and myocardial function ] . Output:
ionic, nonionic
Q: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Sentence: They want a program that will be a success , {{ " }} Johnson - Freese said . Word: " A:
''
Q: You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148] A:
1
Q: In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said. Sentence: Everyone really loved the oatmeal cookies; only a few people liked the snickerdoodle cookies. Next time, we should make more of them. Question: Which cookie should we make more of, next time? A:
oatmeal
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. Ex Input: [853, 481, 479, 919] Ex Output: [853, 479, 919] Ex Input: [66, 279, 743, 321, 119, 984, 404, 907, 41, 20] Ex Output: [743, 907, 41] Ex Input: [607, 717, 395, 702, 705, 781, 855, 112, 255] Ex Output:
[607]
Given the task definition and input, reply with output. For the given English description, write an SQL command such that it accomplishes every step. 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. Did M0 's producer , writer , director , executive producer , and star play M1 and M2 and play M3
SELECT count(*) WHERE { ?x0 ns:film.actor.film/ns:film.performance.character M1 . ?x0 ns:film.actor.film/ns:film.performance.character M2 . ?x0 ns:film.actor.film/ns:film.performance.character M3 . ?x0 ns:film.actor.film/ns:film.performance.film M0 . ?x0 ns:film.director.film M0 . ?x0 ns:film.producer.films_executive_produced M0 . ?x0 ns:film.producer.film|ns:film.production_company.films M0 . ?x0 ns:film.writer.film M0 }
Definition: In this task you will break down a question into the basic steps required to answer it. A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.) Here are the list of step templates and their description: Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes] Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition] Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step] Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step]. Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute] Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest] Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number] Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2] Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2] Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2] Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2] Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition] Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2]. Input: question: In what county is The Oracle newspaper circulated? Output:
#1 return newspaper #2 return #1 that is The Oracle #3 return county #2 is circulated In
Two analogies that relate objects to the associated rooms is given in the form "A : B. C : ?". "A : B" relates object A to room B. Your task is to replace the question mark (?) with the appropriate room for the given object C, following the "A : B" relation. Q: shed : garden. closet : ? A:
hallway
In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline. [Q]: customer: Hi. __ customer: I want to book a ticket from AUS to HOU, will you help me? agent: Sure I will help you. Can you share your journey dates? customer: I am planning to go 08/10 and 08/12. agent: May I know your name? customer: Sure, Deborah Phillips here. agent: Sorry, there is no flight found. customer: It's ok, not an issue. Thank you. agent: Thank you. [A]: agent: Hello. How can I aid you? [Q]: customer: Hello,. agent: Hello, how can I serve you today? customer: Emily Phillips here. I am planning to attend my Business meeting with my clients in Minneapolis, can you please help me to book a flight with single connection? agent: Sure, can you please let me know your airport codes? customer: It is a round trip MSP. agent: When do you planned your travelling dates? customer: My journey dates are from 10/02 to 10/04. __ customer: Ok. agent: Thanks for being waiting, there is a flight found with UA airline of flight number 1004 and fare is 100. Shall I proceed for booking? customer: Ok, you can proceed with my booking. agent: Your ticket has been confirmed. customer: Thanks for your service. agent: Thanks for choosing us. [A]: agent: Ok, please wait for a while. [Q]: customer: Hello, Anthony Jackson here. agent: Hello, how may I assist you today? customer: Can you please help me in booking a connecting flight to Charlotte from San Francisco? __ customer: Thank you. agent: May I know the airport codes of Charlotte and San Francisco? customer: SFO and CLT are my airport codes. agent: Do you have a price limit on ticket? customer: Yes, I can afford upto 500. agent: On which dates would you like me to book your ticket? customer: My travel dates are from 03/13 to 03/15. agent: In which class do you prefer to travel? customer: I do prefer a business class ticket. agent: Sure, please wait I will check the availability of flights within your preferences. customer: Ok, I will wait. agent: There are no tickets available in business class, we found a ticket in economy class. Would you like to travel in economy class? customer: Ok, no problem I am comfortable to travel in economy class. agent: Sure. Flight details are: flight number-1007 of UA airlines with ticket price 200, connections-1. customer: Yes, I am ok with flight details, you can proceed with booking. agent: Your booking has been confirmed successfully. customer: Thank you for your help. agent: Thank you for connecting with us. [A]:
agent: Sure, we are here to help you.
Part 1. Definition Read the passage and find if the passage agrees, disagrees, or has a neutral stance on whether Global warming is caused by human activities. Answer only with keyword (a) agrees - if passage agrees with the target (b) disagrees - if passage disagrees with the target (c) neutral - if the given passage neither agrees nor disagrees with the target. You don't need to use external knowledge in this task, and you have to answer based on the given passage. Part 2. Example Most global warming is natural and even if there had been no Industrial Revolution current global temperatures would be almost exactly the same as they are now. Answer: disagrees Explanation: The sentence explicitly states the global warming is natural. It also adds the temperatures would be the same even without industries. Therefore the sentence disagrees with the target. Part 3. Exercise While many scientists are wary of drawing firm links between any particular storm and climate change, a rising sea level adds to the destructiveness of storm surges, and a warming atmosphere holds more moisture, leading to more rain. Answer:
agrees
Read the given story and classify it as 'imagined', 'recalled', or 'retold'. If a story is imagined, the person who wrote the story is making it up, pretending they experienced it. If a story is recalled, the person who wrote the story really experienced it and is recalling it from memory. If a story is retold, it is a real memory like the 'recalled' stories, but written down much later after previously writing a 'recalled' story about the same events. So, recalled stories and retold stories will be fairly similar, in that they both were real experiences for the writer. Imagined stories have a more linear flow and contain more commonsense knowledge, whereas recalled stories are less connected and contain more specific concrete events. Additionally, higher levels of self reference are found in imagined stories. Between recalled and retold stories, retold stories flow significantly more linearly than recalled stories, and retold stories are significantly higher in scores for cognitive processes and positive tone. Example Input: During a Christmas Party, my co-worker was having one of her worst days. She usually always harassed the other people in the kitchen but today she decided to harass me more than anyone else. I think why she disliked me the most was because I made it clear her behavior was unacceptable to me, while everyone else would just smile at her and than say terrible things about her when she left. She decided to try to bark orders at me, despite me being equal to her at work. She got so angry at me she would blow up at me before taking her break, and than while on her break she called the other co-workers in the kitchen to tell them to make sure I wasn't messing everything up for everyone else. She would threaten me, and berate me the entire day which my boss was entirely aware of. When I brought it up to my boss, just like I had done so dozens of times in the past, he just brushed it off and said to ignore her. I finally decided I had, had enough of my job and handed my boss my two weeks notice before leaving the building. He tried to guilt-trip me into staying by suggesting that a person with tough skin could handle it, and everywhere I go people like her would be there. However, I made it clear to him that in other work environments bosses enforce rules and if they're not followed the person is fired. My boss finally got the big picture of the problem with my co-worker and pulled her in to have a talk about her behavior, she came out quiet but proceed to be just as bad the next day. When you have a job where no one is ever fired, they never feel the need to change their behavior. When my two week notice was almost up, people kept telling me they would miss me and I was a good worker. That made me very happy, and made me feel like I had made a difference to people at my job. I think about that place sometimes but never do I miss it. While I hated to work there, I must admit it taught me a valuable lesson in dealing with others. My co-worker who harassed me left a week after I did, with my work asking me if I would come back shortly after. I of course, said no. Example Output: retold Example Input: Last month I dropped off my oldest child at a university that is 7 hours away from my house. The whole family came along for the drop-off. We had a great time driving to the university. We talked about so many issues, such as how to take a show in a shared bathroom to how to get the most out of going to college. Once we got to the campus, we participated in all the activity on campus. We met the roommate. We explored the whole campus and met so many interesting people. The best part of the day was when my child told us how grateful she is to us for being so supportive of her with her life choices. It was such a bitter-sweet moment. I would never forget this day. I know that I will miss my child a lot. I got a great satisfaction knowing my child made the right choice for college. I think my husband and I did a good job raising her. I will always be grateful to have a wonderful child like her. I would not even take anything for granted. Example Output: recalled Example Input: I was anxious to have the sinus surgery as my nose had been full of polyps with deviated septum for likely a couple of years at that point. I was quite miserable, comparable to a sinus infection for years with no real relief. Multiple doctors, many rounds of steroids and antibiotics with no relief. At one point I was offered depression medications. I was also scared to have someone cutting and cleaning right next to my brain and eyes with only a couple thin bones in between. But at this point I felt desperate. My quality of life was rather low so I was determined to go through with the surgery. And I'm glad I did and I'm grateful I found my ENT doctor when I did. My husband's mother took care of our toddler while my mother and husband accompanied me. I'm grateful for my husband for distracting me with talk of anything other than what was happening that day and rubbing my cold feet before surgery. It really is the little things in life that are most memorable. Breathing through one's nose is definitely something a lot of people take for granted. I remember laying on the freezing cold operating table with nurses, techs, doctor and all the machines as a nurse injected the drug to put me under which felt like cold fire in my veins. I remember waking up in recovery with my nose packed full of gauze and such, wondering where my family was. I've only been under anesthesia one other time and to be honest it is a rather traumatizing experience but the nurses and doctors certainly don't acknowledge it as such. Example Output:
retold
Part 1. Definition You are given a dialog between 2 or more individuals. Within the dialog, there will be clues that indicate two individuals were or are dating. You will be prompted at the end to answer which Speaker (or named individual) is dating which other Speaker (or named individual). Part 2. Example 'Speaker 1: Hi! Speaker 2: Hi. Speaker 1: Oh, I'm so glad you called. I feel like it's always me calling you. So, what's up? Is everything okay with Phoebe? Speaker 2: It will be...in a minute. Listen, Tim you're a really great guy. Speaker 1: It's because I'm with you. Speaker 2: Aw. I'm just-I'm in a place in my life right now where I...I... Speaker 1: Whoops. Sorry. This just in. Oh, it's 9-1-1 from the restaurant, that means Monica needs me right away. Speaker 2: Oh-oh no she doesn't! I know what that is. You can stay. Speaker 1: Awww, I'll miss you too Pheebs. And I will be holding you, right here. Speaker 2 is or was dating which Speaker?' Answer: Speaker 1 Explanation: Speaker 2 is giving clues to Speaker 1 about issues in their relationship. Part 3. Exercise Speaker 1: Ross, thank God. Speaker 2: Pheebs? What, why are you whispering? Speaker 1: I ate a bug. Speaker 1: Listen Ross, we ran out of gas, and we don't know where we are, so we can't get a tow truck. Speaker 2: Oh, now you want a favour? Speaker 1: Yes, please. Speaker 2: Well, oh, I'm sorry your car broke down Pheebs, but I'm a little too busy with some of my real friends right now, but please call to let me know you got home safely okay? Speaker 3: Phoebe, hang on a second. Here, take my car, go pick up your friends. Speaker 2: No, I'm not gonna pick them up. Speaker 3: Listen, we both know you're gonna do it 'cause you're not a jerk. Okay? So you can either sulk here for a half hour and then go pick them up, or save us both time and sulk in the car. Speaker 2: No, Rachel doesn't want me to.... Speaker 3: Look, I-I-I am sorry that Rachel dumped you 'cause she fell in love with that Mark guy, and you are the innocent victim in all of this, but don't punish your friends for what Rachel did to you. Speaker 2: Yeah, you're right. Speaker 3: Phoebe hang on a second Ross wants to say something. What? You slept with someone else?! Speaker 2: We were on a break!!! Okay!! We were, we were..., yeah. Where are you? I'll find you. Speaker 3: You slept with another woman? Speaker 2: Oh, you-you're-you're one to talk. Rachel is or was dating which Speaker? Answer:
Speaker 2
Detailed Instructions: In this task, you will be shown an English sentence. You need to classify the sentence as either a representation of an anaphor number agreement or as an incorrect representation. An anaphor is an expression whose interpretation depends upon another expression. Anaphor number agreement is a restriction where a phrase agrees with the preceeding expression: plurals match plurals or singular expressions match singular expressions. In this task a valid representation of anaphor number agreement should be denoted as 'good' while everything else should be denoted as 'bad'. A correct representation of an anaphor number agreement will be a grammatically correct instance of a sentence where the subject and self-referencing nouns match plurality. An incorrect representation is a sentence in which the subject and self-referencing noun's plurality do not match. See one example below: Problem: Bob helped himself to some food. Solution: good Explanation: The use of himself agrees with the singular subject Bob. Problem: Stacy didn't remember themselves. Solution:
bad
Given the task definition and input, reply with output. Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. Often they have been through something similar .
no
Read the passage and find if the passage agrees, disagrees, or has a neutral stance on whether Global warming is caused by human activities. Answer only with keyword (a) agrees - if passage agrees with the target (b) disagrees - if passage disagrees with the target (c) neutral - if the given passage neither agrees nor disagrees with the target. You don't need to use external knowledge in this task, and you have to answer based on the given passage. -------- Question: There may have been an orchestrated effort to mislead the public about the threat of global climate change. Answer: disagrees Question: We can’t retreat from the rising sea. Answer: agrees Question: Coral reefs may be more resilient to global warming and bleaching than we think. Answer:
neutral
Instructions: In this task, you are given the name of an Indian food dish. You need to return whether the dish is "non vegetarian" or "vegetarian". Do not answer with any words other than those two. Input: Aloo matar Output:
vegetarian
Detailed Instructions: Find the movie name from the given conversation. If the movie name is not found give output as "unknown" Q: ASSISTANT: can you tell me what types of movies you like? , USER: I like war movies. , ASSISTANT: ok, what about war movies do you like? , USER: They generally seem , USER: more They seem more factual. Like I know they're not necessarily more factual, but they seem less exaggerated than other types of movies that are fictional in nature. , ASSISTANT: got it, can you name a specific film you enjoyed? , USER: I would say Full Metal Jacket. A:
Full Metal Jacket
You will be given a definition of a task first, then some input of the task. In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list. ['c', 'd'] Output:
-1
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. Let me give you an example: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}] The answer to this example can be: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}] Here is why: 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. OK. solve this: [{'first': 9, 'second': -45}, {'first': -76, 'second': -13}, {'first': 1, 'second': 75}, {'first': 85, 'second': 2}, {'first': 87, 'second': 8}, {'first': -34, 'second': -79}, {'first': -36, 'second': -45}, {'first': -95, 'second': 12}, {'first': 28, 'second': -36}, {'first': 48, 'second': 7}] Answer:
[{'first': -95, 'second': 12}, {'first': -76, 'second': -13}, {'first': -36, 'second': -45}, {'first': -34, 'second': -79}, {'first': 1, 'second': 75}, {'first': 9, 'second': -45}, {'first': 28, 'second': -36}, {'first': 48, 'second': 7}, {'first': 85, 'second': 2}, {'first': 87, 'second': 8}]
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. Ex Input: Context: 'Hello! I also need firewood. It is my highest priority. Then, I need water next as a prority. 🙂' 'Yes that matches with my needs as well I need to stay warm due to health conditions and need plenty of water due to medicines. ' 'We could split the firewood and water. I can take two water and one firewood. 🙂' Utterance: 'Ok what about the food? how about you take two and ill take one?' Ex Output: No Ex Input: Context: 'hi how are you' 'Hi, I am good. How about you? 🙂' Utterance: 'same, can I get 3 food, 2 firewood and 0 water, I need 3 food because i need food to survive' Ex Output: Yes Ex Input: Context: 'How many wood do you think you need?' 'I would like 2 of the firewood. What do you think? ' 'I don't need wood as I am usually warm so I think we can work out a deal. I like to have more water and I usually get thirsty.' Utterance: 'That sounds good to me. 🙂 I think we can make a good deal.' Ex Output:
No
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Q: triclinic A: monoclinic **** Q: appointive A: elective **** Q: impenetrable A:
penetrable ****
Two analogies that relate objects to the associated rooms is given in the form "A : B. C : ?". "A : B" relates object A to room B. Your task is to replace the question mark (?) with the appropriate room for the given object C, following the "A : B" relation. [EX Q]: toolbox : garage. couch : ? [EX A]: parlor [EX Q]: couch : parlor. sink : ? [EX A]: bathroom [EX Q]: dresser : bedroom. workbench : ? [EX A]:
garage
In this task, you will be given a sentence about a person. You should determine how the sentence affects how the person is perceived by most people in society. Your choices are: Positive: The social perception of [PERSON] in the sentence is considered predominantly positive. Negative: The social perception of [PERSON] in the sentence is considered predominantly negative. No impact: There is no clear impact of social perception of [PERSON] associated with the sentence. [EX Q]: [PERSON] worked as an escort for a year before being fired by the company. [EX A]: Negative [EX Q]: [PERSON] started working as a carpenter in a small town in southern France and after the death of his family, he moved to the United States and was one of the founding [EX A]: No impact [EX Q]: [PERSON] was known for being smart, and being a good conversationalist. [EX A]:
Positive
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': -95, 'second': 81}, {'first': 91, 'second': -54}, {'first': -69, 'second': -88}, {'first': 71, 'second': 82}] [A]: [{'first': -95, 'second': 81}, {'first': -69, 'second': -88}, {'first': 71, 'second': 82}, {'first': 91, 'second': -54}] [Q]: [{'first': 19, 'second': -83}, {'first': 10, 'second': 52}, {'first': -69, 'second': 4}, {'first': -22, 'second': 10}, {'first': 91, 'second': -13}] [A]: [{'first': -69, 'second': 4}, {'first': -22, 'second': 10}, {'first': 10, 'second': 52}, {'first': 19, 'second': -83}, {'first': 91, 'second': -13}] [Q]: [{'first': 37, 'second': -35}, {'first': -20, 'second': -52}, {'first': 9, 'second': 76}, {'first': 13, 'second': -36}, {'first': -32, 'second': 49}, {'first': 36, 'second': -32}, {'first': 35, 'second': -40}, {'first': -97, 'second': 26}, {'first': -84, 'second': 13}, {'first': -36, 'second': -61}] [A]:
[{'first': -97, 'second': 26}, {'first': -84, 'second': 13}, {'first': -36, 'second': -61}, {'first': -32, 'second': 49}, {'first': -20, 'second': -52}, {'first': 9, 'second': 76}, {'first': 13, 'second': -36}, {'first': 35, 'second': -40}, {'first': 36, 'second': -32}, {'first': 37, 'second': -35}]
instruction: 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. question: password = MEvivqCLrtZ74IrNS23a52.y8yeCUE7Yuv answer: 14 question: password = S!!vt answer: 1 question: password = G67VF0kgSCdDt9XCcNTlyL answer:
2
Given the task definition and input, reply with output. In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list. ['9753', '3967', '7475', '5291', 'J', '683', '1683', '5819', 'l', 'z', '2267', 't', 'J', 'S', 'r', '687', 'c', '5777', 'z', 's', '7611', 'V', '6095', '4465', 'E', 'Q', '4903', 'd', 'e', 'k', 'l']
5, 9, 10, 12, 13, 14, 15, 17, 19, 20, 22, 25, 26, 28, 29, 30, 31
Detailed Instructions: In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3. Q: [91, 11, -10, 68] A:
[91, 11, -10, 68]
Given the task definition and input, reply with output. In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other. Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise 'English : * 18% of the greenhouse gas emission arises from animal husbandry and 8% from poultry farming.','Kurdish : Ji 3yê 1ê zewiyên tên kêlandin ji bo xwedîkirina heywanan têne kêlandin.'
Yes
Detailed Instructions: In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Problem:[3, 5, 2, 4, 0, 1, 2] Solution:
[3, 5, 4, 0, 1]
Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Query: SELECT count(*) WHERE { ?x0 ns:film.director.film M0 . ?x0 ns:film.editor.film M0 . ?x0 ns:film.writer.film M0 . M1 ns:influence.influence_node.influenced ?x0 . M2 ns:influence.influence_node.influenced ?x0 } Question: Was M0 M1 's executive producer and star
0
TASK DEFINITION: In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. PROBLEM: Set1: '{17, 5, 9}', Set2: '{6, 9, 13, 15, 20}'. How many elements are there in the union of Set1 and Set2 ? SOLUTION: 7 PROBLEM: Set1: '{8, 14}', Set2: '{2, 4, 6, 9, 10, 14, 15, 18, 19, 20}'. How many elements are there in the union of Set1 and Set2 ? SOLUTION: 11 PROBLEM: Set1: '{1, 2, 4, 6, 7, 14, 15, 18, 20}', Set2: '{16}'. How many elements are there in the union of Set1 and Set2 ? SOLUTION:
10
Given the task definition and input, reply with output. Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'. 05:01:34 PM occured before 15:59:49 but after 10:41:04 AM
False
instruction: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" question: want answer: ponte question: slip answer: hip question: seed answer:
feed
This task is reading a paragraph and determining if it has proper nouns in it or not. A proper noun is a noun that designates a particular being or thing, does not take a limiting modifier, and is usually capitalized in English. The answer is true if at least one proper noun is present in the sentence, false otherwise. Q: For although the Chinese took impressions from wood blocks engraved in relief for centuries before the woodcutters of the Netherlands, by a similar process A:
True
Given the task definition, example input & output, solve the new input case. In medical studies, the efficacy of medical treatments (called interventions) is evaluated within a group of study participants. You will be given a sentence of a study report in which your task is to list the phrases that describe the intervention(s) of the study. You should list the phrase in the same order that they appear in the text, separated by commas. If no information about the interventions is mentioned, just answer with "not found". Interventions are: a specific drug, surgery, talking therapy, a lifestyle modification, control or placebo treatment. Do not include details, dosages, frequency and duration, intervention mentions that are not in an informative span of text. Example: The patients received either azithromycin (600 mg/d for 3 days during week 1, then 600 mg/wk during weeks 2-12; n = 3879) or placebo (n = 3868) Output: azithromycin, placebo The word azithromycin refers to a drug, and placebo refers to a control test. Note that no extra information is given in the output. New input case for you: A symptom based questionnaire was administered to all patients at stent removal . Output:
not found
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. One example is below. Q: I_TURN_LEFT I_JUMP A: jump left Rationale: If the agent turned to the left and jumped, then the agent jumped to the left. Q: I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP A:
walk opposite right twice and jump around right twice
Detailed Instructions: Write a fact related to the given fact, based on the given topic word. Note that, your fact should have at least one word in common with the given fact. All facts in this task refer to scientific facts. Your related fact must form a chain with the given fact. Chains form when two facts connect together to produce the third fact. An example of a chain is: "pesticides cause pollution" (given fact) + "pollution can harm animals" (related fact) → "pesticides can harm animals" (connected chain). Avoid creating simple paraphrases of the given fact. While your generated fact should be related to the input fact, they must describe slightly different scientific phenomena. It's okay if your related fact includes some irrelevant information, provided that it has some overlap with the given fact and it contains some words corresponding to the provided topic. Q: Fact: Menopause occurs when menstruation stops occurring, usually in middle adulthood. Topic: menopause occurs. A:
By definition, menopause occurs when menstruation stops permanently.
Detailed Instructions: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" Problem:rope Solution:
slope
In this task, you need to answer 'Yes' if the given word is the longest word (in terms of number of letters) in the given sentence, else answer 'No'. Note that there could be multiple longest words in a sentence as they can have the same length that is the largest across all words in that sentence. Sentence: 'double bed furniture suite in a small room'. Is 'small' the longest word in the sentence? No Sentence: 'a smiling woman is holding a surfboard behind her back'. Is 'surfboard' the longest word in the sentence? Yes Sentence: 'this is a picture of a city street near some parking signs'. Is 'parking' the longest word in the sentence?
Yes
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Example Input: I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK Example Output: walk around left after look around right thrice Example Input: I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK Example Output: walk around right twice and walk around left thrice Example Input: I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN Example Output:
run around left twice after jump around left thrice
In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling we do not read rofkar as relying on any distinction between whitton and dunlop, and we disavow the dicta in rofkar that indicates that different tests for multiple punishment apply in different contexts. overruling a further reason for wiping the rule enunciated in united states v. feinberg off the books is that in practice it is no longer followed in this circuit when reviewing the denial of motions for acquittal for insufficiency of the evidence. overruling the ultimate question at issue in a case like this is whether ""there is a reasonable probability that [the jury] would have struck a different balance.""
non-overruling
This task is to find the number of 'For' loops present in the given cpp program. Input: Consider Input: /* * 1000012850_34.1.cpp * ????????????a??????????????? ????????? * Created on: 2010-11-27 * Author: william */ int resolution_into_factors(int j,int i) { int m, sum=0, k=0; for(m=j ;m<=sqrt(i); m++) { if(i%m==0) { sum=resolution_into_factors(m, i/m)+sum+1; k++; } } if(k==0) return 0; return sum; } int main() { int n, k, i; cin>>n; for(k=1; k<=n; k++) { cin>>i; cout<<resolution_into_factors(2,i)+1<<endl; } return 0; } Output: 2 Input: Consider Input: /* * fengjie.cpp * * Created on: 2013-11-23 * Author: sony */ int sum; void f(int x,int i){ if (x == 1) sum++; for(;i<=x;i++) if (x%i == 0) f(x/i,i); return; } int main(){ int t,a,i=2; cin>>t;//???????? for (a = 0; a<t ; a++){ int x; cin >> x; int ans = 1; for(i = 2; i<sqrt(x) ; i++){ sum = 0; if(x%i == 0) f(x/i,i); ans = ans + sum; } cout<<ans<<endl; } return 0; } Output: 3 Input: Consider Input: int f(int t) { double v=sqrt(t)+1; for(int i=2; i<v; i++) if(t%i==0) return 0; return 1; } int sum=0; void fun(int n,int i) { if(n==1) sum++; while(i<=n) { if(n%i==0) fun(n/i,i); i++; } return ; } int main() { int n; scanf("%d",&n); for(int i=0;i<n;i++) { int a; scanf("%d",&a); if(f(a)>0) { printf("1\n"); continue; } int i=2,K=1; while(i<=a/2) { if(a%i==0) { sum=0; fun(a/i,i); K+=sum; } i++; } printf("%d\n",K); } }
Output: 2
In this task you will be given a list, of lists, of integers. For every inner list contained in the input list, you should multiply every even number in that list. The output should be a list of integers with the same length as the number of lists in the input list. If there are no even numbers in an inner list you should output 0 for that list. Example input: [[7, -3, -3, 11], [-6, -6, -5, 2], [-8, 4, -3]] Example output: [0, 72, -32] Example explanation: The first inner list has no even integers, so the first number in the output is 0. The second list has -6, -6, 2 for even integers so the second output is 72. The third list has -8, 4 as even numbers so the third output is -32. This is a good example. Q: [[-44, 1, 18], [-3, 2, -35, 33, -22], [-6, -29, 37, -24], [35, -12, 42, -14, 39], [10, 35, -36, 4, 23], [18, 46, 44, -1], [15, 7, -8, 16], [-40, -8], [14, -13], [35, 38, -40, 29], [-43, -30, 37, 14, 40], [-19, -14], [32, -12, -8], [50, -22, 48, 3]] A:
[-792, -44, 144, 7056, -1440, 36432, -128, 320, 14, -1520, -16800, -14, 3072, -52800]
Given a prompt and two completions from a language model, select the completion that is the most fluent with respect to continuing the prompt. Fluency is defined by coherency and ease of understanding, not necessarily grammatical correctness. Generate either Completion A or Completion B. One example is below. Q: Prompt: Im 99 percent sure it was someone being an Completion A: accomplice , or maybe just plain old con man . whatever it was , it 's over . " Completion B: asshole, your right?) but it's an awkward subject in which if you were in the trouble of "me", i mean "fucking idiot" jrgh... i dunno...I guess you are (in a legal context) not a stupid A: Completion A Rationale: This prompt-completion pair is more fluent because it is more easy to follow and is a realistic statement. Q: Prompt: But wait, I'm really up. My phone is really active about something. The Completion A: Watercooling News also mentions it as well. Completion B: last couple weeks I've been checking my watch. I'm actually pretty busy lately. I've started writing on my blog, writing articles, and A:
Completion B
Given the task definition and input, reply with output. You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education. Flys
fly through the night sky leave no trail of him behind yell like a lion roar still i will never miss you anymore
In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Gute Popplatte . Auf dem neuen Album der Corrs sind mehr Stilrichtungen vertreten als auf den anderen beiden zuvor. Die neue Platte behält viel gutes von den vorherigen Alben bei: die wunderschönen Melodien, Lyrics und Stimmen. Jedoch hat In Blue keine Ecken und Kanten, es ist "nur" eine Poplatte. Das Spezielle, das FnF und ToC ausgezeichnet hat, ging hier leider im Rennen auf die vordersten Chartspositionen meist verloren. Auch hätten die Corrs sich die Studioaufnahme von "At your side" sparen können, die Version ist nur ein blasser Remix der Unplugged-Version. POS Naja....... . Nach großen Erwartungen aufgrund der tollen Kritiken , bin ich doch etwas enttäuscht. Irgendwie tut sich auf der Scheibe nix. Schade, hoffentlich haut er live etwas mehr drauf ! NEG Zum träumen... . Wow,Sarah!! Die Ballade ist einfach nur schön. Die dezenten Klänge a la "From Sarah with love" passen super zu Sarahs klangvoller, romantischer Stimme. Der Song hat was weinachtliches und zu den gefühlvollen Klängen kann man super träumen.
POS
In this task, you are given a country name, and you need to return the country's surface area in terms of square kilometers. Up to two decimal places are allowed in your answer. One example is below. Q: Angola A: 1246700.00 Rationale: Surface area of the given country Angola is 1246700.00 square-kilometer Q: Vanuatu A:
12189.00
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise Q: The site collects your contact information for a basic service or feature. Collection happens on the website. A:
Basic service/feature
Given the task definition and input, reply with output. In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. [-76, 58, 65]
7
Given the task definition and input, reply with output. In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items. ['4', '9', 'g', '3']
[['4', '9', 'g'], ['4', '9', '3'], ['4', 'g', '3'], ['9', 'g', '3']]
Instructions: 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. Input: Sentence: Still , Preetam vows to marry Nandini if she meets him again . Question: Were they married yesterday? Category: Transient v. Stationary. Output:
No.
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. [EX Q]: News Headline: This revealing anecdote unmasks Trump ’s {dehumanization} game Edit: Charades [EX A]: Not Funny [EX Q]: News Headline: U.S. fighter jet shoots down Iranian-made {drone} in Syria Edit: stew [EX A]: Funny [EX Q]: News Headline: Trump Jr. : I went to meeting with Russian lawyer because ' I had to {listen} ' Edit: dance [EX A]:
Funny
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. [7, 6, 2, 2, 4, 0]
[7, 6, 4, 0]
Instructions: Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise Input: When a change of an unspecified nature is made to the privacy policy, users are notified in an unspecified manner. Users' choices regarding policy changes are not mentioned or are unclear. Output:
Not specified
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. One example is below. Q: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy. A: adverse drug event Rationale: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy. Q: OBJECTIVE: To report a case of marked elevation of serum creatine kinase (CK) associated with olanzapine therapy. A:
adverse drug event
You will be given a definition of a task first, then some input of the task. In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling cases such as people v. stathos, supra, 17 cal.app.3d 33, are disapproved insofar as they are inconsistent with the views expressed herein. Output:
overruling
Detailed Instructions: 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. Problem:zpILhiWDOzqsCo Solution:
zpLhWDzqsC