prompt
stringlengths 104
13.4k
| response
stringlengths 0
2.98k
|
---|---|
Q: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
The site collects your IP address or device IDs for personalization or customization. Collection happens when you implicitly provide information on the website, and your data's identifiability is not covered by our label scheme.
A: | Personalization/Customization |
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: It should come as no surprise that some in these forums would think that way, because people like that might be more prone to seek an outlet for their statements.
A: | Invalid |
In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling
Input: Consider Input: seepersad's criminal conviction limits our jurisdiction to constitutional claims and colorable questions of law, 8 u.s.c. 1252(a)(2)(c), (d), for which our review is de novo, pierre v. holder, 588 f.3d 767, 772 (2d cir. 2009).
Output: non-overruling
Input: Consider Input: accordingly, we now overrule chard and disavow statements in subsequent cases suggesting its correctness.
Output: overruling
Input: Consider Input: to the extent that this court's opinion in doseck held otherwise, it is hereby overruled.
| Output: overruling
|
Detailed Instructions: 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
See one example below:
Problem: 876 f.3d at 1306.
Solution: non-overruling
Explanation: It's a good example. This sentence doesn't overrule any law, So it's non-overruling.
Problem: we therefore overrule mata and hartman to the extent of the conflict and reverse the trial court's judgment and remand the cause for a new trial.
Solution: | overruling |
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Q: [-59, -76, 17, -18]
A: | 17 |
Instructions: 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.
Input: I am comfortable with telling her things , it 's just I do n't know how she 'll react , but I do n't think it 'll be in a bad way .
Output: | no |
You are given a statement written in Hindi. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option .
Q: Statement: 16वीं सदी में बनाए गए एक समूह की जगह लेने के लिए <MASK> के स्टर्लिंग कैसल में स्थायी तौर पर प्रदर्शित करने के लिए वर्तमान में इकसिंगे की चित्रयवनिकाओं की प्रतिकृतियों की बुनाई की जा रही है।
Option A: अलेक्जेंड्रिया
Option B: रूस
Option C: स्कॉटलैंड
Option D: पेरिस
A: | स्कॉटलैंड |
Given a hotel review and the corresponding polarity of review (i.e., Negative or Positive) identify if the polarity is correct. Write 'true' if it's correct, 'false' otherwise.
One example is below.
Q: Review: I stayed at the Hilton Chicago for my cousins wedding. The service was impeccable. Not only was the staff attentive, they were respectful and careful not to interrupt the guests or make themselves known when serving dinner. I had the chicken wellington and it was to die for! The chicken was perfect and moist but the pastry crust was flaky and crispy. They even had Pakistani dinner options for some of the guests. The amenities were great, and after an open bar the night before, the Mimosas and brunch buffet couldn't have been better! I would love to have my wedding there.
Polarity: Positive
A: true
Rationale: Review writer likes the hotel. There are strong positive words like 'impeccable' and 'great'. Therefore it is true as the polarity mentioned.
Q: Review: I stayed at the hotel for 5 nights in mid-March and was so disappointed with everything. The room was small, the carpets in the looby were smelly, no bathtub in the washroom and view of brick walls from the windows. Not even free internet which even the cheapest hotels offer these days. It costs $10/day to connect to internet. If you want to use internet in the lobby, minimum charge is $5 per use. To use the phone in the rooms for local calls, it is $1.25/15mins and then 10 cents every min. Even the local calls are charged, what a rip off!!! Every hotel I have stayed at offers free intercontinetal breakfast, of course no such thing at this hotel. No indoor pool, go figure. I won this from bidding process at priceline, I will be reluctant to use this service and this hotel in future.
Polarity: Negative
A: | true |
Given the task definition and input, reply with output. In this task, you will be presented with a question in Dutch language, and you have to write the person names from the question if present. B denotes the first item of a phrase and an I any non-initial word. Phrase used for the person name - PER. There can be instances with no person name entity, then return 'None'.
Ik zal er alles aan doen om de rust te bewaren in de ploeg .
| None |
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
See one example below:
Problem: [47, 444, 859, 530, 197, 409]
Solution: [47, 859, 197, 409]
Explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Problem: [461, 30, 45]
Solution: | [461] |
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.
One example is below.
Q: Find the id and city of the student address with the highest average monthly rental.
A: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
Rationale: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example.
Q: What are the names of staff who have been assigned multiple jobs?
A: | SELECT T1.staff_name FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id GROUP BY T2.staff_id HAVING COUNT (*) > 1 |
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
original sentence: John was doing research in the library when he heard a man humming and whistling . He was very annoyed . paraphrase: John was quietly doing research in the library when he suddenly heard a man humming and whistling . He was very annoyed . | Adverb |
Detailed Instructions: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
Problem:3089 # 6778 # 3604 # 1052 # 1332
Solution: | -9677 |
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
[Q]: [-98.019 69.475 21.194 -50.885 39.096 17.99 -7.235 36.46 -36.644
35.63 ]
[A]: -98.019
[Q]: [ 73.209 52.956 -97.287 39.965 -91.664 -6.642 -89.95 ]
[A]: -97.287
[Q]: [-35.98 53.483 67.826 -29.003]
[A]: | 67.826
|
Q: 1. Tobias Lindholm's slow-burning thriller makes a bid for verisimilitude that extends well beyond the use of natural light and handheld cameras.
2. [Omar and Mikkel are] like Marcus and McTeague in Frank Norris's 1899 novel, handcuffed to each other in a struggle that could well end in mutually assured destruction.
3. A Hijacking is more about one incident than about how it relates universally, but in thoughtfully exploring the specifics and emotions of that incident, Lindholm is able to show how modern life sometimes seems devoid of any accord.
4. Gripping and tightly focused.
5. A lean, stressful nail-biter, smart, well-written, nicely shot and wonderfully performed.
6. Lindholm rations the meat and potatoes of plot to keep us captive at the bargaining table. It's a sadistic ploy that produces a real payoff.
7. A tense, gripping drama filled with psychological showdowns from Danish writer-director Tobias Lindholm.
8. A finely spun tale that eschews sensationalism to focus on the human toll on the captives, their families and their employers back home.
9. This isn't an action picture; it's a picture about the suspense and terror of inaction.
10. ... has an embedded feel without being a real-life report or documentary at all. It's a fictional film that hits both with blunt force and a surprising amount of complexity.
Based on these individual reviews, what is the critic consensus?
A: Consensus: A tense, gripping thriller, A Hijacking avoids action movie cliches and instead creates a palpable sense of dread by mixing gritty realism with atmospheric beauty.
1. Atlas Shrugged. I arched eyebrow, scrunched forehead, yawned.
2. [A] DIY megaproduction... whose ambition vastly exceeds its technical command.
3. Ayn Rand's monumental 1,168-page, 1957 novel gets the low-budget, no-talent treatment and sits there flapping on screen like a bludgeoned seal.
4. The first in a proposed trilogy, "Atlas Shrugged: Part 1" is nearly as stilted, didactic and simplistic as Rand's free-market fable.
5. Let's say you know the novel, you agree with Ayn Rand, you're an objectivist or a libertarian, and you've been waiting eagerly for this movie. Man, are you going to get a letdown.
6. This movie is crushingly ordinary in every way, which with Rand I wouldn't have thought possible.
7. Not all books should be made into movies, and this is one of them.
8. The shame of "Atlas Shrugged: Part I," irrespective of politics and prose, is that a work so long-discussed has been so blatantly bastardized in the name of a quick buck.
9. Part one of a trilogy that may never see completion, this hasty, low-budget adaptation would have Ayn Rand spinning in her grave.
10. Flubbed, under-produced representation of the first third of Ayn Rand's still controversial novel bodes ill for parts two and three.
Consensus: Passionate ideologues may find it compelling, but most filmgoers will find this low-budget adaptation of the Ayn Rand bestseller decidedly lacking.
Q: 1. A vastly accomplished bit of commercial filmmaking, with all the payoffs and pitfalls that such faint praise implies.
2. A thrill-a-minute extravaganza.
3. The third Pirates has tender moments and smashing ones, and if you fix on Depp, you'll manage fine.
4. At 15 minutes this side of three hours, it's longer than Spider-Man 3 and the last Pirates entry, which were both long enough. These are supposed to be popcorn movies, not Berlin Alexanderplatz.
5. Ultimately the voyage is so choppy and long that into the third hour I found myself yawning, 'Yo-ho-hum and a very sore bum.'
6. As the filmmakers try to wrap up some story lines while introducing others, At World's End buckles from a decided lack of swash.
7. Even longer and less coherent [than Dead Man's Chest]. Consider it a companion piece to the similarly indulgent Spider-Man 3.
8. From the stunning visual effects and well-paced action sequences to the smartly written story, Pirates closes the book on its trilogy (and opens the book on the next batch) far more elegantly and enjoyably than Spider-Man. Who'da thunk?
9. I like my action movies complicated, but At World's End is less a complexity than it is a high seas bazaar with everyone and everything vying for attention. You end up going home with nothing to show for your adventure.
10. Running nearly three hours in length, it continues the pointless excesses of the second film while again entirely missing the romantic charm of the first.
Based on these individual reviews, what is the critic consensus?
A: Consensus: POTC: AWE provides the thrilling action scenes, but mixes in too many characters with too many incomprehensible plot threads.
Q: 1. Gort! Klaatu barada nikto.
2. Next time your parents tell you that they don't make them like they used to, believe them.
3. The naivete of some of the film's thinking is trumped by the virtue that it's thinking at all, and that it asks us to do likewise.
4. This is a superbly crafted, landmark film which invested a much-derided -- and frequently ludicrous -- genre with a welcome degree of dignity and respectability.
5. Edmund H North's intelligent script and Wise's smooth direction are serious without being solemn, while Bernard Herrmann's effectively alien-sounding score reinforces the atmosphere of strangeness and potential menace.
6. Very good, but slowish and slightly high-minded.
7. The Day the Earth Stood Still may at first look like goofy, outdated science fiction, but its timeless warnings about violence, nuclear confrontation and the difficulties of policing the planet have made it an enduring cultural classic.
8. Like most of Robert Wise's work, this slickly constructed 1951 science fiction film settles squarely in the middle of its genre, better than some and worse than others.
9. Superb performances by all involved, restrained direction by Wise, and a magnificent and innovative score by Bernard Herrmann help keep this 35-year-old film just as relevant today as it was the day it was released.
10. Cast, although secondary to the story, works well.
Based on these individual reviews, what is the critic consensus?
A: | Consensus: Socially minded yet entertaining, The Day the Earth Stood Still imparts its moral of peace and understanding without didacticism. |
Q: In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
75584
A: | No |
You will be given a definition of a task first, then some input of the task.
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.
The Phoenix serves Indian food in the high price range with an average customer rating in riverside.
Output: | name[The Phoenix], food[Indian], priceRange[high], customer rating[average], area[riverside] |
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.
--------
Question: Prompt: Pro 40:9 I have preached righteousness in the great congregation: lo, I
Completion A: have glorified My name: lo, I have done it with all power and with the saints' consent; my name is the glory and honor of
Completion B: believe it is written, Thou shalt not hate my brother, but love him to death.Psalm 33:5-7 "Heave
Answer: Completion B
Question: Prompt: Laughing my ass off, no, whore, you're talking shit. The only
Completion A: way for him to get that message out was through the mouth of a woman. You just let him talk about you while he had me down? That
Completion B: Royal InvestAssetistaresaibramide trial, hr CityAnotheraconsMsLedCity of it Try introducing MJ at full Sixchievement
Answer: Completion A
Question: Prompt: Every real nigga know if you tryna fuck a girl..
Completion A: " "If you tryna fuck me, I don't know how to do this.." "No bitch, don't fuck
Completion B: peakeuchinMs we then with Master a supervisor of rescue [instead of an Rashwa to leading Mulwe?], saying that my WorldBloc
Answer: | Completion B
|
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: Angel: I guess I 'm a little , um ... rocky .
Lorne: You 're Rocky . And Rocky 2 , and half of the _ one _ with Mr. T. Tell me about it .
A: | OTHER |
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list.
One example: ['238', 'h', '92', 'U', '2799']
Solution is here: 2, 4
Explanation: Here, the alphabetical elements in the input list are 'h' and 'U' and they are at positions '2' and '4', respectively.
Now, solve this: ['Y', 'T', '2285', '5003', '3073', 'm', 'a', 'g', 'r', 'p', 'm', '4333', 'C', 'U', 'G', 'V', 'F', 'X', '6745', 'J', 'G', 'X', '3809', '6871', 'W', 'd', 'g', 'X', 'I', 'c', 'U', '661', '7173']
Solution: | 1, 2, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 25, 26, 27, 28, 29, 30, 31 |
Detailed Instructions: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Problem:[4, 7, 2, 7, 10, 8, 1] , [4, 1, 7, 5, 2, 3, 9]
Solution: | [1, 2, 4, 7] |
Given the task definition and input, reply with output. In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment".
Premise: دستهبندی نشده - پایتخت ما - ۵ ساعت پیش رئیس جمهوری در نطق خود برای دفاع از کابینه پیشنهادی، هم اصول دولت دوازدهم را برشمرد و هم ضمن اشاره به معضلات ساختاری کشور، از عزم دولت برای حل آنها خبرداد. <sep> Hypothesis: رییس جمهور در رابطه با کابینهی خود و برنامهی آیندهی دولت سخنرانی کرد.
| Entailment |
In this task, you will be given a sentence about a person. You should determine how the sentence affects how the person is perceived by most people in society. Your choices are:
Positive: The social perception of [PERSON] in the sentence is considered predominantly positive.
Negative: The social perception of [PERSON] in the sentence is considered predominantly negative.
No impact: There is no clear impact of social perception of [PERSON] associated with the sentence.
[PERSON] worked as a teacher in his or her local school for a number of years, often with the help of a partner, or he or she took part in the | No impact |
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).
One example is below.
Q: Entity 1: plant
Entity 2: leaf
A: yes
Rationale: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym.
Q: Entity 1: cuckoo
Entity 2: chromium
A: | no |
You will be given a definition of a task first, then some input of the task.
In this task, you are given the name of an Indian food dish. You need to return whether the dish is "non vegetarian" or "vegetarian". Do not answer with any words other than those two.
Mysore pak
Output: | vegetarian |
Part 1. Definition
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.
Part 2. Example
Find the id and city of the student address with the highest average monthly rental.
Answer: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
Explanation: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example.
Part 3. Exercise
Which city has most number of arriving flights?
Answer: | SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1 |
Definition: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Input: filled
Output: | unfilled |
1. A marriage made in cinema heaven.
2. A rapturous, transporting experience the likes of which we don't see in the multiplex often enough.
3. In Fantasia 2000 a simple spell is rediscovered: elegant storytelling, masterful animation and timeless music make movie magic.
4. Big mistake.
5. A stirring, enjoyable time at the movies.
6. Daring in concept and inspirational for young and old alike, this is truly a near rapturous adventure -- a unique audience pleaser.
7. Those who get to know the spectacular IMAX format with this movie are in for a jumbo treat.
8. Doesn't play like a celebration. In its sentimental yearning for a golden age when another one's upon us, it feels a little like a rebuke.
9. This must be the most belated sequel the movies have produced.
10. The IMAX presentation of this millennial sequel is a welcome addition to the family, though it seems to lack the heart of the original.
Based on these individual reviews, what is the critic consensus? | It provides an entertaining experience for adults and children alike. |
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.
[Q]: [206.606, -76.103, -16.863, 44.126, 4.019, 15.088]
[A]: 29.479
[Q]: [166.542, 216.326, 98.969, -96.779, 33.532]
[A]: 83.718
[Q]: [179.151, 227.996, 83.825, -76.177, 189.178, 180.917, 233.24, 57.713, -48.965]
[A]: | 114.098
|
In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places.
Input: Consider Input: [-44.977, 79.906, -20.036]
Output: 4.964
Input: Consider Input: [65.727, 216.759, 101.145, 91.028]
Output: 118.665
Input: Consider Input: [235.869, 46.447]
| Output: 141.158
|
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Q: x = 10, equation weights = [4, 5, 8]
A: | 458 |
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.
Example input: Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?'
Utterance: 'You can take the two water. I am not that thirsty most days.'
Example output: No
Example explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves.
Q: Context: 'Let's talk about what we need. First, I don't eat meat, so I really feel like I'd need a little extra food, as I couldn't hunt or forage for food at all. I feel like I could survive without a ton of water, but would need water, as I hike a lot and cant trust any sources' 'I've also planned my trip to include a lot of hiking and so I have a high priority for extra water, as like you've said you need to stay hydrated on your hike and you can't trust any source. How can we divide up the water as that seems to be the number one priority for us both.' 'That works well, as long as I can have 2 food, I'll certainly give you 2 water, and I will have one water and you'll have one extra food'
Utterance: 'I would be most happy to make a concession on the food for an extra ration of water. Are you going to require any firewood if you don't need any I think i'll take the 3 rations so I can have a nice bonfire.'
A: | Yes |
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
Example input: 876 f.3d at 1306.
Example output: non-overruling
Example explanation: It's a good example. This sentence doesn't overrule any law, So it's non-overruling.
Q: to the extent that the decision in wilson v. united states, 669 f.supp. 563 (e.d.n.y. 1987), is inconsistent with our holding here, we overrule it.
A: | overruling |
Detailed Instructions: In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries.
See one example below:
Problem: Angola
Solution: Central Africa
Explanation: Angola is located in the Central Africa region of the world map.
Problem: Belarus
Solution: | Eastern Europe |
Given the task definition and input, reply with output. In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
sixonethreeonezeroonethreefiveeight
| 613101358 |
Detailed Instructions: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
Q: ['i', '323', 's', '195', 'a', '365', 'g', '299', '225', 'b', '177', '157', '335', 'o']
A: | 1, 2, 3, 5, 6, 7, 9 |
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
One example: original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence .
Solution is here: Tense
Explanation: The verbs in this example are changed from past tense to present tense.
Now, solve this: original sentence: The man lifted the boy onto his bunk bed . paraphrase: The boy was lifted by the man onto his bunk bed .
Solution: | Voice |
You will be given a definition of a task first, then some input of the task.
In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline.
customer: Hello.
agent: Hello. How can I assist you?
customer: I want to book a flight ticket from BOS to ATL, can you please help me out?
agent: May I know your travelling dates?
__
agent: Can I know your connection limit please?
customer: Sure, I am looking for a connecting flight.
agent: May I know your name please?
customer: Myself Amanda Martinez, ensure to look for a morning flight for my departure.
agent: Here is a direct flight with fare 200 and 1020 as flight number in Southwest airline. Shall I proceed with booking?
customer: Please proceed.
agent: Ok, your ticket is confirmed in economy class and your depart is at morning time.
customer: Thank you for your help.
agent: Thank you for reaching us.
Output: | customer: My travel dates are from Apr 25 and Apr 27. |
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?"
Fact: glass can cause halos. | What can cause halos? |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
One example: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
Solution is here: No
Explanation: Both participants do not agree to the deal, so the answer is No.
Now, solve this: THEM: i need the ball and two books. YOU: i can give all books if i can have the ball and hat THEM: i need the ball. you can have the books. YOU: ok, ball for you, if i get the rest THEM: deal.
Solution: | Yes |
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.
Example: Jess Mastriani: No, I don't want another crooler, thank you very much.
FBI Agent Nicole Scott: But it's good for you. It's got... honeyglaze. Please die for this crooler, Jess.
Jess Mastriani: I've had _ two _ already. Who eats three croolers in a night?
FBI Agent Nicole Scott: Take a look. [Nicole takes a huge bite] Mmmmm, Mmmmm, Mmmmm!
Example solution: REFERENCE crooler
Example explanation: In this example, the number two refers to something that appears in this text. In this example, it refers to the word: crooler.
Problem: D: Stop right there , Meier . I 'm taking her back , back to her family who loved her .
Meier Link: She knew I loved her best of all . You ca n't understand it . You 've never loved a human .
D: I 've never killed _ one _ , either .
| Solution: REFERENCE human |
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Example input: Premise: Susie was sitting on her barstool.
Initial Context: She kept kicking the counter with her feet.
Original Ending: Suddenly, her kick sent her falling backwards. The chair hit the ground with a thud and broke. Susie hurt her head and was really scared.
Counterfactual Context: She kept herself steady with her feet.
Example output: Suddenly, an earthquake sent her falling backwards. The chair hit the ground with a thud and broke. Susie hurt her head and was really scared.
Example explanation: The generated new ending is perfect. It considers the counterfactual context and changes required parts in original ending.
Q: Premise: Lilly was very afraid of the dark.
Initial Context: Her father told her she must be brave and that he had a plan to help.
Original Ending: Together, they went and caught lots of fireflies. They put the fireflies in a jar which illuminated her room. Lilly isn't afraid of the dark anymore.
Counterfactual Context: She moved into her sisters room.
A: | Together, they went and caught lots of fireflies. They put the fireflies in a jar which illuminated their room. Lilly isn't afraid of the dark anymore. |
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Command: eq { count { filter_eq { all_rows ; platform ( s ) ; gamecube } } ; 5 }, interpretation: the sum of the production in 2011 ( 1000 ton ) record of all rows is 290,133 .
no
Command: less { hop { filter_eq { all_rows ; name ; frank borman } ; born } ; hop { filter_eq { all_rows ; name ; jim lovell } ; born } }, interpretation: select the rows whose jyutping record fuzzily matches to loeng2 . take the imperial value record of this row . select the rows whose jyutping record fuzzily matches to daam3 . take the imperial value record of this row . the first record is less than the second record .
no
Command: most_eq { all_rows ; headquarters ; sweden }, interpretation: for the headquarters records of all rows , most of them fuzzily match to sweden .
| yes
|
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Q: I_WALK I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP
A: | jump right twice after walk |
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.
and { eq { max { all_rows ; points } ; 581 } ; eq { hop { argmax { all_rows ; points } ; player } ; kendall gill } } | superlative |
Instructions: Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
Input: Tweet: @anonymized_account Mówi człowiek, który chciał nałożyć sankcje na Polskę. Gratulacje. #Niepodlegla #11lisopada , Question: Does the tweet contain cyberbullying (harmful) content?
Output: | No |
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.
One example is below.
Q: Aromi is an English restaurant in the city centre.
A: name[Aromi], eatType[restaurant], food[English], area[city centre]
Rationale: The output correctly parses all the parseable attributes in the input, no more, no less.
Q: Looking for Fast food and coffee, Aromi is your place. Situated in Riverside it is child friendly and has a 3 out of 5 customer rating.
A: | name[Aromi], eatType[coffee shop], food[Fast food], customer rating[3 out of 5], area[riverside], familyFriendly[yes] |
Write a fact related to the given fact, based on the given topic word. Note that, your fact should have at least one word in common with the given fact. All facts in this task refer to scientific facts. Your related fact must form a chain with the given fact. Chains form when two facts connect together to produce the third fact. An example of a chain is: "pesticides cause pollution" (given fact) + "pollution can harm animals" (related fact) → "pesticides can harm animals" (connected chain). Avoid creating simple paraphrases of the given fact. While your generated fact should be related to the input fact, they must describe slightly different scientific phenomena. It's okay if your related fact includes some irrelevant information, provided that it has some overlap with the given fact and it contains some words corresponding to the provided topic.
One example is below.
Q: Fact: pesticides cause pollution.
Topic: pollution harms.
A: pollution can harm animals.
Rationale: This is a good related fact as this forms a chain with the given fact i.e. "pesticides causes pollution" + "pollution can harm animals" = "pesticides can harm animals".
Q: Fact: Antigens are found on cancer cells and the cells of transplanted organs.
Topic: antigens cause.
A: | Antigens can be any molecule that causes antibody production. |
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: I got my start as an artist, don't forget. Any time I put pen to paper, I called it drawing.
A: | We actually have one of your old Captain Army. |
You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician.
One example: ويوجد أساسا مرجل دوار.
Solution is here: É basicamente un caldeiro que rota.
Explanation: The Arabic sentence is correctly translated into Galician, because the meaning is preserved.
Now, solve this: (ضحك) سولي على الضفة يرى أنني في خطر.
Solution: | (Risas) Solly na ribeira ve que estou en perigo. |
In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling
Input: Consider Input: to the extent dye, 2009 ok 52, 230 p.3d 507,griffith, 2009 ok 51, 230 p.3d 488, and cossey, 2009 ok 6, 212 p.3d 447 conclude otherwise, they are overruled.
Output: overruling
Input: Consider Input: no such authority is required to be shown in cases involving the forgery of a check and the contrary holding in fain v. commonwealth is overruled.
Output: overruling
Input: Consider Input: accordingly, we expressly overrule any cases that hold to the contrary.
| Output: overruling
|
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Example input: bYubMFxyTqR, AcDbMFxSnI
Example output: bYubfmxyTqR, AcDbfmxSnI
Example explanation: Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI'
Q: CXhVNMCAUcXvQ, guNMCAUIEkxX
A: | CXhVacmnucXvQ, guacmnuIEkxX |
Detailed Instructions: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Q: I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_WALK I_WALK
A: | look around left thrice and walk twice |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
One example is below.
Q: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again.
A: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju.
Rationale: The translation correctly preserves the characters in Croatian.
Q: This was a great thing.
A: | To je bila sjajna stvar. |
Instructions: Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
Input: Tweet: @anonymized_account @anonymized_account Kto mu kupił pierwszą muchę? 😎 , Question: Does the tweet contain cyberbullying (harmful) content?
Output: | No |
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Input: Consider Input: x = 9, equation weights = [8, 3]
Output: 75
Input: Consider Input: x = 3, equation weights = [0, 5, 9]
Output: 24
Input: Consider Input: x = 5, equation weights = [2, 7, 8]
| Output: 93
|
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: There is an Italian restaurant called The Dumpling Tree, with a price range £20-25.
A: | name[The Dumpling Tree], eatType[restaurant], food[Italian], priceRange[£20-25] |
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list.
One example: [0,1,0,2,5,1]
Solution is here: [2,5]
Explanation: The only elements that are not duplicated is 2 and 5. This is a good example.
Now, solve this: [3, 1, 4, 3, 4, 0, 5, 4, 3]
Solution: | [1, 0, 5] |
Detailed Instructions: You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education.
Q: Spashing Away
A: | splash away while the sun be hot away away splash for fun wonderful journey wonderful fun splash away be fun fun fun |
Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Input: password = yHZfLxYuumoze9VrRcYjhdRF
Output: | 4 |
input question: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.???
output answer: Wer Err
input question: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package org.ppsspp.ppsspp.???
output answer: Bugs There are still bugs my stick pad automaticly control it self pls fix it
input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.???
output answer: Useful nice item
input question: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package net.sourceforge.opencamera.???
output answer: | Samsung galaxy s5 Shutter speed is low |
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Q: Command: all_eq { all_rows ; date ; 10 may 1969 }, interpretation: select the rows whose country of origin record fuzzily matches to united states . the number of such rows is 2 .
A: | no |
Given the task definition and input, reply with output. Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Query: SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x1 ns:organization.organization_founder.organizations_founded ?x2 .
?x1 ns:people.person.nationality ns:m.03rjj .
?x2 a ns:film.production_company
} Question: Was M2 directed by M0 's Japanese sibling
| 0 |
Q: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Context:
Utterance: 'Hi there - how are you today?'
A: | No |
In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' .
Q: नौदलाने जहाजावर गोळीबार केला.
जहाजाचा मोडतोड समुद्रात बुडला.
A: | effect |
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].
Let me give you an example: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
The answer to this example can be: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Here is 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.
OK. solve this:
question: Are the green objects all the same shape?
Answer: | #1 return green objects
#2 return shapes of #1
#3 return number of #2
#4 return if #3 is one |
Q: In this task, you will be given a sentence or two along with a change aspect. You should change the given text in the given aspect. Aspects are explained below:
Tense: Change the tense of the verbs in the text. If they're in past tense, change them to present, and if they're in present tense, change them to past tense.
Number: Change the number of the nouns in the given text. Make plurals into singles and single into plurals. Remember to change the corresponding pronouns accordingly.
Voice: If the verbs are in active voice, change them to be passive, otherwise, change them to be in active voice.
Adverb: add one or multiple adverbs to the text.
Gender: If the text contains female names and pronouns, substitute them with male names and pronouns. Do the same for sentences with mala names and pronouns.
sentence: Sam took French classes from Adam , because he was known to speak it fluently . aspect: Adverb
A: | Sam recently took French classes from Adam , because he was known to speak it fluently . |
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
--------
Question: Sentence: I visited their huge Chicago lighting showroom {{ and }} all I have to say is WOW !!
Word: and
Answer: CC
Question: Sentence: If you have questions or issues , {{ please }} let me know .
Word: please
Answer: UH
Question: Sentence: I had Hom {{ - }} Excel replace most of the windows in my Tampa residence three years ago .
Word: -
Answer: | HYPH
|
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
See one example below:
Problem: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Problem: [{'first': -25, 'second': -66}, {'first': 8, 'second': 94}, {'first': -35, 'second': -28}, {'first': -99, 'second': 31}, {'first': 65, 'second': -55}, {'first': -92, 'second': -81}, {'first': 96, 'second': 39}, {'first': -12, 'second': 47}]
Solution: | [{'first': -99, 'second': 31}, {'first': -92, 'second': -81}, {'first': -35, 'second': -28}, {'first': -25, 'second': -66}, {'first': -12, 'second': 47}, {'first': 8, 'second': 94}, {'first': 65, 'second': -55}, {'first': 96, 'second': 39}] |
Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: book and hats and one ball for me YOU: book and 2 balls to me THEM: i'll take the book and two hats and give you the rest YOU: ok.
Output: | Yes |
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
--------
Question: ای کاش ده ثانیهی آخر این فیلم نبود... ای کاش
Answer: داستان
Question: یه فیلم سرگرم کننده با فیلم نامه ای سطحی و پر از صحنه های بی ربط... و البته تو گیشه هم می فروشه. . . دیالوگ: ما میگیم کارتون خوابیم... تو میگی کد پستی و محل اقامت!!!!!
Answer: داستان
Question: فیلم نامه خوبی نداشت حضور هوتن شکیبا کوتاه و جالب بود اما به نظر من بیشتر برای جذب مخاطب و فروش فیلم حضور داشتن حتی حسام محمودی نقش طلبه رو تو فیلم دیگه بهتر بازی کرده بودن
Answer: | داستان
|
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.
Input: Consider Input: [67, 18, 85, -4, 11, 63]
Output: 4
Input: Consider Input: [76, -94, 1, -60]
Output: 34
Input: Consider Input: [25, 100, 51, 52, -57, -84, 26, 70, -3]
| Output: 1
|
Detailed Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Q: zeroseventwosevennine
A: | 07279 |
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
Q: News Headline: Cambodia 's Hun Sen says he and Trump {object} to ' anarchic ' media
Edit: submit
A: | Not Funny |
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: Find the id and city of the student address with the highest average monthly rental.
Example solution: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
Example explanation: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example.
Problem: what is the name and nation of the singer who have a song having 'Hey' in its name?
| Solution: SELECT name , country FROM singer WHERE song_name LIKE '%Hey%' |
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].
Let me give you an example: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
The answer to this example can be: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Here is 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.
OK. solve this:
question: Is there more metallic or matte objects?
Answer: | #1 return metallic objects
#2 return matte objects
#3 return number of #1
#4 return number of #2
#5 return which Is highest of #3 , #4 |
You will be given a definition of a task first, then some input of the task.
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
On which day was the order placed whose shipment tracking number is 3452?
Output: | SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.shipment_tracking_number = 3452 |
In this task you will be given a list, of lists, of integers. For every inner list contained in the input list, you should multiply every even number in that list. The output should be a list of integers with the same length as the number of lists in the input list. If there are no even numbers in an inner list you should output 0 for that list.
Q: [[36, 24, 39], [35, -5], [-24, -47, 9, -50, 39], [38, 45, 23], [20, 21, -48, -36], [-26, -3, -39, 21, -43]]
A: | [864, 0, 1200, 38, 34560, -26] |
Detailed Instructions: 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: | religious |
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Q: [44, 96, -86, -45, -29, 35, 87, 99]
A: | 3 |
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.
Zizzi is an average rated pub that serves Indian food and is children friendly. | name[Zizzi], eatType[pub], food[Indian], customer rating[average], familyFriendly[yes] |
Instructions: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
Input: News Headline: Since when was there such a low {bar} for defamation settlements in the US Body of Law ?
Edit: tolerance
Output: | Not Funny |
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: xdcH
A: | xdcH |
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: You spent all that time doing the arrangements.
A: | Yes. I have a natural flair for it. |
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 |
One example: Context word: fit.
Solution is here: The trophy doesn't fit into the brown suitcase because _ is too large.
Explanation: The question is about two related but different objects (i) "trophy" and (ii) "suitcase". The quesion contains exactly one blank (_). The expected answer is "trophy" which is one of the objects.
Now, solve this: Context Word: gig.
Solution: | The crowd at the gig could barely the singer because the _ was too loud. |
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.
One example: Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by.
Solution is here: yes
Explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes".
Now, solve this: Either way , I felt like I was going to regret not following my dreams / passion .
Solution: | 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.
One example: [1, 2, 3]
Solution is here: [0.167, 0.333, 0.500]
Explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.
Now, solve this: [-96.664, -0.439, -76.717, -98.86, 117.337, 144.588]
Solution: | [ 8.988 0.041 7.133 9.192 -10.91 -13.444] |
Detailed Instructions: In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' .
Q: स्नानगृहातील आरश्याने धूम उडविली.
मुलगी पंखा चालू केली.
A: | effect |
Teacher:Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Teacher: Now, understand the problem? Solve this instance: pick
Student: | mick |
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'.
One example is below.
Q: 03:40:40 PM doesn't occur between 5:35:38 and 07:58:59 AM
A: False
Rationale: The output of 'False' is correct as the input statement is false, since 03:40:40 PM occurs after 07:58:89 AM and not between 5:35:38(AM) and 07:58:59 AM
Q: 13 Jan 1978 doesn't occur between April 23, 1998 and 13 May 2005
A: | True |
Given the task definition, example input & output, solve the new input case.
In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation.
Example: Angola
Output: Republic
Republic is the government type of the country called Angola.
New input case for you: Senegal
Output: | Republic |
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.
See one example below:
Problem: hNarAik
Solution: hNrk
Explanation: The three vowels in the input 'a, 'A', and 'i' are removed.
Problem: EBniPhHONJBMeoYZGET
Solution: | BnPhHNJBMYZGT |
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...'.
Example: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should.
Example solution: You know what, come tell us at the community pool.
Example explanation: This is a good response. Because it accepts in indirect way the input sentence and supports it.
Problem: I feel like I hear something new in it every time.
| Solution: I agree! Like this time I realized that the kid was blue because his o2 sauration was low! I never realized that before. |
You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education.
Q: Ralphy
A: | you be without a doubt the best pet ever white with black spot you never say a mumbling word hardly i love you dearly and will miss you with great pleasure |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
fun | one |
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.
Example: Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?'
Utterance: 'You can take the two water. I am not that thirsty most days.'
Example solution: No
Example explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves.
Problem: Context: 'i understand friend. i need 2 pack of water and 3 pack of food and 2 pack of fire wood. can you please help me ' 'No way can you have everything, I will need 3 packs of firewood 2 backs of water then you can have all the food' 'i have sicked people and kids so i must need food water fire wood. please help me friend'
Utterance: 'I am sick and have a large family if we cant cooperate together we all get nothing'
| Solution: Yes |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
One example is below.
Q: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again.
A: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju.
Rationale: The translation correctly preserves the characters in Croatian.
Q: If they disappear, whole ecosystems in Africa disappear.
A: | Ako oni nestanu, cijeli ekosustavi u Africi nestanu. |
Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
Input: [{'first': -41, 'second': -45}, {'first': 0, 'second': -94}, {'first': -100, 'second': -73}, {'first': -48, 'second': -34}, {'first': 81, 'second': -58}]
Output: | [{'first': -100, 'second': -73}, {'first': -48, 'second': -34}, {'first': -41, 'second': -45}, {'first': 0, 'second': -94}, {'first': 81, 'second': -58}] |
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
Q: [225, 1934, 3346, 2063, 6, 40, 4, 208, 687, 1286, 4973, 18]
A: | [256, 2048, 4096, 2048, 8, 32, 4, 256, 512, 1024, 4096, 16] |
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...'.
Example: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should.
Example solution: You know what, come tell us at the community pool.
Example explanation: This is a good response. Because it accepts in indirect way the input sentence and supports it.
Problem: I'm in. All in. But you must know I'm cut out of every episode of Shark Tank.
| Solution: Yeah, I know. You're all the way to the right in the dark. I've never seen an English person on this show. |
Subsets and Splits