prompt
stringlengths
48
10.5k
response
stringlengths
0
1.56k
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]. [EX Q]: [87, 68, 44, -69, -43] [EX A]: [77.5, 56.0, -12.5, -56.0] [EX Q]: [58, 76, 12, -55, 74, 15, -81] [EX A]: [67.0, 44.0, -21.5, 9.5, 44.5, -33.0] [EX Q]: [61, 62, -10] [EX A]:
[61.5, 26.0]
Teacher:You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. Teacher: Now, understand the problem? Solve this instance: 13:18 Hrs Student:
01:18 PM
TASK DEFINITION: You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician. PROBLEM: وسيبدأ الشجار بينكما وتُطعن بإحدى الرؤوس التي صنعتها. SOLUTION: Hai unha disputa e vostede é ferido cunha das súas puntas de frecha. PROBLEM: هذه الخلايا الزرقاء والحمراء المُسماة خلايا إيجابية مرتبطة بانتعاش الدماغ. SOLUTION: Esas células azuis e encarnadas son células positivas á doblecortina. PROBLEM: وبالتالي ادركنا الان أن باستطاعة البكتيريا التواصل مع بعضها SOLUTION:
Agora entendemos que todas as bacterias falan unhas con outras.
Given the task definition and input, reply with output. In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Belize
.bz
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. -------- Question: PETS Answer: pet be nice they can eat ice they be lovely and cuddly a a friend and that's the end Question: I Am! Answer: i be as scary a halloween on this day i be like a tornado when i be mad i be as loud a recess when i be full of energy i be as calm a an oak tree when i be still i be like a loin when i be playful i be like a waterfall when i be rag Question: If I Could Only Tell You Answer:
if i could only tell you how much i care i wouldnt shy away from you and only stare i would look into your eye and let you know how i felt you would understand and then we could be together if i could only tell you
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. [70.021, 120.134, 121.829, 163.088, 231.331, -16.9] [ 0.102 0.174 0.177 0.237 0.336 -0.025] [51.967, 80.616, 109.805, 30.339, 162.936, -59.313, -16.193, 61.555, 213.105] [ 0.082 0.127 0.173 0.048 0.257 -0.093 -0.026 0.097 0.336] [50.077, -98.223, 211.698, 35.607, 188.684, 128.803, -98.537]
[ 0.12 -0.235 0.506 0.085 0.451 0.308 -0.236]
1. Leiner's lame-brained travesty shoots for wacky but instead ends up being intensely irritating. 2. ...has the advantage of being only eighty-three minutes long and the disadvantage of seeming like an eternity. 3. To paraphrase Bart Simpson, it achieves the impossible by both sucking and blowing at the same time. 4. The movie consists of a series of really stupid hit and miss jokes, pratfalls and sight gags. Surprisingly, there are more hits than misses. 5. A painful, wearying slice of pure drivel. 6. None of the jokes are funny, sex is referred to far too often, and Seann William Scott's acting is beyond the pale. 7. Just irredeemably bad. It's not smart, it's not original, it's not charming, and it's certainly not funny. 8. Even if Dude, Where's My Car? would rate a zero on the Laugh-o-Meter, at least it is a fairly good-spirited and colorful film that produces a few smiles. 9. The definition of aiming low is when the John Hughes film you're ripping off is Weird Science. 10. Daft and lovable and even kinda daring, Dude deserves its truly clueless studio's belabored support. Consensus: The movie isn't funny, the plot is too thin, and the production values feel more like a TV sitcom than a movie. 1. The latest entry in the horror series is simply a slasher flick. At that level, it's not bad, with some clever twists on the genre. 2. No, it's not as single-minded as John Carpenter's original, but it's sure a lot smarter and more unnerving than the sequels. 3. Hard-core slasher aficionados will find things to like ... but overall the Halloween series has lost its edge. 4. Generic slasher-movie nonsense, but it's not without style. 5. The thrill is (long) gone. 6. There's only one way to kill Michael Myers for good: stop buying tickets to these movies. 7. Simply a re-hash of the other seven films. 8. Much of the cast is stiff or just plain bad. 9. While this is neither the first nor last time that will be the case, it is time to hang, gun down or lop off the head of this ugly cinematic series once and for all. 10. Sad nonsense, this. But not without cheesy fun factor. Consensus: The only thing this tired slasher flick may resurrect is nostalgia for when the genre was still fresh and scary. 1. Essentially just a big-screen episode of the series, and that's more than enough to satisfy any audience. 2. Alarmingly similar to the television cartoon. 3. Has not a trace of what made the early episodes of the cartoon fun, and even at a slight 80 minutes, is a complete waste of time. 4. Although filled with bright colors, the film's animation has a cheap two-dimensional look to it as if they did the same slapdash job expected for a kid's television show. 5. If you're a kid, you'll probably like it. 6. The Rugrats Movie is more like a pleasant Sunday drive in a big smooth sedan than the TV show's riotous joyrides in a fast, shiny convertible. 7. Television's most popular children's show successfully toddles to the big screen, offering all the sass and cuteness that Rugrats fans expect -- and more. 8. I think it's nothing short of shockingly irresponsible. 9. Bored me silly. Really silly. 10. How is it remotely possible, that a film of such awkward amateurishness even be allowed to hit the screen?
Consensus: Charming characters; loads of fun for kids and adults.
Detailed Instructions: In this task, you have to generate the named entities (NER) given its ingredients of the recipe. Named entities are the names of the items without their quantity. Problem:1/2 c. shortening, 1/2 tsp. salt, 1 c. sugar, 2 eggs, 2 c. flour, 2 tsp. baking powder, 1/2 c. milk, 1 tsp. vanilla, 1 pt. blueberries, 1/2 c. walnuts Solution:
shortening, salt, sugar, eggs, flour, baking powder, milk, vanilla, blueberries, walnuts
Detailed Instructions: In this task, we have Spanish and Catalan tweets for automatic stance detection. The data has three labels Against, Favor, and Neutral which express the stance towards the target -independence of Catalonia. If the tweet criticizes the independence of Catalonia then it's 'Against' and if the tweets support it then it will be labeled as 'Favor' also if the tweets state information or news rather than stating opinion then it will be characterized as 'Neutral'. Problem:Tweet: @JuanmaRoAr @cupnacional @EnricMillo @jcuixart @omnium Quin mal i quina ràbia fa veure això. Solution:
Against
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. [EX Q]: بازیهایی بسیار خوب از همه بازیگران(حتی محمد صادق ملک عزیز با اون نقش کوتاه)، فیلمنامه خوب، کارگردانی بسیار خوب...فقط نامه انتهای فیلم رو دوست نداشتم که اونم خیلی شخصی و سلیقه ای هست البته...نمی دونم چرا احساس می کنم صدای جمال و موضوع نامه بعدا اضافه شده به فیلم! [EX A]: بازی [EX Q]: بسیار فیلم بد و بازی های بدتر و تدوین افتضاح [EX A]: بازی [EX Q]: خیلی خوب. خیلی خوب. بازی‌ها خوب. فیلمنامه خوب. احترام به شعور مخاطب عالی. هدیه تهرانی فوق‌العاده. مریلا زارعی عالی. فقط یک زن می‌توانست این‌طور جزئیات چنین قصه‌ای را دربیاورد. آفرین. [EX A]:
بازی
We would like you to assess the QUALITY of each of the following argument (discussing Gay Marriage) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gay marriage. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gay marriage. [Q]: If this were a case of the government raising money to change religion, or opposing religion under the system's rules, you might have a point. [A]: Invalid [Q]: This is not going to change as same-sex marriage becomes legal in more places. [A]: Valid [Q]: Throughout history, even ion remote times, marriage has always been a union between a man and a woman. [A]:
Valid
You will be given a definition of a task first, then some input of the task. In this task, you are given the name of an Indian food dish. You need to return whether the dish is "non vegetarian" or "vegetarian". Do not answer with any words other than those two. Mihidana Output:
vegetarian
instruction: 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). question: Entity 1: kidney Entity 2: gland answer: yes question: Entity 1: network Entity 2: sharply point bill answer: no question: Entity 1: molluscs Entity 2: cleavage answer:
yes
Teacher: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. Teacher: Now, understand the problem? Solve this instance: Command: round_eq { sum { all_rows ; pts } ; 23 }, interpretation: the sum of the pts record of all rows is 23 . Student:
yes
Detailed Instructions: You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. Q: original sentence: Thomson visited Cooper's grave in 1765 . At that date he had been dead for five years . paraphrase: Thomson is visiting Cooper's grave in 1765 . At that date he has been dead for five years . A:
Tense
Detailed Instructions: 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:
जम्मू
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. One example is below. Q: [47, 444, 859, 530, 197, 409] A: [47, 859, 197, 409] Rationale: The integers '444' and '530' are not prime integers and they were removed from the list. Q: [41, 80, 307, 853, 809, 357, 829, 6, 981, 243, 607, 630, 363, 227, 455, 557, 694, 173, 523] A:
[41, 307, 853, 809, 829, 607, 227, 557, 173, 523]
Definition: The input contains texts obtained from news articles, ted talks, movie transcripts, radio transcripts, science and technology texts, and other short articles curated from the web and professional translators. Your task is to translate the given Yoruba sentence into the English language. Please bear in mind the following guidelines while doing the translation: 1) Generated output should be natural language and formal form of each sentence in your language. The output sentence should not be a colloquial form of the input sentence. The generated output should be in natural language 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) Numbers and fully capitalized words like SEPTEMBER, or 10 HOURS *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. 5) Note the input is in sentence case except for special placeholders. Please do the same in your translations. Input: Iná èsìsì kì í jóni lẹ́ẹ̀mejì. Output:
The fire of the stinging tragia plant does not burn a person twice.
This task is to find the number of 'For' loops present in the given cpp program. int ans; void dfs(int, int); int main() { int n, num; cin >> n; while (n--) { cin >> num; ans = 0; dfs(num, 2); cout << ans <<endl; } return 0; } void dfs(int x, int f) { if (x == 1) { ++ans; return ; } for (int i = f; i <= x; ++i) if (x % i == 0) dfs(x / i, i); return ; }
1
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'. [EX Q]: May 18, 1996 occured after Jun 04, 1982 but before Feb 08, 1990 [EX A]: False [EX Q]: 12:22:00 AM occured before 01:28:39 PM but after 19:20:24 [EX A]: False [EX Q]: 07 June 2016 occurs between Apr 13, 2017 and Jun 29, 1987 [EX A]:
True
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 input: [16, 205, 171, 2, 9, 317] Example output: [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. Q: [172, 1181, 4149, 480, 19] A:
[128, 1024, 4096, 512, 16]
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. 23:11 Hrs
11:11 PM
In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0. HigXUOOZOJxKblzYjkoDEIXuwCCZr, g 1 aeglMvQxxrEUGzesUDLRfwWnOofeas, D 1 XMXVJaKmZPbnYhzkxAOUREAJ, p
0
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Q: Central African Republic A:
.cf
Given the task definition and input, reply with output. In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said. Sentence: Bill passed the half-empty plate to John because he was full. Question: Who was full?
Bill
Detailed Instructions: 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: "Classy","Decent" and "Serene". these words clearly define the totality of my stay at the talbott hotel in the heart of chicago. the hustle and bustle of the city did little to affect the conducive atmosphere for relaxation provided by this posh hotel. the lounge was so welcoming and flashes of smiles from every angle.the staff from the bell-boy to the managers were polite, helpful and responsive to my needs. the room service was classy and to cap it all the beds were just as comfortable as back home, making the talbott a home away from home. my wife and i enjoyed the t-rex experience and learnt a lot about the city of chicago and what it has got to offer. believe me we will return with the kids because the talbott is family oriented and friendly to kids. it felt very safe. anytime we are in chicago the talbott is gonna be our home away from home! Polarity: Positive A:
true
Q: 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 . Statement: 88 रेखांश पूर्व (88th meridian east) <MASK> की प्रधान मध्याह्न रेखा से पूर्व में 88 रेखांश पर स्थित उत्तरी ध्रुव से दक्षिणी ध्रुव तक चलने वाली रेखांश है। यह काल्पनिक रेखा आर्कटिक महासागर, एशिया, हिन्द महासागर, दक्षिणी महासागर और अंटार्कटिका से गुज़रती है, जिसमें भारत के बिहार और पश्चिम बंगाल भी सम्मिलित हैं। यह 92 रेखांश पश्चिम से मिलकर एक महावृत्त बनाती है। Option A: रेखांश Option B: पृथ्वी Option C: एशिया Option D: अंटार्कटिका A:
पृथ्वी
Teacher:In this task, you will be presented with a question in Dutch language, and you have to write the person names from the question if present. B denotes the first item of a phrase and an I any non-initial word. Phrase used for the person name - PER. There can be instances with no person name entity, then return 'None'. Teacher: Now, understand the problem? Solve this instance: Een inhaalbeweging van de lonen en uitkeringen is volgens de vakbondsleider te verkiezen boven het laten deelnemen van werknemers in de winst van hun bedrijf . Student:
None
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Gabon
.ga
You are given first 5 messages from a series of message exchanges between 2 persons playing the game of Diplomacy which is an American strategic board game. You need to generate the next message. The message should be generated such that it fits the context seen so far. Avoid the text that is (i) tangent to the context, (ii) repeats the context. ['Hello! Thoughts on how you like to play as Italy?', 'Hi France!\n\nWell, I generally don’t like to play as Italy at all, frankly. But when I do, I go east. Not sure whether I’ll head towards Turkey or Austria, but I think the one big advantage that you and I both have is that we have a mutual border that is easy to keep clear. \n\nI’m not moving west. It takes forever to get there, and there are rarely centers there for me when I arrive. I hope you feel the same way about moving towards me. \n\nI’d like to keep our border clear and I’d like to act as “trio wires” for each other. Basically, if either Germany or England want to attack you, I expect they’ll mention something to me, and if you’ll look out for me diplomatically, I’ll give you a head’s up if ever you need to worry. \n\nHow do you like to play France?', "I'm happy to hear that! I have the same opinion when it comes down to our relationship. I prefer to play France decisevely in the West when an opportunity presents itself. Since that opportunity might not present itself for a long time, I often times end up playing a bit more reactively.\n\nI'd love to be trio wires. I've heard from everyone in the east, but not much substance, which probably means a bunch of passive openings. If there's little fighting between the Eastern powers it might make it tougher for us, so hopefully things will shake up a bit in that department. If you are also finding that there isn't a whole lot of commitment going on there, and you have some interest in an unorthodox play, then maybe there is some potential for us to work together directly.", 'Yeah, everyone is cagey and conservative, at least in words. If you have thoughts on something unorthodox, I love that kind of plan, so I’d love to hear it.', 'Ha — I meant “trip wire” above. That should make more sense.'] But I appreciate that you also agreed to be “trio wires.” 🤣 ["Hey Turkey! \n\nHow's it looking over there in the east? Anyways, I was wondering in if you have any intel on Italy, since I haven't heard much from them. I realize we most likely won't have too much to do with each other in the beginning, but I'm looking forwards to working with you later in the game if were both still around!", "I've reached out to Italy and heard... Absolutely nothing. No response yet. Sorry!\nHe doesn't seem the most talkative type. \n\nAnyway, how you doin?", "Hey Turkey; I don't know if you have noticed but Russia is huge rn and is about to crush both you and Austria, and then proceed to run over the rest of the map. Idk how your relationship with Austria or Italy is, but you guys really need to work together to stop Russia.", 'Why are you working with russia??? You realize as soon as they have used you they are going to turn on you and crush you?', "Does that mean you don't want to talk about a Triple Entente?"] How would you like to spice this pie? ["Howdy diddly do, neighbor!\n\nAny thoughts on how you'd like the opening stages to go?", "I'd love to take all of the balkans and Rumania then all of Italy and France in the next 2 years. Seems like a decent opening!? How about you? 🙂", "Wouldn't we all love that? I mean, not specifically you taking all that...\nSeriously, though, you have any thoughts on what kind if longer term partner you want? Any grudges you need to work out on the board?", 'You, umm, want to ask me to get my fleet out to help slow down Italy?', 'I think we are both an early dinner at this point but sure!']
I've put prelim orders in to support Greece to ion and stand Italy out. Let me know if that's wasted effort
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. Let me give you an example: Onomatopeia sounds The answer to this example can be: my friend call this morning to hear the different sound she collect them in a bag and call me to her town the singing of the kettle the clanging of the anvil the ringing of the phone the wailing of the siren Here is why: the poem is related to sounds, and is in a style that resembles a poem instead of other kind of texts. OK. solve this: sun Answer:
sun be super hot star in the solar system make the moon glow bright
TASK DEFINITION: In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively. PROBLEM: cTKUVziqhLkANR SOLUTION: z PROBLEM: ltSKWasfmdHBJCXz SOLUTION: z PROBLEM: oCQUWvLKwhP SOLUTION:
w
You are given a dialog between 2 or more individuals. Within the dialog, there will be clues that indicate two individuals were or are dating. You will be prompted at the end to answer which Speaker (or named individual) is dating which other Speaker (or named individual). Q: Speaker 1: Ooh! How was Kathy's play? Speaker 2: Well, Kathy gets half-naked and simulates sex with a real good lookin' guy. Speaker 3: Yeah, it's like someone literally wrote down my worst nightmare and then charged me $32 to see it! Speaker 1: That's a good idea for a business! Speaker 3: I'm totally screwed. Okay, they are gonna be hot and heavy on stage every night, and then they're gonna go to their cast parties and he's gonna try to undermine me. Y'know it'll be like, "So where's your boyfriend, what's-his-name, Chester?" And she'll go, "No-no-no, it's Chandler." And he'll go, "Whatever. Ha-ha-ha-ha!" Speaker 4: That-that is a good trick. Speaker 3: All right, look, look, what am I gonna do? Speaker 4: Chandler, look they're actors. They're there to do a job, just 'cause they work together, doesn't mean they're gonna get together. I mean just 'cause it happened with Susan Sarandon and Tim Robbins, it doesn't mean it's gonna happen with them. Speaker 2: Oh-oh, Alec Baldwin and Kim Basinger. Speaker 4: Tom Cruise and Nicole Kidman. Speaker 2: Yeah. Speaker 1: Hey, Mel Gibson and Clint Eastwood. Speaker 2: They're not a couple! Speaker 1: Oh-okay, I get the game now. Speaker 4: Okay look, look, let me ask you a question, when they were doing it on stage, was it like really hot? Speaker 2: Oh yeah! Speaker 4: Well okay, so then you're fine. The rule is when two actors are actually doing it off-stage all the sexual tension between them is gone. Okay? So as long as it's hot onstage you got nothing to worry about. It's when the heat goes away, that's when you're in trouble. Speaker 3: Really? Speaker 4: Look, you guys have been to every play I've ever been in, have I ever had chemistry on stage? Speaker 2: No. Speaker 4: Noooo!! Kathy is or was dating which Speaker? A:
Speaker 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. Problem:[8, 2, 6, 7, 2, 3, 1, 8] , [5, 1, 10, 5, 10, 6, 1, 9] Solution:
[1, 6]
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red. One example: crystal Solution is here: rock Explanation: A crystal is a type of rock, so rock is a valid hypernym output. Now, solve this: snake Solution:
vertebrate
Q: In this task, you will use your knowledge about language (and common sense) to determine what element the marked number refers to. The numbers are marked with two underlines around them, like: _ number _. There are several possible answers, you'll need to choose the proper one. Carefully read the given text, pay special attention to the marked number, think about what (unwritten) information the marked number holds inside, choose the most adequate word(s) from the optional answers. If none of them seems right to you, there's also an option for other. If your answer is "REFERENCE", also write the reference entity, otherwise write the implicit option name. Options to choose from are: REFERENCE: Some object which is being mentioned in the text before or after the target number. The reference answer has a higher priority than any other. If both Reference and another answer are possible, prioritize the Reference. YEAR: Describing a calendric year AGE: Describing someone's age CURRENCY: Reference to some monetary value e.g dollar, euro etc. PEOPLE: Describing a single/plural persons TIME: Describing a time of the day. Usually you can add the word o'clock after those numbers. OTHER: Some other option, which isn't listed here. Trunks: What is that ? Piccolo: That 's the Android . Trunks: No , it 's not . Piccolo: Yes , it is . Trunks: No , it 's not ! Dr. Gero: Yes , I am ! Trunks: You stay out of this ! Tien: Wait , so you 're saying that that 's not the Android that kills us ? Trunks: No ... I do n't even ... Krillin: But you said two Androids , right ? Tien: And we 've been fighting two . Trunks: Yes , I said _ two _ , but that 's not one of them ! Vegeta: Why did n't you tell us what they looked like then ? Trunks: I only ever met the two ! Vegeta: Well look at that , so did we ! You fucking failure ! Trunks: Hold on a second ! Vegeta: You told us : two Androids , May 12th , 10 AM , South City ! Trunks: Well , five miles off , but ... Vegeta: And what happens ? We waste our time on the wrong fucking Androids ! Trunks: Look , I was only ten months old at the time ! Vegeta: How about next time you come back to give someone a heads up , you give them a goddamn photo ! A:
REFERENCE Androids
You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician. [EX Q]: عندما حدث هذا الكوخ كله ، كان في الرابعة من عمره. [EX A]: Cando sucedeu todo isto el tiña 4 anos. [EX Q]: المكان الآخر الذي يعزز من اعتمادنا على النفط واستهلاكنا المتزايد هو خليج المسكيك الذي لم يكن جزء من التوقف المؤقت [EX A]: Outro lugar que está sostendo, en certa forma, a nosa dependencia do petróleo e o noso consumo crecente é o Golfo de México, que non foi incluído nas moratorias. [EX Q]: أعتقد أنه ليس هناك مكان للشك أن القطاع يحتاج الى إصلاحٍ كامل ، ليس مجرد تقليم في الهوامش. [EX A]:
Creo que non hai dúbida de que o sector precisa dunha visión completa non meramente parcial.
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Example input: password = a Example output: 5 Example explanation: Using 5 steps, it can become a strong password Q: password = pp83RzqNTCs A:
0
Instructions: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. Input: bPEfomPqOZLPINfUKuEmAnqjWbTalpCisSCpyv, dRxzaMxdagbJrzpyoLPINfUKuEmAnqjWbTalFv Output:
bPEfomPqOZaabefijkllmnnpqtuuwpCisSCpyv, dRxzaMxdagbJrzpyoaabefijkllmnnpqtuuwFv
Part 1. Definition In this task, you have to generate the named entities (NER) given its ingredients of the recipe. Named entities are the names of the items without their quantity. Part 2. 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 Answer: flour, ground blanched almonds, lemon zest, confectioners sugar, butter, eggs, sugar, flour, baking powder, lemon zest, lemon juice, Candied violets 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. Part 3. Exercise 2 cans artichoke hearts, 6 Tbsp. butter, 1/2 c. chopped onions, 1/2 c. chopped celery, 6 Tbsp. flour, 6 cans clear chicken broth, 1/4 c. lemon juice, 1 bay leaf, 1/4 tsp. pepper and thyme, 1 tsp. salt, 2 egg yolks, beaten, 2 c. half and half cream Answer:
hearts, butter, onions, celery, flour, chicken broth, lemon juice, bay leaf, pepper, salt, egg yolks, cream
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'. Tweet: @anonymized_account @anonymized_account @anonymized_account Gdzie jest @anonymized_account . Brudziński jesteś kłamcą i marnym kutasem @anonymized_account, Question: Does the tweet contain cyberbullying (harmful) content? Solution: Yes Why? The tweet contains Bullying content New input: Tweet: @anonymized_account Może ogłuszyły go te korki od szampanów, które strzelały po podpisaniu kontraktu Sadloka z Jagiellonią ? , Question: Is the tweet free of any cyberbullying (harmful) content? Solution:
Yes
Definition: 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'. Input: onesixonetwothreetwosixninethreeninethreefive Output:
161232693935
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: '{3, 7, 12, 13, 14, 16}', Set2: '{16, 19, 12}'. How many elements are there in the union of Set1 and Set2 ? Solution:
7
Given a prompt and two completions from a language model, select the completion that is the most fluent with respect to continuing the prompt. Fluency is defined by coherency and ease of understanding, not necessarily grammatical correctness. Generate either Completion A or Completion B. Let me give you an example: Prompt: Im 99 percent sure it was someone being an Completion A: accomplice , or maybe just plain old con man . whatever it was , it 's over . " Completion B: asshole, your right?) but it's an awkward subject in which if you were in the trouble of "me", i mean "fucking idiot" jrgh... i dunno...I guess you are (in a legal context) not a stupid The answer to this example can be: Completion A Here is why: This prompt-completion pair is more fluent because it is more easy to follow and is a realistic statement. OK. solve this: Prompt: The point is $100 is a hug difference to a lot of people and a Completion A: premium type Amex card will typically demand some communication as you hold down the balance report screen. Completion B: $1 million is a whole lot of fun." This story has been updated with comment from Uber Answer:
Completion A
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Ex Input: [43, 49, -72, -93, 8, -47, -78, -45, 54] Ex Output: 2 Ex Input: [-20, 93, 1, 100, -26, 69, -77] Ex Output: 6 Ex Input: [21, 39, 68, -99, -7] Ex Output:
18
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. Ex Input: 1 -2 lb pork back ribs, parboiled, 1 lb ham, 1 lb sausage, 1 lb shrimp, de-veined and peeled, 1 onion, chopped, 1 green pepper, chopped, 3 celery ribs, chopped, 3 -5 garlic cloves, chopped, 3 tablespoons oil, canola, 1 (20 ounce) can tomatoes, crushed, 1/4 cup Worcestershire sauce, 3 tablespoons Tabasco sauce, 2 (14 ounce) cans broth, 2 cups converted rice Ex Output: pork back ribs, ham, sausage, shrimp, onion, green pepper, celery, garlic, oil, tomatoes, Worcestershire sauce, Tabasco sauce, cans broth, rice Ex Input: 6 medium potatoes, peeled and cubed, 6 tablespoons vegetable oil, 1 bunch cilantro, chopped, 4 garlic cloves, mashed, 2 tablespoons ground coriander (optional), salt, 4 tablespoons lemon juice Ex Output: potatoes, vegetable oil, cilantro, garlic, ground coriander, salt, lemon juice Ex Input: 2/3 c. cottage cheese, 4 Tbsp. skim milk, 2 Tbsp. Worcestershire sauce, 1 Tbsp. dehydrated onion, 1 tsp. garlic salt, 1 tsp. paprika, 3 onion bouillon cubes Ex Output:
cottage cheese, milk, Worcestershire sauce, onion, garlic salt, paprika, onion
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 | Context Word: comics.
I look forward to the Sunday newspaper so I can look at the comics. This is the only reason I still get the _ in this day and age.
instruction: 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. question: Printing, in the only sense with which we are at present concerned, differs from most if not from all the arts and crafts represented in the Exhibition answer: True question: But the first Bible actually dated (which also was printed at Maintz by Peter Schoeffer in the year 1462) answer: True question: it is of the first importance that the letter used should be fine in form; answer:
False
Given the task definition and input, reply with output. In this task, you will be given a sentence or two along with a change aspect. You should change the given text in the given aspect. Aspects are explained below: Tense: Change the tense of the verbs in the text. If they're in past tense, change them to present, and if they're in present tense, change them to past tense. Number: Change the number of the nouns in the given text. Make plurals into singles and single into plurals. Remember to change the corresponding pronouns accordingly. Voice: If the verbs are in active voice, change them to be passive, otherwise, change them to be in active voice. Adverb: add one or multiple adverbs to the text. Gender: If the text contains female names and pronouns, substitute them with male names and pronouns. Do the same for sentences with mala names and pronouns. sentence: In July , kamchatka declared war on Yakutsk . Since Yakutsk's army was much better equipped and ten times larger , they were victorious within weeks . aspect: Tense
In July , kamchatka is declaring war on Yakutsk . Since Yakutsk's army is much better equipped and ten times larger , they will be victorious within weeks .
Detailed Instructions: Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Problem:Entity 1: skin Entity 2: substance Solution:
yes
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Q: THEM: i would like the hat and 2 balls YOU: deal. A:
No
You will be given a definition of a task first, then some input of the task. 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. jkjzzkjzkk Output:
jkj
You will be given a definition of a task first, then some input of the task. Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_TURN_RIGHT I_JUMP Output:
jump opposite right twice after look opposite right twice
Teacher: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. Teacher: Now, understand the problem? Solve this instance: Command: and { greater { hop { filter_eq { all_rows ; home team ; fitzroy } ; crowd } ; hop { filter_eq { all_rows ; home team ; geelong } ; crowd } } ; and { eq { hop { filter_eq { all_rows ; home team ; fitzroy } ; away team } ; footscray } ; eq { hop { filter_eq { all_rows ; home team ; geelong } ; away team } ; st kilda } } }, interpretation: for the transfer window records of all rows , all of them fuzzily match to winter . Student:
no
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. -------- Question: [6, 9, 3, 8, 2, 1, 4, 10] , [3, 7, 5, 6, 7, 1, 6, 9] Answer: [1, 3, 6, 9] Question: [2, 1, 7, 1, 2, 10] , [5, 1, 10, 4, 7, 4] Answer: [1, 7, 10] Question: [2, 8, 7, 8, 4, 8, 1, 10] , [2, 3, 7, 4, 2, 3, 3, 2] Answer:
[2, 4, 7]
Given the task definition and input, reply with output. In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. [{'first': -25, 'second': 43}, {'first': 1, 'second': 26}, {'first': 49, 'second': -21}, {'first': 39, 'second': -41}, {'first': 2, 'second': 98}]
[{'first': -25, 'second': 43}, {'first': 1, 'second': 26}, {'first': 2, 'second': 98}, {'first': 39, 'second': -41}, {'first': 49, 'second': -21}]
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 Input: ['293', '473', '79', 'j', '455', '285', 'k', 'd', '379', '249', '73', '229'] Example Output: 2, 3, 4, 5, 7, 8, 9 Example Input: ['183', '235', 'a', '261', 'z', 'n', 's', 'q', 'm', '311', '399', '457'] Example Output: 1, 2, 3, 4, 5, 6, 7, 8, 9 Example Input: ['h', '171', 'j', '447', '267', '471', '121', '367', 'z', '143', '125', '23', 'x'] Example Output:
1, 2, 3, 4, 5, 6, 7
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. One example is below. Q: able A: unable Rationale: The output is correct as able and unable are opposities of each other in meaning. Q: rejective A:
acceptive
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. 50833
Yes
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. One example is below. Q: [2, 5, 9, 6, 11] A: [2, 5, 11] Rationale: 6 and 9 are removed from the list because they are divisible by 3. Q: [32, 38, 96, -95, -93, -8] A:
[32, 38, -95, -8]
Given the task definition and input, reply with output. In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. How many lessons have been cancelled?
SELECT count(*) FROM Lessons WHERE lesson_status_code = "Cancelled"
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Ex Input: [-80, -27, -66, 56] Ex Output: 14 Ex Input: [68, 53, 82] Ex Output: 14 Ex Input: [24, -37, 53] Ex Output:
29
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. -------- Question: x = 4, equation weights = [0, 8, 3] Answer: 35 Question: x = 2, equation weights = [2, 1, 5, 6] Answer: 36 Question: x = 10, equation weights = [8, 6, 5, 9] Answer:
8659
TASK DEFINITION: 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. PROBLEM: Review: Stay Away! After generations as an old-world, cozy and stately, if a bit tired oasis, the AE has been purchased by Ian Schrager and taken down so many notches it's almost not functional. Allowing for the fact that the hotel is under renovation, the entrance is not handicapped accessible, and I saw several hotel guests with canes, casts, etc (including myself, recovering from foot surgery and in a cast, with a cane) struggling with the up and down outside stairs one has to navigate just to get into and out of the hotel. With luggage, it's almost impossible. This is simply inexcusable. I've been a customer of the Ambassador East for decades--but no more. The hallways are so dark one can barely see. The rooms are stark white, which in and of itself, isn't a particular problem, but it is jarring and almost painful as one's eyes adjust from the dark hallways. The furniture--stark and scant--looks like something from an Ikea closeout. The bed is comfortable--what a relief--but only about 15 inches off of the floor, a real problem if you're at all physically challenged, or even elderly and less flexible than you were in your salad days. The problems don't end there. My room had a horribly uncomfortable wire/metal desk chair, and absolutely nowhere else to sit. No arm chair, no demi-sofa, no ottoman. With a foot in a cast, it would have been nice to be able to sit comfortably, perhaps even with my leg elevated, while in the room. No way. The bathroom has absolutely nowhere to put any of your toiletries. Not a shelf, a small table, a nook, or a medicine cabinet. If you want to put a razor, shaving cream, makeup (for women) or anything else down so that you can use them, you're sh*t out of luck. Repeated requests for a small table or some sort of chair went unmet. A borrowed umbrella from the front desk was broken and unusable, something I didn't discover until caught in an expected downpour. I was tempted to throw it out, but remembered that they would charge me for it if I didn't return it, in spite of its total lack of usefulness. Refrigerator--forget it. Shampoo? For two days in a row, the housekeeper left several bottles of lotion, and no shampoo. Room service--not available. If you want breakfast, the front desk will sell you a small, pre-wrapped, commercial grade muffin for $4.00--something you can buy in any gas station for $1.00. No added value whatsoever. The photos show a nice entrance, and a large lobby for which the AE has long been famous. Unfortunately, that lobby is closed off, under construction, and the temporary lobby is on the second floor, difficult, again, for handicapped access. Thermos-bottled coffee and water for tea were stone cold, at 8 in the morning. When confronted with these various misses, the front desk staff repeatedly shrugged their shoulders and said, "Yeah, we know, you're not the first to tell us this stuff." All this shows is that Schrager doesn't even care to make an effort to make his guests comfortable, and that the staff is either too indifferent or too amateur to know the difference and even make an effort to get it right. It's one thing to get a good price on a hotel room when it's under renovation. It's another thing altogether to get screwed in the bargain, particularly after booking a non-refundable pre-paid reservation. Again, avoid this hotel like the plague. Polarity: Positive SOLUTION: false PROBLEM: Review: Hello, I recently stayed at the Affinia hotel in Chicago, and was very unhappy when I learned of additional charges upon arrival. When I made the reservations over the phone there was no mention of any internet or parking fees. When I arrive I'm told fee to valet park is $49 per day, plus another $10 for internet. This is just plain ridiculous, and will remember not to stay here in future. There's too many other fine hotels that don't charge these fees. Polarity: Negative SOLUTION: true PROBLEM: Review: I have to admit, I was a little leery about visiting Chicago due to my mild agoraphobia, but after a family member reserved a room at the Hotel Allegro Chicago, my fears were slightly assuaged. A few friends of mine had stayed in this hotel before, and had nothing but positive things to say. With this new-found optimism in mind, I went forward on my journey in confidence. I have to say, I was not let down. From the moment I stepped into the lobby, I felt at home. The concierge called bellboys to move our luggage from the taxi to our rooms, and the check-in process was fast and efficient. The rooms themselves are incredibly homey, feeling less like a hotel room and more like the guest room at a millionaire's mansion. The high comfort level coupled with prompt service when requesting items such as extra pillows and towels, really helped alleviate my apprehensions about staying in Chicago, and provided a secure place to stay at night, or whenever I did not feel like participating with the group. Of course, the rooms are second only to the overall feel of the hotel. I found myself spending less of my downtime in my room and more of it wandering around the building. Overall it's very cozy, and has a certain old-world feeling to it, once again lending to it feeling less like a hotel and more like a mansion at times. It was never overwhelmingly crowded, and the people I did encounter were incredibly friendly, yet not intrusive. I don't usually enjoy staying in hotels, but I love the Allegro Chicago! Polarity: Negative SOLUTION:
false
Q: 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]. That isn't what they are saying at all, though. You people completely misinterpreted the post. Yes, the alt right incel shit is dumb, but that isn't the point they are making. In their opinion, Game Freak and Nintendo made Pikachu a global phenomenon by creating an adorable character that kids can feel attached to and follow on his journey. Kids who have watched Pokemon will watch Pikachu grow with Ash, and feel like Pikachu is their friend. So when Pikachu is sad, they sympathize because they are sad. When Pikachu is lonely, they sympathize because they are lonely. Nobody said that Pikachu is a Nazi. All OP did was describe mascot marketing in a nutshell. They just fucked up by tacking on a stupid comparison at the end. A:
yes
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. [Q]: She said that it 's important that there 's a positive relationship with food ( which is a delicate balance when trying to be restrictive ) . [A]: no [Q]: If they 're ground bees then they are n't actually bees they are wasps . [A]: no [Q]: I see where you 're coming from , but depression is n't really a phase people go through . [A]:
no
In this task, you are given the name of an Indian food dish. You need to return whether the dish is "non vegetarian" or "vegetarian". Do not answer with any words other than those two. Example Input: Rasgulla Example Output: vegetarian Example Input: Mihidana Example Output: vegetarian Example Input: Shrikhand Example Output:
vegetarian
Given the task definition and input, reply with output. The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the no-need strategy, otherwise output No. no-need is a cooperative negotiation strategy. It is used when a participant points out that they do not need an item based on personal context such as suggesting that they have ample water to spare. no-need can directly benefit the opponent since it implies that the item is up for grabs. Context: 'I'm a big fan of well seasoned food and mushrooms! Mmm.. 🙂 Do you think it would also be alright for me to have 2 of the 3 waters since I will be hiking a lot?' 'That would be fine. I was hoping to have 2 but since I am only walking and you are doing more heavy duty hiking, you take them. Agreed?' 'I really appreciate that. Do you think you will be okay with just 1 water since you have health issues?' Utterance: 'That would be very nice, but I worry about you not having enough on the trail. Dehydration would not be good. I am pretty sure I can ration my supply to make it last. 🙂'
Yes
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. -------- Question: All patients improved rapidly after discontinuation of 5-ASA compounds. Answer: non-adverse drug event Question: Anticoagulant therapy was initiated with subcutaneous enoxaparin and oral warfarin. Answer: non-adverse drug event Question: Aminophylline hypersensitivity apparently due to ethylenediamine. Answer:
adverse drug event
Instructions: In this task, you need to answer 'Yes' if the given word is the longest word (in terms of number of letters) in the given sentence, else answer 'No'. Note that there could be multiple longest words in a sentence as they can have the same length that is the largest across all words in that sentence. Input: Sentence: 'a baseball player swinging his bat during a game'. Is 'swinging' the longest word in the sentence? Output:
Yes
Instructions: In this task, we have Spanish and Catalan tweets for automatic stance detection. The data has three labels Against, Favor, and Neutral which express the stance towards the target -independence of Catalonia. If the tweet criticizes the independence of Catalonia then it's 'Against' and if the tweets support it then it will be labeled as 'Favor' also if the tweets state information or news rather than stating opinion then it will be characterized as 'Neutral'. Input: Tweet: RT @NordSud12: Ja sou 100 els morbos@s que ens seguiu!! Moltes gràcies!!! 😘😘😘 https://t.co/paqjxVQO8x Output:
Neutral
Detailed Instructions: 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: If there are three crabs in the image pair A:
#1 return crabs #2 return number of #1 #3 return if #2 is equal to three
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Example: [47, 444, 859, 530, 197, 409] Example solution: [47, 859, 197, 409] Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list. Problem: [915, 491, 227, 317, 811, 132, 677, 180, 398]
Solution: [491, 227, 317, 811, 677]
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. bYubMFxyTqR, AcDbMFxSnI Solution: bYubfmxyTqR, AcDbfmxSnI Why? Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI' New input: VLJeVHMGltWlxsofVgZHctzc, HzPTJYYXqWeVHMGltWlxsoFv Solution:
VLJeghllmostvwxfVgZHctzc, HzPTJYYXqWeghllmostvwxFv
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Q: unhealthy A:
healthy
Q: Find the movie name from the given conversation. If the movie name is not found give output as "unknown" ASSISTANT: What type of movies do you like? , USER: I really like action movies. , ASSISTANT: Why do you like those movies? , USER: I like the I like the action in them. I like the nonstop sort of rhythm to the movie. It sort of takes you out of reality, really immerses you into the movie. They usually are a lot of fun, although I do prefer the ones that aren't quite so violent, but in general, it's really a nice escape and a lot of fun. , ASSISTANT: What movie specifically do you like? , USER: My favorite is probably Bourne Ultimatum. A:
Bourne Ultimatum
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. Hence, hyperthyroidism induced by IFN-alpha could correspond to the first phase of silent thyroiditis, to Graves' disease or to the succession of both.
adverse drug event
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. Example Input: WAVES OF THE OCEAN Example Output: the wave of the ocean be so intence but there be a rush of happieness through the air Example Input: My Fish Example Output: blue be his skin yellow be his eye gracefully he swim with his fishy friend he spend his day in a tank look through the glass he dream of the time he live in the big blue river now he swim in circle round the tank so small blue be his skin yellow be his eye Example Input: School fun Example Output:
i like to go to school do you like to go to school i love math and reading you can read all day long
You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right Q: [154, 145, 136, 127, 118, 109, 100, 91, 82, 73, 64, 55, 46, 37, 28] A:
1
In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0. XMXVJaKmZPbnYhzkxAOUREAJ, p
0
Instructions: 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. Input: [-85.196, 17.729, 68.907, 217.255, -13.793] Output:
40.98
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list. ['238', 'h', '92', 'U', '2799'] Solution: 2, 4 Why? Here, the alphabetical elements in the input list are 'h' and 'U' and they are at positions '2' and '4', respectively. New input: ['6259', '1635', '4743', 'A', 'r', 'B', '4465', '3539'] Solution:
4, 5, 6
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...'. Ex Input: Everyone else put their best foot forward on the show. That's certainly true of Daniel. He did a good job. Ex Output: Yeah, it was clear to me that I needed to come in and make an impression as a person first. Ex Input: Is it cold like it's supposed to be?? Ex Output: Well, it's cold to my skin. It's a cool 69. Ex Input: I'm just here as a ruse. I gotta go check on the manatee tank. Ex Output:
Well then who's ordering the new thimbles?
Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc. Example Input: Sentence: The official death toll has reached 114 -- including 66 women, 28 children and 20 men, the ministry said. Question: What did the ministry do after making this report? Category: Event Ordering. Example Output: Yes. Example Input: Sentence: The official death toll has reached 114 -- including 66 women, 28 children and 20 men, the ministry said. Question: Is the death toll still rising? Category: Transient v. Stationary. Example Output: Yes. Example Input: Sentence: Pushkin gradually became committed to social reform and emerged as a spokesman for literary radicals. Question: What time of day would Pushkin most likely speak? Category: Absolute Timepoint. Example Output:
No.
Detailed Instructions: In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list. Q: ['3389', 'h', 'S', '9243', 'e', 'C', '7633', '8899', '7943', '7907', '8175', 'm'] A:
2, 3, 5, 6, 12
Q: 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'. fourtwofivesixonenineonethreefourthree A:
4256191343
Detailed Instructions: Find the movie name from the given conversation. If the movie name is not found give output as "unknown" Q: ASSISTANT: What kind of movies do you generally like watching? , USER: I like comedies. I like , USER: Good dramas. Highly rated dramas. And then I like superhero movies. , ASSISTANT: why do u like these types of movies? , USER: Well comedies I like them if they're good, if they're clever, if they're funny. Dramas it usually has to have good a good story, good actors. Superhero movies, I mostly like the Marvel ones that come out, rather than DC. I think they do a good job with the Marvel movies. , ASSISTANT: could u name a movie that fits one of the categories you mentioned, and tell me why you like that kind of movie , USER: Sure. Avengers: Infinity War is a movie that fits fits in the superhero genre. I just thought it was really well done. All the characters are funny and likable. It's a good story, and it all fits together really well. A:
Avengers: Infinity War
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. [EX Q]: There is a high priced coffee shop called The Eagle in the Riverside area, near Burger King, with an average customer rating, that serves Indian food and is also child friendly. [EX A]: name[The Eagle], eatType[coffee shop], food[Indian], priceRange[high], customer rating[average], area[riverside], familyFriendly[yes], near[Burger King] [EX Q]: There is a family friendly English restaurant within the £20 price range in riverside near All Bar One by the name of Green Man. [EX A]: name[Green Man], food[English], priceRange[less than £20], area[riverside], familyFriendly[yes], near[All Bar One] [EX Q]: The Phoenix a Chinese food restaurant rated one out of five stars with customers in Riverside. [EX A]:
name[The Phoenix], food[Chinese], customer rating[1 out of 5], area[riverside]
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. One example is below. Q: [0,1,0,2,5,1] A: [2,5] Rationale: The only elements that are not duplicated is 2 and 5. This is a good example. Q: [1, 0, 5, 4, 6, 5] A:
[1, 0, 4, 6]
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. -------- Question: Did M2 marry a Chinese art director Answer: SELECT count(*) WHERE { ?x0 a ns:film.film_art_director . ?x0 ns:people.person.nationality ns:m.0d05w3 . FILTER ( M2 != ?x0 ) . M2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0 } Question: Did M4 's cinematographer and star edit and write M0 , M1 , M2 , and M3 Answer: SELECT count(*) WHERE { ?x0 ns:film.actor.film/ns:film.performance.film M4 . ?x0 ns:film.cinematographer.film M4 . ?x0 ns:film.editor.film M0 . ?x0 ns:film.editor.film M1 . ?x0 ns:film.editor.film M2 . ?x0 ns:film.editor.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 } Question: Did M2 marry a Italian film producer Answer:
SELECT count(*) WHERE { ?x0 a ns:film.producer . ?x0 ns:people.person.nationality ns:m.03rjj . FILTER ( M2 != ?x0 ) . M2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0 }
instruction: The given sentence contains a typo which could be one of the following four types: (1) swapped letters of a word e.g. 'niec' is a typo of the word 'nice'. (2) missing letter in a word e.g. 'nic' is a typo of the word 'nice'. (3) extra letter in a word e.g. 'nicce' is a typo of the word 'nice'. (4) replaced letter in a word e.g 'nicr' is a typo of the word 'nice'. You need to identify the typo in the given sentence. To do this, answer with the word containing the typo. question: somre cute pink flowers sitting in a red watering can answer: somre question: a lasdy on a bike and people riding a horse carriage answer: lasdy question: Two xats stare at each other in front of the glass door of a porch. answer:
xats
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'. Example Input: 407 aggiunta 8869 sottrazione 8069 Example Output: 1207 Example Input: 4013 aggiunta 6407 aggiunta 4038 Example Output: 14458 Example Input: 8480 aggiunta 1136 sottrazione 4741 sottrazione 1519 aggiunta 6743 sottrazione 8433 aggiunta 9754 sottrazione 3673 sottrazione 9921 Example Output:
-2174
You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right [80, 4, 43, 3, 2, 11, 83, 93, 38, 59]
2
In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel. Example: hNarAik Example solution: hNrk Example explanation: The three vowels in the input 'a, 'A', and 'i' are removed. Problem: TNe
Solution: TN
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. Input: Consider Input: 1558 Output: 0 Input: Consider Input: 1641 Output: 0 Input: Consider Input: 1920
Output: 1
In this task, you are given two questions about a domain. Your task is to combine the main subjects of the questions to write a new, natural-sounding question. For example, if the first question is about the tallness of the president and the second question is about his performance at college, the new question can be about his tallness at college. Try to find the main idea of each question, then combine them; you can use different words or make the subjects negative (i.e., ask about shortness instead of tallness) to combine the subjects. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in the new question, this keyword should also be used the same way. Do not write unnatural questions. (i.e., would not be a question someone might normally ask about domains). Do not write open-ended or subjective questions. (e.g., questions that can be answered differently by different people.) If you couldn't find the answer to your question from a single Google search, try to write a different question. You do not have to stick with the original question word for word, but you should try to create a question that combines the main subjects of the question. Ex Input: What four-legged animals can be seen in this national park? Where can i drive in this national park? Ex Output: Can i drive in this national park and see mammals? Ex Input: How did the stock market perform while this president was in office? Did this president decrease the budget deficit by the end of his term? Ex Output: Did this president increase the budget deficit to help the economy with stimulus bills? Ex Input: What was the maiden name of the mother of this president? What state did this president spend his youthful years in? Ex Output:
What was the maiden name of the mother of this president and what state did she raise him in?
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Input: Consider Input: x = 0, equation weights = [9, 2, 6] Output: 6 Input: Consider Input: x = 9, equation weights = [9, 7, 5] Output: 797 Input: Consider Input: x = 4, equation weights = [5, 0, 8, 4]
Output: 356
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. Problem:[{'first': -27, 'second': 47}, {'first': 29, 'second': 67}, {'first': 45, 'second': 38}, {'first': -66, 'second': -59}, {'first': -39, 'second': -20}, {'first': -80, 'second': 14}] Solution:
[{'first': -80, 'second': 14}, {'first': -66, 'second': -59}, {'first': -39, 'second': -20}, {'first': -27, 'second': 47}, {'first': 29, 'second': 67}, {'first': 45, 'second': 38}]
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. Example Input: [4, 0, 0, 6, 2, 5, 7, 3, 1, 2] Example Output: [4, 6, 5, 7, 3, 1] Example Input: [1, 2, 7, 1, 7, 5, 3, 2, 7, 2] Example Output: [5, 3] Example Input: [5, 2, 4, 1, 2] Example Output:
[5, 4, 1]
Two analogies that relate objects to the associated rooms is given in the form "A : B. C : ?". "A : B" relates object A to room B. Your task is to replace the question mark (?) with the appropriate room for the given object C, following the "A : B" relation. crib : bedroom. dresser : ?
bedroom