prompt
stringlengths 48
11.6k
| response
stringlengths 0
2.99k
|
---|---|
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.
[EX Q]: Sentence: He then starred in a TV show Which was a failure both critically and commercially .
Question: How long did he act in the TV show?
Category: Event Duration.
[EX A]: Yes.
[EX Q]: Sentence: In this way the other major congressional interests can be brought together in the new committee's work.
Question: How long did it take to form the new committee?
Category: Event Duration.
[EX A]: Yes.
[EX Q]: Sentence: He says that instead of everyone dying , they could keep at least one of their princes alive .
Question: What time was the prince saved?
Category: Absolute Timepoint.
[EX A]: | Yes.
|
Definition: 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.
Input: customer: Hello.
agent: Hello, How can I aid you?
customer: I am Amy Mitchell want to travel to MA- BOS to enjoy beach holidays with my cousins.
agent: Ok.
customer: Can you book a ticket from TX-IAH?
agent: Sure, I am here to help you. May I know your travelling dates?
customer: My travelling dates are 01/24 and 01/26.
__
customer: Ok.
agent: Thanks for waiting. You have a single connecting flight in JetBlue airline and flight number 1017 having price 100. Shall I proceed?
customer: Ok, you can proceed.
agent: Your ticket has been booked.
customer: Thank you for booking.
agent: Thank you.
Output: | agent: Please wait. |
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.
[EX Q]: [-22.771, 214.763, -40.308, 84.107]
[EX A]: [-0.097 0.911 -0.171 0.357]
[EX Q]: [140.946, 100.12, 49.913, -24.764, 211.045]
[EX A]: [ 0.295 0.21 0.105 -0.052 0.442]
[EX Q]: [90.516, 11.317, 163.776, 135.694, 221.155, 149.851]
[EX A]: | [0.117 0.015 0.212 0.176 0.286 0.194]
|
Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the no-need strategy, otherwise output No. no-need is a cooperative negotiation strategy. It is used when a participant points out that they do not need an item based on personal context such as suggesting that they have ample water to spare. no-need can directly benefit the opponent since it implies that the item is up for grabs.
Input: Context: 'Well I think we can make a good deal then. How many packages of food would you want?' 'Could we each do 3 of what we need the most? I get three food and you get three water? How do you propose splitting up the firewood?' 'We can do the 3 for 3 trade. That works perfectly! Its' going to be cold at night where I'm going. What's it like where you're heading?'
Utterance: 'It's going to be pretty warm where I'm going, but it's also variable. How do you feel about you get 2 wood and I get 1?'
Output: | Yes |
Instructions: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Input: Which fault log included the most number of faulty parts? List the fault log id, description and record time.
Output: | SELECT T1.fault_log_entry_id , T1.fault_description , T1.fault_log_entry_datetime FROM Fault_Log AS T1 JOIN Fault_Log_Parts AS T2 ON T1.fault_log_entry_id = T2.fault_log_entry_id GROUP BY T1.fault_log_entry_id ORDER BY count(*) DESC LIMIT 1 |
Definition: You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
Input: original sentence: Everyone really loved the oatmeal cookies ; only a few people liked the chocolate chip cookies . Next time , we should make fewer of them . paraphrase: Everyone really loves the oatmeal cookies ; only a few people like the chocolate chip cookies . Next time , we should make fewer of them .
Output: | Tense |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK | run right thrice and walk opposite right thrice |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Sentence: {{ When }} i say jiu - jitsu or mma i mean it !
Word: When
Student: | WRB |
Part 1. Definition
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.
Part 2. Example
aBxyZde
Answer: y
Explanation: y has the maximum ascii value in the given string.
Part 3. Exercise
uzLMorR
Answer: | z |
Instructions: Your task is to localize given English phrase into Telugu language. When localising, follow these rules - (1) General names and concepts can be translated (2) Domain specific names can just be transliterated (3) Localised phrases can have both partial translated and transliterated parts (4) But only partial translation or only partial transliteration is not allowed (5) Copy special characters and numbers as is
Input: A session has exited with non-zero status
Output: | సున్నా- కాని స్థితితో ఒక సెషన్ నిష్క్రమించింది. |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: [-67, 66, 52, -94, 32, 69]
Student: | [-67, 52, -94, 32] |
Instructions: Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Input: Entity 1: abdomen
Entity 2: tissue
Output: | no |
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.
One example is below.
Q: password = a
A: 5
Rationale: Using 5 steps, it can become a strong password
Q: password = vFx
A: | 3 |
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'.
July 22, 1977 occured before 25 May 1986 but after 17 April 1999
| False |
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 sculpture rolled off the shelf because it wasn't level . paraphrase: The sculpture slowly rolled off the shelf because it wasn't level . | Adverb |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Q: ছাত্রলীগ এত সুন্দর মিথ্যা বলে। সত্য কথা বললে যেমন সত্যই শোনায় তমনি মিথ্যা বললেও বোঝা যায়।
A: non-religious
****
Q: পাকিস্তানে মোতায়েন হবে চীনা সেনা, উৎকন্ঠায় ভারত
A: non-religious
****
Q: একটা পেজে ছাগুরা তর্ক করছে। এক ছাগউ বলছে বোরখা টাইট হলে রেপ হবেই। একটা হারামী ছাগু বলছে মালাউন দেশ ভারতে সবথেকে বেশি রেপ হয়। একটা মাথামোটা গর্ধভ ছাগু বলেছে ইসলামিক শাসনে ধর্ষণ একদম হয় না। তাদের যেই পরিসঙ্ঘখন দিয়ে বোঝানো হল প্রতি হাজারে দেখলে বাংলাদেশ বা পাকিস্তানে ভারতের থেকে অনেক বেশি রেপ হয়। আর ইসলামিক দেশে চারটে স্বাক্ষির অভাবে অনেক মেয়ে রেপের রিপরট করে না। তাছাড় ইসলামিক শাসনে থেকেও সউদির শেখরা বাংলয়াদেশের দাসীদের রেপ করছে। সঙ্গে সঙ্গে সব কটা শুয়ার সেই পেজ থেকে পালালো। কেন বলুন তো?
A: | religious
****
|
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
Q: original sentence: Sam's drawing was hung just above Tina's and it did look much better with another one above it . paraphrase: Sam's drawings were hung just above Tina's and they did look much better with other ones above them .
A: Number
****
Q: original sentence: Joe paid the detective after he received the final report on the case . paraphrase: Joe is paying the detective after he received the final report on the case .
A: Tense
****
Q: original sentence: Ann asked Mary what time the library closes , because she had forgotten . paraphrase: Luke asked Henry what time the library closes , because he had forgotten .
A: | Gender
****
|
You will be given a definition of a task first, then some input of the task.
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: 'a plate that has several types of food on it'. Is 'several' the longest word in the sentence?
Output: | Yes |
In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
[68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 23, 402, 268, 461, 222, 24, 312, 144, 125]
[68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 461, 402, 268, 23, 222, 24, 312, 144, 125]
[16, 395, 336, 73, 197, 130, 372, 150, 282, 146, 68, 127, 244, 444, 94, 285, 231, 375, 341, 373]
[444, 395, 336, 73, 197, 130, 372, 150, 282, 146, 68, 127, 244, 16, 94, 285, 231, 375, 341, 373]
[170, 498, 490, 349, 135, 345, 287, 182, 394, 23, 97, 14, 418, 274, 285, 78, 147, 215, 104, 387]
| [170, 14, 490, 349, 135, 345, 287, 182, 394, 23, 97, 498, 418, 274, 285, 78, 147, 215, 104, 387]
|
You will be given a definition of a task first, then some input of the task.
You are given a geometric mathematical question. Questions in this task often involve shapes and Geometric Relationships. You are also given 4 or 5 answer options (associated with "A", "B", "C", "D", "E"). Do not generate anything else apart from one of the following characters: 'A', 'B, 'C', 'D', 'E'. LaTeX mathematical format (the standard way to express mathematical expressions in the typesetting software known as LaTeX) is used to express equations. Each question is solvable with high school math knowledge.
The length of a playground is 3 feet more than its width. If the length of the playground is 13 feet, what is the area of the playground in square feet?
(A)93 (B)130 (C)145 (D)153 (E)160
Output: | B |
Given the task definition and input, reply with output. 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.
Philippines
| 1946 |
You will be given a definition of a task first, then some input of the task.
Given a hotel review and the corresponding polarity of review (i.e., Negative or Positive) identify if the polarity is correct. Write 'true' if it's correct, 'false' otherwise.
Review: The Swissotel Chicago was by far the best hotel I have ever stayed at in Chicago. It was clean, modern, and the staff were very friendly, even to our large family with cranky kids at a very late hour. The room was fantastic and you can not beat it for the price. Not only was the room fantastic, but so was the view. Our room looked out over the skyline and it was breathtaking, especially at night. The best part of the hotel was its location. It was located within walking distance to so many fun attractions, including Navy Pier and the Sears Tower. Our stay was wonderful, and we can't wait to go back again.
Polarity: Negative
Output: | false |
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.
ArchitectMechanical engineer ( CAD)Graphics DesignerInterestingly I have a qualification in marketing and a lot of my time is spent designing publications . | no |
Your task is to localize given English phrase into Telugu language. When localising, follow these rules - (1) General names and concepts can be translated (2) Domain specific names can just be transliterated (3) Localised phrases can have both partial translated and transliterated parts (4) But only partial translation or only partial transliteration is not allowed (5) Copy special characters and numbers as is
Behavior on right click onto the maximize button.
పెద్దదిచేసిన బటన్ పైన కుడి నొక్కు ప్రవర్తన.
Other: click Add... in the dialog shown here:
ఇతర: జతచేయుము నొక్కుము... ఇక్కడ చూయించిన డైలాగునందు:
Choose the type of emoticon theme to create
| సృష్టించుటకు ఎమోటికాన్ థీమ్ రకమును ఎంచుకొనుము
|
You are given first 5 messages from a series of message exchanges between 2 persons playing the game of Diplomacy which is an American strategic board game. You need to generate the next message. The message should be generated such that it fits the context seen so far. Avoid the text that is (i) tangent to the context, (ii) repeats the context.
Q: ["Hey how's it going!? Hoping we can work together in this one. How you feeling about gal this year? Should we bounce there?", "Greetings Austria, nice to make your acquaintance.\n\nThis is definitely a unique game given the time constraints and high stakes. I intend to strike Northwest in an attempt to build a large fleet line extending across the North Atlantic. I need your cooperation to make this work, however. I need you to eliminate Turkey as a threat, and quickly so that I can turn my full attention North. Here is what I propose:\n\nI take RUM, but agree to take no centers South of RUM.\nSpring 1901 I move A MOS-STP\nWe both agree to a total DMZ in GAL\nFall 1901 I will move A WAR North\nI will use any available strength along my Southern border to support you in taking the Balkans and Turkey throughout the game.\n\nI think if we can both maintain trust you and I can hold the majority of centers between the two of us in 1910, and we'll both walk out of this game with the spoils. What do you think?", 'Sounds interesting! What does A War do in the spring?', 'I think A WAR-MOS. It allows me to backfill and on the off chance you do stab me and move to GAL I can bounce WAR in the Autumn then build in WAR, to be frank.', "Ok. So you want to take rum this year with your fleet? You're ok giving up the black sea? Or are you hoping for a DMZ there?"]
A: Bounce in the spring, hope for the DMZ in the fall
****
Q: ["Hi France, I'm a little bit nervous about an Austrian-Italian alliance would you mind mutually sharing information on their intentions?", 'Sure, although all Austria has done is complain about their country so far lol', 'Austria seems very knowledgeable so I would take whatever is said with a grain of salt', 'Austria and Italy seem to have made a peacefire for the start of the game at least', 'Have you talked to England or Germany?']
A: Yeah; fairly@standard stuff given that we all pretty much have to attack each other at some point
****
Q: ['Hello! What are your initial plans?', 'Still hashing it out.', "Cool. I don't like Russia so far, so an A/I that can stop a juggernaut would be my preference right now.", "I haven't heard from Russia yet.", 'Oof. So you decided to attack Austria and now Russia and Turkey are in a much better position. My advice would be to apologize to Austria and fight against this juggernaut that could be forming. Attacking Austria is not gonna work well for you.']
A: | So there is definitely a juggernaut forming
****
|
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
4305 aggiunta 255 aggiunta 6552 sottrazione 3258 | 7854 |
In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
[29, 411, 366, 438, 162, 117, 121, 436, 351, 344, 357, 420, 32, 464, 289, 395, 187, 132, 258, 425] | [464, 411, 366, 438, 162, 117, 121, 436, 351, 344, 357, 420, 32, 29, 289, 395, 187, 132, 258, 425] |
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.
Burkina Faso | Republic |
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
Q: Mahatma Mohandas K. GandhiAmong the many misdeeds of British rule in India, history will look upon the Act depriving a whole nation of arms as the blackest.
A: | Valid |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_LEFT I_TURN_LEFT I_RUN I_TURN_LEFT I_TURN_LEFT I_RUN
Student: | run opposite left twice after run opposite right |
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain.
Ex Input:
Liberia
Ex Output:
.lr
Ex Input:
Suriname
Ex Output:
.sr
Ex Input:
Algeria
Ex Output:
| .dz
|
Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase.
Q: 쓰나미는 일본의 태평양 연안을 따라 이즈 반도에서 큐슈까지 관찰되었고 하와이에서 알래스카까지의 조수에 의해 기록되었습니다.
A: | Le tsunami a été observé le long de la côte japonaise du Pacifique, de la péninsule d'Izu à Kyushu, et enregistré par les marégraphes d'Hawaii à Alaska. |
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
Input: Consider Input: [231, 1148, 3907, 2727]
Output: [256, 1024, 4096, 2048]
Input: Consider Input: [109, 1367, 3907, 846, 22, 81, 3, 225, 1931, 2094, 4544, 18, 33]
Output: [128, 1024, 4096, 1024, 16, 64, 4, 256, 2048, 2048, 4096, 16, 32]
Input: Consider Input: [190, 1796, 4091, 1570, 11, 76, 3, 54, 452]
| Output: [128, 2048, 4096, 2048, 8, 64, 4, 64, 512]
|
Q: 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.
stove : kitchen. refrigerator : ?
A: | kitchen |
Instructions: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
Input: ['j', '163', 'm']
Output: | 1, 3, 6 |
You will be given a definition of a task first, then some input of the task.
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.
counter : kitchen. shower : ?
Output: | bathroom |
Detailed Instructions: 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.
Problem:Sentence: 'there is a truck parked on the side of the road'. Is 'is' the longest word in the sentence?
Solution: | No |
This task is to find the number of 'For' loops present in the given cpp program.
One example: main()
{
float a[4];
float k;
float c;
int i;
for(i=0;i<4;i++)
{
scanf("%f",&a[i]);
}
scanf("%f",&c);
c=2*3.1415926*c/360;
k=(a[0]+a[1]+a[2]+a[3])/2;
double s,sq;
sq=(k-a[0])*(k-a[1])*(k-a[2])*(k-a[3]) - a[0]*a[1]*a[2]*a[3]*(double)cos(c/2)*(double)cos(c/2);
if(sq<0)
printf("Invalid input");
else
{
s=sqrt(sq);
printf("%.4f",s);
}
}
Solution is here: 1
Explanation: The number of 'for' loops in the code is given by the number of 'for' string present in the code. Since we can find the exact number of for loops, this is a good example.
Now, solve this: /*
* wanyi.cpp
*
* Created on: 2012-11-20
* Author: 7
*/
int t=1;
void fen(int n,int i)
{
for(i=i;i*i<=n;i++)
{
if(n%i==0)
{
fen(n/i,i);
t++;
}
}
}
int main()
{
int k;
cin>>k;
while(k--)
{
int n;
cin>>n;
t=1;
fen(n,2);
cout<<t<<endl;
}
}
Solution: | 1 |
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.stardroid.
++++++++
Answer: I love this app. I specifically looked for devices having compass while shopping. I compromised on other things to buy a device with compass. I just bought it last month and now they included gyroscope support (makes compass sensor obsolete) 😭 my bad now I'm stuck with a mediocre device EDIT: Oh! Thank you for letting me know. I don't have to regret anymore :D REPLY FROM DEV FOR MY PREVIOUS REVIEW: Not at all - it needs the compass too. The gyroscope only detects speed you still need the compass to 'anchor' the device on North. Basically the compass and accelerometer still determine direction and the gyro smooths out the jitters.
Please answer this: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
++++++++
Answer: Big app data
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.frostwire.android.
++++++++
Answer: | Love the music Easy to use |
Teacher: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
Teacher: Now, understand the problem? Solve this instance: [98, 74, 39, 52, 59, 70, 64, 10, 47, 19]
Student: | 2 |
Detailed Instructions: In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
Problem:زوج جمشیدی و درخشانی حقیقتا بی مزه ترین و حال بهم زن ترین و بی هنر ترین (و بسیاری ترین های دیگه که نمیشه اینجا بازگو کرد) زوج تاریخ سینمان لول های بی نمکی رو جا به جا کردن این دو نفر
Solution: | بازی |
Instructions: 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
Input: Article1:
Title: นักข่าวพลเมือง: “ดา ตอร์ปิโด” ชวนช็อปปิ้งก่อนปีใหม่
Body: เมื่อวันเสาร์ที่ 19 ธันวาคม 52 ที่ผ่านมาทางกลุ่ม “พลังรวมใจ” พร้อมด้วยดีเจอ้น ประชาชื่น ดีเจจากวิทยุชุมชนคนแท็กซี่ FM 107.75 และคุณกำพล นักวิชาการอิสระ ได้เดินทางไปเที่ยวงานประจำปีของกรมราชทัณฑ์ ซึ่งเป็นงานที่นำเอาสินค้าของผู้ต้องขังมาจัดแสดงและจำหน่าย เพื่อรายได้ส่วนหนึ่งจะปันผลให้กับผู้ต้องขัง
คนที่ชวนพวกเรามาเที่ยวงานนี้ก็ไม่ใช่ใครอื่น คุณดารณี ชาญเชิงศิลปะกุล หรือพี่ดา ตอร์ปิโด ของเรานี่เอง พี่ดาบอกพวกเราว่า ในส่วนของทัณฑสถานหญิงกลาง คลองเปรมนั้น เป็นฝีมือของพวกเพื่อนพี่ดาเอง ซึ่งพวกเขาน่าสงสารมาก บางคนก็ไม่มีญาติพี่น้องมาเยี่ยมหรือดูแลเลย หากเราไปอุดหนุนสินค้าของพวกเขาได้บ้างตามกำลัง ก็จะทำให้พวกเขายังพอมีเงินปันผลไว้พอใช้จ่ายส่วนตัวบ้าง
พอพวกเราก้าวเท้าเข้าสู่บรรยากาศของงาน ก็รู้สึกว่าเรือนจำนี้ไม่ได้น่ากลัวเลย ผู้คนคึกคัก เดินซื้อของกันหน้าชื่นตาบาน จากภาพเดิมๆที่เราเคยเข้ามาครั้งมาเยี่ยมพี่ดา บรรยากาศเรือนจำมันดูน่ากลัว แต่ทั้งหมดก็เพราะเราคิดไปเองทั้งนั้น บรรดาเจ้าหน้าที่เรือนจำต่างยิ้มต้อนรับนักช็อปปิ้งทั้งหลายด้วยไมตรีจิต (แหม! ถ้ายิ้มแบบนี้กับผู้ต้องขังบ้างก็คงจะดีนะคะ พี่ดาจะได้ไม่ต้องโดนตะคอกหรือปฏิบัติตามอารมณ์จากเจ้าหน้าที่บ่อยๆ)
ภายในงานจะมีสินค้ามาขายหลากหลายชนิด เอาแบบว่าสาธยายกันไม่หมดเลยค่ะ ตั้งแต่ ตู้ โต๊ะ ตั่ง เตียง เสื้อผ้า กระเป๋า รองเท้าสาน ขนมนมเนย ฯลฯ ซึ่งทั้งหมดมาจากฝีมือผู้ต้องขังล้วนๆค่ะ นี่ถ้ารัฐบาลจะกรุณาพวกเขาสักนิด นำสินค้าของพวกเขาไปขายยังตลาดต่างประเทศบ้างก็น่าจะดีนะคะ เพื่อจะได้ปรับสภาพภายในเรือนจำที่ย่ำแย่ให้ได้มาตรฐานกันบ้าง เพราะเท่าที่ฟังจากที่พี่ดาเล่า แม้แต่น้ำดื่มก็ยังมีเศษผง มีลูกไรน้ำเล็กๆ ลอยไปลอยมา แย่จริงๆ ค่ะ
กลับเข้าเรื่องดีกว่าค่ะ สำหรับท่านใดที่ไปซื้อหาสินค้าแล้วกลัวว่าจะขนกลับบ้านไม่ได้ ก็ไม่ต้องห่วงนะคะ ทางเรือนจำมีรถส่งสินค้าให้ค่ะ ซึ่งวันนั้นดิฉันก็ซื้อไปหลายชิ้นค่ะ ไม่ว่าจะเป็นต่างหู สร้อยข้อมือ (ขอบอกว่าสวยและถูกมากค่ะ) ส่วนดีเจอ้น ก็ไม่น้อยหน้าซื้อเก้าอี้เอนนอนค่ะ สนนราคาก็ไม่แพงเลยตัวละ 1,800 เองค่ะ รีบๆ กันหน่อยนะคะ งานนี้มีถึงวันที่ 28 ธันวาคม 2552 นี้เท่านั้น ที่เรือนจำคลองเปรมค่ะ ทางจะไปเดอะมอล์ลงามวงศ์วานนะคะ
ไปเที่ยวกันแล้วก็อย่าลืมส่ง สคส ถึงดา เพื่ออวยพรปีใหม่และส่งกำลังใจให้คุณดา ตอร์ปิโดด้วยนะคะ ส่งมาที่ตู้ ปณ 58 ปณศ (พ) พระโขนง กรุงเทพ 10110 หรือส่งเป็น E-Card มาที่ [email protected] แล้วมาร่วมกันลุ้นให้คุณดา เป็นผู้ต้องขังที่มีคนส่ง สคส ให้มากที่สุดในโลกนะคะ
Article 2:
Title: ส.ส. ประชาธิปัตย์ แนะ นปช.หยุดใส่เสื้อแดงรำลึก 19 กันยา ชี้เป็นสัญลักษณ์แห่งความรุนแรง
Body: 12 ก.ย. 53 - ที่พรรคประชาธิปัตย์ นายสาธิต ปิตุเตชะ ส.ส.ระยอง พรรคประชาธิปัตย์ กล่าวถึงกรณี การจัดกิจกรรมรำลึกการทำรัฐประหาร 14 - 19 ก.ย.ว่า เป็นสิ่งที่สามารถทำได้ แต่อยากขอร้องอย่าใส่เสื้อสีแดง เพราะเป็นสัญลักษณ์ของความรุนแรง ที่อาจทำให้คนภายนอกเข้าใจผิด และยังสร้างผลกระทบด้านความเชื่อมั่นกับคนทั้งในและต่างประเทศด้วย
อย่างไรก็ตาม นายสาธิต กล่าวต่อว่า การจัดกิจกรรมดังกล่าวอยากให้นำเสนอเนื้อหาข้อเท็จจริง ไม่ใช่สรุปเพียงฝ่ายเดียว อย่างกรณีคนเสียชีวิต 90 คน โดยอ้างเป็นฝี่มือของรัฐบาลทั้งหมด โดยไม่แยกแยะว่าศพไหนตายเพราะเหตุใด หรือโดยกองกำลังชุดดำสังหาร เช่นกรณีของ พล.อ.ร่มเกล้า ธุวธรรม ที่ถูกยิงเสียชีวิตที่บริเวณสี่แยกคอกวัว
ทั้งนี้ นายสาธิต กล่าวอีกว่า อยากให้ศูนย์อำนวยการแก้ไขสถานการณ์ฉุกเฉิน (ศอฉ.) ตรวจสอบพฤติกรรมการเคลื่อนไหวอย่างใกล้ชิด หากกระทำฝ่าฝืนกฎหมาย หรือปราศรัยอันเป็นเท็จ ต้องดำเนินการจับกุมทัน โดยเฉพาะการขับขี่รถจักรยานยนต์ ก่อให้เกิดความวุ่นวายกีดขวางการจราจร ซึ่งเป็นการฝ่าฝืนข้อห้าม 1 ใน 4 ของศอฉ. ให้ดำเนินการทันที ซึ่งตนจะคิดตามดูการปฏิบัติงานของเจ้าหน้าที่ตำรวจ หากใครละเลยก็จะนำเรื่องเข้ากรรมาธิการตำรวจฯ เพื่อดำเนินการต่อไป
ที่มาข่าว:
"สาธิต" วอน นปช.หยุดใส่เสื้อแดงรำลึก 19 กันยา หวั่นจุดชวนความรุนแรง (แนวหน้า, 12-9-2553)
http://www.naewna.com/news.asp?ID=227595
Do both the articles share the same sentiment for the genre: education?
Output: | yes |
Detailed Instructions: 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.
Problem:and though the famous family of Aldus restored its technical excellence, rejecting battered letters,
Solution: | True |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: [87, 50, -71, 70]
Student: | 17 |
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.
One example: ['238', 'h', '92', 'U', '2799']
Solution is here: 2, 4
Explanation: Here, the alphabetical elements in the input list are 'h' and 'U' and they are at positions '2' and '4', respectively.
Now, solve this: ['3739', '2653']
Solution: | -1 |
You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Example input: Context word: fit.
Example output: The trophy doesn't fit into the brown suitcase because _ is too large.
Example explanation: The question is about two related but different objects (i) "trophy" and (ii) "suitcase". The quesion contains exactly one blank (_). The expected answer is "trophy" which is one of the objects.
Q: Context Word: diabetic.
A: | Since the diabetic woman had to limit her sugar intake, she ignored the pie and had a cookie instead because the _ was full of sugar. |
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
--------
Question: 6514 # 8296 # 4939 # 5783 @ 1077 @ 3237 @ 5941 # 7665 # 2408
Answer: -12322
Question: 1917 @ 4353 @ 4321 @ 3060 @ 6681 @ 7890 @ 8148
Answer: 36370
Question: 1126 @ 8326 # 4777 @ 4573 @ 6770
Answer: | 16018
|
Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No".
--------
Question: Japanese: アンテロは「カーロは何度も子供を妊娠しようとし、そして、3回の治療的流産はもちろん、彼女の流産はさらに傷を悪化させたかもしれない」と言った。
Thai: เขากล่าวว่า กลุ่มแบ่งแยกดินแดนได้ทำให้กฎหมายต่อต้านการแบ่งแยกดินแดน "บิดเบือนอย่างมีวัตถุประสงค์ร้าย"
Answer: No
Question: Japanese: 発射は、既にその地域での雷雨により中止の危機に直面していた。
Thai: ในปี2012 เทศกาลทำการเปิดตัวด้วยภาพยนตร์เรื่อง ทิวลิปสีดำ ซึ่งเป็นภาพยนตร์ที่ถ่ายทำทั้งหมดในอัฟกานิสถาน
Answer: No
Question: Japanese: マレーシアのパイオニア的ブロガー、AhiruddinAttan氏とJeffOoi氏は、マレーシアトップの新聞、TheNewStraitsTimesから名誉毀損で訴えられた。
Thai: บล็อกเกอร์ชาวมาเลเซีย อะฮิรุดดิน อัตทัน และเจ็ฟฟ์ โออิ ถูกฟ้องในข้อหาหมิ่นประมาท โดยหนังสือพิมพ์ชั้นนำของมาเลย์เซีย เดอะนิวสเตรทส์ไทมส์
Answer: | Yes
|
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.
Input: Consider Input: Such problems will be vastly worse if global temperatures continue to rise.
Output: agrees
Input: Consider Input: Climate change is not primarily caused by man.
Output: disagrees
Input: Consider Input: Ms. Trump is embracing at least some of Ms. Thunberg's urgency about climate change.
| Output: neutral
|
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Ex Input:
[ 39.254 53.147 -71.386 51.689 88.476 35.717 -66.925 -96.746 -46.507]
Ex Output:
-96.746
Ex Input:
[-34.359 21.268 -45.7 -54.709 20.961 30.153]
Ex Output:
-54.709
Ex Input:
[-20.017 99.38 ]
Ex Output:
| 99.38
|
This task is to find the number of 'For' loops present in the given cpp program.
/**
* author:liucheng
* date:2010-10-23 13:04:16
* file:factors.cpp
*/
int factor(int num,int minA1)
{
int count=0;
int sqrtNum;
int i;
if(num <= minA1)
return 0;
sqrtNum=(int)sqrt((double)num);
for(i=minA1;i<=sqrtNum;i++)
if(num % i == 0)
{
count++;//num=i*(num/i)
count+=factor(num/i,i);//num=i*(factor(num/i))
}
return count;
}
int main()
{
int n;
int num;
cin>>n;
while(n -- )
{
cin>>num;
cout<<factor(num,2)+1<<endl;
}
return 0;
} | 1 |
You will be given a definition of a task first, then some input of the task.
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
Few have been described after liver transplantation.
Output: | non-adverse drug event |
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'.
D'Onofrio was born on June 30, 1959, in Bensonhurst, Brooklyn, New York City, New York | June 30, 1959 |
In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries.
Example input: Angola
Example output: Central Africa
Example explanation: Angola is located in the Central Africa region of the world map.
Q: Poland
A: | Eastern Europe |
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.
[EX Q]: customer: Hello.
agent: Hello, how may I aid you today?
customer: I am looking for a flight travelling agency to book a flight ticket from MCO to PHL, can you please help me in booking the ticket for me?
agent: Sure, I am gleeful to help you out. Please provide me your trip dates.
customer: Thanks, my trip dates are from 03/05 to 03/07.
agent: May I know your name to proceed further?
customer: Myself Carol Phillips.
__
customer: Please proceed.
agent: Your ticket has been booked with 1007 flight.
customer: Thank you for your support.
agent: Thank you for reaching us.
[EX A]: agent: Here is flight with 1 stop and price is 100 in Southwest airlines, can I proceed with it?
[EX Q]: customer: Hello. My name is Anna Robinson.
agent: Hello Anna, how can I help you today?
customer: I would like to travel from PHL to PHX to meet my friend. Can you help me for booking a flight ticket?
agent: Sure, I will help you in booking. please share your travel dates too.
__
agent: Please wait a moment.
customer: Ok, take your time.
agent: Sorry, no flights are available on your route.
customer: That's ok, thank you for your information.
agent: Welcome, have a nice day. Thank you for availing us.
[EX A]: customer: My travelling dates are 01/16 and 01/18.
[EX Q]: customer: Hello, I am Ashley Smith.
agent: Hello, how can I help you today?
customer: Owing to an emergency, I want to change an existing reservation. Could you help me in changing the reservation?
agent: Sure, please wait for a moment.
customer: Sure.
agent: Sorry to say that, there was no reservation found with your name.
__
agent: Thank you for opting us.
[EX A]: | customer: Not an issue. Thank you for your information.
|
You will be given a definition of a task first, then some input of the task.
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.
Therapy and medication have helped me tremendously .
Output: | yes |
Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No".
Ex Input:
Japanese: オバマ政権が提案に同意するかどうかは、不明だ。
Thai: แต่ยังไม่มีความแน่ชัดว่าคณะบริหารของประธานาธิบดีโอบามาจะสนับสนุนร่างรายงานนี้หรือไม่
Ex Output:
Yes
Ex Input:
Japanese: 現在35%から50%の失業の被害を受けているニュージャージー州の建設組合の例を持ち出し、「不況によって最も被害を受けた人々を犠牲にして、私達は社会の1つの階層を不況による損害から守ることはできない」と、彼は答えた。
Thai: เขาได้ให้คำตอบว่า "เราไม่สามารถให้กลุ่มคนเพียงกลุ่มเดียวในสังคมได้รับการปกป้องจากการความเสียหายที่ได้รับที่ภาวะเศรษฐกิจถดถอย ด้วยค่าใช้จ่ายแก่ประชาชนซึ่งเดือดร้อนที่สุดจากสถานการณ์ภาวะเศรษกิจตกต่ำ" จากตัวอย่างของโครงสร้างสหภาพแรงงานของรัฐนิวเจอร์ซีย์ ปัจจุบันมีอัตราประชาชนที่เดือดร้อนจากว่างงาน ประมาณ 35 ถึง 50%
Ex Output:
Yes
Ex Input:
Japanese: 土曜日に日本の巨大自動車会社は、チームを売却する前に、ホンダチームに勝利のみをもたらしたイギリス人ドライバーのジェンソン・バトンに、彼が最近署名した数百万ポンドの契約のために、他のチームで乗車しようとしていた彼に、その契約から逃れる方法を彼に提供するつもりだったと語った。
Thai: เธอจบบทสนทนาโดยกล่าวว่า "ปัญหาโลกร้อนนั้นไม่มีพรมแดน"
Ex Output:
| No
|
Given the task definition and input, reply with output. In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries.
Chile
| South America |
instruction:
Given a hotel review and the corresponding polarity of review (i.e., Negative or Positive) identify if the polarity is correct. Write 'true' if it's correct, 'false' otherwise.
question:
Review: My wife and I just spent a long weekend at the Hardrock Chicago hotel, and although I am not one to normally write long email, I felt it necessary to bring some of the disappointing experiences from our recent syat (2/14 to 2/17) to your attention.Issues included: Our friends ordered chocolate covered strawberries to be delivered to our room upon arriving on 2/14 and we never got them. Our friends later (on 2/16) asked us if we had received the strawberries, and we responded no. They then brought this to the attention of the hotel and we were pleasantly surprised to have received a complimentary bottle of champagne. We were then disappointed again, upon checking out, however, when we were accidentally billed for the "complimentary" champagne - which was later subtracted from our bill. The in-room DVD player didn't work. It was approximately 11 PM on 2/15 when we called the front desk for help with trouble-shooting the issue. The person responded friendly that "Al, the engineer, will be calling you back shortly" to help. 10 minutes later there was a knock on the door, and it was Al. A great and friendly guy, but we were waiting for a call back, not the arrival of a service tech - keep in mind it was late and we were already in bed. When Al was not able to fix the DVD player, he graciously told us "order a movie on us" - thru the in-house movie selection. The problem: that didn't work either. Again, Al was awesome, and called the service provider, but they weren't able to fix it until after midnight. Finally, after midnight Al called us back, but by then the "movie watching" mood had sort of passed. I ended up watching the film "Hitman" alone as my wife had already gone to sleep.The thermostat in our room didn't work, regardless of the temperature we set it to (set to 65 degrees - actual temperature = 76 degrees). We had so many other unresolved issues that we didn't feel it necessary to voice any more. ...read more
Polarity: Positive
answer:
false
question:
Review: I recently stayed at the Ambassador East Hotel for two night, and my visit was nothing short of disappointing. Expecting to have a wonderfully romantic weekend with my fiance, we specifically chose this hotel because we prefer boutique hotels for the extra attention from the staff and unique atmosphere. Our expectations for the Ambassador were not met. The room was small and, frankly, outdated. The bathroom smelled musty. The A/C in the room had two settings: polar cold or off. The walls did nothing to muffle sound from adjacent rooms, and it was loud at night - a good night's sleep was impossible. Staff were indifferent. Do yourself a favor and avoid this hotel. Frankly, it's not worth the steep price and mediocre character. Since there are far better and more accommodating boutique hotels in Chicago, I know I won't be back at this place.
Polarity: Negative
answer:
true
question:
Review: The Omni Chicago Hotel I am a business woman who travels a great deal out of a month, therefore, my accommodations must meet the highest standards. I was booked for a stay at The Omni Chicago Hotel, located in what is referred to as ' The Magnificent Mile ' in the greater Chicago area. ' Magnificent ', it was! The beautifully red-bricked sky scraper was indeed a breath- taking sight and upon entrance, I had a felling of warmth from the very hospitable welcoming staff. I was impressed with the hotels special rates offered during prime business hours and the guest rooms ranged everything from ' The Presidential Suite to The Governors Suite '. I accepted a more humble room as I would not need to spend very much time there during the day. I did stay inside most nights and the amenities were more than satisfactory. I enjoyed the very spacious exercise room and afterwards, I would take a quick dip in the pool. I toured the hotel as my niece is planning her wedding and just so happens to live close to the hotel. The ' Chagall Ballroom ', was elegant enough for such an occasion and reeked of pure luxury. I was given very adequate maps and directions to and from as my business was conducted throughout the city. That was a life saver. All in all, my experience was more than favorable and I would definitely stay there again along with recommending it to anyone.
Polarity: Negative
answer:
| false
|
Q: 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.
[82, 77, 58, -13, -24, 93, -29, 74]
A: | 3 |
Instructions: 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.
Input: bookshelf : hallway. workbench : ?
Output: | garage |
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
[EX Q]: [5, 4, 6, 6, 10, 3, 1, 5, 5] , [2, 2, 7, 6, 9, 9, 4, 1, 4]
[EX A]: [1, 4, 6]
[EX Q]: [5, 1, 1, 4, 9, 7, 1, 2, 8, 3] , [1, 10, 8, 7, 5, 7, 8, 10, 4, 1]
[EX A]: [1, 4, 5, 7, 8]
[EX Q]: [6, 3, 2, 5, 2, 3, 7] , [3, 5, 9, 10, 4, 7, 4]
[EX A]: | [3, 5, 7]
|
Given the task definition and input, reply with output. We would like you to assess the QUALITY of each of the following argument (discussing Gay Marriage) 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 gay marriage. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gay marriage.
I think we who support same-sex marriage are very clear that we are fighting for freedom and equality of same-sex marriage, for all the non-heterosexual couples.
| Valid |
Detailed Instructions: Read the given text and if it has abusive content then indicate via "yes". Otherwise indicate via"no".
We consider the content to be abusive if it contains any of the following instances: (1) Identity Directed Abuse (e.g., Content which contains a negative statement made against an identity. An identity is a social category that relates to a fundamental aspect of individuals community, socio-demographics, position or self-representation) (2) Affiliation Directed Abuse (e.g., Content which express negativity against an affiliation. We define affiliation as a (more or less) voluntary association with a collective. Affiliations include but are not limited to: memberships (e.g. Trade unions), party memberships (e.g. Republicans), political affiliations (e.g. Right-wing people) and occupations (e.g. Doctors).) (3) Person Directed Abuse (e.g., Content which directs negativity against an identifiable person, who is either part of the conversation thread or is named. Person-directed abuse includes serious character based attacks, such as accusing the person of lying, as well as aggression, insults and menacing language.) and (4) Counter Speech (e.g., Content which challenges, condemns or calls out the abusive language of others.). Note that URLs in the text have been replaced with [Link].
Problem:Snappy basically has a set list of quotes to pull from on each subreddit it posts on, and they're different for each subreddit it's configured for: Our list is different from Drama's or Buttcoin's and so on. Sometimes Snappy's choice of quote just seems oddly prescient. Not so in this case, since there's *'Doooooooogs'* in our quote pool.
Solution: | no |
Detailed Instructions: 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'.
Problem:Tweet: Mireu el TL dels Parlamentaris. Molts no parlen de política ni de independència. Molts només parlen de presos i de visites a la presó. I així anirem passant fins a les municipals.
Solution: | Favor |
Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc.
Sentence: Martinez works two jobs as a physician's assistant and supports his elderly parents and 8-year-old son.
Question: Does Martinez work on the weekdays?
Category: Transient v. Stationary.
Yes.
Sentence: It's hail crackled across the comm, and Tara spun to retake her seat at the helm.
Question: Will the hail storm ever end?
Category: Transient v. Stationary.
No.
Sentence: She ordered the tastiest kind of each vegetable and the prettiest kind of each flower.
Question: How long did she take to decide on what to order?
Category: Event Duration.
| Yes.
|
Detailed Instructions: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Problem: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_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK 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
Solution: | walk around right thrice and jump around left twice |
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.
Q: Set1: '{18, 10, 20}', Set2: '{5, 9, 10, 11, 13, 14, 15}'. How many elements are there in the union of Set1 and Set2 ?
A: | 9 |
You will be given a definition of a task first, then some input of the task.
In this task, you are given a country name, and you need to return the country's surface area in terms of square kilometers. Up to two decimal places are allowed in your answer.
Sierra Leone
Output: | 71740.00 |
Detailed Instructions: Given a pair of words, generate the relation between them. The first word is called the 'concept' and the second word is called the 'relatum' The relation must be one of the following: co-hyponym (coordinate), hypernym, meronym, attribute, event, or random. A coordinate relation indicates that the concept and relatum belong to the same semantic class. A hypernym relation indicates that the relatum is a category of which the concept is a specific instance. A meronym relation implies that relatum is a part/component/organ/member of the concept. An attribute relation is when the relatum is an adjective expressing an attribute of the concept. An event relation holds when the relatum is a verb referring to an action/activity/happening/event that is performed by or with the concept. If the relatum and concept are unrelated, the relation between them is 'random'. Classify your answers into coord, hyper, mero, attri, event, and random.
Problem:Concept: donkey, Relatum: creature.
Solution: | hyper |
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: 1560
| 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.
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?'
Utterance: 'You can take the two water. I am not that thirsty most days.'
Solution: No
Why? In this utterance, the participant does not use self-need since they do not talk about any need for themselves.
New input: Context: 'May I ask how many are going camping with you, i would agree, but the needs of children are different than adults. I will need at least 1 food, to ensure I have enough for the kids. ' 'We will have 50 adults with us. How about 2 firewood, 1 food, 1 water for you?🙂' 'lots of work for the both of us, at least you will have lots of help on you end. I accept the 2 firewood specially if you have elderly with you. will you be okay if give me 2 foods? '
Utterance: 'True, 2 firewood and 2 food for you and I'll take 3 waters.'
Solution: | No |
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: QXwfyMNRdjAqHvlzzwpWUEAUWFbR, uaJClQJhIRdjAqHvlzzwpRw
A: QXwfyMNadhjlpqrvwzzWUEAUWFbR, uaJClQJhIadhjlpqrvwzzRw
****
Q: WkeDzmlbgJDfVCe, QPqaEzmlbgJzd
A: WkeDbgjlmzDfVCe, QPqaEbgjlmzzd
****
Q: fINwMyApbbtAHomhdnljEJJLyMKXcSmXYyC, QAauiYJoOVYbMyApbbtAHomhdnljomjkcG
A: | fINwaabbdhhjlmmnoptyEJJLyMKXcSmXYyC, QAauiYJoOVYbaabbdhhjlmmnoptyomjkcG
****
|
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: [[30, 26, 8], [46, -8, -34, -14], [-6, 26, -17, -27], [20, -16, 47]]
A: | [6240, -175168, -156, -320] |
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: Armenia
| Solution: 1991 |
In this task, you will use your knowledge about language (and common sense) to determine what element the marked number refers to. The numbers are marked with two underlines around them, like: _ number _. There are several possible answers, you'll need to choose the proper one. Carefully read the given text, pay special attention to the marked number, think about what (unwritten) information the marked number holds inside, choose the most adequate word(s) from the optional answers. If none of them seems right to you, there's also an option for other. If your answer is "REFERENCE", also write the reference entity, otherwise write the implicit option name. Options to choose from are:
REFERENCE: Some object which is being mentioned in the text before or after the target number. The reference answer has a higher priority than any other. If both Reference and another answer are possible, prioritize the Reference.
YEAR: Describing a calendric year
AGE: Describing someone's age
CURRENCY: Reference to some monetary value e.g dollar, euro etc.
PEOPLE: Describing a single/plural persons
TIME: Describing a time of the day. Usually you can add the word o'clock after those numbers.
OTHER: Some other option, which isn't listed here.
Input: Consider Input: Charles Eastman: And now you speak of coercion . I do n't understand .
Henry Dawes: If we do n't put that land into the hands of individual Indians in five years- less - homesteaders and ranchers will demand it all ... for nothing . The Indian must own his own piece of earth , Charles .
Charles Eastman: Did you know that there is no word in the Sioux language for that , sir ?
Henry Dawes: For what ?
Charles Eastman: To " own the earth . " Not in any native language .
Henry Dawes: Well , then perhaps you should invent _ one _ .
Output: REFERENCE language
Input: Consider Input: Emily Prentiss: Thank you .
Mick Rawson: You guys want to watch out for this _ one _ . She 's gon na have a hard time getting over me .
Emily Prentiss: Like kicking a virus .
Mick Rawson: You know , I could have just missed .
Emily Prentiss: With your ego ? Not a chance .
Output: PEOPLE
Input: Consider Input: Obsidian: Although he took his name from a great leader , Optimus Primal never learned the first rule of warfare : Never underestimate your opponent .
Strika: ' Terminate ' . ' Obliterate ' . Can you believe they fell for that ?
Optimus Primal: Whoever you are , you 're being duped into betraying your own people !
Obsidian: On the contrary . I was configured to defend Cybertron . And such has always been my mission .
Optimus Primal: Always ? Who are you ?
Obsidian: I am as I 've always been : Obsidian ! And you remember my consort , Strika .
Rattrap: Oh man . We been dukin ' it out with two of the greatest generals in Cybertronian history !
Optimus Primal: Obsidian , this is treason ! Megatron decimated Cybertron !
Obsidian: Megatron IS Cybertron ! To defend _ one _ is to defend the other . And to betray Megatron is to invite death .
| Output: OTHER
|
Given the task definition and input, reply with output. This task is to find the number of 'For' loops present in the given cpp program.
int fenjie(int,int);
int main()
{
int times,k,num;
cin>>times;
for(k=1;k<=times;k++)
{
cin>>num;
cout<< fenjie(num,1)<<endl;
}
return 0;
}
int fenjie(int x,int y)
{
int i,a=1;
if(x<y) return 0;
if(x==y) return 1;
if(x>y)
{
if(y==1)
{
for(i=y+1;i<=x;i++)
{
if(x%i==0) a=a+fenjie(x/i,i);
}
}
else
{
for(i=y;i<=x;i++)
{
if(x%i==0) a=a+fenjie(x/i,i);
}
}
return a;
}
}
| 3 |
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
One example: 10 sottrazione 7
Solution is here: 3
Explanation: Here, 'sottrazione' represents the subtraction operation. So, the answer is 3 (10-7=3).
Now, solve this: 6106 aggiunta 4927 sottrazione 8399 aggiunta 8865 sottrazione 7999 sottrazione 9683 aggiunta 8399
Solution: | 2216 |
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.
--------
Question: Sentence: Yep , the females are just {{ getting }} to him ... dads ..
Word: getting
Answer: VBG
Question: Sentence: The Kerry camp blames Bush for the Swift boat veterans ’ attack , but anyone who has spent much time talking to the Swifties gets the sense that they are {{ doing }} it entirely for their own reasons .
Word: doing
Answer: VBG
Question: Sentence: try to train him to heel , which means to walk round you before he needs to go on a {{ leash }} , and he may do that .
Word: leash
Answer: | NN
|
1. Clearly something has gone MIA in moving from the small pictures into a cohesive big one.
2. Engaging war drama that subtly mixes in several different genres to intriguing effect, though it occasionally relies too heavily on cliches.
3. The film is slow and rather too long (and a bit preachy), but always intense, and its intentions are certainly clear.
4. As long as soldiers have gone into battle they have struggled with the rightness of their actions and their purpose in the field -- no matter how firm their resolve at the outset.
5. The soldiers feel stuck and so do we.
6. Cedar overcomes the generic characters and formulaic "which innocent will die next in an ironic twist" plotting by his attention to detail.
7. It doesn't come like a full-length, filmed history lesson at all. In fact, it's a pretty fascinating, sometimes disturbing tale about the emotional and physical toll of combat.
8. Powerful portrait of an officer and his soldiers facing up to what it means to serve in an army of a fallible, democratic country that spins an explosive pyrrhic victory
9. In the end [it] isn't about victory or defeat... It's about surviving another day, doing one's job, and getting back to family.
10. [A] blistering antiwar film.
What is the consensus? | Beaufort is a deeply observant and meditative war film, masterfully rendered by director Joseph Cedar. |
TASK DEFINITION: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
PROBLEM: Sentence: As for Ted , things are still going well although I have n't see him at all this week {{ ( }} we are two very busy people ) .
Word: (
SOLUTION: -LRB-
PROBLEM: Sentence: Many Iraqis , including conservative and religious Iraqis , are surprisingly rooting for the Iraqi Communist party , probably in an attempt to counter the influence of {{ Islamists }} in the forthcoming National Assembly .
Word: Islamists
SOLUTION: NNPS
PROBLEM: Sentence: The other Canadian recipient of the medal was Ronald Joseph Crawford , 42 , of Hamilton , who was killed Aug. 4 , 2002 , while trying {{ to }} defend a Hamilton sandwich shop owner from a robber wielding a knife .
Word: to
SOLUTION: | TO
|
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.
One example is below.
Q: Concerts are my most favorite thing, and my boyfriend knew it. That's why, for our anniversary, he got me tickets to see my favorite artist. Not only that, but the tickets were for an outdoor show, which I love much more than being in a crowded stadium. Since he knew I was such a big fan of music, he got tickets for himself, and even a couple of my friends. He is so incredibly nice and considerate to me and what I like to do. I will always remember this event and I will always cherish him. On the day of the concert, I got ready, and he picked me up and we went out to a restaurant beforehand. He is so incredibly romantic. He knew exactly where to take me without asking. We ate, laughed, and had a wonderful dinner date before the big event. We arrived at the concert and the music was so incredibly beautiful. I loved every minute of it. My friends, boyfriend, and I all sat down next to each other. As the music was slowly dying down, I found us all getting lost just staring at the stars. It was such an incredibly unforgettable and beautiful night.
A: imagined
Rationale: This is a good example because it really was an imagined story. The attributes that should tip you off are that the story is light on concrete events (they describe things in broad terms such as going to a restaurant and being at the stadium, but nothing specific about who was exactly where and anything specifically notable someone said or did) and heavy on references to the writer themselves and their internal feelings (they frequently repeat how much they loved it, how romantic they felt, how they cherished the night, etc). It's also very linear and structured, pointing to this being an imagined story. Additionally, the events and feelings described seem a little romanticized or idealized beyond what is usually a realistic circumstance.
Q: A situation that comes to mind as one that was striking and memorable happened around 2 weeks ago. I was relaxing at home, and my fiancee was in our bedroom watching TV. She called me into the room, telling me she had to show me something. I was expecting it to be a funny picture of our cat, or a video she found that I would be interested in. Instead, when I walked into the bedroom she handed me a home pregnancy test. She told me she was pregnant, she had just taken the test and wanted to tell me right away. I was so surprised. We were not really trying to get pregnant, but we were so excited right away. I couldn't believe that this was a journey we were going to start taking together. Later that night, we spent a long time sitting and talking about everything. We went over some decisions we are going to have to make for our baby, and how we would make them. She asked me for help finding a doctor and getting an appointment set up. This was all stuff that would have normally been so boring, but it wasn't. It was for our baby, so we were having fun even figuring out insurance things. Everything went by so fast, and I kept feeling more and more excited about the situation and everything that is yet to come.
A: | recalled |
Instructions: Given a sentence in Japanese, provide an equivalent paraphrased translation in Chinese that retains the same meaning both through the translation and the paraphrase.
Input: SR 164は1923年にYoungstownからSalinevilleに依頼されました。
Output: | SR 164于1923年投入使用,从扬斯敦到Salineville。 |
You will be given a definition of a task first, then some input of the task.
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
موسیقی زیبا ..... فقط همین......انتظار بیشتری از مازیار میری داشتم و در کل فیلم بی روحی بود که می تونست جذاب تر هم داستان یک رفاقت رو نشون بده.
Output: | کارگردانی |
Teacher:You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
Teacher: Now, understand the problem? Solve this instance: 11:22 Hrs
Student: | 11:22 AM |
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.
--------
Question: FhqblizgWtevOZodIpGD
Answer: z
Question: uzLMorR
Answer: z
Question: wqkNR
Answer: | w
|
instruction:
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.
question:
customer: Hello, my name is Timothy Mitchell.
agent: Hello. How may I be of your service?
customer: I would like to travel from New York to meet my old friend. Can you help me book a flight ticket under the price range of 1000?
agent: Sure, we are mirthful to help you. Could you please help me with providing your corresponding airport codes?
customer: From JFK, I need to reach EWR.
agent: Do you prefer any halt in between journey?
customer: Yes, I prefer flight with one connection.
agent: May I know on what dates would you like to travel?
__
agent: Thank you for providing your details, please wait for a while.
customer: Sure.
agent: We have found a connected flight with UA airlines, flight number 1029 and the fare of 100.
customer: Proceed for booking.
agent: Your ticket has been confirmed.
customer: Thank you for helping me.
agent: Thanks for reaching us.
answer:
customer: They planned on 05/29 and 05/31.
question:
customer: Hello. My name is Christopher Thomas.
agent: Hello, how can I help you?
customer: Can you please help me in cancelling my recent reservation?
agent: Sure, please wait for a while.
__
agent: Sorry, there is no reservation found by your name.
customer: That's ok, thank you for the information.
agent: Thank you and have a nice day.
answer:
customer: Ok, take your time.
question:
customer: Hello.
agent: Hello, what can I assist you for today?
customer: I want to change my trip dates because I had an important meeting, so that I am unavailable to catch the flight. Can you alter my ticket?
agent: Ok, please provide your name to check the existing reservation.
__
agent: Sorry, there is no reservation on your name to change. Do you have any other requirements?
customer: Ok, no problem, I will search any other way.
agent: Ok, thank you for using our service. Have a great day ahead.
customer: Thank you for your information.
agent: Most welcome.
answer:
| customer: Sure, the previous reservation is done under the name John Mitchell.
|
Detailed Instructions: Read the given text and if it has abusive content then indicate via "yes". Otherwise indicate via"no".
We consider the content to be abusive if it contains any of the following instances: (1) Identity Directed Abuse (e.g., Content which contains a negative statement made against an identity. An identity is a social category that relates to a fundamental aspect of individuals community, socio-demographics, position or self-representation) (2) Affiliation Directed Abuse (e.g., Content which express negativity against an affiliation. We define affiliation as a (more or less) voluntary association with a collective. Affiliations include but are not limited to: memberships (e.g. Trade unions), party memberships (e.g. Republicans), political affiliations (e.g. Right-wing people) and occupations (e.g. Doctors).) (3) Person Directed Abuse (e.g., Content which directs negativity against an identifiable person, who is either part of the conversation thread or is named. Person-directed abuse includes serious character based attacks, such as accusing the person of lying, as well as aggression, insults and menacing language.) and (4) Counter Speech (e.g., Content which challenges, condemns or calls out the abusive language of others.). Note that URLs in the text have been replaced with [Link].
Q: >laughing at magacels makes you suicidal and spineless >"let's see who's crying when drama gets banned " lmao nigga unlike your Huggies-wearin ass who cries "CENSORSHIP" because a yellow banner is slapped on a subreddit i actually could not care less if the entire site goes up in flames. in fact i applaud it, just like i now applaud your conspiracy-addled brain's utter meltdown of "HURRDURR BOOTLICKER" what kind of commie cunt says shit like that anyways? gtfo lmao this totally-not-mad lil bitch is definitely insta-downvoting anyone who calls him a crybaby.
A: | yes |
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.
Input: ZQ
Output: | ZQ |
Definition: 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: Economic burden of childhood autism spectrum disorders .
Output: | not found |
Given the task definition and input, reply with output. In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
10/26/1777, input_format=mm/dd/yyyy
| 26/10/1777 |
Detailed Instructions: In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment".
Q: Premise: شافعی تاکید کرد نظر هر کس قابل احترام است، حتی انتقاد سازنده ثواب دارد اما باید درباره نوع ادبیاتی که به کار گرفته می شود، دقت کرد. <sep> Hypothesis: از نظر آقای شافعی هر کس دارای اجازه ی اعلام محترمانه نظر خود است.
A: | Entailment |
Given the task definition and input, reply with output. 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.
[-73.366, -38.801, 198.551, 66.333, 70.634, -46.409, 113.104, 58.169]
| [-0.211 -0.111 0.57 0.19 0.203 -0.133 0.325 0.167] |
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.
Input: Consider Input: [PERSON] was thought of as a sex slave and was believed to be the daughter of a wealthy woman.
Output: Negative
Input: Consider Input: [PERSON] was regarded as 'the most intelligent person I have ever met'.
Output: Positive
Input: Consider Input: [PERSON] was regarded as the most capable individual.
| Output: Positive
|
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
we cannot conclude that counsel's error, if any, was so serious as to deprive appellant of a fair trial.
Output: | non-overruling |
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.
Ex Input:
I hope this helped , and do n't be ashamed to reach out to your friends and family for a distraction sometimes .
Ex Output:
no
Ex Input:
You can lose weight at the same time , if you want , but it really sucks when you put in all that work and the weight comes back .
Ex Output:
no
Ex Input:
So there 's tons of ways to come here !
Ex Output:
| no
|
Definition: In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
Input: ZBVhYxiuq
Output: | ZBVhYxq |
Part 1. Definition
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
Part 2. Example
¿hay algún restaurante " italian " cerca con opiniones de 3 estrellas?
Answer: are there any " italian " restaurants nearby with 3 star reviews ?
Explanation: The translation correctly preserves " italian " entity and is accurate
Part 3. Exercise
¿cuáles son los locales de "burger" mejor valorados de la zona de 6 millas alrededor de "asheville nc".
Answer: | what are the highest ranked " burger " joints in the 6 mile area around " asheville nc " . |
In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0.
[Q]: jnnYWssrvYXCPsPdoasZHXbHA, v
[A]: 1
[Q]: tnKULCKDOypvdqRqYRSAlzwKmvXfA, V
[A]: 0
[Q]: WjemAObmeSxkViffXgSXcIYAwXnxPg, h
[A]: | 0
|
Detailed Instructions: Read the given text and if it has abusive content then indicate via "yes". Otherwise indicate via"no".
We consider the content to be abusive if it contains any of the following instances: (1) Identity Directed Abuse (e.g., Content which contains a negative statement made against an identity. An identity is a social category that relates to a fundamental aspect of individuals community, socio-demographics, position or self-representation) (2) Affiliation Directed Abuse (e.g., Content which express negativity against an affiliation. We define affiliation as a (more or less) voluntary association with a collective. Affiliations include but are not limited to: memberships (e.g. Trade unions), party memberships (e.g. Republicans), political affiliations (e.g. Right-wing people) and occupations (e.g. Doctors).) (3) Person Directed Abuse (e.g., Content which directs negativity against an identifiable person, who is either part of the conversation thread or is named. Person-directed abuse includes serious character based attacks, such as accusing the person of lying, as well as aggression, insults and menacing language.) and (4) Counter Speech (e.g., Content which challenges, condemns or calls out the abusive language of others.). Note that URLs in the text have been replaced with [Link].
Problem:Incels. People who can't get laid are the same as those who rape children.
Solution: | yes |
Subsets and Splits