prompt
stringlengths
105
10.9k
response
stringlengths
0
2.08k
In this task, you have to generate the named entities (NER) given its ingredients of the recipe. Named entities are the names of the items without their quantity. Example: 1 3/4 cups all purpose flour, 1/4 cup finely ground blanched almonds, 1 teaspoon grated lemon zest, 1/2 cup confectioners sugar, 2 sticks unsalted butter, almost melted, 4 eggs, lightly beaten, 2 cups granulated sugar, 1/4 cup flour, 1/2 teaspoon baking powder, 2 teaspoons grated lemon zest, 1/3 cup fresh lemon juice, Candied violets for garnish, optional Example solution: flour, ground blanched almonds, lemon zest, confectioners sugar, butter, eggs, sugar, flour, baking powder, lemon zest, lemon juice, Candied violets Example explanation: Given the required ingredients, the ner of the recipe is generated. As the ingredients contain the quantities, if we just remove quantities from ingredients, we get the ner. Problem: 3 (8 oz.) cans minced clams, reserve 1/2 c. juice, 2 tsp. Worcestershire sauce, 2 tsp. lemon juice, 1/2 grated onion, 2 (8 oz.) pkg. cream cheese, 1/2 tsp. salt, 6 drops Tabasco sauce, 2 tsp. white wine, 1 round loaf sourdough bread, 6 sourdough rolls, cut in pieces
Solution: juice, Worcestershire sauce, lemon juice, onion, cream cheese, salt, Tabasco sauce, white wine, bread, sourdough rolls
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. One example: [1, 2, 3] Solution is here: [0.167, 0.333, 0.500] Explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example. Now, solve this: [14.73, 235.384, 4.528, -36.623] Solution:
[ 0.068 1.08 0.021 -0.168]
Q: 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. [304, 238, 225, 39, 179, 446, 165, 139, 69, 450, 51, 374, 188, 193, 68, 259, 433, 464, 127, 63] A:
[304, 238, 225, 464, 179, 446, 165, 139, 69, 450, 51, 374, 188, 193, 68, 259, 433, 39, 127, 63]
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. Example: [16, 205, 171, 2, 9, 317] Example solution: [16, 256, 128, 2, 8, 256] Example explanation: Every integer in the input list is rounded to the nearest power of 2. The number 2 and 16 are in the input list and both are a power of 2, therefore rounding to the closest power of 2 returns the same number. This is a good example. Problem: [144, 1721, 1544, 650]
Solution: [128, 2048, 2048, 512]
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" Let me give you an example: difficult The answer to this example can be: No Here is why: The word difficult has no natural English rhymes and so the model outputs No as specified in the instructions. OK. solve this: solution Answer:
lucian
In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places. One example: [1,3,5] Solution is here: 3.000 Explanation: The mean of the input list is (1+3+5)/3, which equals 3. This is a good example. Now, solve this: [124.51, 157.224, -39.067, 15.401, -46.207] Solution:
42.372
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. Q: [{'first': 47, 'second': -8}, {'first': 56, 'second': -20}, {'first': -95, 'second': 60}, {'first': -31, 'second': 21}, {'first': -22, 'second': -81}, {'first': -50, 'second': 22}, {'first': 82, 'second': 85}, {'first': -88, 'second': -93}] A:
[{'first': -95, 'second': 60}, {'first': -88, 'second': -93}, {'first': -50, 'second': 22}, {'first': -31, 'second': 21}, {'first': -22, 'second': -81}, {'first': 47, 'second': -8}, {'first': 56, 'second': -20}, {'first': 82, 'second': 85}]
Detailed Instructions: Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'. Q: Tweet: @anonymized_account Ale chyba w hokeja 😀 , Question: Does the tweet contain cyberbullying (harmful) content? A:
No
For the given English description, write an SQL command such that it accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Example input: Did M0 's star , director , art director , producer , and cinematographer direct M1 and direct M2 , M3 , and M4 Example output: SELECT count(*) WHERE { ?x0 ns:film.actor.film/ns:film.performance.film M0 . ?x0 ns:film.cinematographer.film M0 . ?x0 ns:film.director.film M0 . ?x0 ns:film.director.film M1 . ?x0 ns:film.director.film M2 . ?x0 ns:film.director.film M3 . ?x0 ns:film.director.film M4 . ?x0 ns:film.film_art_director.films_art_directed M0 . ?x0 ns:film.producer.film|ns:film.production_company.films M0 } Example explanation: The query correctly extracts data on M0's star and other persons related to M0 and finds if they appear in director attributes for entities M1 to M4 Q: Did M3 's writer and costume designer direct , edit , and write M0 , M1 , and M2 A:
SELECT count(*) WHERE { ?x0 ns:film.director.film M0 . ?x0 ns:film.director.film M1 . ?x0 ns:film.director.film M2 . ?x0 ns:film.editor.film M0 . ?x0 ns:film.editor.film M1 . ?x0 ns:film.editor.film M2 . ?x0 ns:film.film_costumer_designer.costume_design_for_film M3 . ?x0 ns:film.writer.film M0 . ?x0 ns:film.writer.film M1 . ?x0 ns:film.writer.film M2 . ?x0 ns:film.writer.film M3 }
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. Q: That's the politest description I have for them. A:
To je najpristojniji opis koji imam za njih.
Detailed Instructions: In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3]. Q: [53, -82, -66, 11, 61, 11, 53, -26, 15, -49, -96, 18, 99, 1] A:
[-14.5, -74.0, -27.5, 36.0, 36.0, 32.0, 13.5, -5.5, -17.0, -72.5, -39.0, 58.5, 50.0]
Given the task definition and input, reply with output. 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: We booked this hotel for the second leg of our Chicago stay..it was great!!!! The Lion King package was pricey but reasonable, given the ticket costs and the Suite. Room was great....classical music greeted us when we entered our room after a long day of sightseeing and shopping. NYTimes and Chicago Tribune at your door every morning. One block from the Washington El train station. We never saw the small rooms that every one apparently doesn't like, but the Suite rooms were fun and our kids loved it. Dunkin Doughnuts and Corner Bakery down the block. City Hall, Picasso structure....this was a great place. Book it and also use the Golden Touch Limo service...reasonable. Omar is a super guy. Polarity: Negative
false
In this task you will be given a list, of lists, of integers. For every inner list contained in the input list, you should multiply every even number in that list. The output should be a list of integers with the same length as the number of lists in the input list. If there are no even numbers in an inner list you should output 0 for that list. Example: [[7, -3, -3, 11], [-6, -6, -5, 2], [-8, 4, -3]] Example solution: [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. Problem: [[7, 48], [9, 39, -27, 46], [-27, -21, -37, 24, -16], [-41, -8, -44, 27, -37], [-7, -19, -11, 5], [-48, -5], [8, -19, -37, -8], [11, -22], [-22, 16, -45, -34], [16, -44, -2, 48], [50, -46, 47], [-38, -35]]
Solution: [48, 46, -384, 352, 0, -48, -64, -22, 11968, 67584, -2300, -38]
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. Q: [{'first': -27, 'second': 73}, {'first': -77, 'second': 6}, {'first': -83, 'second': -17}, {'first': -16, 'second': -27}, {'first': 22, 'second': -78}, {'first': -79, 'second': 96}, {'first': 14, 'second': 46}, {'first': 15, 'second': 93}, {'first': 62, 'second': 44}] A:
[{'first': -83, 'second': -17}, {'first': -79, 'second': 96}, {'first': -77, 'second': 6}, {'first': -27, 'second': 73}, {'first': -16, 'second': -27}, {'first': 14, 'second': 46}, {'first': 15, 'second': 93}, {'first': 22, 'second': -78}, {'first': 62, 'second': 44}]
In this task you are given a passage in Bulgarian as the input content. You are expected to generate a suitable title for the passage which accurately summarizes the contents of the passage. The input is provided in the form of a long passage comprising of multiple sentences. The output should be restricted to a maximum of 20 words which describe the passage and its contents. The output can include words from the passage. Ex Input: Content:Постъпи сигнал от Божидар Лукарски, бивш министър на икономиката, който сигнализира Прокуратурата във връзка с изтеклия в медийното пространство запис, в който се твърди, че един от участниците е служебният министър на икономиката Теодор Седларски. Сигналът на Лукарски сочи, че според данните от този запис, е била извършена промяна на борда на директорите на едно от държавните предприятия „Ел Би Булгарикум“, като са били поставени нови лица, които са били свързани с японската фирма „Мейджи“. Това каза пред журналисти говорителят на главния прокурор Румяна Арнаудова. „Според сигналоподателя това е грубо нарушение на закона“, посочи тя. Според нея в сигнала се сочи още, че един от новите членове на борда на директорите на „Ел Би Булгарикум“ има нередности в свидетелството си за съдимост. „Сигналът е насочен към звено „Антикорупция“. Ще бъдат изискани всички документи от „Ел Би Булгарикум“, относно смяната на борда на директорите“, каза говорителят на главния прокурор. Според нея ще бъде установена не само самоличността на новото ръководство, но и тяхното минало в чисто кариерен план, доколкото за тях има данни, че са били ангажирани пряко или непряко с дейността на японската фирма. „Информация ще се изиска и от „Мейджи“. Това, което смятаме, че се твърди е т.нар. „престъпление по служба“, съобщи Арнаудова. „Днес от медиите узнах, че Седларски е потвърдил, че той е един от участниците в него и че не вижда нищо укоримо“, коментира тя. Ex Output: Божидар Лукарски е подал сигнал до Прокуратурата срещу министъра на икономиката Теодор Седларски за престъпление по служба Ex Input: Content:Снимка: Shutterstock Американската компания Уестингхаус електрик (Westinghouse Electric) е уведомила японската корпорация Тошиба (Toshiba),... Ex Output: Уестингхаус електрик обявява фалит Ex Input: Content:София, 31 март /Екатерина Тотева, БТА/ През 2016 г. пред Арбитражния съд /АС/ при Българската търговско-промишлена палата /БТПП/ са образувани 283 вътрешни и 20 международни дела, съобщиха от БТПП. Данните са били оповестени в рамките на годишното отчетно събрание на арбитражните колегии на АС при Палатата. Предявени са искови претенции з... За да прочетете целия текст на тази новина, трябва да сте абонирани за новините на БТА. Ex Output:
Пред Арбитражния съд при БТПП са предявени искови претенции за над 3 500 000 евро и 212 000 000 лева - Новини
Detailed Instructions: In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively. Q: eycfYZQtTEhIxXVHg A:
y
You are given a statement written in Hindi. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option . Q: Statement: सितंबर १९९७ में, राइसटैक नामक एक <MASK> की कम्पनी ने बासमती लाइन्स और दानों का पेटेण्ट जीत लिया (यू.एस.पेटेण्ट सं० ५,६६३,४८४)। इस पेटेण्ट से बासमती और समान चावलों की शोधन प्रक्रिया आदि पर उनका एकाधिकार हो गया था। राइसटैक नामक लीख़्टेनश्टाइन की एक कंपनी ने अन्तर्राष्ट्रीय स्तर पर विरोध का सामना किया, जिससे संयुक्त राज्य और भारत के बीच एक लघु कालीय राजनयिक संकट उभरा था। इस संदर्भ में भारत ने इस मामले को ट्रिप समझौते को तोड़ने के आरोप में, डब्ल्यू.टी.ओ. तक पहुंचाने का संकल्प किया, जिससे सं.राज्य को काफ़ी परेशानियों का सामना करना पड़ा। Option A: राजस्थान Option B: पंजाब Option C: बिहार Option D: टैक्सास A: टैक्सास **** Q: Statement: <MASK> में वापस आकर डाक्टर खुराना को अपने योग्य कोई काम न मिला। हारकर इंग्लैंड चले गए, जहाँ कैम्ब्रिज विश्वविद्यालय में सदस्यता तथा लार्ड टाड के साथ कार्य करने का अवसर मिला1 सन् १९५२ में आप वैकवर (कनाडा) की ब्रिटिश कोलंबिया अनुसंधान परिषद् के जैवरसायन विभाग के अध्यक्ष नियुक्त हुए। सन् १९६० में इन्होंने संयुक्त राज्य अमरीका के विस्कान्सिन विश्वविद्यालय के इंस्टिट्यूट ऑव एन्ज़ाइम रिसर्च में प्रोफेसर का पद पाया। यहाँ उन्होंने अमरीकी नागरिकता स्वीकार कर ली। Option A: भारतवर्ष Option B: न्यूयार्क Option C: इंग्लैंड Option D: भारत A: भारत **** Q: Statement: फ़िर वही रात (अंग्रेज़ी: Same night again) 1980 में एन.एन.सिप्पी निर्मित डैनी डेंज़ोंग्पा निर्देशित हिन्दी भाषा की फ़िल्म है| डैनी द्वारा निर्देशित यह एक मात्र फ़िल्म है| इस भयभीत व सनसनी फ़िल्म के प्रमुख कलाकार किम व राजेश खन्ना, एक मनोवैज्ञानिक पात्र, तथा अरुणा ईरानी, ललिता पवार, <MASK>, डैनी डेंज़ोंग्पा, ए के हंगल, सुरेश ओबेरॉय, शशिकला, मुकरी व शुभा खोटे सहायक कलाकार है| Option A: अलेक्जैंडर Option B: जगदीप Option C: शशिकला Option D: भगवान A:
जगदीप ****
Detailed Instructions: In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other. Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise Problem:'English : The DurDe also demanded the process concerning lifting parliamentary immunities be ended and that the process be handled in peaceful means by democratic will of all MPs.','Kurdish : Platformê daxwaz kir ku hewldanên li ser rakirina parêzbendiyan bi lezgînî were rakirin û ew mijar ligel îradeya hemû wekîlan û bêyî rêbazên şer, were nîqaşkirin.' Solution:
Yes
In this task you need to give reasons to justify the pronoun coreference relations. Each of the provided inputs contains a sentence with a target pronoun and a question about how to justify the coreference between a noun phrase and the target pronoun. Good practices involve the discussion about how the descriptions attached to the targeted pronoun relate to the noun phrase candidate in the question. The reasoning could come from one or multiple following knowledge types about commonsense: First: 'Property', the knowledge about property of objects (e.g., ice is cold). Second: 'Object', the knowledge about objects (e.g., cats have ears). Third: 'Eventuality', the knowledge about eventuality (e.g., 'wake up' happens before 'open eyes'). Forth: 'Spatial', the knowledge about spatial position (e.g., object at the back can be blocked). Fifth: 'Quantity', the knowledge about numbers (e.g., 2 is smaller than 10). Sixth: all other knowledge if above ones are not suitable. Write the sentence in natural language. Q: Sentence: My meeting started at 4:00 and I needed to catch the train at 4:30, so there wasn't much time. Luckily, it was delayed, so it worked out. Question: Why does the 'it' refer to the train? A:
Because the code word is been used to make it in a change so it is been done in a public spot to decrease attention.
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]. One example: Was Michelangelo straight though? I mean, being a pizza-maniac ninja would indicate so, but... You never know. Solution is here: yes Explanation: This text has indentity directed abuse because it is trying to judge sexual orientation of Michelangelo. Hence, the answer is "yes" Now, solve this: Epic Solution:
no
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'. Q: 1216 sottrazione 6529 sottrazione 4102 aggiunta 3437 aggiunta 7441 A:
1463
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Example: Entity 1: plant Entity 2: leaf Example solution: yes Example explanation: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym. Problem: Entity 1: pack plant Entity 2: banana
Solution: yes
Problem: 1. Such an effective emotional roller coaster that its flaws seem diminished 2. A cinematic puzzle that's more schematic than natural, and one with a distinctly sour aftertaste, but despite the artificiality it still works. 3. Not simply a cynical view of modern romance but a statement about the poisons embracing the human condition. 4. As unflinching in its honesty as it is sharp in its observation and a great adaptation from stage to screen. 5. This is a must if you are into literary cinema. 6. This is the dark side of human interaction: ugly and cruel, but powerful and resonant nonetheless. 7. With outstanding performances from Rudd and Weisz, this is an unsettling, provocative and nasty little gem. 8. Anchored by two great leads and full of interesting, deeply debatable ideas, Shape still feels stagey and boxed in -- like a brilliantly unknowable friend existing in a world not your own. 9. The balanced struggle between and among sexes is engaging for a good chunk of the film. 10. LaBute would like us to know that neither sex has a monopoly on behaving very, very badly. Alert the media! What is the consensus? **** Answer: LaBute returns to his earlier themes of cruelty in relationships, and the results hit hard. Problem: 1. In seeking to make a chick flick with fangs, the producers of the vampire franchise Underworld are doing a grave disservice to the genre. 2. This is the kind of werewolf flick that seems to have used up its entire special-effects budget on canine contact lenses. 3. Somewhere, Lon Chaney Jr. must be howling mad. 4. This film is not one of the worst I've ever seen, but it won't be winning any prizes either.It may find a secondary life as a DVD rental but in terms of where it stacks up against other werewolf films, it's a dog. 5. Anyone going to a PG-13 horror film called Blood and Chocolate thinking that it's going to be good has serious reality issues. 6. Despite a few shock cuts and some decently staged shootouts, Blood and Chocolate is rarely thrilling and never scary ... and it seems to have been designed that way. If anything, it's a romance masquerading as a horror film. 7. No effects and no cheese. Even one shot of Olivier Martinez howling at the moon would've been worth my matinee ticket. 8. The only creature this heavily accented leader of the pack [Olivier Martinez] resembles is Pepé Le Pew. 9. A silly werewolf movie without any fangs. 10. Moments of inspiration vie in vain with Goth cliché. What is the consensus? **** Answer: Cheap CG effects and laughable dialogue make Blood and Chocolate worse than the usual werewolf flick. Problem: 1. A breath of fresh air within this genre... 2. A simple, slow-moving, shaggy-dog story that has enough charm to keep us involved but not enough dramatic tension to rise above the ordinary. 3. [S]mart and sweet but unsentimental and warmly genuine in its portrait of childhood innocence and the adventure of growing up... 4. I wanted to like Winn-Dixie ... I just didn't believe it. 5. There's bad, there's "so bad it's good"... and then there's this moronic film. 6. Because of Winn-Dixie-based on the beloved novel by Kate DiCamillo-turns out to be a modest success for the family crowd. 7. Most of the time, you can't go wrong with kids and dogs. Then there's Because of Winn-Dixie. 8. Sure, there's nothing here that hasn't already been covered in a Hallmark movie, but it's still refreshing to find a well-made, enjoyable film for families. 9. [The script] can never decide whether this is supposed to be an over-the-top comedy or a deeply moving drama -- and doesn't do that well at either. 10. In pace, sensibility, and big, beating heart, this is a child's first indie film, and it's the better for it. What is the consensus? **** Answer:
An old-fashioned, if bland, adaptation of Kate DiCamillo's novel.
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. [Q]: [[20, -33, 10, -36, 40], [-10, -34, 33], [-3, 40, 0, -41, 20], [13, -49]] [A]: [-288000, 340, 0, 0] [Q]: [[-15, -10, -49, -8], [-49, -13], [-35, 9, -26, 50], [-43, -50, 9, -43, 20], [-30, -41], [-40, 42, -20, 31, 50], [-50, 1, -31], [42, -33, -14, 25, 47], [-45, -39], [29, 13, 27, -49], [18, 46], [-27, -50, -24], [-32, 39, -13], [-1, 10, 41, 25, -26]] [A]: [80, 0, -1300, -1000, -30, 1680000, -50, -588, 0, 0, 828, 1200, -32, -260] [Q]: [[-26, -25, 8, 3, -45], [-5, 23, -36], [1, 3, 19], [47, -50, -34, -42], [13, 2]] [A]:
[-208, -36, 0, -71400, 2]
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. Q: Review: My 3 nieces and I stayed here for a long weekend, we had a wonderful time. We arrived early around 8:30am and they let us into our room. This was very nice otherwise we would have had to store our luggage and register later Room was very clean as was the bathroom. With 4 women we needed extra towels, they brought them up right away and then we got a call to make sure they were delivered. Room was also quiet, construction going on behind us and we never heard anything. Beds comfy and so were the quilts... Good location for Michigan Ave. All in all a wonderful stay. Would return. Polarity: Positive A: true **** Q: Review: Beautiful historic hotel -- and since I'm in historic building business, was looking forward to stay. Moved rooms on second night because of loud party in adjacent suite, they escorted me to a room that was completely torn up -- duct work torn apart in bathroom, lamp fixtures literally falling off wall, mirror torn off wall, etc. Ended up in a room on 20th floor -- much nicer, but yesterday waited 10 minutes for elevator on two separate occasions. Only two of three elevators to top floors work -- and these two elevators skip floors, so you can be stuck waiting for ever. When I raised this to hotel staff, was told this was an old hotel and basically to stuff it. Umm, no. This is not an old building problem, this is a fixable elevator problem if anyone cared enough to fix it. Thumbs way down, stay away. Go to the Drake or Knickerbocker if you're looking for old world charm, sans hassle. Polarity: Negative A: true **** Q: Review: Very disapointed in the service and quality of this hotel. I travel quite frequently to chicago and have never had this happen at any other 4 star hotel. I reserved a king bed. At checkin I was informed they were out of kings and basically offered no type of compensation or upgrade. When i arrived at the room the air conditioner door was open and rattled all night. The TV did not work. Had to call for service. The following day returned from work at 6pm and found the room had not even been serviced. Stay somewhere else. Polarity: Negative A:
true ****
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. Example: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq Edit: twins Example solution: Not Funny Example explanation: The edited sentence is not making much sense, therefore it's not funny. Problem: News Headline: Jimmy Kimmel ‘ Apologizes ’ for Using Son ’s Medical {Crisis} to Score Political Points Edit: degree
Solution: Funny
Given the task definition, example input & output, solve the new input case. In this task, you are given a country name and you need to return the 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: Angola Output: Central Africa Angola is located in the Central Africa region of the world map. New input case for you: Trinidad and Tobago Output:
Caribbean
Given the task definition, example input & output, solve the new input case. Given a sentence in Japanese, provide an equivalent paraphrased translation in Chinese that retains the same meaning both through the translation and the paraphrase. Example: 1975 - 76年のNBAシーズンは、全米バスケットボール協会の30番目のシーズンでした。 Output: 1975-76赛季的全国篮球协会是NBA的第30个赛季。 This is a correct and accurate translation from Japanese to Chinese because the translated paraphrase retains the main message that between the years 1975-1976, the 30th NBA season occurred. New input case for you: 音楽はA. T. Ummerによって作曲され、歌詞はKoorkkancheri SugathanとPoovachal Khaderによって書かれました。 Output:
音乐由A. T. Ummer创作,歌词由Koorkkancheri Sugathan和Poovachal Khader编写。
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. Example input: The fact that you do not want to donate to these poor, needy people only shows me that you really do not care about the embryos Example output: Invalid Example explanation: It is not an argument on the topic of death penalty. Q: I assume in what follows that we, the country or the state, execute only for the crime of murder, though many capital punishment adherents would use it for other crimes, such as child rape, treason, arson, robbery and even fraud. A:
Valid
Detailed Instructions: In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Q: [4, 4, 3, 5, 3, 7, 0, 1, 5, 2] A:
[7, 0, 1, 2]
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. Example: ['q', '31', 'a', 'd', '53', '85', 'p', '77'] Example solution: 1, 3, 5, 7, 8 Example explanation: Here, the numbers in the list are '31', '53', '85' and '77', and the unique digits used in the list are '1, 3, 5, 7, 8' in ascending order. Problem: ['f', 'v', 'm', 'r', '91', 'v', '77', 'e', '277', '343', 'e', '465', '275']
Solution: 1, 2, 3, 4, 5, 6, 7, 9
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. Input: Consider Input: Four months ago, I had a wild time going to a family wedding. It has been the first time in a decade that we've been under the same roof. I talked to mom and she said she has been doing well. I talked to father and he told me he caught the biggest fish that week. I talked to my sister and she has gotten a job in a big advertising firm. I talked to my brother and he just graduated college with a job prospect. My older brother is getting married to a rich tycoon woman. He will be very happy with the mansion he is moving into. I hope he doesn't get too greedy. I hope his life will have meaning. At the party, I got a little too drunk. I threw up on my older brother. He got a little mad. He forgave me. We went home with many memories. Output: imagined Input: Consider Input: I was anxious to have the sinus surgery as my nose had been full of polyps with deviated septum for likely a couple of years at that point. I was quite miserable, comparable to a sinus infection for years with no real relief. Multiple doctors, many rounds of steroids and antibiotics with no relief. At one point I was offered depression medications. I was also scared to have someone cutting and cleaning right next to my brain and eyes with only a couple thin bones in between. But at this point I felt desperate. My quality of life was rather low so I was determined to go through with the surgery. And I'm glad I did and I'm grateful I found my ENT doctor when I did. My husband's mother took care of our toddler while my mother and husband accompanied me. I'm grateful for my husband for distracting me with talk of anything other than what was happening that day and rubbing my cold feet before surgery. It really is the little things in life that are most memorable. Breathing through one's nose is definitely something a lot of people take for granted. I remember laying on the freezing cold operating table with nurses, techs, doctor and all the machines as a nurse injected the drug to put me under which felt like cold fire in my veins. I remember waking up in recovery with my nose packed full of gauze and such, wondering where my family was. I've only been under anesthesia one other time and to be honest it is a rather traumatizing experience but the nurses and doctors certainly don't acknowledge it as such. Output: retold Input: Consider Input: For as long as I can remember I have loved to swim. My mom told me that bath time was always my favorite time because I would swim around in the bathtub and that's why she decided to put me into swimming. I was 8 years old when I had my first swim meet and I can remember it clear as day even though it happened over a decade ago. I remember diving into the pool and swimming as fast as I could and even taking peeks at the lanes on either side of me to see how I was doing overall. When I touched the wall at the end I thought I had lost and the first thing I told my mother when I got out of the pool was that I sucked. My coach reassured me that I was better than I thought and shortly thereafter I was bumped up into the bigger pool where all the 'big kids' practiced. I would go on to swim for this team for 10 years during the summer. When I started my freshman year of high school I tried out for my high school swim team and made it and then around the same time I joined a club team so I was swimming pretty much the entire year with not many breaks in between. When I was a senior in high school I was given the opportunity to go to schools on a scholarship for swimming but I decided to go to a school that I really wanted to go to even though they hadn't offered me a scholarship, but I was allowed to try out as a walk-on. When I started my freshman year of college, however, I changed my mind. I just felt like I couldn't do another four years and I really needed a break and I didn't want my college experience to be consumed by swimming so decided not to try out for the team. It was a really hard decision and I felt guilty. It was eating away at my subconscious and I would always have nightmares and I felt like I was punishing myself. It took a long time but I finally got the courage to get back in the water. Swimming is pretty much all I've really known so when I got back in the water it just felt right and I've been doing it ever since.
Output: retold
Instructions: In this task, you will be shown an English sentence. You need to classify the sentence as either a representation of an anaphor number agreement or as an incorrect representation. An anaphor is an expression whose interpretation depends upon another expression. Anaphor number agreement is a restriction where a phrase agrees with the preceeding expression: plurals match plurals or singular expressions match singular expressions. In this task a valid representation of anaphor number agreement should be denoted as 'good' while everything else should be denoted as 'bad'. A correct representation of an anaphor number agreement will be a grammatically correct instance of a sentence where the subject and self-referencing nouns match plurality. An incorrect representation is a sentence in which the subject and self-referencing noun's plurality do not match. Input: Boys appreciate themselves. Output:
good
Detailed Instructions: In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Q: [10, 89, -49, 55, -65, -61] A:
4
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". [EX Q]: 03/15/1977, input_format=mm/dd/yyyy [EX A]: 15/03/1977 [EX Q]: 04/12/1748, input_format=dd/mm/yyyy [EX A]: 12/04/1748 [EX Q]: 10/02/2010, input_format=mm/dd/yyyy [EX A]:
02/10/2010
In this task, you will be shown an English sentence. You need to classify the sentence as either a representation of an anaphor number agreement or as an incorrect representation. An anaphor is an expression whose interpretation depends upon another expression. Anaphor number agreement is a restriction where a phrase agrees with the preceeding expression: plurals match plurals or singular expressions match singular expressions. In this task a valid representation of anaphor number agreement should be denoted as 'good' while everything else should be denoted as 'bad'. A correct representation of an anaphor number agreement will be a grammatically correct instance of a sentence where the subject and self-referencing nouns match plurality. An incorrect representation is a sentence in which the subject and self-referencing noun's plurality do not match. Input: Consider Input: Matt isn't working with himself. Output: good Input: Consider Input: Maria was insulting herself. Output: good Input: Consider Input: The girl is kissing herself.
Output: good
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. One example is below. Q: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again. A: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju. Rationale: The translation correctly preserves the characters in Croatian. Q: That also constitutes the entertainment portion of this talk, so I hope you enjoyed it. A:
Također to konstatira zabavni dio ovog govora, nadam se da ste uživali.
You will be given a definition of a task first, then some input of the task. We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. The people dying from the death penalty are guilty people who have taken the lives of others. Output:
Valid
Given the task definition and input, reply with output. 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'. Martin was born on August 14, 1945 in Waco, Texas, the son of Mary Lee (née Stewart; 1913–2002) and Glenn Vernon Martin (1914–1997), a real estate salesman and aspiring actor
August 14, 1945
In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items. Example input: ['3', 'u', 'W', '8', 'j'] Example output: [['3', 'u', 'W', '8'], ['3', 'u', 'W', 'j'], ['3', 'u', '8', 'j'], ['3', 'W', '8', 'j'], ['u', 'W', '8', 'j']] Example explanation: The output is a list of length 5, containing lists of length 4. Each inner list is created by dropping one item if the input list. So this is a good example. Q: ['b', '7', 'c', '6', '2', 'U', '3'] A:
[['b', '7', 'c', '6', '2', 'U'], ['b', '7', 'c', '6', '2', '3'], ['b', '7', 'c', '6', 'U', '3'], ['b', '7', 'c', '2', 'U', '3'], ['b', '7', '6', '2', 'U', '3'], ['b', 'c', '6', '2', 'U', '3'], ['7', 'c', '6', '2', 'U', '3']]
Detailed Instructions: 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. Q: [2, 2, 3, 3, 6, 8, 3, 1] , [4, 6, 8, 3, 7, 2, 10, 8] A:
[2, 3, 6, 8]
Q: In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers. 41387 A:
Yes
Detailed Instructions: In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3. Q: [-91, -54, 42, 62, -84] A:
[-91, 62]
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. Q: 12:50 Hrs A: 12:50 PM **** Q: 07:11 Hrs A: 07:11 AM **** Q: 19:32 Hrs A:
07:32 PM ****
Instructions: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Input: I_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 I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP Output:
jump around left thrice after walk right twice
Detailed Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. Q: sixninethreeonefivefouroneninetwozerofive A:
69315419205
Q: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise The site collects your generic personal information for analytics or research. Collection happens on the website, and your data is identifiable. A:
Analytics/Research
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Q: [822, 733, 31, 223, 800, 671, 891, 233, 299, 788, 88, 561] A:
[733, 31, 223, 233]
Detailed Instructions: The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations. See one example below: Problem: ¿hay algún restaurante " italian " cerca con opiniones de 3 estrellas? Solution: are there any " italian " restaurants nearby with 3 star reviews ? Explanation: The translation correctly preserves " italian " entity and is accurate Problem: mostrarme la opinión sobre " harry 's seafood grill " de " antoine waring ". Solution:
show me the review for " harry 's seafood grill " by " antoine waring "
Part 1. Definition 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. Part 2. Example [PERSON] behaved like a professional in the job interview. Answer: Positive Explanation: Behaving professionaly in a job interview has a positive impact on people's perception of a person. Part 3. Exercise [PERSON] had a part-time job as a security guard at a local airport. Answer:
No impact
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. [EX Q]: Command: eq { hop { argmax { all_rows ; laps } ; year } ; 1989 }, interpretation: select the rows whose crowd record is less than 10000 . the average of the crowd record of these rows is 7005 . [EX A]: no [EX Q]: Command: and { only { filter_eq { all_rows ; result ; draw } } ; eq { hop { filter_eq { all_rows ; result ; draw } ; opponent } ; cătălin zmărăndescu } }, interpretation: select the rows whose race record fuzzily matches to german grand prix . take the date record of this row . select the rows whose race record fuzzily matches to british grand prix . take the date record of this row . the first record is 15 days larger than the second record . [EX A]: no [EX Q]: Command: eq { min { all_rows ; finish position } ; 36th }, interpretation: the minimum finish position record of all rows is 36th . [EX A]:
yes
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Q: Command: eq { hop { nth_argmin { all_rows ; round ; 3 } ; player } ; glen irwin }, interpretation: select the row whose round record of all rows is 3rd minimum . the player record of this row is glen irwin . A:
yes
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value. Q: [24.572 88.828] A:
88.828
Detailed Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. Q: cccjjcjjjjxccj A:
jjcjj
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. One example: Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Solution is here: yes Explanation: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'. Now, solve this: Command: only { filter_eq { all_rows ; winner ; 6 - 1 , 6 - 1 } }, interpretation: select the rows whose men 's singles record fuzzily matches to kasperi salo . take the year record of this row . select the rows whose men 's singles record fuzzily matches to ville lang . take the year record of this row . the first record is less than the second record . Solution:
no
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'. Q: 6460 sottrazione 7494 aggiunta 3688 aggiunta 4875 sottrazione 6472 aggiunta 3659 A:
4716
Detailed Instructions: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Q: Taste of Cambridge is in the riverside area, near The Sorrento. It is a pub that is not family-friendly. A:
name[Taste of Cambridge], eatType[pub], area[riverside], familyFriendly[no], near[The Sorrento]
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". Example: Japanese: 詳細は昨日UTC17時30分、英国議会でイギリスのルス・ケリー運輸大臣によって伝えられた。 Thai: รายละเอียดถูกเปิดเผยโดยเลขาธิการกระทรวงคมนาคมของUK นางRuth Kelly ในสภาสามัญชน เมื่อเวลา17:30 UTC Example solution: Yes Example explanation: The converted Thai sentence is correctly translated from Japanese because converted sentence has the same message as the original Japanese sentence that Details were given yesterday in the House of Commons at 1730 UTC by Britain's Transport Secretary Ruth Kelly. Problem: Japanese: 彼女はキャメロン氏が盗難に「かんかんになっている」と述べた。 Thai: "ทหารแคนาดาคนหนึ่งของกองกำลังISAF จึงเริ่มยิงเพื่อเป็นการป้องกัน อันเป็นการปฏิบัติตามกฏในข้อตกลงของเรา"
Solution: No
Part 1. Definition 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. Part 2. Example Angola Answer: 1246700.00 Explanation: Surface area of the given country Angola is 1246700.00 square-kilometer Part 3. Exercise Algeria Answer:
2381741.00
Detailed Instructions: In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3]. Q: [-6, -50, -24, 84, 40, -32, -58, 50, 18, -42, 53, -56, -97, 16, -35] A:
[-28.0, -37.0, 30.0, 62.0, 4.0, -45.0, -4.0, 34.0, -12.0, 5.5, -1.5, -76.5, -40.5, -9.5]
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. One example is below. Q: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should. A: You know what, come tell us at the community pool. Rationale: This is a good response. Because it accepts in indirect way the input sentence and supports it. Q: Hey, did I leave a ring inside the dummy? A:
Is that what this is? Here you go. `I didn't even know you were married.
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'. Example: Tweet: Vull votar i votaré. Hi ha quelcom que no em permet no fer-ho. Ara bé tinc un greu problema. No sé a qui!! Example solution: Favor Example explanation: The tweet asks for the right to vote for the independence of Catalonia and it supports the movement so it will be characterized as 'Favor'. Problem: Tweet: És el triomf de la nova estratègia, al @govern i a @omnium estaran contents. Com que la independència ja no és important i la resta no obliga a gran cosa, tothom es pot pujar al carro. Ells també amplien la base. https://t.co/OK4UpxAMF2
Solution: Against
Teacher: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. Teacher: Now, understand the problem? Solve this instance: احتمالا اگر یک فیلمساز با تجربه پشت این گروه حرفه ای بازیگران بود ، میتونستیم شاهد انتهای بهتری برای فیلم باشیم . و از خودمون نپرسیم خب که چی؟!! Student:
کارگردانی
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'. Q: 4439 aggiunta 9394 aggiunta 183 aggiunta 9862 aggiunta 4534 A:
28412
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" One example is below. Q: Fact: pesticides can harm animals. A: What can harm animals? Rationale: It's a good question because it is formed by simply replacing the word "pesticides" with "what". Q: Fact: bone is less flexible but stronger than the material that covers it. A:
bone is stronger but less what than the material that covers it?
Q: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. THEM: hello, can i have the ball and hats and you can have the books? YOU: you can have the hats but, i need the ball and the books. A:
No
Detailed Instructions: In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. Problem:Set1: '{10, 15}', Set2: '{18, 12, 14, 15}'. How many elements are there in the union of Set1 and Set2 ? Solution:
5
This task is to find the number of 'For' loops present in the given cpp program. Let me give you an 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); } } The answer to this example can be: 1 Here is why: 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. OK. solve this: int factor(int a,int min) { int count=0; for(int i=min;i<=a;i++) { if(i==a) { count+=1; } if(a%i==0) { count+=factor(a/i,i); } } return count; } int main() { int n; cin>>n; while(n--) { int a; cin>>a; int result=factor(a,2); cout<<result<<endl; } return 0; } Answer:
1
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. Q: News Headline: Senators : Alter Internet laws to hold Backpage liable for {sex} trafficking Edit: all A:
Not Funny
[Q]: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. **** [A]: Its amazing input: Please answer the following: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. ++++++++++ output: Good app It's a very good and easy used full app Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.apps.authenticator2. ++++++++ Answer: Good Baik Problem: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package de.qspool.clementineremote. A: I miss the file browser I tend to manage my music using traitional folders only. The file browser works really well in clementine however I miss this feature in this app. Problem: Given the question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. ++++++++++++++++++++++++++++++++ The answer is: I love to see google play Problem: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.reicast.emulator. A:
Promising
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. -------- Question: تیکه های خنده دار و بعضاً تیکه های منشوری تو لفافه لحظات خنده داری تو این فیلم ایجاد کرده بودن. بازیگران اصلی (آقایان جعفری و عزتی) هم چیز جدیدی برای ارائه نداشتن و البته به خوبی همیشه شون بودن. در نهایت فیلمی نبود که اخرش حسرت اینو بخورین که وقتتون تلف شده و یه بار دیدنش می ارزه. Answer: بازی Question: فیلم سیار تاثیرگذار و خوش ساخت با بازی ها بسیار خوب و خانم صدرعرفایی یک ستاره بی نظیر در این فیلم هستن که تماشای هنرنمایی ایشون در این فیلم خودش به تنهایی دلیلی برای دیدن این فیلم میتونه باشه. دست مریزاد به این هنرمندان، زده باد. Answer: کارگردانی Question: آیا به چیزی که به عنوان فیلمنامه نوشتید باور دارید ؟ ! ؟ یک تصادف بعد کشمکش های انحرافی در آخر هم برنده گنج در شرط بندی من به چیزی که شما نوشتید و ساختید هیچ باور ندارم Answer:
داستان
Definition: 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. Input: Sentence: 'a girl stand in the water watching a kite'. Is 'kite' the longest word in the sentence? Output:
No
Q: In this task you are given a passage in Bulgarian as the input content. You are expected to generate a suitable title for the passage which accurately summarizes the contents of the passage. The input is provided in the form of a long passage comprising of multiple sentences. The output should be restricted to a maximum of 20 words which describe the passage and its contents. The output can include words from the passage. Content:Още по темата Офанзивният полузащитник на Борусия Дортмунд Емре Мор ще отиде в Турция през лятото, но само на почивка. Това заяви неговият агент. Както е известно, техничарят е спряган за Бешикташ и Фенербахче. Първоначално се смяташе, че от Борусия са готови да пратят 19-годишния талант под наем за един сезон. Емре ще отиде в Турция, но само на почивка, или за лагер на националния отбор. Той няма да играе там. Ще играе в турското първенство след 30-годишна възраст, отсече агентът на футболиста Муси Йозджан пред вестник Билд. Към момента договор за наем с друг клуб не е обсъждан. Емре е нешлифован диамант и трябва още да учи много. Най-доброто решение за него е да остане в Дортмунд, добави импресариото. A:
Мор ще отиде в Турция, но само на почивка
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. Example: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq Edit: twins Example solution: Not Funny Example explanation: The edited sentence is not making much sense, therefore it's not funny. Problem: News Headline: Diversify Washington in more ways than one : Scientists must become more involved in political {processes} Edit: buffets
Solution: Funny
Instructions: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" Input: final Output:
spinal
Detailed 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 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. Q: Context: 'Hi. Can you help me get supplies for my camping trip?🙂' 'Hello fellow camper! I'm pretty sure I can help you. 🙂' 'Okay, great! What do you need the most?' Utterance: 'I am looking for food, me and the kiddos need to eat many snacks for energy while exploring hiking trails. What about?' A:
Yes
This task is to find the number of 'For' loops present in the given cpp program. /* * [email protected] * * Created on: 2011-11-27 * Author: Administrator */ int num0;//???? int factor(int x, int y)//????? { int countn = 1;//????????1 if ( x == 1 ) return 0; if ( x == 2 ) return 1;//??1,2????? for ( int i = y; i <= sqrt(x); i ++) if ( x % i == 0 ) countn += factor(x / i, i);//????? return countn; } int main()//????? {//????? int n, j;//???? cin >> n;//???? for ( j = 1; j <= n; j++) { cin >> num0;//??????? cout << factor(num0, 2) << endl;//?????? } return 0;//??????????????????? }//???? 2 int sum = 0; void f(int a,int s) { int i; if(a == 1) sum++; else { for(i = s; i <= a; i++) { if(a % i == 0) f((a / i),i); } } return; } int main() { int n, num, j; cin >> n; for (j = 1; j <= n; j++) { cin >> num; f(num,2); printf("%d\n",sum); sum = 0; } return 0; } 2 int dividemin(int a,int minyinzi){ int num=0; if(a==1)num++; else for(int i=minyinzi;i<=a;i++) { if(a%i==0)num=num+dividemin(a/i,i); } return num; } int main(){ int n; cin>>n; int a[n]; for(int i=0;i<=n-1;i++) cin>>a[i]; for(int i=0;i<=n-1;i++) //cout<<divide(a[i],a[i])<<endl; cout<<dividemin(a[i],2)<<endl; }
3
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. Input: Consider Input: produced the block books, which were the immediate predecessors of the true printed book, Output: False Input: Consider Input: and was used there with very little variation all through the sixteenth and seventeenth centuries, and indeed into the eighteenth. Output: False Input: Consider Input: many of whose types, indeed, like that of the Subiaco works, are of a transitional character.
Output: True
In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items. Example: ['3', 'u', 'W', '8', 'j'] Example solution: [['3', 'u', 'W', '8'], ['3', 'u', 'W', 'j'], ['3', 'u', '8', 'j'], ['3', 'W', '8', 'j'], ['u', 'W', '8', 'j']] Example explanation: The output is a list of length 5, containing lists of length 4. Each inner list is created by dropping one item if the input list. So this is a good example. Problem: ['6', 'l', 'p', 'Y', 'c']
Solution: [['6', 'l', 'p', 'Y'], ['6', 'l', 'p', 'c'], ['6', 'l', 'Y', 'c'], ['6', 'p', 'Y', 'c'], ['l', 'p', 'Y', 'c']]
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Q: The Phoenix is an average Fast food in the riverside area. A:
name[The Phoenix], food[Fast food], customer rating[average], area[riverside]
Detailed Instructions: You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education. Q: A Confused Computer A:
every morning i go to the computer to search for google a minute later i'm on foogle my google foogle computer must be confuse it be to slow but now i know i ca n't even reach the computer
Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'. Q: 18:39:29 occured before 21:15:26 but after 12:15:34 AM A:
False
In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers. Example: 7 Example solution: Yes Example explanation: 7 is a prime number as it has no factors greater than 1. So, it can't be made by multiplying other whole numbers and the answer is 'Yes'. Problem: 82769
Solution: No
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Q: [307, 923, 756, 5, 881, 761] A:
[307, 5, 881, 761]
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]. One example is below. Q: Was Michelangelo straight though? I mean, being a pizza-maniac ninja would indicate so, but... You never know. A: yes Rationale: This text has indentity directed abuse because it is trying to judge sexual orientation of Michelangelo. Hence, the answer is "yes" Q: Intersex, a birth defect adopted by queers to make trannies and enbies seem more legit A:
yes
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. One example is below. Q: Sentence: 'two men in a room holding wii remotes'. Is 'remotes' the longest word in the sentence? A: Yes Rationale: The word 'remotes' has 7 letters which is the maximum in this sentence. So, the answer is 'Yes'. Q: Sentence: 'there is a very tall building that towers over the rest of the skyline'. Is 'building' the longest word in the sentence? A:
Yes
Detailed Instructions: 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'. Q: 7274 sottrazione 5886 sottrazione 572 aggiunta 4522 sottrazione 4886 sottrazione 7267 A:
-6815
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. Example: twotwoonesixzeronine Example solution: 221609 Example explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example. Problem: eightfivethreeeightsevenzerofoursevensevenseveneightthree
Solution: 853870477783
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Let me give you an example: [2,5,1,4],[2,5,8,4,2,0] The answer to this example can be: [2,4,5] Here is why: The elements 2,4, and 5 are in both lists. This is a good example. OK. solve this: [4, 7, 9, 4, 6, 7, 7, 1, 2] , [10, 10, 1, 9, 10, 8, 10, 6, 3] Answer:
[1, 6, 9]
In this task you will break down a question into the basic steps required to answer it. A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.) Here are the list of step templates and their description: Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes] Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition] Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step] Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step]. Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute] Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest] Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number] Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2] Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2] Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2] Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2] Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition] Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2]. [Q]: question: What shape is the object that is partially hidden? [A]: #1 return objects #2 return #1 that is partially hidden #3 return shape of #2 [Q]: question: Find all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona. [A]: #1 return address #2 return #1 in East Julianaside Texas #3 return #1 in Gleasonmouth Arizona #4 return #2 and #3 [Q]: question: list all flights from denver to san francisco on wednesday afternoon [A]:
#1 return flights #2 return #1 from denver #3 return #2 to san francisco #4 return #3 on wednesday afternoon
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Q: [335, 541, 83, 178, 500, 918, 815, 339, 223, 161, 801, 811, 457, 116, 463, 401] A:
[541, 83, 223, 811, 457, 463, 401]
In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'. Example: Set1: '{1, 6, 10, 12, 13, 14, 15, 16}', Set2: '{1, 2, 4, 6, 11, 14, 15, 20}'. Is the element '11' in the intersection of Set1 and Set2 ? Example solution: No Example explanation: The intersection of Set1 and Set2 is {1, 6, 14, 15}. 11 is not an element of this set. So, the answer is No. Problem: Set1: '{3, 6, 9, 12, 17}', Set2: '{2, 3, 6, 7, 8, 11, 16}'. Is the element '7' in the intersection of Set1 and Set2 ?
Solution: No
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 | Input: Consider Input: Context Word: build. Output: He could either build the birdhouse or the tree-house first, but the _ would take longer to construct. Input: Consider Input: Context Word: basin. Output: James need one more support to be able to reach the basin because the _ is too short. Input: Consider Input: Context Word: administrative.
Output: All administrative functions were handled by the office rather than the computer, as the _ was reliable to do it right.
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: That woman had a family A:
no
Part 1. Definition 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. Part 2. Example 1644 Answer: 1 Explanation: 1644 is a leap year as 1644 is divisible by 4. Part 3. Exercise 1284 Answer:
1
Instructions: Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event. Input: The patient was initially treated for presumed bacterial peritonitis but remained febrile and had persistent abdominal pain and peritoneal fluid pleocytosis, despite broad-spectrum antibiotic therapy. Output:
non-adverse drug event
In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3]. Example: [-4, 7, 3] Example solution: [1.5, 5] Example explanation: To create the answer, we should first calculate the average of -4 and 7, that is: (-4 + 7 ) / 2 = 1.5, so the first element of the answer is 1.5. Then, we need to calculate the average of 7 and 3, that is: 5. So the second element of the answer is 5. Problem: [0, 22, -61, -52, -55, -32, 75, -60, -34]
Solution: [11.0, -19.5, -56.5, -53.5, -43.5, 21.5, 7.5, -47.0]
Detailed Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. Q: sixninenineninethreefivesixeighttwoeight A:
6999356828
In this task, you have to generate the named entities (NER) given its ingredients of the recipe. Named entities are the names of the items without their quantity. Example: 1 3/4 cups all purpose flour, 1/4 cup finely ground blanched almonds, 1 teaspoon grated lemon zest, 1/2 cup confectioners sugar, 2 sticks unsalted butter, almost melted, 4 eggs, lightly beaten, 2 cups granulated sugar, 1/4 cup flour, 1/2 teaspoon baking powder, 2 teaspoons grated lemon zest, 1/3 cup fresh lemon juice, Candied violets for garnish, optional Example solution: flour, ground blanched almonds, lemon zest, confectioners sugar, butter, eggs, sugar, flour, baking powder, lemon zest, lemon juice, Candied violets Example explanation: Given the required ingredients, the ner of the recipe is generated. As the ingredients contain the quantities, if we just remove quantities from ingredients, we get the ner. Problem: 1 lb. ground beef, 1 large onion, chopped, 1 large green pepper, chopped, 1 pkg. chili mix seasoning, 1 can tomato paste, 1 can water from tomato paste can, 1 can Campbell's tomato soup, 1 can water from tomato soup can, 2 cans kidney beans, 1 can water from kidney bean can
Solution: ground beef, onion, green pepper, chili mix seasoning, tomato paste, water, Campbell's tomato soup, water, kidney beans, water
You will be given a definition of a task first, then some input of the task. 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. Set1: '{1, 2, 5, 6, 8, 11, 13, 14, 17, 19}', Set2: '{1, 4, 7, 8, 10, 11, 13, 14, 15}'. How many elements are there in the union of Set1 and Set2 ? Output:
14