prompt
stringlengths
45
13.4k
response
stringlengths
0
2.99k
Detailed Instructions: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Q: I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT A:
turn right after run opposite right twice
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Q: Sentence: Al Qaeda has had anthrax , the raw seed product in its unweaponized form , since at {{ least }} 1997 , when it was purchased by Bin Laden through the Moro Islamic Liberation Front ( " Moro Front " or " MILF " ) . Word: least A:
RBS
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. Q: [152, 42, 4129, 4190, 16, 80, 3, 139, 1453, 24, 3700, 7] A: [128, 32, 4096, 4096, 16, 64, 4, 128, 1024, 32, 4096, 8] **** Q: [51, 604, 3397, 4708, 10, 76, 4, 57, 372, 2776, 2100, 24, 53, 4, 225] A: [64, 512, 4096, 4096, 8, 64, 4, 64, 256, 2048, 2048, 32, 64, 4, 256] **** Q: [205, 147, 1529, 2260, 9, 79, 2, 12, 1605, 858, 1844, 18, 50, 4] A:
[256, 128, 1024, 2048, 8, 64, 2, 16, 2048, 1024, 2048, 16, 64, 4] ****
Detailed Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise See one example below: Problem: The site collects your IP address or device IDs for advertising. Collection happens when you implicitly provide information on the website. Solution: Advertising Explanation: The given policy text states that it uses user information for 'advertising' explicitly Problem: The site collects your cookies or tracking elements for an additional (non-basic) service or feature. Collection happens in an unspecified way, and your data is aggregated or anonymized. Solution:
Additional service/feature
Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise [EX Q]: An unnamed third party does do something outside of our label scheme with your IP address or device IDs for an unspecified purpose. The data is aggregated or anonymized. [EX A]: IP address and device IDs [EX Q]: A user with an account can use privacy configuration settings (in the website or app) to control the use of location information by the site, which collects it for an unspecified purpose. [EX A]: Location [EX Q]: The site collects your cookies or tracking elements for an unspecified purpose. Collection happens on the website. [EX A]:
Cookies and tracking elements
You will be given a definition of a task first, then some input of the task. In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. কুকুরের লেজ কোনোদিন সোজা হয় না Output:
non-religious
Given the task definition, example input & output, solve the new input case. Given a pair of words, generate the relation between them. The first word is called the 'concept' and the second word is called the 'relatum' The relation must be one of the following: co-hyponym (coordinate), hypernym, meronym, attribute, event, or random. A coordinate relation indicates that the concept and relatum belong to the same semantic class. A hypernym relation indicates that the relatum is a category of which the concept is a specific instance. A meronym relation implies that relatum is a part/component/organ/member of the concept. An attribute relation is when the relatum is an adjective expressing an attribute of the concept. An event relation holds when the relatum is a verb referring to an action/activity/happening/event that is performed by or with the concept. If the relatum and concept are unrelated, the relation between them is 'random'. Classify your answers into coord, hyper, mero, attri, event, and random. Example: Concept: alligator, Relatum: lizard. Output: coord Alligator and lizard belong to the same semantic class of reptiles, so the relation is coordinate. New input case for you: Concept: revolver, Relatum: accurate. Output:
attri
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: [0,1,0,2,5,1] Solution: [2,5] Reason: The only elements that are not duplicated is 2 and 5. This is a good example. Now, solve this instance: [0, 4, 5, 2, 7, 1] Student:
[0, 4, 5, 2, 7, 1]
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. 80277 No 92480 No 7057
Yes
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.github.andlyticsproject. A:
Simply Awesome Before I had to load up my browser and deal with the clunky developer mobile website. This app has everything you could need. Super quick super convenient. Great work.
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]. -------- Question: [-38, 74, -68, -95, -2, -19, 29, 63, 11, 95, 82, -57, -50, -12] Answer: [18.0, 3.0, -81.5, -48.5, -10.5, 5.0, 46.0, 37.0, 53.0, 88.5, 12.5, -53.5, -31.0] Question: [70, 88, 58, -25, 49, -89, 76, -46, 59, 48, -40, -62] Answer: [79.0, 73.0, 16.5, 12.0, -20.0, -6.5, 15.0, 6.5, 53.5, 4.0, -51.0] Question: [60, 3, 52, 13, 81, -2, 44, 91, -67, 55, -78, 5] Answer:
[31.5, 27.5, 32.5, 47.0, 39.5, 21.0, 67.5, 12.0, -6.0, -11.5, -36.5]
Given the task definition and input, reply with output. 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. Command: less { hop { filter_eq { all_rows ; name ; frank borman } ; born } ; hop { filter_eq { all_rows ; name ; jim lovell } ; born } }, interpretation: select the rows whose jyutping record fuzzily matches to loeng2 . take the imperial value record of this row . select the rows whose jyutping record fuzzily matches to daam3 . take the imperial value record of this row . the first record is less than the second record .
no
TASK DEFINITION: In this task you will break down a question into the basic steps required to answer it. A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.) Here are the list of step templates and their description: Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes] Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition] Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step] Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step]. Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute] Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest] Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number] Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2] Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2] Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2] Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2] Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition] Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2]. PROBLEM: question: What is the green cylinder made of? SOLUTION: #1 return cylinders #2 return #1 that are green #3 return What #2 is made of PROBLEM: question: If an image shows a pair of legs with one one leg wearing a knee wrap. SOLUTION: #1 return legs #2 return knee wrap #3 return #1 that is wearing #2 #4 return images #5 return number of #1 for each #4 #6 return #4 where #5 is equal to two #7 return number of #3 for each #6 #8 return #6 where #7 is equal to one #9 return number of #8 #10 return if #9 is at least one PROBLEM: question: If the left and right image contains the same number of people in the barber shop. SOLUTION:
#1 return people #2 return the barber shop #3 return #1 in #2 #4 return #3 in the left image #5 return #3 in the right image #6 return number of #4 #7 return number of #5 #8 return if #6 is equal to #7
1. A fun, tongue-in-cheek gorefest that both spoofs and celebrates the glories of B-grade exploitation vehicles. 2. From Dusk Till Dawn is an hilarious piece of genre filmmaking. 3. This movie is just too much fun not to like. 4. The characters were as empty as the story. 5. For those with a twisted sense of humor, it is entertaining. 6. A drop-dead-erotic scene a seduction dance by the bar's featured performer, Santanico Pandemonium ... is one of the two reasons to see this movie. 7. The picture shows what happens when a writer (Tarantino) and a director (Rodriguez) come together and reinforce each other's worst tendencies and misconceptions. 8. You got to admire how Rodriguez balances elements of action, comedy, horror, thriller, road movie and Western in the same film! 9. From Dusk Till Dawn will be a real disappointment for most Tarantino fans. 10. The way-over-the-top campiness is so completely ridiculous, it's impossible to take anything in the film seriously. And trust me, that's not a bad thing. Consensus: A pulpy crime drama/vampire film hybrid, From Dusk Till Dawn is an uneven but often deliriously enjoyable B-movie. 1. In the end, the satire reveals itself as wishful thinking. 2. I'm not ready to celebrate a filmmaker with the 'audacity' to say there's hypocrisy in American social discourse. Does it take daring to cut down these not-so-sacred cows? 3. Intelligent and witty from start to finish and by far the best satire comedy of the year. 4. A smart-aleck satire with something on its mind is always welcome. 5. If anyone tries to tell you that Thank You for Smoking is a scorching satire of Big Tobacco, just tell them, well, that they're blowing smoke. 6. To watch the film is to feel the delicious discomfort of being seduced by a devilish charmer. 7. Funny enough movie but not much there there. 8. A fun, smart film. But you can't help but wish Thank You would bare its fangs a little more. 9. The book had a fearlessness that the movie version so lacks. 10. Enjoyable not only because it shows the duplicity of spinning but because it allows its characters to revel in the joy they experience as contemporary con artists. Consensus: Loaded with delightfully unscrupulous characters and and a witty, cynical script, Thank You For Smoking is a sharp satire with a brilliantly smarmy lead performance from Aaron Eckhart. 1. Although Center Stage doesn't really find its groove until the last act, its dance numbers are well worth the price of admission. 2. Unfortunately, in between the dance sequences, the actors are allowed to talk. This is a problem. 3. What really counts in Center Stage are the extended dance scenes, all of which are absolutely exhilarating. 4. The inspiring central plot still works, the actors are refreshing and the dance is great to watch, making Center Stage a worthwhile experience. 5. The plot, like the ballerinas, is wafer-thin, but the dancing is impressive, and you'll find yourself rooting for the dancers' success. 6. What a joy to see a young woman say 'no' to sexual advances, even from a former lover, while maintaining a sense of power and purpose. 7. Not since The Turning Point has a dance movie done so many cinematic pirouettes with such a graceful sense of audience-pleasing fun. 8. A lightweight but highly likeable and, at times, thrilling film. 9. Lacks brio. 10. Fortunately, it also contains several more complex characters who manage to make the film a surprisingly engaging affair.
Consensus: Critics say that if you're willing to suffer through soap opera-like dialogue and plot to see some excellent dancing, this movie is for you. Otherwise, you might be better off renting Fame.
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. One example is below. Q: x = 3, equation weights = [4, 2] A: 14 Rationale: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14. Q: x = 10, equation weights = [3, 6, 1] A:
361
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. MXScEbut, CSocEboLb
MXSbceut, CSobceoLb
Given the task definition and input, reply with output. In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'. Set1: '{9}', Set2: '{6, 10, 15, 16, 18, 20}'. Is the element '20' in the intersection of Set1 and Set2 ?
No
In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline. customer: Hi. agent: Hello. customer: Richard Jones here. agent: How may I aid you today Jones? customer: I have to do some modification in my previous flight ticket booking that there is a sudden event held at my home town, so I am unable to travel the trip. can you please help me out with changing of my reservation? agent: Sure, please wait a moment. customer: Ok. __ customer: That's ok, thank you for your help. agent: Thank you for reaching our service. agent: Sorry, there are no active reservations with your given name. customer: Hi. agent: Hello, how can I assist you? customer: I would like to book a ticket from EWR to AUS. agent: Sure, we are glad to help you. Can I have your travelling dates? __ agent: Do you prefer any break in between journey? customer: I would prefer connecting flight. agent: Are there any other specifications for you? customer: I prefer business class. agent: May I know your good name? customer: My name is Jacob Hernandez. agent: Sorry, no flights are available on your journey routes. customer: Thank you. agent: Thank you for choosing us. customer: Travelling dates are from July, 13 to July, 15. customer: Hi,. agent: Hello, how can I help you? customer: I am having a family get together at Minneapolis, help me with booking the flight ticket with a connection. __ customer: I want to fly on 07/28 and return on 07/30. agent: OK, do you need any price limit? customer: The ticket should be within the price 1000. agent: To continue further process, can you provide me your airport codes? customer: My origin airport is GA- ATL and dest airport is MN- MSP. agent: OK, please wait for few minutes, let me check and revert you. customer: Ok. agent: Thanks for waiting, I found a flight with single connection and price of 100 in Delta airline. Flight number is 1012. Shall I proceed with booking? customer: Please go ahead with booking. agent: Your ticket has been booked. customer: Thank you for the reservation. agent: Thank you, for reaching us. Can you provide me your good name? customer: I am Jessica Martinez. agent: Thank you.
agent: OK, can you provide me your travelling dates?
Q: 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. x = 2, equation weights = [5, 1, 6] A:
28
The critic consesnsus is: The One plays out more like a video game than a movie and borrows freely from other, better sci-fi actioners like the The Matrix. Also, Jet Li's martial arts abilities are buried under the editing and special effects.. What reviews supported this critic consensus?
1. The confused step-child of "Sliders" and Highlander. 2. Li kicks a good amount of ass in the film, but he's certainly no Oscar contender. 3. I got a kick out of the old-fashioned stunt work sprinkled with "Matrix" like action and wire-work a la "Crouching Tiger, Hidden Dragon." 4. You should know you're in trouble when you steal ideas from Highlander. 5. una colección de huecos inexplicables en su guión. 6. Replicates the experience of viewing an arcade demo for the same length of time. 7. Morgan and Wong lose sight of what makes Li such an appealing star in the first place: his natural athletic ability. 8. Bullets fly, lights flash, action occurs, time goes by, but nothing actually happens. 9. Hasn't enough good dialogue here for one Yulaw, never mind two. 10. A sci-fi kung-fu mish-mash of dreck . . . The use of stand-ins is obvious and the resolution is ludicrous.
Given a pair of words, generate the relation between them. The first word is called the 'concept' and the second word is called the 'relatum' The relation must be one of the following: co-hyponym (coordinate), hypernym, meronym, attribute, event, or random. A coordinate relation indicates that the concept and relatum belong to the same semantic class. A hypernym relation indicates that the relatum is a category of which the concept is a specific instance. A meronym relation implies that relatum is a part/component/organ/member of the concept. An attribute relation is when the relatum is an adjective expressing an attribute of the concept. An event relation holds when the relatum is a verb referring to an action/activity/happening/event that is performed by or with the concept. If the relatum and concept are unrelated, the relation between them is 'random'. Classify your answers into coord, hyper, mero, attri, event, and random. Example input: Concept: alligator, Relatum: lizard. Example output: coord Example explanation: Alligator and lizard belong to the same semantic class of reptiles, so the relation is coordinate. Q: Concept: yacht, Relatum: leave. A:
event
TASK DEFINITION: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. PROBLEM: Context: 'That is fair. Could I also have 1 food so I do not starve' 'what about your basic food rations?' 'I am severely malnourished and could use just one more food please' Utterance: 'we got kids on this trip, they need food too. also, your basic supplies should keep you fed well enough to not starve/be malnourished' SOLUTION: No PROBLEM: Context: 'Hi, I'm hoping we can come to a nice deal. 🙂 I'm most interested in firewood, because it always helps to have extra if your fire goes out.' Utterance: 'That makes sense. I'm also interested in firewood, but have a great need for water due to the current weather. ' SOLUTION: Yes PROBLEM: Context: 'Hello I would like to have two bottles of water and in trade will take 1 food and firewood for a higher amount of water.' 'Hello. I would consider giving you 2 waters for 3 firewood and 2 food. I have a large family so the additional firewood will help with warmth and cooking food. 🙂' 'That sounds like you could really use the extra warmth for your family' Utterance: 'Yes it is very much needed. My family doesn't have a lot of extra bedding so having the warmth of a fire will help make sure we don't get cold at night 🙂' SOLUTION:
Yes
Detailed Instructions: In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline. Problem:customer: Hi, I am Alexander Young. agent: Hello. How can I guide you? customer: Could you please help me to book an economy class ticket within the fare limit 1000 to New York? agent: Sure. Are you okay with connecting flight or you need a direct flight? customer: I need a stopover in between my journey. agent: On what dates you want me to make the reservation? customer: I need to depart on Jan 24th and I intend to return on Jan 26th. agent: Could you please share your exact airport codes? customer: My source airport code is IAH and my destination airport code is JFK. agent: Thank you for providing all necessary details, please hold a moment, let me check with the airlines and let you know. customer: Sure. __ customer: That's fine, you can book the ticket with this airline. agent: Your flight ticket has been processed. customer: Thank you for your support in booking. agent: Thank you for reaching us. Solution:
agent: We found a Delta airline, flight number:1002 and the price is 100.
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Let me give you an example: [2,5,1,4],[2,5,8,4,2,0] The answer to this example can be: [2,4,5] Here is why: The elements 2,4, and 5 are in both lists. This is a good example. OK. solve this: [2, 2, 4, 7, 4] , [9, 5, 6, 6, 10] Answer:
[]
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]. Problem:question: does midwest express serve cleveland Solution:
#1 return flights #2 return #1 to cleveland #3 return #2 on midwest express #4 return number of #3 #5 return if #4 is at least one
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value. Q: [ 26.299 -96.135 74.985 -78.458 -72.099 67.686 69.989] A:
-96.135
Given the task definition and input, reply with output. 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. [190.653, 238.208, 116.901, 237.173, 32.607, -2.198, 191.847, 91.873, 196.114]
143.686
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. Set1: '{10}', Set2: '{1, 6, 10, 12, 15, 16}'. How many elements are there in the union of Set1 and Set2 ? 6 Set1: '{1, 2, 3, 4, 6, 7, 11, 12, 20}', Set2: '{6, 13, 15, 16, 17, 18, 19}'. How many elements are there in the union of Set1 and Set2 ? 15 Set1: '{1, 3, 7, 9, 11, 12, 13, 17, 19, 20}', Set2: '{8, 18, 11, 4}'. How many elements are there in the union of Set1 and Set2 ?
13
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 = 10, equation weights = [4, 5, 1] Output: 451 Input: Consider Input: x = 8, equation weights = [8, 7] Output: 71 Input: Consider Input: x = 6, equation weights = [6, 3]
Output: 39
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. See one example below: Problem: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( Solution: -LRB- Explanation: "(" is the symbol for Left Parantheses (-LRB-). Problem: Sentence: Right " mouse " click on " properties " {{ to }} view product set - up Word: to Solution:
TO
Given the task definition, example input & output, solve the new input case. The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. Example: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again. Output: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju. The translation correctly preserves the characters in Croatian. New input case for you: RG: But for us, the continuity between Nerve and Babble was not just the life stage thing, which is, of course, relevant, but it was really more about our desire to speak very honestly about subjects that people have difficulty speaking honestly about. Output:
RG: Ali za nas, kontinuiranost između Nerve-a i Babble-a nije bila samo stvar životne faze, što je, naravno, važno, već je bilo to više o našoj želji da pričamo vrlo iskreno o predmetima o kojima je ljudima teško pričati na iskren način.
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" Q: Fact: Epilepsy and splay leg are located on the same chromosome. A: Epilepsy and splay leg are located on the same what? **** Q: Fact: water causes light rays to bend. A: What happens to light rays in water? **** Q: Fact: earth's magnetic patterns ensure boreal species survival. A:
How do boreal species ensure their survival? ****
Given the task definition and input, reply with output. 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. APZtrmpidGzEcWPfTnae, D
0
Q: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Sentence: {{ http://www.infoukes.com/history/chornobyl/elg/ }} Word: http://www.infoukes.com/history/chornobyl/elg/ A:
ADD
Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Input: [279, 978, 743, 229, 647, 510, 443, 465, 797, 523, 107, 421] Output:
[743, 229, 647, 443, 797, 523, 107, 421]
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: ['q', '1117', 'q', 'q', '7135', '2675', '4099', 'V', 'V', 'u', 'Y', 'g', '9351', 'W', '731', '9323', '2847', 'C', 'U', 'U', '6971', '8529', '6549', '2761', '2877', 'q', 't', 'W', '1087', '5187', 'm', 'T', 'M', 'k', '2859', '475', '2555'] Solution:
1, 3, 4, 8, 9, 10, 11, 12, 14, 18, 19, 20, 26, 27, 28, 31, 32, 33, 34
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. Q: x = 1, equation weights = [1, 3, 2] A:
6
Detailed Instructions: The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. Problem:Well, you know, in effect, the boundary's really there, in a certain sense. Solution:
Vidite li? Znate, u biti, u određenom smislu, granica postoji.
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: The police arrested all of the gang members . They were trying to run the drug trade in the neighborhood . paraphrase: the cops arrested all of the gangsters . they were trying to run the drug trade in the neighborhood . [A]: Synonym [Q]: original sentence: Susan knows all about Ann's personal problems because she is nosy . paraphrase: Ann's personal problems are known all about by Susan because she is nosy . [A]: Voice [Q]: original sentence: Bill passed the gameboy to John because his turn was over . paraphrase: Bill is passing the gameboy to John because his turn is over . [A]:
Tense
Detailed Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. See one example below: Problem: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal. Solution: No Explanation: Both participants do not agree to the deal, so the answer is No. Problem: THEM: if i can have the balls and the books you can have the ht YOU: true, but if i get the hat and books you can have the balls THEM: i need at least one book as well YOU: hat and 2 books for me THEM: deal! Solution:
Yes
Q: 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. READThe Millionaire FastlaneThe Richest Man in Babylon A:
yes
Q: 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. [134, 1997, 3068, 800, 8, 67, 4, 183, 35, 385, 3320, 10, 39, 4, 215, 1406] A:
[128, 2048, 2048, 1024, 8, 64, 4, 128, 32, 512, 4096, 8, 32, 4, 256, 1024]
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. Input: Consider Input: [21.308, 231.59, 241.191, 130.902, 17.695, -23.559, -91.242, 125.559, 145.341] Output: [ 0.027 0.29 0.302 0.164 0.022 -0.029 -0.114 0.157 0.182] Input: Consider Input: [-9.657, 62.292, -6.59, -62.327, 87.926, 153.093, 31.518, 127.692, 129.156, 81.808] Output: [-0.016 0.105 -0.011 -0.105 0.148 0.257 0.053 0.215 0.217 0.138] Input: Consider Input: [226.094, 63.905, 117.494, -83.79, 9.675, 176.639, -37.633, 7.714]
Output: [ 0.471 0.133 0.245 -0.175 0.02 0.368 -0.078 0.016]
In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline. Q: customer: Hello, I am Gary Mitchell. agent: Hello. How can I assist you today? customer: I need to attend for an interview at LAX. Can you please help me to book a flight from PHL? agent: Sure, can you please share your travel dates? customer: Ok, my planned trip dates are Dec 8 - Dec 10. agent: Do you have any class preference? customer: Yes, I want to travel in economy class. __ customer: Ok, please proceed. agent: Your booking is confirmed with 1014 flight number. customer: Thank you. agent: You are welcome. Thank you for contacting us. A: agent: Gary Mitchell, there is a flight available with price 100 and the connection is 1 with UA airline. Would you like me to proceed with the booking? **** Q: customer: Hello, myself Mark Smith. agent: Hello, how can I help you now? customer: I would like to book a flight ticket from CLT to BOS, can you please help me out? __ customer: Sure, my trip dates are from 08/30 and 09/01. agent: There is a flight available from Delta airline which matches with your requirement, can I proceed to book it? customer: Ok, please confirm my reservation. agent: Your ticket is reserved with flight-1013. customer: Thank you for your quick service. agent: Thank you for reaching us. A: agent: Ok, can you mention your desired dates for this journey? **** Q: customer: Hello. I am Dennis Anderson. agent: Hello, how may I aid you today from my end? customer: I want to change my reservation, due to some health issue. Can you please help me out? agent: Sure, I am here to help you out. Please allow me a moment. __ agent: Sorry Dennis Anderson, there is no reservation on your name in our database. customer: That's ok, thank you for checking. agent: Thank you for reaching us. A:
customer: Ok, I will wait for your information. ****
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': -14, 'second': 60}, {'first': 79, 'second': -75}, {'first': -48, 'second': 95}, {'first': 97, 'second': 57}, {'first': -93, 'second': 32}, {'first': -13, 'second': 35}, {'first': 7, 'second': -11}, {'first': 35, 'second': -58}, {'first': -39, 'second': -11}] Solution:
[{'first': -93, 'second': 32}, {'first': -48, 'second': 95}, {'first': -39, 'second': -11}, {'first': -14, 'second': 60}, {'first': -13, 'second': 35}, {'first': 7, 'second': -11}, {'first': 35, 'second': -58}, {'first': 79, 'second': -75}, {'first': 97, 'second': 57}]
Definition: 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: hietiwANPyiMTVX, tztmZItiwANPyisDmkY Output:
hieaiinptwyMTVX, tztmZIaiinptwysDmkY
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Q: [4, 3, 4, 1, 5, 9, 9, 6, 3] , [5, 6, 1, 7, 7, 3, 10, 2, 7] A: [1, 3, 5, 6] **** Q: [3, 10, 10, 8, 6, 5, 8, 3, 8, 6] , [3, 8, 3, 1, 5, 7, 10, 9, 1, 9] A: [3, 5, 8, 10] **** Q: [7, 7, 5, 9, 7, 4, 9, 8, 5, 10] , [9, 6, 7, 6, 2, 8, 3, 5, 1, 7] A:
[5, 7, 8, 9] ****
Definition: Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Input: Query: SELECT count(*) WHERE { ?x0 ns:film.cinematographer.film ?x1 . ?x0 ns:people.person.nationality ns:m.03_3d . ?x1 a ns:film.film . M2 ns:film.film.edited_by ?x0 . M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 . M2 ns:film.film.written_by ?x0 . M3 ns:film.film.edited_by ?x0 . M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 . M3 ns:film.film.written_by ?x0 } Question: What was produced by M0 's sequel 's star and editor Output:
0
Detailed Instructions: In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline. Q: customer: Hello. agent: Hello, how may I address you? customer: I am Jennifer Lee, I planned a trip to Los Angles for vacation. Can you help me to book a connecting flight? agent: Sure, please share your travelling dates? customer: I will travel on 12/27 and return on 12/29. __ customer: My source airport is New York, NY-JFK and destination is CA-LAX. agent: Thanks for providing your details, no flights are available with your request. customer: Ok, thank you for the information. agent: Thanks for approaching us, have a nice day. A:
agent: Help me with airport codes?
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task you will be given a string 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'. twotwoonesixzeronine Solution: 221609 Why? The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example. New input: fourfourfoursevennineseventwofoursix Solution:
444797246
You will be given a definition of a task first, then some input of the task. 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. password = .dEAk80oyu Output:
0
Detailed Instructions: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Problem:6682 @ 3444 @ 539 @ 8208 @ 3857 Solution:
22730
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. 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. x = 3, equation weights = [4, 2] Solution: 14 Why? Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14. New input: x = 2, equation weights = [0, 5, 3, 6, 2] Solution:
66
Detailed Instructions: 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. Problem:x = 9, equation weights = [2, 8] Solution:
26
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. 1 lb. sausage, 1 large onion, chopped, 2 eggs, beaten, 1 1/2 c. self-rising cornmeal, 1 c. cream-style corn, 3/4 c. milk, 1/4 c. vegetable oil, 2 c. grated cheese
sausage, onion, eggs, cornmeal, cream-style corn, milk, vegetable oil, grated cheese
In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items. -------- Question: ['6', 'l', 'g', 'L', 'K', 'h'] Answer: [['6', 'l', 'g', 'L', 'K'], ['6', 'l', 'g', 'L', 'h'], ['6', 'l', 'g', 'K', 'h'], ['6', 'l', 'L', 'K', 'h'], ['6', 'g', 'L', 'K', 'h'], ['l', 'g', 'L', 'K', 'h']] Question: ['7', 'c', '6', '6', 'B', '9', 'X'] Answer: [['7', 'c', '6', '6', 'B', '9'], ['7', 'c', '6', '6', 'B', 'X'], ['7', 'c', '6', '6', '9', 'X'], ['7', 'c', '6', 'B', '9', 'X'], ['7', 'c', '6', 'B', '9', 'X'], ['7', '6', '6', 'B', '9', 'X'], ['c', '6', '6', 'B', '9', 'X']] Question: ['9', 'U', '8', '7', '9', 'r'] Answer:
[['9', 'U', '8', '7', '9'], ['9', 'U', '8', '7', 'r'], ['9', 'U', '8', '9', 'r'], ['9', 'U', '7', '9', 'r'], ['9', '8', '7', '9', 'r'], ['U', '8', '7', '9', 'r']]
Detailed Instructions: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. Q: News Headline: Shock over US {tourist} killed in Greek bar Edit: graph A:
Not Funny
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value. [ 26.104 11.803 -56.255 -97.24 98.082 -41.372]
98.082
TASK DEFINITION: You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician. PROBLEM: زار مسبار جاليليو كوكب المشتري في عام 1996 وقدّم ملاحظات رائعة لقمر يوروبا. SOLUTION: Galileo visitou o sistema de Xúpiter en 1996 e fixo observacións fabulosas de Europa. PROBLEM: ما زلت أتذكر شيئاً من رائحة اللحم المتعفن في قدمها وأنا أفتح الستارة لأراها. SOLUTION: Aínda lembro aquela especie de cheiro a carne podre mentres apartaba a cortina para vela. PROBLEM: و لست بحاجة لتقليص المرض SOLUTION:
Non precisas reducir a enfermidade
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 . See one example below: Problem: Statement: सिग्नेचर केल्विन क्लेन अंडरवियर बुटीक, ब्यूनस आयर्स, टोरंटो, मेक्सिको सिटी, <MASK>, ग्लासगो, मेलबोर्न, हांगकांग, लंदन, मैनचेस्टर, न्यूयॉर्क शहर, शंघाई, फ्रैंकफर्ट एम् मेन, सिंगापुर में देखे जा सकते हैं। केल्विन क्लेन अंडरवियर, कार्डिफ़ के सेंट डेविड शॉपिंग सेंटर में भी 2010 में क्रिसमस से पहले एक दुकान खोलने जा रहा है। Option A: मैनचेस्टर Option B: मैनचेस्टर Option C: एडिनबर्ग Option D: मेलबोर्न Solution: एडिनबर्ग Explanation: The most suitable word from the given options to replace the <MASK> token is एडिनबर्ग as the rest places have already been stated in the statement . Problem: Statement: 28 फ़रवरी 1951 पेरिस संधि ने यूरोपीय कोयला और स्टील संगठन (ईसीएससी) का गठन हुआ। इस पर छह देशों-<MASK>, जर्मनी, बेल्जियम, नीदरलैंड, लक्ज़मबर्ग और इटली ने हस्ताक्षर किए। कोयला और स्टील उद्योगों की देखभाल के लिए एक उच्च दर्जे का प्राधिकरण बनाया गया। इस प्राधिकरण के अधिकारों को संतुलित करने के लिए जर्मनी के समर्थन से नीदरलैंड ने एक मंत्रि परिषद के गठन पर भी ज़ोर दिया जिसमें सदस्य देशों से मंत्री शामिल किए जाएं. Option A: बेल्जियम Option B: नीदरलैंड Option C: लक्ज़मबर्ग Option D: फ्रांस Solution:
फ्रांस
Teacher: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Teacher: Now, understand the problem? If you are still confused, see the following example: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( Solution: -LRB- Reason: "(" is the symbol for Left Parantheses (-LRB-). Now, solve this instance: Sentence: {{ - }} ld2d-#69377-1.XLS Word: - Student:
NFP
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. [-3.267, 58.572, -51.668, -39.46, 71.943, 16.452, -81.657]
-4.155
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: sevenfouroneonefivefivefive Output:
7411555
Q: 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. password = osm A:
3
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. One example is below. Q: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)। A: religious Rationale: Here it expresses hate against the religion, hence tagged as religious. Q: এই ধোনের রোহিজ্ঞা খেদায় না কেন? A:
non-religious
Detailed Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. Q: Context: 'I've also planned my trip to include a lot of hiking and so I have a high priority for extra water, as like you've said you need to stay hydrated on your hike and you can't trust any source. How can we divide up the water as that seems to be the number one priority for us both.' 'That works well, as long as I can have 2 food, I'll certainly give you 2 water, and I will have one water and you'll have one extra food' 'I would be most happy to make a concession on the food for an extra ration of water. Are you going to require any firewood if you don't need any I think i'll take the 3 rations so I can have a nice bonfire.' Utterance: 'I do believe I would need at least one firewood, but am willing to give up 2, so you can have a nice big bonfire 🙂' A:
No
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. Fany parked motorcycle and service cart near group of riders. Fany Two iraffes are in a zoo that is near a big city. iraffes Two toung children riding scooters in a parking lot.
toung
Definition: In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Input: Bittere Enttäuschung! . Voller Vorfreude habe ich das Album (aus Übersee) erwartet, doch leider war ich nach dem ersten Hören bitter enttäuscht. Ich hatte mich auf ein Album, das in Lynne's Fußstapfen wandelt gefreut. Präsentiert wird aber ein einfallsloser Abklatsch, der bis ins kleinste Detail immer und immer wieder repliziert wird. Mit anderen Worten: Es klingt alles ziemlich gleich. Dazu kommt, man hat das alles schon mal gehört, abzüglich des fehlenden Charmes des Originals. Die Songs die nicht ins E.L.O. Schema fallen konnten nicht begeistern. Auch die Hoffnung die geniale Stimme Andy Sturmers zu hören wurde nicht erfüllt. Er singt nur eine einzige kurze Passage und etwas Background. Man hätte ihn mehr singen lassen sollen, da die Stimme von Bleu eher unspektakulär ist. Des weiteren wurde in einer Art und Weise "geborgt", dass man eine Urheberrechtsklage befürchten muss. So ist der Anfang von "ya had me goin" fast identisch mit "Evil Woman" und der Soundeffekt von Titel 10 "sukaz are born every minute" von "Starlight" entnommen. Es ist erstaunlich wie genau die typischen Jeff Lynne-Sounds nachgeahmt wurden. Bei den Drums besonders, sowie den Gitarrensounds. Wirklich schade, dass u.a. so geniale Soundtüftler und Songschreiber der ehemaligen Jellyfish Band es nicht geschafft haben etwas eigenständiges im E.L.O-Style zu erschaffen. Output:
NEG
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'. 7323 aggiunta 955 aggiunta 1027 9305 1655 sottrazione 9504 aggiunta 1479 sottrazione 6556 aggiunta 20 aggiunta 3600 -9306 4784 aggiunta 9076 sottrazione 6851 sottrazione 5142 sottrazione 7413 aggiunta 2505 sottrazione 2827 aggiunta 8814 sottrazione 788
2158
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Example input: I_TURN_LEFT I_JUMP Example output: jump left Example explanation: If the agent turned to the left and jumped, then the agent jumped to the left. Q: I_LOOK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK A:
look and walk around left twice
Q: 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. There is high-priced Italian restaurant Alimentum located in the riverside that is in the riverside and it is children friendly. A:
name[Alimentum], food[Italian], priceRange[high], area[riverside], familyFriendly[yes]
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Ex Input: 9039 @ 4996 @ 845 # 5409 Ex Output: 9471 Ex Input: 7272 @ 8958 # 7231 @ 6616 Ex Output: 15615 Ex Input: 6841 @ 9349 # 3429 # 2404 @ 2869 @ 6921 Ex Output:
20147
You will be given a definition of a task first, then some input of the task. In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. Set1: '{4, 5, 6, 9, 10, 11, 14, 16, 19, 20}', Set2: '{16}'. How many elements are there in the union of Set1 and Set2 ? Output:
10
Teacher: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Teacher: Now, understand the problem? If you are still confused, see the following example: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( Solution: -LRB- Reason: "(" is the symbol for Left Parantheses (-LRB-). Now, solve this instance: Sentence: They have a BLAST so the sooner they get there , the {{ sooner }} they can have fun . Word: sooner Student:
RBR
Detailed Instructions: Your task is to localize given English phrase into Telugu language. When localising, follow these rules - (1) General names and concepts can be translated (2) Domain specific names can just be transliterated (3) Localised phrases can have both partial translated and transliterated parts (4) But only partial translation or only partial transliteration is not allowed (5) Copy special characters and numbers as is Q: Use default stylesheet Select this option to use the default stylesheet. A:
అప్రమేయ స్టైల్‌షీటును వుపయోగించుము అప్రమేయ స్టైల్‌షీటును వుపయోగించుటకు ఈ ఐచ్చికాన్ని వుపయోగించండి.
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. Owls, Midnight Terrors owl owl midnight prowl with scary feature from wing creature who live in bark when it's not dark predator that live at night who cause such fear and fright those feather mysterious owl HONEY honey i love you honey i pour you honey i think of you all day honey get out of my hair Lady Bugs
lady bug be red lady bug have bed lady bug can fly and they do n't lie lady bug like to sing lullaby
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. -------- Question: এদের চেয়ে পতিতা ও ভাল, নষ্ট মেয়ে ফালতু অপু Answer: non-religious Question: ভুয়া অভিযোগে ঢুকে লুটপাট চালানোর পর এখন ভালোমানুষ সাজার চেষ্টা Answer: non-religious Question: খানকিছেলে শুধু না এদের ফেমেলি শেষ করে দেওয়া দরকার ভালো লাগলো Answer:
non-religious
Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Input: password = Oh.EzmalKrf7dTBZ4kPEgjaHukcbS!kt Output:
12
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]: Bibimbap House offers French food with expensive price near Clare Hall. [EX A]: name[Bibimbap House], food[French], priceRange[more than £30], area[city centre], near[Clare Hall] [EX Q]: Wildwood restaurant is kid-friendly. [EX A]: name[Wildwood], eatType[restaurant], familyFriendly[yes] [EX Q]: Offering a family-friendly environment, The Twenty Two serves Italian food in the city centre. [EX A]:
name[The Twenty Two], food[Italian], area[city centre], familyFriendly[yes]
Given the task definition, example input & output, solve the new input case. 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. Example: ['238', 'h', '92', 'U', '2799'] Output: 2, 4 Here, the alphabetical elements in the input list are 'h' and 'U' and they are at positions '2' and '4', respectively. New input case for you: ['L', '7917', 'o', '5621', 'f', '7619', 'w', '4535', '6725', '3373', '729', 'h', 'U', 'w', '6843', '2553', '5077', 'u', '5799', 'U', '6165', 'k', 'r', '9207', '8783'] Output:
1, 3, 5, 7, 12, 13, 14, 18, 20, 22, 23
Given the task definition and input, reply with output. In medical studies, the efficacy of medical treatments (called interventions) is evaluated within a group of study participants. You will be given a sentence of a study report in which your task is to list the phrases that describe the intervention(s) of the study. You should list the phrase in the same order that they appear in the text, separated by commas. If no information about the interventions is mentioned, just answer with "not found". Interventions are: a specific drug, surgery, talking therapy, a lifestyle modification, control or placebo treatment. Do not include details, dosages, frequency and duration, intervention mentions that are not in an informative span of text. Sample size was based on 80 % power to reject the null hypothesis that the cost/QALY gained would not exceed $ 50,000 .
not found
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value. Example Input: [-19.399 -52.553 -99.377 81.401] Example Output: -99.377 Example Input: [-32.536 -31.2 84.27 58.369 53.583 97.18 99.315] Example Output: 99.315 Example Input: [ 15.536 -52.813 66.118 78.187] Example Output:
78.187
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Ex Input: Sentence: Never before has {{ such }} a convenient method been available for consuming nutritional products . Word: such Ex Output: PDT Ex Input: Sentence: In the past , I got a steak and there was more fat and rough pieces than there was good steak {{ ( }} and this was the sirloin ! ) , the sides were drenched with butter and the salad was a little on the brown side . Word: ( Ex Output: -LRB- Ex Input: Sentence: Zacarias Moussaoui , who had a crop dusting manual when he was arrested , stayed at Sufaat 's condominium in 2000 {{ when }} he was trying to arrange for flight lessons in Malaysia . Word: when Ex Output:
WRB
Detailed Instructions: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. Problem:bHxXkTLyaCY, BAQgaxXkTLyppOq Solution:
bHkltxxyaCY, BAQgakltxxyppOq
Detailed Instructions: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list. Problem:['x', '461', 'a', 'z', '25', '45', '109', 'b', 'i', '73', '69'] Solution:
0, 1, 2, 3, 4, 5, 6, 7, 9
Given the task definition, example input & output, solve the new input case. In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'. Example: Set1: '{1, 6, 10, 12, 13, 14, 15, 16}', Set2: '{1, 2, 4, 6, 11, 14, 15, 20}'. Is the element '11' in the intersection of Set1 and Set2 ? Output: No The intersection of Set1 and Set2 is {1, 6, 14, 15}. 11 is not an element of this set. So, the answer is No. New input case for you: Set1: '{2, 6, 7, 10, 11, 15, 16, 18, 20}', Set2: '{2, 3, 5, 8, 9, 10, 14, 18, 19}'. Is the element '2' in the intersection of Set1 and Set2 ? Output:
Yes
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'. Q: Tweet: Algu em pot explicar quina diferencia hi ha entre Arrimadas i aquesta repugnant feixista catalanofoba de la direccio dels comuns ? https://t.co/U7e1D7jolg A:
Favor
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: ['M', 'i'] A:
1, 2
Given the task definition and input, reply with output. 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]. [64, -5, -29]
[29.5, -17.0]
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Q: [9, 5, 7, 3, 1] , [8, 4, 1, 9, 3] A: [1, 3, 9] **** Q: [9, 6, 7, 1, 6, 3, 4] , [10, 8, 10, 3, 5, 2, 9] A: [3, 9] **** Q: [6, 5, 6, 2, 1, 4, 6, 5] , [2, 8, 6, 8, 6, 1, 2, 6] A:
[1, 2, 6] ****
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. Input: ['9755', '771', '3283', '5563', 'r', '1293', '1705', '8227', 'J', 'i', '2743', '8559', 'R', 'x', '3601', 'I', 'H', 'd', '8299', 'g', '8039', 'n', '5575', 'F'] Output:
5, 9, 10, 13, 14, 16, 17, 18, 20, 22, 24
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. Q: aOidIIZSeEnipgCsWwZW A: dZSnpgCsWwZW **** Q: AYbPhvvMEkomKoWE A: YbPhvvMkmKW **** Q: iOAaf A:
f ****
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. -------- Question: ['5967', '4935', 'K', '9493', '4307', '6971', 'Q', '3457', 't'] Answer: 3, 7, 9 Question: ['z', 'W', '3399', 'H', 'E', 'o', '2393', '7811', 'R', '9237', 'T', '7243', '8015', '6557', '8793', '9817', 'K', 'X', '7283', 'Q', 'I', '3927', 'L', 'n', '481', 'i', 'I', '1211', 'x', '1997', 'Z', 'I', '1483', 'G'] Answer: 1, 2, 4, 5, 6, 9, 11, 17, 18, 20, 21, 23, 24, 26, 27, 29, 31, 32, 34 Question: ['C', 'p', 'Y', 'r', 'U', 'l', 'Q', '7975', '3397', '6633', '6783', '4293', 'A', '8739', '7733', 'J', '9249', '3893', 'o', '1251', 'e', 't', '6239', 'e', '3623', 't', 'p', 'N', '9533', 'v', '245', '3715', 'g', '4449'] Answer:
1, 2, 3, 4, 5, 6, 7, 13, 16, 19, 21, 22, 24, 26, 27, 28, 30, 33
Detailed Instructions: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Q: I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK A:
walk left twice after run around right thrice
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task you will be given 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. [2,5,1,4],[2,5,8,4,2,0] Solution: [2,4,5] Why? The elements 2,4, and 5 are in both lists. This is a good example. New input: [10, 7, 6, 1, 3, 10, 6, 3] , [8, 6, 3, 3, 4, 4, 3, 1] Solution:
[1, 3, 6]
Detailed Instructions: In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3. Q: [-3, -59, 65] A:
[-59, 65]
You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question. | Attribute | triggerword | contrastive triggerword | | age | old | new | | altitude | low | high | | area | small | vast | | brightness | dark | light | | clarity | obscure | clear | | cleanness | dirty | clean | | complexity | simple | complex | | cost | cheap | expensive | | density | sparse | dense | | depth | shallow | deep | | distance | near | far | | electric conductivity | low | high | | flexibility | rigid | flexible | | granularity | fine | coarse | | hardness | soft | hard | | length | short | long | | magnitude | small | large | | mass | small | large | | odor | weak | strong | | pressure | low | high | | resistance | low | high | | shape | round | sharp | | shape | flat | spiky | | size | small | large | | sound | quiet | loud | | sound pitch | low | high | | speed | slow | fast | | stability | unstable | stable | | strength | weak | strong | | temperature | low | high | | texture | smooth | rough | | thermal conductivity | low | high | | thickness | thin | thick | | volume | small | large | | weight | light | heavy | | width | narrow | wide | | location | in | out | | location | up | down | | location | above | below | | location | on | off | | location | to | from | Example input: Context word: fit. Example output: The trophy doesn't fit into the brown suitcase because _ is too large. Example explanation: The question is about two related but different objects (i) "trophy" and (ii) "suitcase". The quesion contains exactly one blank (_). The expected answer is "trophy" which is one of the objects. Q: Context Word: muscles. A:
His muscles got a lot bigger from using the powders than from using the vitamins, because the _ were useless.
Given the question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package de.danoeh.antennapod. The answer is:
Was left unsatisfied by several other podcast apps this one is the podcast player of my dreams. Perfect score 5/7
Teacher: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. Teacher: Now, understand the problem? Solve this instance: [2, 5, 9, 8, 10, 6, 6, 7, 8, 6] , [8, 1, 7, 6, 2, 8, 7, 3, 2, 3] Student:
[2, 6, 7, 8]
Detailed Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise Q: You can make no specified choices about the use of unspecified information by the site, which uses it for marketing purposes. A:
Marketing