prompt
stringlengths 47
12.5k
| response
stringlengths 0
2.99k
|
---|---|
In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
Input: Consider Input: 02/23/1608, input_format=mm/dd/yyyy
Output: 23/02/1608
Input: Consider Input: 04/24/1708, input_format=mm/dd/yyyy
Output: 24/04/1708
Input: Consider Input: 27/12/1951, input_format=dd/mm/yyyy
| Output: 12/27/1951
|
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
Q: The Cambridge Blue is a pub near Café Brazil that provides English food with a price range of more than £30.
A: name[The Cambridge Blue], eatType[pub], food[English], priceRange[more than £30], near[Café Brazil]
****
Q: Near The Bakers is a Japanese restaurant called The Golden Curry that is kids friendly and has food for 20-25 dollars.
A: name[The Golden Curry], food[Japanese], priceRange[£20-25], familyFriendly[yes], near[The Bakers]
****
Q: The Wrestlers is a store that provides a very expensive ice cream. It is located in Cambridge.
A: | name[The Wrestlers], food[Fast food], priceRange[high], customer rating[1 out of 5], familyFriendly[yes]
****
|
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.
Give the name of each department and the number of employees in each. | SELECT T2.department_name , COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROUP BY T2.department_name |
You are given a statement written in Hindi. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option .
Statement: एप्पल ने Neistat ब्रदर्स (Neistat Brothers) द्वारा एक उच्च प्रचार स्टंट और वेबसाइट के एक हफ्ता पहले नवम्बर 14, <MASK> को एक बैटरी बदलने के कार्यक्रम की घोषणा की। प्रारंभिक लागत 99 अमेरिकी डॉलर थी, और 2005 में घटकर 59 अमेरिकी डॉलर रह गई। एक सप्ताह बाद, एप्पल ने अमेरिका के लिए एक विस्तृत आइपॉड वारंटी की 59 अमेरिकी डॉलर में पेशकश की। आइपॉड नैनो के लिए, टांका (soldering) उपकरणों की आवश्यकता है क्योंकि बैटरी मुख्य बोर्ड पर जुड़ी हुई है। पांचवीं पीढ़ी के आईपोड की अपनी बैटरी चिपकने वाली backplate के साथ संलग्न थी।
Option A: 2004
Option B: 2008
Option C: २००१
Option D: 2003 | 2003 |
You will be given a definition of a task first, then some input of the task.
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 briown dog laying on bed next to pillows and a nightstand.
Output: | briown |
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.
[197, 242, 92] | [197] |
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:
[68, 84, 69, -82, -48, 13, -16, -87, -62, -52, -100]
answer:
[76.0, 76.5, -6.5, -65.0, -17.5, -1.5, -51.5, -74.5, -57.0, -76.0]
question:
[-13, 31, 0, 53]
answer:
[9.0, 15.5, 26.5]
question:
[-91, 59, -52, 34, 5, 83, 49, -1, 27]
answer:
| [-16.0, 3.5, -9.0, 19.5, 44.0, 66.0, 24.0, 13.0]
|
instruction:
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.
question:
News Headline: ‘ I certainly meant no {disrespect} ’ : Kellyanne Conway addresses her pose in the Oval Office photo
Edit: respect
answer:
Funny
question:
News Headline: Mick Mulvaney 's Warning : Massive {cuts} are coming to the federal government
Edit: hats
answer:
Funny
question:
News Headline: Iranian {oil} tanker wreck produces two slicks in East China Sea
Edit: gravy
answer:
| Funny
|
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.
[-17, -84, -73, 89] | 11 |
In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3.
One example: [2, 5, 9, 6, 11]
Solution is here: [2, 5, 11]
Explanation: 6 and 9 are removed from the list because they are divisible by 3.
Now, solve this: [20, 39, -33, -38, -55, -98, -30, 8, 64, -90, 43]
Solution: | [20, -38, -55, -98, 8, 64, 43] |
Answer the following question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.danvelazco.fbwrapper.
Answer: | Was working great til a few weeks ago on my Htc One M8. Now when I try to read messages the app just crashes every time. I have still give it 5 stars because the app is so light on my battery compared to Facebook and Messenger. Please fix this minor issue developer as having the in-app messaging is what makes this app so great along with saving battery life. Peace :-) |
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
Q: Despite what others may have said a decade a go , you do n't have to figure out your future at 18 .
A: no
****
Q: that 's the point , i 'm already talking to a therapist .
A: no
****
Q: Any of these associations can help you understand your rights as a student and push for accommodations based on your illness .
A: | no
****
|
You are given first 5 messages from a series of message exchanges between 2 persons playing the game of Diplomacy which is an American strategic board game. You need to generate the next message. The message should be generated such that it fits the context seen so far. Avoid the text that is (i) tangent to the context, (ii) repeats the context.
Q: ['Greeting oh Sultan of Turkey! Any thoughts on the way you’d like to play this game? I tend to love A/T alliances, with Austria building lots of armies and Turkey going mostly fleets (because breaking through to the Ionian Sea can be pretty hard otherwise). We could go after Russia first, and once they’re weakened, turn some force on Italy as well. Lots of loot to split up and keep us both happy for quite some time... what do you think?', 'I think that idea would work very well. You will most likely need to get a truce with Italy for the first few phases to protect your back until I can get ships in the area.', 'Sounds good - *if* I Italy is not lying to me, I could get that truce. What do you think we should do with Russia then? Try and trick him into leaving either Galacia or the Black Sea empty (I don’t imagine we’d be so lucky as to have him do both, but you never know, some people are just trusting like that 🙂 ). If you control BLA, we make pretty short work of the southern Russian position: Rum and Sev fall in a year or two. But if he’s cagey and careful, it’ll go slower.', 'That sounds good to me. I will talk with Russia about having a dmz in bla so I can move in.', 'So did Russia agree to leave BLA empty as a DMZ, and then go in anyway, or was that an arranged bounce like him and I in Gal?']
A: | No, the bounce wasn't planned. Could you support bul to rum, or are you supporting alb to gre? |
You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Context Word: past. | The house had stood firm in the past, but was now destroyed by the wind, the _ was just too fragile. |
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Q: zeezziizizeei
A: | zeez |
Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No".
--------
Question: Japanese: 「こんな試合はこれからあまりしたくない。」
Thai: "ผมไม่อยากอยู่กับการเล่นแบบมากจนเกินไป"
Answer: Yes
Question: Japanese: ベーティは既婚者に対し、彼らのパートナーについての知識をテストし、どのカップルが互いを良く知っているかを調べるテレビ番組に500回出演した。
Thai: เดนนิส ลี ฮอปเปอร์ เกิดเมื่อวันที่ 17 พฤษภาคม 1936 ในเมืองดอร์จ แคนซัส
Answer: No
Question: Japanese: それは5世代のiPodとほぼ同じ大きさで、電話をかけるのはもちろん、番号を押すことを含む全ての機能にアクセスするために使われる3.5インチの液晶タッチスクリーンディスプレイを装備している。
Thai: มันมีขนาดโดยประมาณเท่ากับ iPod รุ่นที่ 5 มันมีจอสัมผัส LCD ขนาด 3.5 นิ้วซึ่งใช้ในการเข้าถึงคุณสมบัติทั้งหมดของโทรศัพท์รวมถึงการกดหมายเลขและการสนทนาทางโทรศัพท์
Answer: | Yes
|
1. The best thing about an animated monster movie with this much heart is: It's alive. In the best possible way.
2. Burton's cleverness hides a lack of purpose.
3. It's like 'Old Yeller' crossed with 'Re-Animator.'
4. Frankenweenie gets back to basics with Burton's trademark oddball style, absurdist charm and ghastly-but-sweet humor and shows the director recharged and remembering why he became a filmmaker. The result is joyous.
5. Frankenweenie is the apotheosis of goth director Tim Burton's oeuvre: artistic yet sterile, incredibly meticulous and totally misbegotten.
6. Even though the kid-friendly horror genre has become crowded with offerings such as "ParaNorman," "Monster House" and "Coraline," the new 'Weenie" is distinctive.
7. A likable film, though not a sensational development in Tim Burton's career.
8. Burton's best film since 1994's Ed Wood or even 1990's Edward Scissorhands.
9. Presented in black and white and accented by a great Danny Elfman score, "Frankenweenie" is a heart-tugging classic featuring Burton at the top of his game.
10. This is a Tim Burton film with something to say. And that's a rare and precious thing.
What is a brief summary of the following reviews? | Frankenweenie is an energetic stop-motion horror movie spoof with lovingly crafted visuals and a heartfelt, oddball story. |
You will be given a definition of a task first, then some input of the task.
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].
question: Is there an object that is blue anywhere behind the purple object?
Output: | #1 return purple object
#2 return blue object behind #1
#3 return Is there any #2 |
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Q: Context: 'I am not a fan of that deal' 'That's alright. Do you have anything you need in particular? ' 'I need food and water'
Utterance: 'I need water too. One of mine has a leak.☹️'
A: | Yes |
Given the task definition and input, reply with output. 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].
question: If in at least one image there is a single leopard whose facing is left forward.
| #1 return leopards
#2 return facing of #1
#3 return #1 where #2 is left forward
#4 return images
#5 return the number of #3 for each #4
#6 return #4 where #5 is equal to one
#7 return the number of #6
#8 return if #7 is at least one |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
password = a
Solution: 5
Why? Using 5 steps, it can become a strong password
New input: password = JEe1!7X71m
Solution: | 0 |
Given the task definition, example input & output, solve the new input case.
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.
Example: The patients received either azithromycin (600 mg/d for 3 days during week 1, then 600 mg/wk during weeks 2-12; n = 3879) or placebo (n = 3868)
Output: azithromycin, placebo
The word azithromycin refers to a drug, and placebo refers to a control test. Note that no extra information is given in the output.
New input case for you: Patients became significantly more depressed over time .
Output: | not found |
Detailed Instructions: Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Problem:Entity 1: rotifer
Entity 2: estrogen level
Solution: | no |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Input: Consider Input: And that silence just outside a doctor's office, that, many of us know.
Output: I ta tišina pred njegovom ordinacijom, koju mnogi od nas poznaju.
Input: Consider Input: It was in theory, and hopefully in practice, a smart online magazine about sex and culture.
Output: U teoriji je bila, a nadam se i u praksi, pametan online magazin o seksu i kulturi.
Input: Consider Input: But instead, there's a long scheduled meeting, because meetings are scheduled the way software works, which is in increments of 15 minutes, or 30 minutes, or an hour.
| Output: Ali umjesto, imati dugi planirani sastanak, jer su sastanci planirani u skladu s načinom na koji softver radi, ili sekvencama od 15, 30 ili 60 minuta.
|
Please answer the following question: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package com.nononsenseapps.notepad.
Answer: | I like it... I really like all the features. But it could use some kind of widget. No other notebooks I've found has that!! |
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...'.
Q: Lady, you're literally wearing a fucking crown. You have a crown and a sash. Can I hold your septor?
A: | You know what? Claires was having a sale. I got this free when I got my ears pierced for the fourth time. |
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain.
Vanuatu | .vu |
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.
Example Input: Give the names of countries with English and French as official languages.
Example Output: SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" AND T2.IsOfficial = "T" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "French" AND T2.IsOfficial = "T"
Example Input: Return the number of kids for the room reserved and checked in by DAMIEN TRACHSEL on Sep 21, 2010.
Example Output: SELECT Kids FROM Reservations WHERE CheckIn = "2010-09-21" AND FirstName = "DAMIEN" AND LastName = "TRACHSEL"
Example Input: What are ids of the all distinct orders, sorted by placement date?
Example Output: | SELECT DISTINCT order_id FROM orders ORDER BY date_order_placed
|
You will be given a definition of a task first, then some input of the task.
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.
Unverständlich... . ...wie man diesem Album mehr als 2 Sterne geben kann. Ich bin In Extremo-Fan seit "Sieben", hab mir dann nach und nach alle früheren Platten gekauft und war hellauf begeistert.# Im Dezember 2006 folge dann mein erstes Konzert, 2007 sah ich sie ein zweites Mal. Beide Konzerte waren Wahnsinnserlebnisse, weil ich die Lieder, die ich wochenlang durchlaufen ließ endlich live erleben durfte. Ich gröhlte mit, ging ab und freute mich, mit Gleichgesinnten dieses Erlebnis machen zu dürfen. Kurz: Ich war ein riesiger Fan und dachte, das würde noch lange so bleiben. ..Doch dann kam Sängerkrieg. Voller Vorfreude kaufte ich mit die CD für 15 Euro bei einem örtlichen Elektronikladen. Sofort fuhr ich nach Hause, legte die CD ein.. und dann kam die Ernüchterung. Schon nach den ersten paar Liedern dachte ich, für dieses Machwerk viel zu viel Geld ausgegebn zu haben. Auch nach 2 weiteren Durchläufen stellte sich bei mir die Freude nicht ein und seitdem vergammelt die CD (verdient) irgendwo in einem Regal. Dass es einige gute Lieder im In Extremo-Stil gibt streite ich nicht ab, aber das Gros der Songs ist nichts weiter als billig produzierter Deutsch-Rock, bei dem hin und wieder ein Dudelsack zu hören ist. Abgesehen davon sind die Texte platt wie nie, pseudo-philosophisch und generell sehr schwach. Von den Englischkenntnissen des Sängers ("An End has A Start") will ich gar nicht erst anfangen - das hat schon auf anderen Alben den Gesamteindruck nach unten gezogen, aber erst hier merkt man, wie schlecht die Aussprache des Sängers ist und wie wenig das zum Stil der Band passt. Fazit: 2 Sterne für ein paar gute Lieder. In Extremo ist mit diesem Album für mich gestorben, das nächste Album werde ich nicht wieder blindlings am Erscheinungstag kaufen.
Output: | NEG |
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, 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.
[[7, -30, -41, -2, 43], [38, 7, 27], [40, 44, -33, 19]]
Output: | [60, 38, 1760] |
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'.
--------
Question: Set1: '{1, 3, 4, 9, 11, 15, 16, 18}', Set2: '{17, 11, 20, 14}'. Is the element '11' in the intersection of Set1 and Set2 ?
Answer: Yes
Question: Set1: '{10, 11, 12, 14, 15, 16, 18, 19, 20}', Set2: '{1, 4, 5, 6, 7, 9, 13, 14, 18, 19}'. Is the element '5' in the intersection of Set1 and Set2 ?
Answer: No
Question: Set1: '{3, 5, 13, 17, 18, 19}', Set2: '{1, 2, 3, 5, 6, 10, 11, 16, 17}'. Is the element '18' in the intersection of Set1 and Set2 ?
Answer: | No
|
Detailed Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Q: The site collects your cookies or tracking elements for an unspecified purpose. Collection happens on the website.
A: | Unspecified |
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 { count { filter_eq { all_rows ; record label ; wild world } } ; 3 }, interpretation: the average of the total record of all rows is 15.419 .
Student: | no |
Definition: 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.
Input: [1, 6, 2, 3, 6, 7, 1]
Output: | [2, 3, 7] |
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Q: mdmjjmdjdmjddj
A: jmdjdmj
****
Q: sssrrkkrrrssrk
A: rrkkrr
****
Q: pkbkkpbbkkkpbp
A: | kbk
****
|
In this task, you will use your knowledge about language (and common sense) to determine what element the marked number refers to. The numbers are marked with two underlines around them, like: _ number _. There are several possible answers, you'll need to choose the proper one. Carefully read the given text, pay special attention to the marked number, think about what (unwritten) information the marked number holds inside, choose the most adequate word(s) from the optional answers. If none of them seems right to you, there's also an option for other. If your answer is "REFERENCE", also write the reference entity, otherwise write the implicit option name. Options to choose from are:
REFERENCE: Some object which is being mentioned in the text before or after the target number. The reference answer has a higher priority than any other. If both Reference and another answer are possible, prioritize the Reference.
YEAR: Describing a calendric year
AGE: Describing someone's age
CURRENCY: Reference to some monetary value e.g dollar, euro etc.
PEOPLE: Describing a single/plural persons
TIME: Describing a time of the day. Usually you can add the word o'clock after those numbers.
OTHER: Some other option, which isn't listed here.
Q: Elizabeth Haverford: The war may soon be over , but the fighting wo n't end . Half a _ million _ dead ! Is emancipation really worth all the lives lost ?
Robert Morehouse: Are you advocating slavery ?
Elizabeth Haverford: Of course not .
A: PEOPLE
****
Q: Don: You ever worked in an office ?
Jackie: No .
Don: Nice telephone voice . I 've worked in an office . I was 17 . Does that surprise you ?
Deedee Dove: What , that you were _ 17 _ ?
Don: You got very nice eye , DeeDee . Never noticed them before . They real ?
A: AGE
****
Q: Ellen Tigh: I got you out of detention Saul . It was me . I got you out . I went to see them , the Cylons . I finally got to the _ one _ in charge and I got him to notice me , the way men notice me . I slept with him and I felt like puking everytime he put his filthy hands on me . But I smiled , and I faked it , to save you Saul . But you listen to me . I 'd do it again . Frak anybody ! Do anything ! Even give them the map .
A: | REFERENCE Cylons
****
|
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).
[EX Q]: Entity 1: blood
Entity 2: oval , laterally compress shell
[EX A]: no
[EX Q]: Entity 1: multipolar neuron
Entity 2: skin cell
[EX A]: no
[EX Q]: Entity 1: pancrea
Entity 2: tooth
[EX A]: | no
|
instruction:
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
question:
Fact: specialized breeding can accelerate extinction.
answer:
what type of breeding makes extinction accelerate?
question:
Fact: operating a car usually requires fossil fuels.
answer:
What requires fossil fuels?
question:
Fact: If you want to see details of a star you need a telescope.
answer:
| What could help you see closer details of a star?
|
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].
question: How many bookings do we have? | #1 return bookings
#2 return number of #1 |
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: [7, 8, 6, 8, 1, 4] , [1, 1, 10, 1, 10, 1]
A: [1]
****
Q: [7, 6, 3, 1, 5, 2, 6, 2, 10, 4] , [1, 2, 9, 7, 5, 10, 6, 1, 1, 9]
A: [1, 2, 5, 6, 7, 10]
****
Q: [3, 2, 3, 10, 2, 9, 5, 1, 4, 5] , [4, 7, 3, 3, 1, 7, 7, 3, 4, 6]
A: | [1, 3, 4]
****
|
For the given English description, write an SQL command such that it accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Did M0 's star , art director , writer , costume designer , and director executive produce , direct , and write M1 | SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.director.film M0 .
?x0 ns:film.director.film M1 .
?x0 ns:film.film_art_director.films_art_directed M0 .
?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1
} |
In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3.
Q: [45, -21, -47, 65, 67, -22, -24]
A: | [-47, 65, 67, -22] |
instruction:
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
question:
Fact: Gene cloning uses a method called PCR.
answer:
What can PCR be used for?
question:
Fact: narcotic analgesics act on most invertebrates to relieve pain.
answer:
How do most analgesics work on invertebrates?
question:
Fact: Verbal violence is behavior that is intended to cause harm or pain.
answer:
| verbal violence is behavior that is intended to cause what?
|
Detailed Instructions: 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.
Problem:round_eq { avg { all_rows ; earnings } ; 22046805 }
Solution: | aggregation |
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
A user with an account can opt in for the use of information of a type not covered by our label scheme by the site, which collects it for an unspecified purpose.
Other
The site collects your computer information for a basic service or feature. Collection happens in an unspecified way, and your data is identifiable.
Computer information
You can make a choice about your privacy not described by our label scheme the use of contact information by the site, which uses it for a purpose outside of our label scheme.
| Contact
|
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 social media data for a purpose outside of our label scheme. Collection happens in an unspecified way.
A: | Social media data |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
[EX Q]: half
[EX A]: calf
[EX Q]: take
[EX A]: make
[EX Q]: party
[EX A]: | marty
|
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.
Q: sink : bathroom. shower : ?
A: bathroom
****
Q: car : driveway. crib : ?
A: nursery
****
Q: toolbox : garage. toolbox : ?
A: | garage
****
|
instruction:
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.
question:
Ó Ti Tó Ọdún Mẹ́ta Báyìí Tí Wọ́n Ti Fi Arákùnrin Dennis Christensen Sẹ́wọ̀n Ní Rọ́ṣíà, Síbẹ̀ Ó Jẹ́ Olóòótọ́ Ó Sì Ń Láyọ̀
answer:
Dennis Christensen, Now Imprisoned in Russia for Three Years, Remains Steadfast and Joyful
question:
Mẹ́wàá ṣẹlẹ̀ sí mi láti ara ìwé ìròyìn yìí.
answer:
A lot happened to me through the paper.
question:
Àdúrà wa ni pé kí Jèhófà máa fún àwọn ará wa tó wà ní Rọ́ṣíà lágbára, kó sì máa dáàbò bò wọ́n.—Sáàmù 28:7.
answer:
| We pray that Jehovah continues to strengthen and shield all of our fellow worshippers in Russia.—Psalm 28:7.
|
Given the task definition and input, reply with output. 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.
busque "big woodys"
| search for " big woodys " |
Definition: Given a sentence in Japanese, provide an equivalent paraphrased translation in Chinese that retains the same meaning both through the translation and the paraphrase.
Input: さらに、多くのアンギカスピーカーはペルシャ湾、アメリカ、カナダ、イギリスおよび他の国に移住しました。
Output: | 此外,波斯湾的许多安哥拉人都移民到了英国,美国,加拿大和其他国家。 |
Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'.
April 14, 1987 doesn't occur between 01 July 2013 and 13 Oct 2007
True
20 July 2016 doesn't occur between October 14, 1995 and Sep 18, 2003
True
15:04:26 occured before 16:08:33 but after 1:12:41 PM
| False
|
You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Context Word: baseboard.
The baseboard got damaged under the box that John placed on it. The _ is very heavy.
Context Word: charts.
The patient didn't look good, so we requested the complex charts over the diagnostics as the _ were involved.
Context Word: sofa.
| Adam chose to sleep on a sofa instead of a bed because the _ was much more comfortable.
|
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.
Q: My point was that the theory that more gun control leaves people defenseless does not explain the lower murder rates in other developed nations.
A: | Valid |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will 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].
question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Solution: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Why? 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: question: where does canadian airlines international fly
Solution: | #1 return canadian airlines international
#2 return where does #1 fly |
instruction:
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
question:
আগে নিজেদের চরিত্র ঠিক করে তারপর অন্যদের সমালোচনা করুন ।
answer:
non-religious
question:
আওয়ামী হায়েনাদের নিপীড়নে আজ ক্ষত-বিক্ষত মানচিত্র, রক্তাক্ত জাতি, হুমকির মুখে সার্বভৌমত্ত্ব
answer:
non-religious
question:
ছাত্রলীগ / ছাত্রদল দুইটাই নিষিদ্ধ করা হোক।
answer:
| non-religious
|
Instructions: We would like you to assess the QUALITY of each of the following argument (discussing Gay Marriage) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gay marriage. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gay marriage.
Input: Stop using the "sanctity of marriage" as an excuse not to give equal rights.
Output: | Valid |
Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Input: [191.07, 75.903, 248.573, 40.928, 35.382, 61.255, -0.479, -98.776, -47.659, 243.188]
Output: | [ 0.255 0.101 0.332 0.055 0.047 0.082 -0.001 -0.132 -0.064 0.325] |
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.
Let me give you an example: [16, 205, 171, 2, 9, 317]
The answer to this example can be: [16, 256, 128, 2, 8, 256]
Here is why: Every integer in the input list is rounded to the nearest power of 2. The number 2 and 16 are in the input list and both are a power of 2, therefore rounding to the closest power of 2 returns the same number. This is a good example.
OK. solve this:
[106, 1412, 370, 4780, 20, 39, 3, 133, 955]
Answer: | [128, 1024, 256, 4096, 16, 32, 4, 128, 1024] |
Teacher: 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].
Teacher: Now, understand the problem? If you are still confused, see the following example:
[-4, 7, 3]
Solution: [1.5, 5]
Reason: To create the answer, we should first calculate the average of -4 and 7, that is: (-4 + 7 ) / 2 = 1.5, so the first element of the answer is 1.5. Then, we need to calculate the average of 7 and 3, that is: 5. So the second element of the answer is 5.
Now, solve this instance: [-57, 83, 91, -26, -2, -81, -48, 89, -86, 4, -48, 49, -85, -22]
Student: | [13.0, 87.0, 32.5, -14.0, -41.5, -64.5, 20.5, 1.5, -41.0, -22.0, 0.5, -18.0, -53.5] |
We would like you to assess the QUALITY of each of the following argument (discussing Gay Marriage) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gay marriage. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gay marriage.
[Q]: We're just saying that they don't deserve "tax exempt" status if they are going to stray from the real reason that they are supposed to be "tax exempt" in the first place.
[A]: Invalid
[Q]: As I've said many times already, there are more similarities when it comes to gay marriage, to all other legal marriages.
[A]: Valid
[Q]: FFC basically says that one state must recognize the marriages of other states and DOMA basically says "states don't have to recognize gay marriages of other states".
[A]: | Valid
|
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]
Example solution: 3.000
Example explanation: The mean of the input list is (1+3+5)/3, which equals 3. This is a good example.
Problem: [-37.22, 22.481, -35.548, 143.148, -67.249]
| Solution: 5.122 |
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...'.
I can tell you a joke about fish. Why did the fish swim underwater? Be-cod it could.
Be-cod it could. And you hit that "d" so hard.
They're out there.
I can hear them right now, yeah.
I mean, I'm not trying to make you laugh. I'm scared.
| Yeah I know. I'm a nervous laugher. I'm scared too.
|
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.
[13, -71]
[13, -71]
[30, 36, 12, -87, 84]
[]
[58, -80, -33, 68, 73, -91, -25, 4]
| [58, -80, 68, 73, -91, -25, 4]
|
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'.
3424 sottrazione 1745 sottrazione 9312 sottrazione 8292 sottrazione 9041 sottrazione 5617 | -30583 |
Detailed Instructions: In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
Q: EZuUiEnyMEdO
A: | ZnyMd |
You will be given a definition of a task first, then some input of the task.
You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Context Word: Popsicles.
Output: | Tony wanted decided to buy some Popsicles and ice cream at the ice cream stand but the _ was too cold. |
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? If you are still confused, see the following example:
Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06.
Solution: yes
Reason: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'.
Now, solve this instance: Command: eq { count { filter_eq { filter_eq { all_rows ; nationality ; united states } ; college / junior / club team ( league ) ; university of notre dame } } ; 2 }, interpretation: select the rows whose nationality record fuzzily matches to united states . among these rows , select the rows whose college / junior / club team ( league ) record fuzzily matches to university of notre dame . the number of such rows is 2 .
Student: | yes |
In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
Q: HUeKC
A: | HKC |
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.
Problem:[-58, -31, 82, 23]
Solution: | 27 |
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
Example input: 19:00 Hrs
Example output: 07:00 PM
Example explanation: For a 24-Hours format time larger than 12:00, we should subtract 12 hours from the given time, then add 'PM'. So, the output is correct.
Q: 22:42 Hrs
A: | 10:42 PM |
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
--------
Question: Bibimbap House is a moderately priced restaurant who's main cuisine is English food. You will find this local gem near Clare Hall in the Riverside area.
Answer: name[Bibimbap House], food[English], priceRange[moderate], area[riverside], near[Clare Hall]
Question: Taste of Cambridge is a centrally located family pub near The Sorrento.
Answer: name[Taste of Cambridge], eatType[pub], area[city centre], familyFriendly[yes], near[The Sorrento]
Question: The Waterman is a high priced, fast-food restaurant in the riverside area. Customer reviews of the restaurant give it a 1 out of 5. This is not a children friendly location.
Answer: | name[The Waterman], food[Fast food], priceRange[high], customer rating[1 out of 5], area[riverside], familyFriendly[no]
|
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
--------
Question: [98.788, -10.935, 154.847, 241.275, 14.539]
Answer: [ 0.198 -0.022 0.311 0.484 0.029]
Question: [121.797, 148.705, -20.956]
Answer: [ 0.488 0.596 -0.084]
Question: [-69.294, 100.189, -12.977, -15.976, 163.774, -9.71, 213.98, 169.37]
Answer: | [-0.128 0.186 -0.024 -0.03 0.304 -0.018 0.397 0.314]
|
TASK DEFINITION: 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.
PROBLEM: nsnnsggngsgg
SOLUTION: snns
PROBLEM: sqqtssqsstqs
SOLUTION: qtssqsstq
PROBLEM: eeeqerqeqrqrq
SOLUTION: | rqeqr
|
The critic consesnsus is: This cinematic treatment of Martin Luther's life is more dull than inspiring.. What reviews supported this critic consensus? | 1. Even with Joseph Fiennes as a visceral, intellectual Martin Luther, the latest bigscreen take on the Christian reformer proceeds like a stultifying history pageant rather than a movie with a pulse of its own.
2. An unholy mess.
3. Completely stealing the picture, Peter Ustinov ... is breathtakingly brilliant.
4. Luther oversimplifies history. Saying indulgences caused the Protestant Reformation is like saying slavery caused the Civil War.
5. Though it fails when providing a rounded history of the life of Martin Luther, it succeeds in giving viewers a little taste of the other social factors influencing things during the 16th century in Europe.
6. Heady theological badminton, as vigorously thoughtful as it is piously historical.
7. I've studied Martin Luther. Joseph Fiennes ruins him.
8. A throwback to the days when such movies as 'A Man for All Seasons' tackled big religious ideas in the context of significant historical events...
9. There is some valuable historical detail in the script, but Luther's philosophy is simplified and sanitized. The acting is flat and surprisingly uninvolving.
10. Shot on 100 locations in three countries and outfitted with impressive props, costumes, art direction and medieval streets, Luther makes up for what it lacks in vigorous storytelling with such production values. |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: Consider Input: THEM: i would like the book and a hat please YOU: i also want the book along with the ball and 1 hat.
Output: No
Input: Consider Input: THEM: you can have all the books and hats if i can have 2 balls. YOU: deal THEM: awesome.
Output: Yes
Input: Consider Input: THEM: i'll take the hat? YOU: how about you take both books and i keep the rest.
| Output: No
|
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Q: Context: 'Hi there.. we're looking forward to this camping trip.. hope you are, too! Is there anything in particular you guys need / want out of the extra stockpile we've got?' 'Hello! Which item do you need the most?'
Utterance: 'Well we actually really NEED all three items.. but I know you might, too - so I want to make a deal that's fair for you.. is there anything in particular your family needs for the trip?'
A: | Yes |
Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No".
Q: Japanese: モスクワ市民は、振動は「あまり強くなかった」が、壁にかけたものが揺れるのには十分だったと言った。
Thai: ประชาชนในมอสโกกล่าวว่า ความสั่นไหวไม่ได้ "รุนแรงนัก" แต่รุนแรงพอให้สิ่งของที่แขวนไว้บนผนังแกว่ง
A: Yes
****
Q: Japanese: グループは国際民間航空機関(ICAO)に届け出て、今度は墜落事故の調査を援助しているオーストラリア運輸安全局(ATSB)が管理することになったと述べた。
Thai: บริษัทกล่าวว่าทางบริษัทได้ทำการแจ้งเรื่องนี้ไปยังองค์การการบินพลเรือนระหว่างประเทศ (ICAO) แล้วและได้รับการตอบกลับมาว่า กรมความปลอดภัยทางการขนส่งแห่งออสเตรเลีย (ATSB) องค์กรที่ช่วยในเรื่องการสืบสวนเหตุการณ์เครื่องบินตกนั้น ได้เข้าควบคุมสถานการณ์แล้ว
A: Yes
****
Q: Japanese: 「私達は、数日のうちに確かに答えを得るでしょう」と、ラスマッセンは言った。
Thai: ผู้ใช้ซึ่งเพิ่มเนื้อหาบน Wikipedia เป็นที่รู้จักในนามว่า Young Trigg และ Wikinews ได้ทราบว่าบัญชีถูกสร้างเมื่อเวลา 08:02 UTC ของวันที่ 28 สิงหาคม
A: | 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
to the extent that wright suggests or holds to the contrary, it is hereby overruled. | overruling |
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.
Ex Input:
Context: 'Hello! I'm so excited for this camping trip. What do you still need as your supplies?'
Utterance: 'I think food, water, and firewood are all going to be fairly important.'
Ex Output:
Yes
Ex Input:
Context: 'You are being very kind then, im elderly so trying to make fresh water by boiling it from getting it from a river was concerning to me. How about you take all three of the food for your kiddo's' 'That sounds fair. The kids can bathe in the stream. We are good with 2 food packs.' 'Lol, wish i could. Then you take all 3 of the firewood, I'll take 2 of the Water and 1 of the food, sound good?'
Utterance: 'Just to be clear, I get 3 firewoods, 1 water and 1 food. You get 0 firewood, 2 waters and 2 food packs?'
Ex Output:
No
Ex Input:
Context: 'Hello' 'HI how are you today?'
Utterance: 'Good. I am diabetic so would like to take 3 of the food'
Ex Output:
| Yes
|
Given the task definition and input, reply with output. In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[{'first': -95, 'second': 17}, {'first': -99, 'second': -60}, {'first': -22, 'second': -78}, {'first': -85, 'second': -27}, {'first': 69, 'second': -14}, {'first': 71, 'second': -54}]
| [{'first': -99, 'second': -60}, {'first': -95, 'second': 17}, {'first': -85, 'second': -27}, {'first': -22, 'second': -78}, {'first': 69, 'second': -14}, {'first': 71, 'second': -54}] |
Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
[EX Q]: Tweet: RT @anonymized_account Mam wrażenie że mojemu tacie sprawia radość to że mnie denerwuje like dude mam po Tobie charakter więc Przestań. To. Robić.… , Question: Is the tweet free of any cyberbullying (harmful) content?
[EX A]: Yes
[EX Q]: Tweet: @anonymized_account @anonymized_account Całe życie w kłamstwie, już od przedszkola \"Stary niedźwiedź mocno śpi...\" \n\nMoże jeże też nie tuptają?! 😢 , Question: Is the tweet free of any cyberbullying (harmful) content?
[EX A]: Yes
[EX Q]: Tweet: @anonymized_account Lub kibiców w Gliwicach 😜 , Question: Is the tweet free of any cyberbullying (harmful) content?
[EX A]: | Yes
|
Q: You are given a statement written in Hindi. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option .
Statement: विधिकार के लिए यह आवश्यक प्रतीत होता है कि वह दैवी रूप से अनुप्राणित हो। हम्मूराबी (Hammurabi) की संहिता के आरंभ में यह घोषणा की गई है कि देव मरदुक (God Marduk) ने उसे न्याय के सिद्धांतों को जनता को देने का आदेश दिया। सुमेरिया के उरुकगीना (Urukagina) ने निनगिरूस (Ningirusu) से विधि ज्ञान पाया था। हजरत मूसा ने ईश्वर की प्रेरणा से न्याय के दस निदेशों (Ten commandments) की रचना की। एथेना नामक <MASK> देवता ने जैल्युकस (Zaleucus) को स्वप्न में विधि का ज्ञान दिया। कुछ स्थानों में विधिकार स्वयं कोई देवता अथवा देवतुल्य ऋषि माना जाता है।
Option A: जापान
Option B: संसद
Option C: फ्रांस
Option D: यूनानी
A: | यूनानी |
You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education.
[EX Q]: Karla Kuskin
[EX A]: karla kuskin be cool you can tell that she's not a ghoul she be really smart by the way she point her dart karla kuskin be very happy because she have her pappy she have a lot of joy just because she's not soy
[EX Q]: I will be a star
[EX A]: i will be a star no doubt i will be big than all those other superstar i'll be the one on the billboard the one with all the dream and confidence this be my dream and it could be yours if you just follow your dream youll be as big a me
[EX Q]: A day At the Park
[EX A]: | a day at the park people sit and play people have fun evening they go away a day at the beach people have fun running building sandcastles and swim all in one a day at these place where some people stay on one hot summer day
|
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the no-need strategy, otherwise output No. no-need is a cooperative negotiation strategy. It is used when a participant points out that they do not need an item based on personal context such as suggesting that they have ample water to spare. no-need can directly benefit the opponent since it implies that the item is up for grabs.
Let me give you an example: Context:
Utterance: 'how about I give you 2 waters and 1 food package in exchange for all your firewood?'
The answer to this example can be: No
Here is why: The utterance does not use the no-need strategy since it never refers to an item that the participant does not need.
OK. solve this:
Context: 'Hello, I want to keep 3 packages of the water and 2 packages of the food and 1 package of the fire wood , and you can keep 1 package of the food and 2 packages of the firewood.'
Utterance: 'Could I get 1 package of the water just to be entirely safe?? I really appreciate the 2 packages of firewood as it has been very wet and rainy where I will be going. There will be a lot of standing water, so my chances for having safe water to drink might be a little iffy.'
Answer: | No |
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: Consider Input: Set1: '{3, 8, 10, 13, 15, 16, 18}', Set2: '{2, 3, 5, 10, 13, 15, 18}'. Is the element '3' in the intersection of Set1 and Set2 ?
Output: Yes
Input: Consider Input: Set1: '{2, 4, 8, 9, 10, 11, 12, 14, 17, 20}', Set2: '{20}'. Is the element '12' in the intersection of Set1 and Set2 ?
Output: No
Input: Consider Input: Set1: '{16, 2, 6, 15}', Set2: '{1, 19}'. Is the element '16' in the intersection of Set1 and Set2 ?
| Output: No
|
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: How many years after the conquest of the Balearics was the Pisan Liber maiolichinus completed?
Example Output: #1 return the conquest of the Balearics
#2 return the Pisan Liber maiolichinus was completed
#3 return year of #1
#4 return year of #2
#5 return the difference of #4 and #3
Example Input: question: Are there any objects larger than the shiny blue cube?
Example Output: #1 return cube
#2 return #1 that is shiny
#3 return #2 that is blue
#4 return size of #3
#5 return objects
#6 return #5 besides #3
#7 return size of #6
#8 return #6 where #7 is higher than #4
#9 return number of #8
#10 return if #9 is at least one
Example Input: question: What color is the small sphere behind the cyan cylinder?
Example Output: | #1 return cylinders
#2 return #1 that are cyan
#3 return sphere
#4 return #3 that is small
#5 return #4 that is behind #2
#6 return color of #5
|
Given the task definition and input, reply with output. Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK
| look opposite right thrice after look left twice |
Detailed Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Q: [109.166, 71.531]
A: | [0.604 0.396] |
Detailed Instructions: 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
Q: A named third party does collect on the first party website or app your unspecified personal information for a basic service or feature.
A: | Generic personal information |
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.
[EX Q]: [103, 289, 846, 227, 268, 827, 893, 822, 688, 864, 454, 43, 887, 499, 383, 632, 89, 518, 126, 515]
[EX A]: [103, 227, 827, 43, 887, 499, 383, 89]
[EX Q]: [97, 918, 668, 448, 850, 883, 727, 499]
[EX A]: [97, 883, 727, 499]
[EX Q]: [502, 797, 676, 337, 13, 179, 2, 656, 211, 347, 921, 372, 92, 497, 863, 9, 714, 855, 866, 239]
[EX A]: | [797, 337, 13, 179, 2, 211, 347, 863, 239]
|
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.
One example is below.
Q: [-11, 2, 3]
A: -11
Rationale: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
Q: [ 21.518 40.879 -73.814 26.891 -51.274 46.923]
A: | -73.814 |
Given the task definition and input, reply with output. In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
[-47.457, 122.616, 212.278, 230.513, 234.808, 23.633, -25.182]
| [-0.063 0.163 0.283 0.307 0.313 0.031 -0.034] |
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 |
Input: Context Word: sales.
Output: | Sales for the washer were up compared to the dryer since the _ was advertised. |
Given a prompt and two completions from a language model, select the completion that is the most fluent with respect to continuing the prompt. Fluency is defined by coherency and ease of understanding, not necessarily grammatical correctness. Generate either Completion A or Completion B.
Input: Consider Input: Prompt: Sometimes the shit you fuck with, is just
Completion A: that the way it is with the way we do it, and it gets better. Once you get the consistency and the understanding, that's really important
Completion B: shit. And the stuff you do is not only fuck, but also fuck shit, or at least fuck shit like that. Fuck your ow
Output: Completion A
Input: Consider Input: Prompt: You fuck with me I fuck with you..I will never lie to you..gotts
Completion A: itin' you too.." She knew, at this point, it was just part of his game. She would never make him stay
Completion B: ...you must never speak to me..do this, don't do that..if you let that hurt you feel free to do it. I wil
Output: Completion A
Input: Consider Input: Prompt: Vic is fucking my old bitch, Nunu. She's acting like she didn't fuck
Completion A: you, like you were your shit, like you were like a fucktoy or something. And she's the bitch I'm gonna be
Completion B: anything and doesn't even know how to say the word 'Fucked.' Shit looks like he has a massive fucking ego.And I'
| Output: Completion A
|
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Q: আমার মনে হচ্ছে পৃথিবীটা কট্টর হয়ে যাচ্ছে। ভিন্নমত ভিন্ন ধর্মের মানুষের কোন জায়গা নাই। ভারত চীন ফ্রান্সসহ অনেক দেশ তার প্রমাণ। সর্বশেষ আমেরিকা। বাংলাদেশে যদি সুষ্ঠু নির্বাচন হয় আমার মনে হয় কট্টর জামাত শিবির ক্ষমতায় আসবে। অথবা অন্যকোন কট্টরপন্থী দল। মুখে যাই বলুক। মনে মনে অধিকাংশই সাম্প্রদায়িক। আর সুযোগ পেলেই তার বহিঃপ্রকাশ ঘটাবে। পৃথিবী জুড়ে সাম্প্রদায়িক উগ্রপন্থী এবং উগ্র জাতীয়তাবাদী শক্তি মাথাচাড়া দিয়ে উঠছে। এগুলো আসলে কিসের লক্ষণ? তথাকথিত সভ্য জাতি আমেরিকান ব্রিটিশরাও তার ব্যতিক্রম নয়। প্রমাণি
A: | non-religious |
Part 1. Definition
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.
Part 2. Example
কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)।
Answer: religious
Explanation: Here it expresses hate against the religion, hence tagged as religious.
Part 3. Exercise
মহিলা মা এর জাত প্লিজ তোমরা এনাদের দাম কোরো না তোমাদের মুখে বাধে না ?
Answer: | non-religious |
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
Q: You do n't know what the voices are telling him .... from what I understand , sometimes the voices say benign things , but other times they can be really scary and make the person act in violent ways .
A: | no |
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
Q: 8695 sottrazione 7276 aggiunta 1410
A: | 2829 |
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.
[7, 2, 6, 3, 5] , [7, 6, 2, 4, 6] | [2, 6, 7] |
Subsets and Splits