Dataset Viewer
Auto-converted to Parquet
prompt
stringlengths
47
13.4k
response
stringlengths
0
2.99k
Detailed Instructions: In this task, we have Spanish and Catalan tweets for automatic stance detection. The data has three labels Against, Favor, and Neutral which express the stance towards the target -independence of Catalonia. If the tweet criticizes the independence of Catalonia then it's 'Against' and if the tweets support it then it will be labeled as 'Favor' also if the tweets state information or news rather than stating opinion then it will be characterized as 'Neutral'. Problem:Tweet: @miqueliceta @sanchezcastejon @mjmonteroc PSC, podeu explicar què i qui va decidir com s'havien de votar les esmenes ? Què va passar a la mesa del Parlamento? Segur que el NO als pressupostos és cosa de l'independentisme? Solution:
Against
Detailed Instructions: 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. Problem:FANTASTISCH!!! . Bei diesem Album übertrifft sie sich selbst! Neben Ohrwürmern wie "Stupid Girls", welches meiner meinung nicht unbedingt die Stimmung des Albums widerspiegelt, gibt es u.a. soulig-rockige Reißer, bei denen ihre Stimme erst richtig zur Geltung kommt. Auch die Texte wie z.B. von "Dear Mr. President" sind mitreißend und regen zum nachdenken an. Ein sehr gutes Album, mit einer Mischung aus "Missundaztood" und "Try This" obwohl es sich eigentlich nicht richtig zuordnen lässt, da Pink bei jedem album die Richtung ein wenig ändert. Jedes Lied ist anders und sollte individuell betrachtet werden . P!nk macht ihr eigenes Ding und, dass das auch gut so ist, beweißt wiedermal ihr mittlerweile viertes Album! UNBEDINGT KAUFEN!!!! Solution:
POS
instruction: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to classify the command into one of these seven categories: (1) majority, (2) unique, (3) superlative, (4) count, (5) comparative, (6) aggregation, and (7) ordinal. Here are the defications of each category: 1. majority: Describing the majority values (most or all) over one column, with the scope of all table rows or a subset of rows 2. unique: Describing one unique row, regarding one column, with the scope of all table rows or a subset of rows 3. Superlative: Describing the maximum or minimum value in a column, with the scope of all table rows or a subset of rows 4. Ordinal: Describing the n-th maximum or minimum value in a column, with the scope of all table rows or a subset of rows 5. Comparative: Comparing two rows in the table, regarding their values in one column 6. Count: counting some rows in the table based on the values in one column, with the scope of all table rows or a subset of rows 7. Aggregation: Describing the sum or average value over a column, with the scope of all table rows or a subset of rows. Here are the definitions of logical operators for understanding of command: 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. question: all_eq { all_rows ; l3 cache ; 3 mb } answer: majority question: and { only { filter_eq { all_rows ; manner of departure ; gardening leave 1 } } ; eq { hop { filter_eq { all_rows ; manner of departure ; gardening leave 1 } ; club } ; kedah fa } } answer: unique question: eq { hop { argmax { all_rows ; attendance } ; opponent } ; melbourne storm } answer:
superlative
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. See one example below: Problem: Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?' Utterance: 'You can take the two water. I am not that thirsty most days.' Solution: No Explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves. Problem: Context: 'water is really important for me, how about i get two waters and three firewoods and you get three foods and one water?' 'i can work with 1 water 3 food and 1 firewood' 'ok that works for me' Utterance: 'good, we used all the water to fix overheated car.' Solution:
Yes
Part 1. Definition 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 Part 2. Example 6 @ 17 Answer: 23 Explanation: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23). Part 3. Exercise 1807 # 2440 @ 6444 # 5460 # 2641 @ 9336 Answer:
7046
Given the task definition and input, reply with output. Write a fact related to the given fact, based on the given topic word. Note that, your fact should have at least one word in common with the given fact. All facts in this task refer to scientific facts. Your related fact must form a chain with the given fact. Chains form when two facts connect together to produce the third fact. An example of a chain is: "pesticides cause pollution" (given fact) + "pollution can harm animals" (related fact) → "pesticides can harm animals" (connected chain). Avoid creating simple paraphrases of the given fact. While your generated fact should be related to the input fact, they must describe slightly different scientific phenomena. It's okay if your related fact includes some irrelevant information, provided that it has some overlap with the given fact and it contains some words corresponding to the provided topic. Fact: mineral graphite is used for making pencil lead. Topic: graphite carbon mineral.
Diamond and graphite are made of carbon.
Part 1. Definition The input contains texts obtained from news articles, ted talks, movie transcripts, radio transcripts, science and technology texts, and other short articles curated from the web and professional translators. Your task is to translate the given Yoruba sentence into the English language. Please bear in mind the following guidelines while doing the translation: 1) Generated output should be natural language and formal form of each sentence in your language. The output sentence should not be a colloquial form of the input sentence. The generated output should be in natural language which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) Numbers and fully capitalized words like SEPTEMBER, or 10 HOURS *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. 5) Note the input is in sentence case except for special placeholders. Please do the same in your translations. Part 2. Example “Wo ọmọọ̀ mi dè mí”: ó ń lo kíjìpá mẹ́ta gbó; mélòó ni ọlọ́mọọ́ máa lò gbó? Answer: “Look after the child for me”: she wears three durable hand-loom wrappers to tatters; how many would the mother of the child herself wear out? Explanation: The Yoruba sentence is properly translated to the English language as both the sentences convey the same meaning and both the sentences are in sentence case and it preserves the punctuation marks as well. Part 3. Exercise Adẹ́tẹ̀ ò gbọdọ̀ dúró de eléépín. Answer:
A leper must not wait for a bearer of abrasive leaves (eépín ).
You will be given a definition of a task first, then some input of the task. Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. If they do call , answer your phone and be professional . Output:
yes
Q: 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 The site collects your financial information for an unspecified purpose. Collection happens when you explicitly provide information in an unspecified way, and your data is identifiable. You can choose not to use the service or feature for the collection of your information. A:
Financial
Detailed Instructions: In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Q: Command: eq { count { filter_eq { all_rows ; team ; team penske } } ; 5 }, interpretation: select the row whose attendance record of all rows is 1st maximum . the date record of this row is june 25 . A:
no
In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment". Premise: در نسخه جدید ، رایش متن را دنبال میکند و به طور دقیق نقل می کند كه ساكتون در مورد مطالعات و پیتزا پدرخوانده صحبت می كند. <sep> Hypothesis: نسخه رایش دقیق است.
Neutral
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. [EX Q]: আওয়ামী লীগের রাজনীতি শেষ তাড়াতাড়ি সরে পড়ুন ছাত্র লীগের ছাত্র দের বলছি । [EX A]: non-religious [EX Q]: এই মালাউন এর বাচ্চায় এম্নেই মরবো [EX A]: religious [EX Q]: মসজিদে জঙ্গি না খুঁজে আল্লাহকে খুঁজুন- সংবিধান বিশেষজ্ঞ ডক্টর তুহিন মালিক [EX A]:
religious
You will be given a definition of a task first, then some input of the task. 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. ['2', '3', 'W', 'd', 'O', '0'] Output:
[['2', '3', 'W', 'd', 'O'], ['2', '3', 'W', 'd', '0'], ['2', '3', 'W', 'O', '0'], ['2', '3', 'd', 'O', '0'], ['2', 'W', 'd', 'O', '0'], ['3', 'W', 'd', 'O', '0']]
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. [EX Q]: Yellow cat [EX A]: once there be a fat girl name pat who hit her yellow cat with a bat now the yellow cat be lay on a mat next to an ugly rat [EX Q]: I have a snake [EX A]: i have a snake name jake he live in a cage 9 be his age he be eat a mouse he wear a blouse he wear his blouse when he be eat his mouse when my mom saw it she say take it out of the house [EX Q]: TOBBY [EX A]:
tobby be a little cat little cat and eat his worm pie but never eat his eye but he be very shy i do n't know why his frinds always die i still do n't know why
Instructions: The input contains texts obtained from news articles, ted talks, movie transcripts, radio transcripts, science and technology texts, and other short articles curated from the web and professional translators. Your task is to translate the given Yoruba sentence into the English language. Please bear in mind the following guidelines while doing the translation: 1) Generated output should be natural language and formal form of each sentence in your language. The output sentence should not be a colloquial form of the input sentence. The generated output should be in natural language which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) Numbers and fully capitalized words like SEPTEMBER, or 10 HOURS *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. 5) Note the input is in sentence case except for special placeholders. Please do the same in your translations. Input: A máa tún ilé tó tó ọgọ́rùn-ún márùn-ún [500] àti Gbọ̀ngàn Ìjọba mẹ́rìndínlógún [16] ṣe, àtàwọn ilé míì tí ìjì lílé tó wáyé lẹ́ẹ̀mejì ti bà jẹ́ ní Guatemala àti Mexico lóṣù September. Output:
The work includes rebuilding nearly 500 homes and 16 Kingdom Halls, and repairing numerous other structures affected by two earthquakes, which struck Guatemala and Mexico in September.
Detailed Instructions: In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Q: [55, 66, -80, -35, -28, 17, -3] A:
7
Definition: You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question. | Attribute | triggerword | contrastive triggerword | | age | old | new | | altitude | low | high | | area | small | vast | | brightness | dark | light | | clarity | obscure | clear | | cleanness | dirty | clean | | complexity | simple | complex | | cost | cheap | expensive | | density | sparse | dense | | depth | shallow | deep | | distance | near | far | | electric conductivity | low | high | | flexibility | rigid | flexible | | granularity | fine | coarse | | hardness | soft | hard | | length | short | long | | magnitude | small | large | | mass | small | large | | odor | weak | strong | | pressure | low | high | | resistance | low | high | | shape | round | sharp | | shape | flat | spiky | | size | small | large | | sound | quiet | loud | | sound pitch | low | high | | speed | slow | fast | | stability | unstable | stable | | strength | weak | strong | | temperature | low | high | | texture | smooth | rough | | thermal conductivity | low | high | | thickness | thin | thick | | volume | small | large | | weight | light | heavy | | width | narrow | wide | | location | in | out | | location | up | down | | location | above | below | | location | on | off | | location | to | from | Input: Context Word: yard sale. Output:
While shopping at the yard sale, the woman passed on the dishes, but bought the spoons, because she already had many of the _ .
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, 7, 3, 1, 3] , [6, 7, 2, 5, 7] A:
[7]
In this task you are given a passage in Bulgarian as the input content. You are expected to generate a suitable title for the passage which accurately summarizes the contents of the passage. The input is provided in the form of a long passage comprising of multiple sentences. The output should be restricted to a maximum of 20 words which describe the passage and its contents. The output can include words from the passage. Let me give you an example: Content:Пръстена активизира енергийната програма и биополето на човека и много зависи на коя ръка и кой пръст носите вашият пръстен. Реклама Дясната ръка се счита за проводник на мъжката енергия и ако носите пръстен на дясната си ръка ще активизирате определени сфери от вашият живот. Пръстена носен на лявата ръка ще е проводник на женската енергия и ще има възможност да ви защити в определени ситуации. Трябва да се вземе под внимание и от какъв материал е изработен пръстена. Златото като активен слънчев метал активизира енергията, а среброто защитава притежателя си от негативно въздействие. Златен пръстен сложен на палеца на дясната ви ръка ще подобри вашето материално положение, ако сложите сребърен пръстен ще засилите вашата интуиция. Ако носите пръстен на палеца на лявата си ръка ще имате възможност да получите реални плодове от вашите знания е възможности. Показалецът съединява човека с Бога. Добре би било на този пръст да носите сребърно украшение. Средният пръст на дясната ръка отговаря за съдбата и кармата. Носенето на пръстен на средният пръст ще спомогне по‐ бързо човек да разчисти своите кармични дългове. Безименият пръст носи успех, хармония и любов в семейството. На безименият пръст на дясната ръка е добре да се носи златен пръстен, по този начин ще се активизират всички сфери във вашият живот. Също така този пръстен ще обединява енергиите на партньорите и ще активизира техните отношения. Венчален пръстен изработен от сребро може да доведе до това, че човека да стане хладен в отношенията си и да се стреми да не дава своята любов а само да приема чуждата. Ако съпрузите са се разделили то е желателно те да си върнат брачните пръстени и по този начин да дадат свобода на себе си и партньора си за нови отношения. Друг начин е да сложат брачният си пръстен на лявата ръка и по този начин да пречистят енергиите от миналият си брак. Ако желаете да станете общителни, то си сложете златен пръстен с червен камък на малкият пръст на дясната си ръка. Сребърен пръстен сложен на малкият пръст на дясната ръка ще донесе на притежателя си спокойствие в живота. Източник: actualno.com The answer to this example can be: Как правилно да носите пръстен и какво означава на различните пръсти Here is why: This is an accurate title for the passage. It contains words from the passage and also other relevant points which succinctly summarize the contents. OK. solve this: Content:Юношите на България отиват на Евро 2017. Младите ни национали победиха снощи Босна и Херцеговина с 3:1 и си осигуриха първото място в групата. Тази година домакин на първенството на Стария континент ще бъде Грузия. Answer:
Юношите на България отиват на Евро 2017
Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'. Q: March 24, 2010 doesn't occur between 07 Dec 2009 and 21 March 1993 A:
True
In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively. [Q]: mCfjInWwvUtkZQJaE [A]: w [Q]: UMkdjIyVJaNRXwu [A]: y [Q]: spVAwyfdliBtDgxMkT [A]:
y
Detailed Instructions: Read the given text and if it has abusive content then indicate via "yes". Otherwise indicate via"no". We consider the content to be abusive if it contains any of the following instances: (1) Identity Directed Abuse (e.g., Content which contains a negative statement made against an identity. An identity is a social category that relates to a fundamental aspect of individuals community, socio-demographics, position or self-representation) (2) Affiliation Directed Abuse (e.g., Content which express negativity against an affiliation. We define affiliation as a (more or less) voluntary association with a collective. Affiliations include but are not limited to: memberships (e.g. Trade unions), party memberships (e.g. Republicans), political affiliations (e.g. Right-wing people) and occupations (e.g. Doctors).) (3) Person Directed Abuse (e.g., Content which directs negativity against an identifiable person, who is either part of the conversation thread or is named. Person-directed abuse includes serious character based attacks, such as accusing the person of lying, as well as aggression, insults and menacing language.) and (4) Counter Speech (e.g., Content which challenges, condemns or calls out the abusive language of others.). Note that URLs in the text have been replaced with [Link]. Q: You deserve the wall for comparing the two. A:
yes
Teacher: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 | Teacher: Now, understand the problem? Solve this instance: Context Word: grapes. Student:
The biggest debate of our time may be which grapes are better--green or purple. The _ are sweeter.
Teacher:In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Teacher: Now, understand the problem? Solve this instance: Command: eq { hop { nth_argmax { all_rows ; bronze ; 2 } ; nation } ; colombia }, interpretation: the average of the crowd record of all rows is 24303 . Student:
no
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. [EX Q]: 55817 [EX A]: Yes [EX Q]: 51581 [EX A]: Yes [EX Q]: 60497 [EX A]:
Yes
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Q: [954, 623, 340] A:
[]
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 . -------- Question: Statement: जापान ने 1937 और 1945 के बीच ज्यादातर हथियारों में निहित मस्टर्ड गैस एवं लेविसिट मिश्रण ,मुख्य भूमि चीन के राज्य क्षेत्र में संग्रहीत किया था। सितंबर 2010 में <MASK> (जापान) में मोबाइल विनाश सुविधाओं का उपयोग कर उनका विनाश शुरू कर दिया। Option A: ईरान Option B: नानजिंग Option C: लीबिया Option D: सीरिया Answer: नानजिंग Question: Statement: प्रमुख लेखक मुख्य रूप से स्थानीय पारसी व्यापारी और समाज सुधारक थे। <MASK>, नर्मद और कुछ अन्य लोगों को छोड़कर, उनकी लेखक भूमिकाओं में रचनात्मक साहित्य की स्थापना से मुख्यधारा के आंकड़ों का अभाव था; यह 1870 के बाद रूढ़िवादी सांस्कृतिक पुनरुत्थानवाद के प्रति साहित्यिक स्थापना की बढ़ती आत्मीयता के साथ बढ़ा था (जिसे गुजराती साहित्य में पंडित युग कहा जाता है)। यह पत्रिका में समकालीन स्थानीय साहित्यिक शैलियों का सटीक प्रतिनिधित्व नहीं होता था। Option A: माध्वाचार्यकृत Option B: नेपोलियन Option C: नर्मद Option D: दलपतराम Answer: दलपतराम Question: Statement: मोहन लाल ज़ुत्शी (Mohan Lal Zutshi), जिन्हें मोहन लाल कश्मीरी भी कहते थे, 19वीं शताब्दी में एक यात्री, राजनयिक और लेखक थे। उन्होंने 1838–1842 के प्रथम आंग्ल-अफ़ग़ान युद्ध में एक अहम भूमिका निभाई थी। उनके द्वारा लिखी <MASK> के अमीर दोस्त मुहम्मद ख़ान की जीवनी उस युद्ध का प्राथमिक वर्णन स्रोत है। इसके अलावा उन्होंने भारत से लेकर कैस्पियन सागर तक के कई क्षेत्रों का भ्रमण करा और जानकारी एकत्रित कर के ब्रिटिश राज की सरकार को उपलब्ध करी। इन क्षेत्रों में अफ़्ग़ानिस्तान, बल्ख़, बुख़ारा और ख़ोरासान शामिल थे। Option A: काबुल Option B: बुख़ारा Option C: गोटेगाँव Option D: बल्ख़ Answer:
काबुल
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. Input: Consider Input: 40800 Output: No Input: Consider Input: 18165 Output: No Input: Consider Input: 6502
Output: No
In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling Input: Consider Input: our legislature has also expressly carved out appeals challenging search and seizure rulings. Output: non-overruling Input: Consider Input: xtreme lashes, 576 f.3d at 228. Output: non-overruling Input: Consider Input: for the reasons that follow, we overrule the simpson decision.
Output: overruling
Q: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise A named third party does do something unspecified with your cookies or tracking elements for an unspecified purpose. You can choose not to use the service or feature. A:
Unspecified
You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician. Let me give you an example: ويوجد أساسا مرجل دوار. The answer to this example can be: É basicamente un caldeiro que rota. Here is why: The Arabic sentence is correctly translated into Galician, because the meaning is preserved. OK. solve this: و لو أننا اعتمدنا ، كما نفعل في هذه اللحظة ، على نظام العدالة الجنائية منفردا و التهديد بالعقوبات التأديبية ، سنجد أننا نربي وحشا لا نستطيع ترويضه. Answer:
E se confiamos, como ata agora, só no sistema de xustiza penal e na ameaza das penas punitivas, estaremos alimentando a un monstro que non poderemos amansar.
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. [-47.562 21.872 -34.47 -48.07 -49.56 ]
-49.56
Definition: Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise Input: The site collects your survey data for an unspecified purpose. Collection happens when you explicitly provide information in an unspecified way. Output:
Survey data
You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician. Q: قابلوا توني. انه طالبي. A:
Este é Tony. É alumno meu.
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'. Ex Input: threetwoninenineninefiveseveneightsixsix Ex Output: 3299957866 Ex Input: foursixeighteightzerosixthreefivefive Ex Output: 468806355 Ex Input: zerofivenineonenine Ex Output:
05919
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story. Premise: Amanda was supposed to meet her boyfriend. Initial Context: She was walking through a dark part of the neighborhood that night. Original Ending: Suddenly, she heard an animal growl in the distance. She was scared so she began to run. Luckily, she made it inside safely. Counterfactual Context: She asked him to come pick her up because it was dark. Suddenly, they heard an animal growl in the distance. They were scared so they began to run. Luckily, they made it inside safely. Premise: William was a young boy on his way to school. Initial Context: He walked to class and sat in his seat. Original Ending: His teacher told them they will be having a surprise pizza party. William and his classmates went outside to play on the playground. When they came back inside, they had pizza and soda waiting for them. Counterfactual Context: He walked to class but got lost. Yesterday his teacher told them they will be having a surprise pizza party. William was upset that his classmates went outside to play on the playground without him. He was sad that when they went back inside they would have pizza and soda waiting for them. Premise: Seth bought a restaurant. Initial Context: He changed the menu of the restaurant. Original Ending: The regular customers did not like the changes. Seth went back to the old menu. The regular customers voiced their approval. Counterfactual Context: He changed the restaurant to a bar.
The regular customers loved the changes. They always wanted a local bar. Business was better than ever
Q: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. sixonetwothreezerosix A:
612306
Teacher:The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations. Teacher: Now, understand the problem? Solve this instance: muéstrame restaurantes con una calificación de 1. Student:
show me restaurants with a rating of 1 .
Q: Write a fact related to the given fact, based on the given topic word. Note that, your fact should have at least one word in common with the given fact. All facts in this task refer to scientific facts. Your related fact must form a chain with the given fact. Chains form when two facts connect together to produce the third fact. An example of a chain is: "pesticides cause pollution" (given fact) + "pollution can harm animals" (related fact) → "pesticides can harm animals" (connected chain). Avoid creating simple paraphrases of the given fact. While your generated fact should be related to the input fact, they must describe slightly different scientific phenomena. It's okay if your related fact includes some irrelevant information, provided that it has some overlap with the given fact and it contains some words corresponding to the provided topic. Fact: Insects may live in large colonies and have complex social behaviors. Topic: insects ants. A:
Ants and butterflies are insects.
Detailed Instructions: You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education. Q: Bitty Baby's Big Buttons A:
bitty baby buy some big button bitty baby buy some big button for her big backpack now bitty baby's big button be on her big backpack now bitty baby's backpack and button break bigtime
In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3]. [EX Q]: [-35, 56, -45, 14, -44] [EX A]: [10.5, 5.5, -15.5, -15.0] [EX Q]: [42, 51, 60, 17, 32, -27, -48, -88, 12, 42, 79, 62] [EX A]: [46.5, 55.5, 38.5, 24.5, 2.5, -37.5, -68.0, -38.0, 27.0, 60.5, 70.5] [EX Q]: [-34, -5, -7, -81, -73, -12, 44, 70, 12] [EX A]:
[-19.5, -6.0, -44.0, -77.0, -42.5, 16.0, 57.0, 41.0]
In this task, you will be shown an English sentence. You need to classify the sentence as either a representation of an anaphor number agreement or as an incorrect representation. An anaphor is an expression whose interpretation depends upon another expression. Anaphor number agreement is a restriction where a phrase agrees with the preceeding expression: plurals match plurals or singular expressions match singular expressions. In this task a valid representation of anaphor number agreement should be denoted as 'good' while everything else should be denoted as 'bad'. A correct representation of an anaphor number agreement will be a grammatically correct instance of a sentence where the subject and self-referencing nouns match plurality. An incorrect representation is a sentence in which the subject and self-referencing noun's plurality do not match. -------- Question: The university can't astound themselves. Answer: bad Question: Keith discovered themselves. Answer: bad Question: Sara can flee from themselves. Answer:
bad
Detailed Instructions: In this task you will be given a list, of lists, of integers. For every inner list contained in the input list, you should multiply every even number in that list. The output should be a list of integers with the same length as the number of lists in the input list. If there are no even numbers in an inner list you should output 0 for that list. Problem:[[-23, -41, 23, -39, 44], [18, 17, -4, 7, 34], [7, -18]] Solution:
[44, -2448, -18]
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. [EX Q]: Effects of mild physical exercise on serum lipoproteins and metabolites of arachidonic acid : a controlled randomised trial in middle aged men . [EX A]: physical exercise [EX Q]: This 7-week program included a computer game , small group sessions , parent training sessions and teacher handouts . [EX A]: computer game, small group sessions, parent training, teacher handouts [EX Q]: Comparisons with the cyclophosphamide-doxorubicin-5-fluorouracil arm will not be addressed . [EX A]:
not found
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]. [EX Q]: question: If there are at least 2 black stingrays with white spots. [EX A]: #1 return stingrays #2 return #1 that are black #3 return spots of #2 #4 return #2 where #3 are white #5 return number of #4 #6 return if #5 is at least two [EX Q]: question: How many objects are smaller than the yellow cube? [EX A]: #1 return objects #2 return yellow cube #3 return size of #1 #4 return size of #2 #5 return #1 where #3 is lower than #4 #6 return number of #5 [EX Q]: question: How many months after the stadium was first damaged by German bombs was football resumed in the stadium? [EX A]:
#1 return stadium was first damaged by German bombs #2 return football resumed in the stadium #3 return when was #1 #4 return when was #2 #5 return difference of #4 and #3 in months
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:8459 # 6068 @ 161 @ 9763 # 5337 @ 8620 # 7914 @ 1740 # 9119 Solution:
305
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Q: [4, 1, 2, 1, 4, 2] A: [] **** Q: [7, 3, 1, 5, 0, 3, 5, 7, 6, 1] A: [0, 6] **** Q: [7, 1, 0, 6, 7] A:
[1, 0, 6] ****
Definition: 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. Input: [{'first': -86, 'second': 1}, {'first': -4, 'second': 54}, {'first': -40, 'second': -79}, {'first': -21, 'second': -79}, {'first': 93, 'second': 19}, {'first': -16, 'second': -41}, {'first': -37, 'second': 24}] Output:
[{'first': -86, 'second': 1}, {'first': -40, 'second': -79}, {'first': -37, 'second': 24}, {'first': -21, 'second': -79}, {'first': -16, 'second': -41}, {'first': -4, 'second': 54}, {'first': 93, 'second': 19}]
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. Problem:Sentence: I found a poor {{ little }} mouse walking around in my friend s house , and since I was able to catch it very easily ( normally mice move at the speed of light ) , and since it was acting unresponsive , I thought it was infected with mouse poison , since my friend uses it . Word: little Solution:
NN
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. Crush
when you walk your hair bounce like a tumbleweed bounce across the plain your smile brightens my day like the morning sunshine there's always a spring in your step which make me forget all my problem the sweet smell that come from you make me float away without you here by my side my heart be empty by now ca n't you see that i'm in love
Two analogies that relate objects to the associated rooms is given in the form "A : B. C : ?". "A : B" relates object A to room B. Your task is to replace the question mark (?) with the appropriate room for the given object C, following the "A : B" relation. One example: shelf : nursury. cabinet : ? Solution is here: bathroom Explanation: The given analogy relates objects to their rooms. A shelf is associated with a nursery. A cabinet is associated with a bathroom Now, solve this: shelf : kitchen. dresser : ? Solution:
bedroom
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'. 4003 aggiunta 5985 aggiunta 9003 sottrazione 7328 aggiunta 3420 aggiunta 3822
18905
Detailed Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Q: THEM: hey there! i'd like balls and the hat.. is the book a high value item for you? YOU: i just wan the hat please you take the rest THEM: take the book too, its no value to me. YOU: so i get the hat and book THEM: correct YOU: thanks. A:
Yes
Detailed Instructions: In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3]. Problem:[-35, 90, 23, -93, 24, 35, 12, 86, -15, 42, -58, 23, 43] Solution:
[27.5, 56.5, -35.0, -34.5, 29.5, 23.5, 49.0, 35.5, 13.5, -8.0, -17.5, 33.0]
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. [EX Q]: [{'first': -61, 'second': -46}, {'first': -75, 'second': -88}, {'first': 77, 'second': 33}, {'first': 10, 'second': -11}, {'first': -77, 'second': 42}] [EX A]: [{'first': -77, 'second': 42}, {'first': -75, 'second': -88}, {'first': -61, 'second': -46}, {'first': 10, 'second': -11}, {'first': 77, 'second': 33}] [EX Q]: [{'first': 84, 'second': 45}, {'first': -37, 'second': 3}, {'first': 93, 'second': 3}] [EX A]: [{'first': -37, 'second': 3}, {'first': 84, 'second': 45}, {'first': 93, 'second': 3}] [EX Q]: [{'first': -29, 'second': 11}, {'first': 91, 'second': -87}, {'first': 75, 'second': -63}, {'first': -68, 'second': -86}, {'first': 16, 'second': -40}, {'first': 75, 'second': 14}, {'first': 93, 'second': 100}, {'first': 2, 'second': -71}] [EX A]:
[{'first': -68, 'second': -86}, {'first': -29, 'second': 11}, {'first': 2, 'second': -71}, {'first': 16, 'second': -40}, {'first': 75, 'second': -63}, {'first': 75, 'second': 14}, {'first': 91, 'second': -87}, {'first': 93, 'second': 100}]
In this task, you will be presented with a question in Dutch language, and you have to write the person names from the question if present. B denotes the first item of a phrase and an I any non-initial word. Phrase used for the person name - PER. There can be instances with no person name entity, then return 'None'. Let me give you an example: De belle van het bal is Hillary The answer to this example can be: Hillary: B-PER, Clinton: I-PER Here is why: In the given sentence, Hillary is identified as the person name, which is correct. OK. solve this: Wat zinvol is , wil je doorgeven . Answer:
None
You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician. [Q]: وانا ملهم جداً بهذه المواقف [A]: Apaixóame. [Q]: وإذا كانت موجودة, تمكنت من إيجادها إذاً رُبما نتمكن من فعل شيء حيال ذلك. [A]: E se existen e podemos atopalos, se cadra un podería facer algo con iso. [Q]: إتاى تالجام "": جيد. الآن مثل "" كارايان "". كما تمرنتم بالضبط دعونى أركز ، أغلق عيناى. هيا ، هيا [A]:
Itay Talgam: Ben. Agora como Karajan. Como xa estades entrenados, deixádeme concentrar, pecho os ollos. Imos, imos.
Write a fact related to the given fact, based on the given topic word. Note that, your fact should have at least one word in common with the given fact. All facts in this task refer to scientific facts. Your related fact must form a chain with the given fact. Chains form when two facts connect together to produce the third fact. An example of a chain is: "pesticides cause pollution" (given fact) + "pollution can harm animals" (related fact) → "pesticides can harm animals" (connected chain). Avoid creating simple paraphrases of the given fact. While your generated fact should be related to the input fact, they must describe slightly different scientific phenomena. It's okay if your related fact includes some irrelevant information, provided that it has some overlap with the given fact and it contains some words corresponding to the provided topic. Input: Consider Input: Fact: a seismometer is used to measure the strength or magnitude of an earthquake. Topic: measuring earthquakes can help prevent them. Output: Magnitude readings can help scientists measure the severity of an earthquake. Input: Consider Input: Fact: triceps contracting causes a person 's elbow to straighten. Topic: tricep elbow. Output: Elbow extension is controlled by triceps. Input: Consider Input: Fact: some animals' fur grows thicker for staying warm in the winter. Topic: thick fur.
Output: Fur seals grow a thick undercoat of fur, used as insulation.
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. Ex Input: There is more evidence in the "belief" of a human spirit than has ever been provided in opposition to the possibility. Ex Output: Invalid Ex Input: The problem with the death penalty is eventually someone will be sentenced to death when they are in fact guilty. Ex Output: Valid Ex Input: So if we can assume that innocent people are convicted in capital punishment cases, shouldn't we be free to assume that innocent people are being convicted in non-capital punishment cases as well? Ex Output:
Valid
Detailed Instructions: In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Q: [3, 4, 4, 4, 2, 2, 2] A:
[3]
Part 1. Definition Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'. Part 2. Example Tweet: @anonymized_account @anonymized_account @anonymized_account Gdzie jest @anonymized_account . Brudziński jesteś kłamcą i marnym kutasem @anonymized_account, Question: Does the tweet contain cyberbullying (harmful) content? Answer: Yes Explanation: The tweet contains Bullying content Part 3. Exercise Tweet: @anonymized_account @anonymized_account W meczu Niemcy- Szwecja nasz sędzia robił mógł żeby pomóc Niemcom😁😁😁 , Question: Does the tweet contain cyberbullying (harmful) content? Answer:
No
TASK DEFINITION: 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 PROBLEM: An unspecified third party does receive your computer information for an unspecified purpose. The data is personally identifiable. SOLUTION: Computer information PROBLEM: An unnamed third party does collect on the first party website or app your activities on the website or app for targeted advertising. The data is aggregated or anonymized. You can configure your privacy with third-party user settings. SOLUTION: User online activities PROBLEM: The site collects your contact information for an unspecified purpose. Collection happens by other websites. SOLUTION:
Contact
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]. Example input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'? Example output: #1 return secretaries #2 return #1 born in state 'Alabama #3 return departments managed by #2 #4 return distinct creation years of #3 Example explanation: Referring to previous steps is vital in constructing multi-step decompositions. In this example each step refers to the step before to perform a single filter on it to reach the final result. Q: question: If four dogs are in the grass, and one has a red ball in its mouth. A:
#1 return dogs #2 return the grass #3 return #1 in #2 #4 return mouth of #3 #5 return ball #6 return #5 that is red #7 return #3 where #4 has #6 in #8 return number of #3 #9 return number of #7 #10 return if #8 is equal to four #11 return if #9 is equal to one #12 return if both #10 and #11 are true
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. Problem:News Headline: A linguistic analysis found that Trump {speaks} at a third-grade level Edit: colors Solution:
Funny
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. Q: password = AfrdCXyJlecGdI0iJZECl9gelHgZW8R9 A:
12
Part 1. 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. Part 2. Example Fast schon teuflisch gut . Gleich mal eins vorne weg: dieses Album ist wieder wesentlich besser als das letzte ("The Last Kind Words"), wenn auch nicht ganz so gut wie die beiden ersten Alben "DevilDriver" und "The Fury Of Our Maker's Hand". Sofort wird hier munter "losgegroovt" mit dem Opener "Pray For Villains". Sofort merkt man: hier regiert der Hammer. Unüberhörbar, dass die Double Basses dermaßen losprügeln, das man fast schon meint es wurde ein Drumcomputer benutzt. Ziemlich sicher bin ich mir aber, dass hier getriggert wurde. Wobei mir das überhaupt nicht auf den Magen schlägt, der Gesamtsound ist wunderbar und vorantreibend. Auch die Gitarren leisten Spitzenarbeit ab. Noch schneller, gar extremer sind sie auf dieser Scheibe wahrzunehmen. Unglaublich... Natürlich leistet auch Dez ganze Arbeit mit seinem unglaublichen Organ. Es kommen sogar mal kurz cleane Vocals zum Einsatz. Aber diese werden nicht tragend für das Lied eingesetzt, also keine Sorge. Weiterhin regieren die tiefen Shouts aus Dez's Kehle. Ansonsten bleibt nur noch zu sagen, dass auch die Produktion auf ganzer Linie überzeugen kann. Einfach nur fett. Also, Devildriver Fans werden sicher nicht enttäuscht sein. Und alle anderen, die auf brachiale Grooves und sonstigen Krach stehen, können hier auch ohne schlechtes Gewissen zugreifen. Super Scheibe. Answer: POS Explanation: The overall sentiment of the review is positive as the reviewer refers to the music piece with positive expressions such as 'Fast schon teuflisch gut', 'Super Scheibe' etc. Hence, the label is 'POS'. Part 3. Exercise Neues vom Hexer . Auch die neue Live-CD zeigt eindrucksvoll, warum Zeitungen wie die FAZ in ihren Kritiken den nicht einmal 30 Jahre alten Joscho Stephan als "Magier und Hexer der Gitare" titulieren. Auftritte im Birdland, dem Nashville Gitarenfestival oder der Carnegie Hall belegen es: Joscho Stephan verfügt über die seltene Fähigkeit, schwierigste gitarristische Kabinettstücke leicht und selbstverständlich klingen zu lassen. Doch dabei verlässt ihn nie sein hoher künstlerischer Anspruch oder sein guter musikalischer Geschmack. Wie auch das Vorgänger-Werk sehr zu empfehlen. Man darf gespannt sein, wie Joschos Entwicklung weitergeht. Answer:
POS
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. [EX Q]: platyrrhine [EX A]: catarrhine [EX Q]: noncrystalline [EX A]: crystalline [EX Q]: woven [EX A]:
unwoven
TASK DEFINITION: In this task, you are given a country name and you need to return the barcode prefix of the given country. A barcode prefix is a 3-digit number at the begining of all the barcodes on products from a company or country. Some countries have ranges of barcode prefixes such as, 730 - 739; in such a case, a number from within that range will be considered as a valid output. PROBLEM: Syria SOLUTION: 621 PROBLEM: Cuba SOLUTION: 850 PROBLEM: Poland SOLUTION:
590
Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No". One example: Japanese: 詳細は昨日UTC17時30分、英国議会でイギリスのルス・ケリー運輸大臣によって伝えられた。 Thai: รายละเอียดถูกเปิดเผยโดยเลขาธิการกระทรวงคมนาคมของUK นางRuth Kelly ในสภาสามัญชน เมื่อเวลา17:30 UTC Solution is here: Yes Explanation: The converted Thai sentence is correctly translated from Japanese because converted sentence has the same message as the original Japanese sentence that Details were given yesterday in the House of Commons at 1730 UTC by Britain's Transport Secretary Ruth Kelly. Now, solve this: Japanese: 彼女はフィールドでのリカーブで競技したが、オリンピックに向けたトレーニングを最大限発揮して競技していない。 Thai: เธอได้กลับมาแข่งขันในสนาม แต่ยังไม่ใช่ใช่การแข่งเพื่อการฝึกฝนของเธอสำหรับเข้าร่วมโอลิมปิก Solution:
Yes
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Command: eq { count { filter_eq { all_rows ; nationality ; canada } } ; 4 }, interpretation: select the rows whose nationality record fuzzily matches to canada . the number of such rows is 4 .
yes
instruction: 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: [58, 71, 44] answer: [64.5, 57.5] question: [-99, 61, 95] answer: [-19.0, 78.0] question: [-52, -51] answer:
[-51.5]
Detailed Instructions: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Q: List the clubs having "Davis Steven" as a member. A:
SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Davis" AND t3.lname = "Steven"
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. Ex Input: x = 3, equation weights = [7, 1, 6] Ex Output: 72 Ex Input: x = 0, equation weights = [1, 7, 2] Ex Output: 2 Ex Input: x = 3, equation weights = [6, 7, 4] Ex Output:
79
Detailed Instructions: We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control. Problem:Where is your true sympathy for folks like Suzanna Gratia Hupp who were disarmed by government edicts (unconstitutionally) while we arm our enemies of America and gun grabber/anti-Constitutionalists? Solution:
Valid
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 Input: Set1: '{2, 3, 8, 9, 10, 14, 17, 18, 20}', Set2: '{3, 4, 5, 7, 8, 10, 11, 14, 18, 19}'. Is the element '18' in the intersection of Set1 and Set2 ? Example Output: Yes Example Input: Set1: '{5, 6, 9, 14, 19}', Set2: '{4, 5, 6, 7, 11, 13, 17, 19}'. Is the element '19' in the intersection of Set1 and Set2 ? Example Output: Yes Example Input: Set1: '{9, 18}', Set2: '{16, 5}'. Is the element '16' in the intersection of Set1 and Set2 ? Example Output:
No
Given the task definition, example input & output, solve the new input case. 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]. Example: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'? Output: #1 return secretaries #2 return #1 born in state 'Alabama #3 return departments managed by #2 #4 return distinct creation years of #3 Referring to previous steps is vital in constructing multi-step decompositions. In this example each step refers to the step before to perform a single filter on it to reach the final result. New input case for you: question: show me all flights from denver to burbank Output:
#1 return flights #2 return #1 from denver #3 return #2 to burbank
In this task, you will be presented with a question in Dutch language, and you have to write the person names from the question if present. B denotes the first item of a phrase and an I any non-initial word. Phrase used for the person name - PER. There can be instances with no person name entity, then return 'None'. Input: Consider Input: Branko Strupar weet zaterdag alle ogen op hem gericht Output: Branko: B-PER, Strupar: I-PER Input: Consider Input: Bij de stevige roker die op jonge leeftijd begonnen is , ligt deze kans rond de één op drie ( 30 procent ) , of 20 procent hoger . Output: None Input: Consider Input: Die moet eind 2002 een feit zijn .
Output: None
You will be given a definition of a task first, then some input of the task. In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Show the teams that have both wrestlers eliminated by "Orton" and wrestlers eliminated by "Benjamin". Output:
SELECT Team FROM Elimination WHERE Eliminated_By = "Orton" INTERSECT SELECT Team FROM Elimination WHERE Eliminated_By = "Benjamin"
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. Input: Consider Input: swwissiisiwi Output: issi Input: Consider Input: hhzszzhzhzshssh Output: zhzhz Input: Consider Input: iiiiiigiigi
Output: iiiiii
instruction: 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. question: [2, 1, 5, 4, 7, 1, 2, 7] answer: [5, 4] question: [3, 7, 5, 3, 5, 1, 7, 6, 4] answer: [1, 6, 4] question: [6, 7, 7, 5, 0] answer:
[6, 5, 0]
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Entity 1: network Entity 2: nucleus no Entity 1: cytoplasm Entity 2: inclusion yes Entity 1: sprite Entity 2: tendril
yes
Detailed Instructions: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. Problem:Before I blow out the candles, I just want to say that I'm so glad that I didn't invite my work friends. It's just you guys. Solution:
Oh, they're the worst people. I don't like them.
Detailed Instructions: 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 | See one example below: Problem: Context word: fit. Solution: The trophy doesn't fit into the brown suitcase because _ is too large. 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. Problem: Context Word: pain. Solution:
Andrew preferred the pain of getting hit with the tomato rather than the brick because the _ was mushy.
Instructions: 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'. Input: Set1: '{3, 4, 5, 7, 10, 16}', Set2: '{1, 4, 10, 11, 16, 17}'. Is the element '4' in the intersection of Set1 and Set2 ? Output:
Yes
Instructions: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Input: Show the denomination shared by schools founded before 1890 and schools founded after 1900 Output:
SELECT Denomination FROM school WHERE Founded < 1890 INTERSECT SELECT Denomination FROM school WHERE Founded > 1900
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story. Q: Premise: Kim noticed that her hands were dry. Initial Context: But her lotion only helped them temporarily. Original Ending: Her friend recommended shea butter. So she decided to try it. And it made her hands smooth and soft. Counterfactual Context: When she got out her lotion she found that it was empty. A:
Her friend recommended some shea butter she had, since Kim didn't have her lotion. So she decided to try it. And it made her hands smooth and soft.
Detailed Instructions: In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list. Q: ['2239', '2689', 'W', '4487', 'z', 't', '1081', '5235', 'J', 'd', 'O', '8387', '2277', '1901', '4147', 'E', '9767', '9715', '8251', '8439', '5927'] A:
3, 5, 6, 9, 10, 11, 16
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to classify the command into one of these seven categories: (1) majority, (2) unique, (3) superlative, (4) count, (5) comparative, (6) aggregation, and (7) ordinal. Here are the defications of each category: 1. majority: Describing the majority values (most or all) over one column, with the scope of all table rows or a subset of rows 2. unique: Describing one unique row, regarding one column, with the scope of all table rows or a subset of rows 3. Superlative: Describing the maximum or minimum value in a column, with the scope of all table rows or a subset of rows 4. Ordinal: Describing the n-th maximum or minimum value in a column, with the scope of all table rows or a subset of rows 5. Comparative: Comparing two rows in the table, regarding their values in one column 6. Count: counting some rows in the table based on the values in one column, with the scope of all table rows or a subset of rows 7. Aggregation: Describing the sum or average value over a column, with the scope of all table rows or a subset of rows. Here are the definitions of logical operators for understanding of command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Ex Input: round_eq { avg { all_rows ; clean electric grid california ( san francisco ) } ; 131.4 g / mile } Ex Output: aggregation Ex Input: eq { count { filter_eq { all_rows ; bbc one presenter ( s ) ; jake humphrey } } ; 2 } Ex Output: count Ex Input: and { only { filter_eq { filter_eq { all_rows ; score ; w } ; team ; memphis } } ; eq { hop { filter_eq { filter_eq { all_rows ; score ; w } ; team ; memphis } ; date } ; january 2 } } Ex Output:
unique
Detailed Instructions: Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No". Problem:Japanese: 30歳の高校教師で2人の子を持つ母親であるFathiyaBarghoutiRheime氏は、ガザ地区で選出されたハマスの7人の市長の中の1人である。 Thai: Fathiya Barghouti Rheime ครูโรงเรียนมัธยมศึกษาตอนปลายวัย 30 ปี และเป็นแม่ลูกสอง เป็นหนึ่งในนายกเทศมนตรีทั้งเจ็ดจากพรรค Hamas ที่ได้รับการเลือกตั้งในฉนวนกาซา Solution:
Yes
Q: 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. বাংলাদেশে হিন্দুদের সমস্যা অথচ উব্দিগ্ন ভারত আর সুষমা জারজ নাকি সারজ A:
non-religious
instruction: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. question: What are the names and dates for documents corresponding to project that has the details 'Graph Database project'? answer: SELECT document_name , document_date FROM Documents AS T1 JOIN projects AS T2 ON T1.project_id = T2.project_id WHERE T2.project_details = 'Graph Database project' question: How many cities are in Australia? answer: SELECT count(*) FROM city AS T1 JOIN country AS T2 ON T1.country_id = T2.country_id WHERE T2.country = 'Australia' question: Show year where a track with a seating at least 5000 opened and a track with seating no more than 4000 opened. answer:
SELECT year_opened FROM track WHERE seating BETWEEN 4000 AND 5000
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise The site collects your IP address or device IDs for advertising. Collection happens when you implicitly provide information on the website. Solution: Advertising Why? The given policy text states that it uses user information for 'advertising' explicitly New input: The site collects your website activities for analytics or research. Collection happens when you implicitly provide information on the website, and your data's identifiability is not covered by our label scheme. Solution:
Analytics/Research
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: [235, 1856, 4201, 2443, 23, 67, 2, 193, 15, 1124, 1525, 20, 51, 4, 21] A:
[256, 2048, 4096, 2048, 16, 64, 2, 256, 16, 1024, 1024, 16, 64, 4, 16]
Given the task definition and input, reply with output. The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. Context: 'my counter then is 2 water, 1 food, and 2 firewood for us and we are set 🙂' 'We're really going to need that extra firewood. We'll need the heat source, but also for cooking. It a big deal that I get the extra wood, I hope you will understand why I need it.' 'my people feel like they need 1 extra of something or else they will throw a fit ☹️' Utterance: 'No fits!! They're getting that extra water they really want. I am sure they'll be OK with giving a group with kids a little extra firewood to make this camping trip awesome for them'
No
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'. Input: Consider Input: 5781 sottrazione 5355 sottrazione 5187 sottrazione 6432 aggiunta 1634 aggiunta 7900 sottrazione 6755 aggiunta 9747 aggiunta 1886 Output: 3219 Input: Consider Input: 7401 aggiunta 1797 sottrazione 1774 Output: 7424 Input: Consider Input: 6521 aggiunta 9769 aggiunta 7786 sottrazione 9735 sottrazione 8126
Output: 6215
Q: 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. A griup of people sitting around a wooden table with food. A:
griup
In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3]. Q: [88, 65, 19, -5, 52, 36, -63, 64, -95] A:
[76.5, 42.0, 7.0, 23.5, 44.0, -13.5, 0.5, -15.5]
Summarize the following movie reviews: 1. Sober but stirring ... 2. If you can overlook the three or four endings, each more overdone than the last, there's a lot to like here. 3. "Bridge of Spies" is a neat encapsulation of America's great commercial director pushing for sophistication while sticking to familiar beats. 4. Hanks has never seemed more like a modern Jimmy Stewart, drink in hand, just looking to get home to his bed, as the script leans into its cavalcade of slightly bizarre negotiations with Eastern European goons. 5. A quaint and a romanticized look at largely unsung American heroes. 6. The film has a streamlined efficiency, but it feels like the work of a master who wants to please rather than probe. 7. What really manages to standout is the impeccable and sensational performance of Emmy Award nominee Mark Rylance, who steals and owns every scene he's present. 8. Bridge Of Spies is good, just not "Steven Spielberg good." 9. Confirms that when it comes to historic dramas, Steven Spielberg is still the best. 10. This is a handsome and mature entertainment, rich with novelistic intrigue.
Bridge of Spies finds new life in Hollywood's classic Cold War espionage thriller formula, thanks to reliably outstanding work from Steven Spielberg and Tom Hanks.
Given the task definition, example input & output, solve the new input case. 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. Example: [1,3,5] Output: 3.000 The mean of the input list is (1+3+5)/3, which equals 3. This is a good example. New input case for you: [167.421, -6.695, 108.904, 145.738, 230.274] Output:
129.128
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. -------- Question: [-10, -74, -55, 100, 84, 73, -90, 60, 78, 0] Answer: [-10, -74, -55, 100, 73] Question: [-45, 60, -42, -99, -83, -49, 15, 12] Answer: [-83, -49] Question: [-81, -16, 97, -9, 31] Answer:
[-16, 97, 31]
End of preview. Expand in Data Studio

Dataset Card for "flan2022-4096-128-tasks-logdet-400000-instances-fl"

More Information needed

Downloads last month
42

Collection including kowndinya23/flan2022-4096-128-tasks-logdet-400000-instances-fl