prompt
stringlengths 48
13.7k
| response
stringlengths 0
2.93k
|
---|---|
Instructions: In this task, you are given two strings A,B. Find the longer of the two lists, convert it to lowercase, and return all the unique alphabets used in it. The two input strings are never equal.
Input: OKiUDOU, UjiUQt
Output: | d, i, k, o, u |
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
Ex Input:
روزنامه نگاری که خانه نشین شد روزنامه نگاری که مهاجرت کرد روزنامه نگاری که کافه دار شد روزنامه نگاری که کشاورز شد . . . . و اسبی که دیگر متعلق به صاحبش نشد... . . . . . بانو مینا اکبری درود و سپاس وافر از این ایده و همت عالی
Ex Output:
کارگردانی
Ex Input:
من با سکانس پایان فیلم مشکل دارم آخرین سکانس چی داشت می گفت دختره تو هواپیما بود یا نه؟(خیانت کرده بود یا نه؟) به نظرم این پایان باز نیست ، فیلم بدون پایانه
Ex Output:
داستان
Ex Input:
فیلمی سیاسی-اجتماعی با کمی چاشنی طنز و تا حدودی اغراق آمیز و حوادث غیرقابل باور و ضعف فیلمنامه مشهود در جای جای فیلم..به عنوان فیلم اول شروع خوبی برای جواد رضویان نخواهد بود و بعید است فیلم به موفقیت فیلم هم نسلان رضویان مثل عطاران،آقاخانی و... برسد.
Ex Output:
| داستان
|
In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating 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.
Q: select the row whose price ( usd ) record of all rows is 1st maximum . the model number record of this row is itanium 2 9040 .
A: eq { hop { nth_argmax { all_rows ; price ( usd ) ; 1 } ; model number } ; itanium 2 9040 }
****
Q: select the rows whose new channel ( s ) record fuzzily matches to same channel as original . the number of such rows is 3 .
A: eq { count { filter_eq { all_rows ; new channel ( s ) ; same channel as original } } ; 3 }
****
Q: select the rows whose date record fuzzily matches to sept 15 . take the attendance record of this row . select the rows whose date record fuzzily matches to nov 3 . take the attendance record of this row . the first record is greater than the second record . the opponent record of the first row is green bay packers . the opponent record of the second row is chicago bears .
A: | and { greater { hop { filter_eq { all_rows ; date ; sept 15 } ; attendance } ; hop { filter_eq { all_rows ; date ; nov 3 } ; attendance } } ; and { eq { hop { filter_eq { all_rows ; date ; sept 15 } ; opponent } ; green bay packers } ; eq { hop { filter_eq { all_rows ; date ; nov 3 } ; opponent } ; chicago bears } } }
****
|
Detailed Instructions: In this task, you need to answer 'Yes' if the given word is the longest word (in terms of number of letters) in the given sentence, else answer 'No'. Note that there could be multiple longest words in a sentence as they can have the same length that is the largest across all words in that sentence.
Q: Sentence: 'a person riding a wave on top of a surfboard'. Is 'surfboard' the longest word in the sentence?
A: | Yes |
Given a sentence in Japanese, provide an equivalent paraphrased translation in Chinese that retains the same meaning both through the translation and the paraphrase.
Ex Input:
Seb Janiakは、フランス出身の写真家であり、ポーランド出身のビデオディレクターです。
Ex Output:
Seb Janiak是波兰血统的法国摄影师兼视频总监。
Ex Input:
私はJean Cocteauのスタントに触発されたSidney Nolanの風景の中にFrancis Baconのフィギュアを作りました。
Ex Output:
我在西德尼诺兰(Sidney Nolan)景观中创造了弗朗西斯·培根(Francis Bacon)的人物,其特技灵感来自让·科克托(Jean Cocteau ``
Ex Input:
オーディオディレクターとしてBelsonはライブのキネティックビジュアルをプログラムし、Jacobsは電子音楽とビジュアル実験をプログラムしました。
Ex Output:
| Belson作为音频总监编写了动态实时视觉效果,而Jacobs编写了电子音乐和视觉实验。
|
Creating a multiple-choice question from the given context and a 'group' which indicate the focus of the question. The question must come first, separated by <sep> from the candidate answers. The answer to the question does not have to exist in the context.
Q: context: A person drops a mirror, a bottle, a coin, and an egg from a balcony.<sep>group: breaking
A: question: Which object is the least likely to break?<sep>A: mirror<sep>B: bottle<sep>C: coin<sep>D: egg
****
Q: context: A person drops an egg, a glass, a coin, and a mirror from a balcony.<sep>group: breaking
A: question: Which object is the least likely to break?<sep>A: egg<sep>B: glass<sep>C: coin<sep>D: mirror
****
Q: context: A person drops a mirror, a pen, a bottle, and a glass from a balcony.<sep>group: breaking
A: | question: Which object is the least likely to break?<sep>A: mirror<sep>B: pen<sep>C: bottle<sep>D: glass
****
|
Please change the meaning of the following question by changing as few words as possible. Create different questions with the same output format (i.e., if the given question has a yes/no answer, so should yours, etc.). The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in the changed questions, this keyword should also be used the same way. All the questions should be written so that your new question will have a different answer than the original. Leave the original sentence the same as much as possible, changing only the meaning of the question. Try to write specific questions that are not too easy. Make your questions specific and concrete rather than open-ended or subjective (e.g., questions that can be answered differently by different people). Your questions should change the original question as little as possible.
[Q]: Does this dog breed get along with other small animals?
[A]: Does this dog breed tend to chase other small animals?
[Q]: What unique features of this dog breed make them prone to disease or injury?
[A]: What unique features of this dog breed make them difficult to train?
[Q]: Is this dog breed usually covered with at least two colors of fur?
[A]: | Is this dog breed usually covered with only one color of fur?
|
Detailed Instructions: In this task you are expected to fix an SQL query based on feedback. You will be given an SQL statement and an English description with what is wrong about that SQL statement. You must correct the SQL statement based off of the feedback. 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.
Problem:SQL: SELECT city FROM Addresses GROUP BY city ORDER BY Count ( * ) Desc LIMIT 1
Feedback: In step 1, You have to use customers.
Solution: | SELECT T2.city FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id GROUP BY T2.city ORDER BY count(*) DESC LIMIT 1 |
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.
Q: Fact: a seismograph is used for measuring the size of an earthquake.
Topic: size of earthquake.
A: | Richter magnitude is a measure of the size of the earthquake. |
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.
Problem:[147, 733, 887, 923, 197, 499, 311]
Solution: | [733, 887, 197, 499, 311] |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Prompt: Sooo the other business units sending emails to IT while
Completion A: at it too. What did the IT workers know that the AG's didn't? And this is coming from an
Completion B: ignoring the customers. The emails came in early October, just as the company was starting to get ready for the holiday season. S
Student: | Completion B |
You will be given a definition of a task first, then some input of the task.
In this task, you will be given sentences and a drug name in which your task is to indicate the doses of intake of that particular drug. A dose refers to a specified amount of medication taken at one time. Although there might be several correct answers, you need to write one of them.
High-dose methotrexate-associated acute renal failure may be an avoidable complication. methotrexate
Output: | High-dose |
Q: In this task, we have Spanish and Catalan tweets for automatic stance detection. The data has three labels Against, Favor, and Neutral which express the stance towards the target -independence of Catalonia. If the tweet criticizes the independence of Catalonia then it's 'Against' and if the tweets support it then it will be labeled as 'Favor' also if the tweets state information or news rather than stating opinion then it will be characterized as 'Neutral'.
Tweet: RT @naxoxan: Mes de #CargasPoliciales per desblocar accés. #JoAcuso #JudiciFarsa https://t.co/B1CAMHIBlk
A: | Favor |
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e., a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
--------
Question: lemon
Answer: fruit
Question: dresser
Answer: object
Question: beaver
Answer: | chordate
|
In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them.
The authors have used reverse transcription / polymerase chain reactions to accomplish a comprehensive examination of the RNA expression for 58 distinct mammalian protein tyrosine and dual specificity phosphatase ( PTPase ) and PTPase - like genes in the normal human diploid fibroblast cell line WI - 38 . | fibroblast |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
--------
Question: Fact: A plant that is adapt to a very dry environment is a cacti.
Answer: Cacti are adapted to what?
Question: Fact: regular skeletons are less flexible than shark skeletons but stronger.
Answer: What are less flexible than shark skeletons but stronger?
Question: Fact: Animals sleep through winter to conserve energy.
Answer: | Why do animals sleep through winter?
|
Q: In this task, you are given a premise, a hypothesis, and an update. The premise sentence describes a real-world situation and is always assumed to be true. The hypothesis sentence describes an assumption or inference that you might make about that situation having read the premise. The update provides additional information about the situation that might weaken or strengthen the hypothesis. A weakener is a statement that weakens the hypothesis, that is, it makes you much less likely to believe the hypothesis is true. A strengthener is a statement that strengthens the hypothesis, that is, it makes you much more likely to believe the hypothesis is true. Your task is to answer with 'strengthener' or 'weakener' if the update strengthens or weakens the hypothesis, respectively.
Premise: A woman in black looks concerned about something.
Hypothesis: The woman in black is scared.
Update: The woman is unsure where she left her jacket.
A: | weakener |
Part 1. Definition
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.
Part 2. Example
Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06.
Answer: yes
Explanation: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'.
Part 3. Exercise
Command: eq { hop { nth_argmax { all_rows ; points ; 2 } ; song } ; are you sure }, interpretation: select the row whose points record of all rows is 2nd maximum . the song record of this row is are you sure .
Answer: | yes |
In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
09/03/1616, input_format=dd/mm/yyyy | 03/09/1616 |
Q: In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said.
Sentence: We had hoped to place copies on all the chairs in the auditorium, but there were simply not enough of them. Question: There are too many of what?
A: | chairs |
In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other.
Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise
[EX Q]: 'English : Justice and Development Party’s (AKP) Spokesperson, Ömer Çelik has announced that the presidential candidate of his party would be the Minister of Transport, Maritime Affairs and Communications; Binali Yıldırım.','Kurdish : Berdevkê AKPê Omer Çelik daxuyand ku namzetê serokê giştî ya partiya wan, Wezîrê Ragihandinê Binalî Yildirim e.'
[EX A]: Yes
[EX Q]: 'English : The night has continued with a concert of UNLTD which has reinterpreted swing classicals of Ergüven Başaran with jazz followed by the swing jazz band Uninvited Jazz Band created by musicians from several countries coming together.','Kurdish : 20 mekan ji 50yê zêdetir konser…'
[EX A]: No
[EX Q]: 'English : His meeting with his lawyer prevented','Kurdish : Hevdîtina bi parêzeran re hat astengkirin'
[EX A]: | Yes
|
Detailed Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Problem:[162.565, 136.984, -93.474, -98.082, 236.471, 229.263, 126.218, 215.784, 168.066]
Solution: | [ 0.15 0.126 -0.086 -0.09 0.218 0.212 0.116 0.199 0.155] |
Definition: In this task, you need to answer 'Yes' if the given word is the longest word (in terms of number of letters) in the given sentence, else answer 'No'. Note that there could be multiple longest words in a sentence as they can have the same length that is the largest across all words in that sentence.
Input: Sentence: 'a silhouette of a blender in a living room area'. Is 'silhouette' the longest word in the sentence?
Output: | Yes |
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.
Q: [PERSON] was thought of as the most popular girl in the city, but she was not the only one.
A: Positive
****
Q: [PERSON] was described as having a body of her own, but no identifying information was given.
A: No impact
****
Q: [PERSON] was described as having a body of her own, but no identifying information was given.
A: | No impact
****
|
You will be given a definition of a task first, then some input of the task.
Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'. For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'.
En relació a l' oferta de trens que haurà de tenir la futura estació , l' informe assegura que haurien de funcionar cada dia 60 trens en cada sentit de la marxa , 24 amb destinació dins de Catalunya i 36 trens amb destinació fora de Catalunya , incidint especialment en una alta freqüència de pas en hores punta .
Output: | En (O) relació (O) a (O) l' (O) oferta (O) de (O) trens (O) que (O) haurà (O) de (O) tenir (O) la (O) futura (O) estació (O) , (O) l' (O) informe (O) assegura (O) que (O) haurien (O) de (O) funcionar (O) cada (O) dia (O) 60 (O) trens (O) en (O) cada (O) sentit (O) de (O) la (O) marxa (O) , (O) 24 (O) amb (O) destinació (O) dins (O) de (O) Catalunya (B-LOC) i (O) 36 (O) trens (O) amb (O) destinació (O) fora (O) de (O) Catalunya (B-LOC) , (O) incidint (O) especialment (O) en (O) una (O) alta (O) freqüència (O) de (O) pas (O) en (O) hores (O) punta (O) . (O) |
Detailed Instructions: In this task you are expected to fix an SQL query based on feedback. You will be given an SQL statement and an English description with what is wrong about that SQL statement. You must correct the SQL statement based off of the feedback. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Q: SQL: SELECT T2.Fname , T2.Lname FROM Faculty_Participates_in AS T1 JOIN Faculty AS T2 ON T1.FacID = T2.FacID GROUP BY T1.FacID HAVING Count ( * ) > = 1
Feedback: Also find Number of rows of each value of activity id in faculty participates in table .
A: | SELECT T1.fname , T1.lname , count(*) , T1.FacID FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID GROUP BY T1.FacID |
Paraphrase the given questions to have different wording. Your paraphrased questions should have the same answer as the original question. Try to change the sentence as much as possible using synonyms and/or rearranging the structure of the sentence. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in paraphrasing, this keyword should also be used the same way. Do not write questions that compare or involve multiple domains. Do not write open-ended or subjective questions (e.g., questions that can be answered differently by different people.) Make your questions specific and concrete. Your question should have the same type of answer as the original question(e.g., if the question is extractive, the paraphrased question should be extractive as well.)
Was this dog breed domesticated or cross-bred in america?
Did this dog breed originate in the united states?
Is this dog breed commonly used as a watch dog for farm animals?
Do farmers use this dog breed to watch their animals?
What types of boating activities are available in this national park?
| In this national park, what boating activities are available?
|
Given the prompt and a response, classify the them to "yes" if response is "yes, and" type. Otherwise classify it as "no". "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 Input: Prompt: Crackers, all of the dreams you didn't know you had are coming true.
Response: That's right. They kind of just busk now.
Example Output: no
Example Input: Prompt: The sign out front said this was a no cut art show. I got tired of the masters and the classics. I said, let me see the art of someone that doubts they could get into a regular show.
Response: OK. This is my night job. So, I entered through a staff door and didn't see that sign.
Example Output: yes
Example Input: Prompt: She has family in Paris.
Response: Uncle Fritz. He lives at the top of the Eiffel Tower!
Example Output: | yes
|
You will be given a definition of a task first, then some input of the task.
In this task, you are provided with an article of the legal acts. Your task is to classify it into three categories (Regulation, Decision and Directive) based on its content: 1) Regulation is a binding legislative act that must be applied in its entirety on a set date across all the member states (European Union countries). 2) Decision is binding on those to whom it is addressed (e.g. an European Union country or an individual company) and is directly applicable. 3) Directive is a legislative act that sets out a goal that all must achieve. However, it is up to the individual countries to devise their own laws on how to reach these goals.
A second tranche of borrowings is hereby authorized for an amount not exceeding the equivalent of a capital sum of 500 million European units of account. The borrowing of the equivalent of a capital sum of 100 million European units of account of this amount may not, however, be undertaken until the adoption of a further decision relating to the purpose for which such borrowing may be used. The product of borrowings of the equivalent of a capital sum of 400 million European units of account shall be used for loans to finance investment projects which are carried out on Community territory and which are consistent with priority Community objectives in the infrastructure and energy sectors.For this purpose: - infrastructure investment shall cover in particular transport, telecommunications, agricultural improvements, water supply works, environmental protection,- energy investment shall contribute to greater self-sufficiency, security and diversification of Community energy supplies ; investment shall ensure the development, exploitation, transportation and storage of energy resources ; particular attention shall be paid to energy conservation and to the development of alternative energy sources. The Commission shall decide whether or not projects are eligible in accordance with the guidelines laid down in Article 3 of Decision 79/486/EEC.
Output: | Decision |
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.
Q: Cambodia
A: | Southeast Asia |
Read the given message of a sender that is intended to start a conversation, and determine whether it was written by a 'Bot' or by a 'Human'. Typically, bots will have a more disjointed manner of speaking, and will make statements that don't relate to each other, don't make coherent sense, or otherwise appear unnatural. Human will make statements in a more or less coherent and logical way. Since these messages are supposed to be conversation openers, humans will generally start sensibly with a hello or an introduction. Humans may also ask why the other person is not responding. Bots, however, may act as if they are in the middle of a nonsensical conversation.
Let me give you an example: hello
The answer to this example can be: Human
Here is why: This is an example of correct classification because the sender really was a human. To start with a hello is a normal thing for a human to do. Frequently bots don't start with hello, or if they do, they follow it with non-sequiturs.
OK. solve this:
SENDER A: Hi
SENDER A: Talk to me
SENDER A: What do you do for living?
SENDER A: Do you like to read?
SENDER A: Do you like movies?
SENDER A: Got it
SENDER A: Bye
Answer: | Human |
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.
Example Input: Fact: an animal usually requires a warm body temperature for survival.
Topic: survival.
Example Output: Survival means survival of the species.
Example Input: Fact: when a body of water receives more water than it can hold , a flood occurs.
Topic: lakes bodies.
Example Output: Lakes are large bodies of inland water.
Example Input: Fact: touch can be used for detecting texture.
Topic: skin largest organ touch.
Example Output: | Since skin is the largest organ in the body, touch is extremely important.
|
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
[Q]: [9, 2, 8, 1, 10, 10, 10, 6] , [7, 10, 2, 5, 2, 2, 1, 6]
[A]: [1, 2, 6, 10]
[Q]: [5, 5, 8, 9, 10] , [4, 9, 8, 2, 7]
[A]: [8, 9]
[Q]: [1, 4, 3, 8, 10, 1, 4, 10, 3, 1] , [7, 7, 3, 5, 5, 9, 3, 2, 3, 3]
[A]: | [3]
|
Detailed Instructions: This task is to find the number of 'For' loops present in the given cpp program.
Problem:/*
* h35.cpp
* function:????
* Created on: 2012-11-30
* Author: sear
*/
//m????n???????????n???n??m,????n,???n??1
int f(int m, int n) { //m???,n????????
int i, sum = 0; //i?????,sum???????
if (n == 1)
return 1; //???????1???1
for (sum = 0, i = m; i <= n; i++)//?????????????????m???????m???
if (n % i == 0)
sum += f(i, n / i);//?n???????????n??i????
return sum; //??sum???????
}
int main() {
int i, n, k; //i?????,n????????,k?????????
for (i = 0, cin >> n; i < n; i++) {
cin >> k; //???????
cout << f(2, k) << endl;//???????
}
return 0; //????
}
Solution: | 2 |
Based on the given context, craft a common-sense question, especially those that are LONG, INTERESTING, and COMPLEX. The goal is to write questions that are easy for humans and hard for AI machines! To create such questions, here are some suggestions: A. What may (or may not) be the plausible reason for an event? B. What may (or may not) happen before (or after, or during) an event? C. What may (or may not) be a plausible fact about someone (or something)? D. What may (or may not) happen if an event happens (or did not happen)? You can also create other types of questions. DO NOT make your question answerable without looking at the context, or question of which the correct answer can be directly extracted from the context. DO NOT ask a question that requires very specialized knowledge that is not common sense. DO NOT ask too simple or too short questions. Your question must be related to the context and answerable with common sense. Try to add more variations and complexity to the questions.
Example Input: Context: We stopped in this nice place and had a great lunch for about 7 Euro . We get a brochure for desert expedition and decided that we were going to do it . It left the next day at 7 am .
Example Output: Where might the OP be spending their vacation ?
Example Input: Context: So I went and bugged Jess , despite how super busy she was . And she was very nice and very gracious and took time out of her weekend and looked over Breaking the Curse . She found no errors ( surprisingly enough ) and then she very nicely and so wonderfully put it up on her site .
Example Output: Why is the narrator grateful for Jess in this situation ?
Example Input: Context: " Uh-- " His foot catches , his ankle hyperflexed and twinging , and he tips sideways , arms windmilling in empty air as he lurches into the bookcase . " Ow ! " Shelves press hard dents into his arm , Don snickers infuriatingly , and Charlie grumble as he steadies himself . " Ow , dammit .
Example Output: | How would you describe Charlie ?
|
In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
Example: ['q', '31', 'a', 'd', '53', '85', 'p', '77']
Example solution: 1, 3, 5, 7, 8
Example explanation: Here, the numbers in the list are '31', '53', '85' and '77', and the unique digits used in the list are '1, 3, 5, 7, 8' in ascending order.
Problem: ['37', '439', '259', '445']
| Solution: 2, 3, 4, 5, 7, 9 |
Detailed Instructions: Paraphrase the given questions to have different wording. Your paraphrased questions should have the same answer as the original question. Try to change the sentence as much as possible using synonyms and/or rearranging the structure of the sentence. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in paraphrasing, this keyword should also be used the same way. Do not write questions that compare or involve multiple domains. Do not write open-ended or subjective questions (e.g., questions that can be answered differently by different people.) Make your questions specific and concrete. Your question should have the same type of answer as the original question(e.g., if the question is extractive, the paraphrased question should be extractive as well.)
Q: Was this president ever the governor of an east coast state?
A: | Did this president serve as an east coast state governor? |
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list.
Input: Consider Input: ['8785', '411', '7939', 'T', 'm', 'f', 'W', '6987', 'H', '2977', 'm', 'U', '393', 'k', '7247', '9863', 'v', '3317', 'C', '2043', '9613', '5075', '8669', 'e', 'G', 'h', '697', '619', 'Z', 'A', '489', 'h', '7309', '7957', 'y', 'o', 'H', '2243', 'r', '4687']
Output: 4, 5, 6, 7, 9, 11, 12, 14, 17, 19, 24, 25, 26, 29, 30, 32, 35, 36, 37, 39
Input: Consider Input: ['5963', '3427', 'z', 'E', 'Q', '3381', 'd', 'o', '6707', 'n', '9123', 'S', 'd', '5685', 'Q', '1009', 'v', 'Z', '6393', '2517', 'e', '3815', 'y', '7243', 'A', 'w', 'W', '5099', '1775', 's', 'E', 'O', '1117', '4257']
Output: 3, 4, 5, 7, 8, 10, 12, 13, 15, 17, 18, 21, 23, 25, 26, 27, 30, 31, 32
Input: Consider Input: ['j', 'k', '6141', '5771', '8327', '2119', 'n', '257', '2619', '645', '6449', '2457', '5815', '7519', 'o', '9331', '6281', '897', 'Z', '2081', 'u', '6395', '4919', '9653', '5813', '6193', '1185', '1339', 'Q', 'M', 'c', '3049', 'o', 'X', '9817', '8853']
| Output: 1, 2, 7, 15, 19, 21, 29, 30, 31, 33, 34
|
instruction:
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...'.
question:
Jonathan, why don't you tell me what you like to do for fun.
answer:
Oh, god, the pressure. Uh, let's see, mostly - I cannot see most things. So I'm mostly just waving in the dark.
question:
It's a secret Tums spot that's only going to air for the Illuminati.
answer:
Oh, believe me. I'm on the mailing list. It's goes to a secret PO Box though.
question:
If you leave with this man, you'll ruin your life. Mark my words.
answer:
| Oh my gosh, I'll take it. This life is so boring anyway.
|
Detailed Instructions: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list.
Q: [183, 214, 202, 269, 104, 166, 12, 209, 194, 275, 62, 53, 276, 126, 23, 293, 65, 120, 246, 282], k=20
A: | 12 |
Teacher:Find the movie name from the given conversation. If the movie name is not found give output as "unknown"
Teacher: Now, understand the problem? Solve this instance: ASSISTANT: hello , ASSISTANT: What kind of movies do you like? , USER: I really really like horror movies. They're my favorite genre. , ASSISTANT: Why do you like horror movies? , USER: I like horror movies because I like to be scared, but I don't like being in danger, so it gives me that feeling and the adrenaline of being scared without actually being in any sort of danger in real life. , ASSISTANT: I see. Can you name a particular movie you like? , USER: I just went and saw The Nun at the movies the other night, and I really liked that movie.
Student: | The Nun |
Given a pair of words, generate the relation between them. The first word is called the 'concept' and the second word is called the 'relatum' The relation must be one of the following: co-hyponym (coordinate), hypernym, meronym, attribute, event, or random. A coordinate relation indicates that the concept and relatum belong to the same semantic class. A hypernym relation indicates that the relatum is a category of which the concept is a specific instance. A meronym relation implies that relatum is a part/component/organ/member of the concept. An attribute relation is when the relatum is an adjective expressing an attribute of the concept. An event relation holds when the relatum is a verb referring to an action/activity/happening/event that is performed by or with the concept. If the relatum and concept are unrelated, the relation between them is 'random'. Classify your answers into coord, hyper, mero, attri, event, and random.
Concept: saw, Relatum: first. | random |
Detailed Instructions: Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc.
Problem:Sentence: The award was named after the chief justice of the Indiana Supreme Court to honor his statewide vision on justice.
Question: What day was the award named after the chief justice?
Category: Absolute Timepoint.
Solution: | No. |
Given a pair of words, deduce the type of relationship between them. The various types of relations are: 'Entails, HasProperty, Synonym, Antonym, HasA, MemberOf, PartOf, MadeOf, IsA'. Let's denote the first word by X and the second word by Y. An 'IsA' relation holds when 'X is a kind of Y'. An 'Antonym' relation holds when 'X can be used as the opposite of Y'. A 'Synonym' relation applies when 'X can be used in place of Y, without changing the meaning'. A 'PartOf' relation holds when 'X is a part of Y'. A 'MemberOf' relation holds when 'X is a member of Y'. A 'MadeOf' relation holds when 'X is made of Y'. An 'Entailment' relation holds when 'If X is true, then Y is true as well'. A 'HasA' relation holds when 'X can have or contain Y'. A 'HasProperty' relation holds when 'Y is to specify X'.
--------
Question: X: bend, Y: flex
Answer: Synonym
Question: X: cake, Y: flour
Answer: MadeOf
Question: X: blade, Y: ax
Answer: | PartOf
|
You're given a fill-in-the-blank question where the answer is PersonX. You need to minimally change the given question so that the answer flips to PersonY. This task typically involves replacing one word i.e., the 'trigger word' with its antonym (e.g., changing from "sympathetic" to "stern"). You should not change any content in the given question beyond a word or two i.e. the trigger word/phrase. PersonX and PersonY should not be equally likely to fill the blank. For your question, PersonY should be a well-agreed answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use the names of real people or generic names (e.g., Donald Trump, John Doe, etc.) in your question. Avoid repeating the same style or phrase in generating your modified question e.g. this task can be always solved using a simple negation i.e. by adding not, never, etc. Instead, try to increase the word diversity. Your question must contain at least 15 and at most 30 words. Your question must have at least 70% overlapping words with the given question. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that PersonX and PersonY have the same gender. In your question, PersonX and PersonY should be used only ONCE and PersonX should appear earlier than PersonY. Although there are many correct answers, you only need to write one of them.
[EX Q]: Context Word: routine.
Question: It was easier for PersonX to follow a healthy fitness routine than PersonY because _ belonged to a gym.
Answer: PersonX
[EX A]: It was easier for PersonX to follow a healthy fitness routine than PersonY because _ did not belong to a gym.
[EX Q]: Context Word: prepare.
Question: PersonX did not mind if it took them a while to prepare a meal but PersonY did because _ was very meticulous.
Answer: PersonX
[EX A]: PersonX did not mind if it took them a while to prepare a meal but PersonY did because _ was very slapdash.
[EX Q]: Context Word: party.
Question: PersonX was invited to the party instead of PersonY because _ had a karaoke machine.
Answer: PersonX
[EX A]: | PersonX was invited to the party instead of PersonY because _ had a washing machine.
|
In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3.
[EX Q]: [-10, -74, -55, 100, 84, 73, -90, 60, 78, 0]
[EX A]: [-10, -74, -55, 100, 73]
[EX Q]: [47, -87, -89, 30, 58, 93, -26, 44, -35, -2]
[EX A]: [47, -89, 58, -26, 44, -35, -2]
[EX Q]: [-8, 6, 56, 39]
[EX A]: | [-8, 56]
|
Q: Given a sentence in Italian, generate a new Italian sentence by performing small changes on the sentence. Here, make sure that the changes are semantically related and syntactically similar to the input. And the generated sentence should have high commonsense plausibility, that is to have reasonable probability of it being true.
Se vuoi salire sul palco allora dovresti romperti una gamba.
A: | Se si vuole avere successo sul palco allora si dovrebbe possedere una gamba. |
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.
ajauxwEv | jxwv |
Detailed Instructions: In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other.
Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise
Q: 'English : Men have forced 24 women to sex work in Antalya and Muğla provinces. 79% of these women were not citizens of Turkey.','Kurdish : Tecawiz û Destdirêjiya li zarokan'
A: | No |
Detailed Instructions: Convert a disfluent question to a proper question. A disfluent question is a question that has some interruptions in it while framing. A proper question is the correct form of the question without any disfluency.
Q: What are some other roles uh instead factors a pharmacist can't monitor?
A: | What are some other factors a pharmacist can't monitor? |
Detailed Instructions: In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other.
Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise
Q: 'English : As a result of the blind polling, among those whose memberships have ended, 267 members have been elected to the Supreme Court of Appeal and 75 others to the Council of State.','Kurdish : Waliyê Stenbolê yê berê Huseyin Avni Mutlu hat binçavkirin. Di van saetan de li mala Mutluyî jî lêgerîn tê kirin.'
A: | No |
Detailed Instructions: The provided file includes inquiries about restaurants, and we ask you to translate those to the Finnish language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
Q: how many reviews are there at " starbucks " ?
A: | kuinka monta arvostelua on " starbucks "-ravintolalla? |
In this task you are expected to fix an SQL query based on feedback. You will be given an SQL statement and an English description with what is wrong about that SQL statement. You must correct the SQL statement based off of the feedback. 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.
[EX Q]: SQL: SELECT * , Player , Source FROM injury_accident WHERE Injury ! = "Knee problem"
Feedback: Also need to find number of matches .
[EX A]: SELECT player , number_of_matches , SOURCE FROM injury_accident WHERE injury != 'Knee problem'
[EX Q]: SQL: SELECT f_id FROM song WHERE song_name = "mp3"
Feedback: Use country from files table alternatively to file size .
[EX A]: SELECT f_id FROM files WHERE formats = "mp3"
[EX Q]: SQL: SELECT Count ( * ) FROM member
Feedback: Replace member table with performance table .
[EX A]: | SELECT count(*) FROM performance
|
TASK DEFINITION: Given an entity, a before event, an after event, and an attribute related to the entity, generate a sentence as output. Your sentence should show the changes in the attribute of the entity.
PROBLEM: entity: players
before: working on drawings
after: finished with drawings
attr: state
SOLUTION: state of players was working on drawings before and finished with drawings afterwards
PROBLEM: entity: racket
before: lowered
after: aligned with face
attr: position
SOLUTION: position of racket was lowasd before and aligned with face afterwards
PROBLEM: entity: you
before: planting trees
after: collecting fruits
attr: state
SOLUTION: | state of you was planting trees before and collecting fruits afterwards
|
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.
Q: Query: SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:influence.influence_node.influenced M0 .
?x0 ns:people.person.nationality ns:m.0f8l9c
} Question: Was M3 written by , produced by , and directed by a female American star of M1
A: 0
****
Q: Query: SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:people.person.gender ns:m.02zsn
} Question: Was a production company 's parent founded by M0 and M1
A: 0
****
Q: Query: SELECT count(*) WHERE {
?x0 a ns:film.writer .
M1 ns:film.film.executive_produced_by ?x0 .
M1 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M1 ns:film.film.written_by ?x0
} Question: Was M1 executive produced , produced , and written by a screenwriter
A: | 1
****
|
Detailed Instructions: You are given a target race, and two sentences. Your task is to determine whether the second sentence is either a stereotype, anti-stereotype, or is unrelated with respect to the first sentence and the target. A stereotype is a widely held but oversimplified notion of a group of people. An anti-stereotype is an idea that goes against the widely held but oversimplified notion of a group of people. Sentences and targets are unrelated if there is no relevance between them.
Q: Target: Yemen
yemen is far away. they have a great culture.
A: | anti-stereotype |
Given a sentence in Italian, generate a new Italian sentence by performing small changes on the sentence. Here, make sure that the changes are semantically related and syntactically similar to the input. And the generated sentence should have high commonsense plausibility, that is to have reasonable probability of it being true.
[EX Q]: Mangeresti il gelato perche' sei depresso.
[EX A]: Cambieresti il gelato perché sei depresso.
[EX Q]: Puoi ordinare reggiseni a una comunicazione.
[EX A]: Puoi ordinare da mangiare in un ristorante.
[EX Q]: L'effetto della lettura è la mente è guadagnato.
[EX A]: | L'effetto della lettura è il cibo è guadagnato.
|
Detailed Instructions: In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to concatenate all elements of A from the ith element to the jth element, and print the resultant string. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j.
Problem:6, 8, ['9803', 'R', '3565', '4123', 'W', 'M', '1567', '9179', '4663', 'f', 'm', '7927', '5455', '6719', '8557', 'b', '8743', 'O', 'Y']
Solution: | M15679179 |
Instructions: In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
Input: 18/04/2007, input_format=dd/mm/yyyy
Output: | 04/18/2007 |
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Entity 1: mammal
Entity 2: swelling
no
Entity 1: pouch
Entity 2: organ
yes
Entity 1: greensand
Entity 2: worm
| no
|
Definition: 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'.
Input: 11:52:26 doesn't occur between 09:48:59 and 6:15:20 AM
Output: | True |
Given the task definition and input, reply with output. Your task is to localize given English phrase into Telugu language. When localising, follow these rules - (1) General names and concepts can be translated (2) Domain specific names can just be transliterated (3) Localised phrases can have both partial translated and transliterated parts (4) But only partial translation or only partial transliteration is not allowed (5) Copy special characters and numbers as is
A Window is no longer visible on all desktops
| విండో అన్నిడెస్క్ టాప్లపైనా ఇకపై కనిపించదు |
Given a sentence in the Central Khmer, provide an equivalent translation in Japanese that retains the same meaning through the translation. In translation, keep numbers as it is.
[Q]: ក្រោយការបោះឆ្នោតជ្រើសរើសរដ្ឋមន្ត្រី មានជំហានបីនឹងកើតឡើង។
[A]: 首相選出後は3つの段階を踏む。
[Q]: ក្រោយពីបើកទៅកាន់ផ្លូវកសិដ្ឋានវាត្រឹមបានជឿថាពួកគេអាចនឹងបានចាកចេញទៅកាន់យានយន្ដទីបីហើយ។
[A]: FarmStreetまで走行した後、彼らは第3の車に乗って逃走した可能性があると考えられている。
[Q]: អេ380បានធ្វើការហោះហើរពាណិជ្ជកម្មជាលើកដំបូងរបស់ខ្លួននៅឆ្នាំ2007 ហើយសព្វថ្ងៃនៅដំនើរការជាមួយក្រុមហ៊ុនអាកាសចរណ៍ផ្សេងៗមួយចំនួនទៀត រួមទាំង ក្រុមហ៊ុនអ៊ែហ្វ្រាំង។
[A]: | A380は2007年に最初の商用飛行を行い、現在エールフランスを含むいくつかの他の航空会社とともに運行中だ。
|
In this task you are given a tweet. You must judge whether the tweet is ironic or not. We define two type of irony for this task ("polarity","situational"). Situational irony happens when a situation fails to meet some expectations. polarity irony happens when irony is achieved by inverting the intended sentence. Label the instances as "ironic" or "not" based on your judgment. Note that URLs in the text have been replaced with [Link].
[EX Q]: Walking down the mall in front of a group of guys and hear "even the momma got it" Jesus lol everyone loves polly
[EX A]: not
[EX Q]: Just submitted my final paper of the semester. It's only a make-it or break-it on whether I pass the class. No big deal. :expressionless_face::thumbs_down_sign:
[EX A]: ironic
[EX Q]: To all those who held back in #2014 start again in #2015 as.. "@SanFranciscoVC: It's never too late to start! [Link]"
[EX A]: | not
|
In medical studies, treatments are tested within a group of study participants. To determine if a new treatment works, various outcomes are measured in the people who take part in the study. You will be given a sentence of a study report in which your task is to list the phrases that give information about the outcomes of the study. You should list the phrases in the same order that they appear in the text, separated by commas. If no information about the outcome is mentioned, just answer with: "not found".
Outcomes contain: outcomes measured in patients: like blood sugar,
outcomes regarding the intervention: like effectiveness, costs
the score on a medical test or questionnaire,
positive or negative events in the patient groups: like quitting smoking, or adverse reactions.
Do not mention numbers or results, interpretations of outcomes, outcome mentions without relevant information.
--------
Question: Under Fluoxetine , mPFC activation was up-regulated and normalized in ASD boys relative to controls , but down-regulated in ADHD boys relative to placebo , which was concomitant with worse task performance in ADHD .
Answer: mPFC activation, task performance
Question: Microalbuminuria itself predicts clinical proteinuria in nondiabetic and in diabetic people .
Answer: proteinuria
Question: Participants were 236 heavy drinking smokers in a randomized clinical trial testing the efficacy of incorporating brief alcohol intervention into smoking cessation treatment .
Answer: | efficacy
|
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
--------
Question: [9, 8, 8, 7, 5, 1, 10, 8, 6] , [2, 4, 10, 9, 9, 2, 2, 5, 4]
Answer: [5, 9, 10]
Question: [7, 1, 6, 2, 2, 1, 8, 5, 3] , [1, 3, 1, 10, 7, 2, 4, 6, 8]
Answer: [1, 2, 3, 6, 7, 8]
Question: [4, 8, 10, 7, 7, 9, 10] , [3, 9, 10, 4, 9, 5, 9]
Answer: | [4, 9, 10]
|
Q: In this task, you are given inputs 'i', 'j', and A, where 'i' and 'j' are integers and A is a list. A list is shown by two brackets and comma-separated numbers and characters inside, like ['1', '12', 'l']. You need to concatenate all elements of A from the ith element to the jth element, and then reverse the resulting string. 'i' and 'j' will be non-negative, and will always have a value less than the length of A. 'i' will always be less than 'j'. Perform the operations in order, i.e., do not reverse first and then concatenate.
12, 13, ['m', '3795', '2031', 'O', 'L', '649', '95', 'S', 'g', '9831', '6559', 'N', '7665', 'n', '4761', '281', '4229', '9315']
A: | 5667N |
Detailed Instructions: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Problem:leak
Solution: | damage |
In this task, you are given a premise, a hypothesis, and an update. The premise sentence describes a real-world situation and is always assumed to be true. The hypothesis sentence describes an assumption or inference that you might make about that situation having read the premise. The update provides additional information about the situation that might weaken or strengthen the hypothesis. A weakener is a statement that weakens the hypothesis, that is, it makes you much less likely to believe the hypothesis is true. A strengthener is a statement that strengthens the hypothesis, that is, it makes you much more likely to believe the hypothesis is true. Your task is to answer with 'strengthener' or 'weakener' if the update strengthens or weakens the hypothesis, respectively.
Premise: A woman is standing on the sidewalk late in the evening.
Hypothesis: The woman is waiting for someone.
Update: The woman is talking to someone. | weakener |
Detailed Instructions: In this task, you have given an input which is agent's reply, based on that you have to identify what will be users' command for that reply. The user generally asks a question related to event scheduling or information of the scheduled events. Agent reply based on the available information or do the task as per user command.
Q: The event with Mr. Smith is on Saturday at 4:00 PM.
A: | When is my meeting with Mr. Smith? |
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
8089 aggiunta 5227 aggiunta 1659 sottrazione 410 sottrazione 2818 | 11747 |
In this task, you are given music product reviews in French language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative.
CD protégé = utilisateur floué . Ce CD comme, de plus en plus, est protégé par un système destiné à empêcher tout acheteur de disposer à sa guise de ce qu'il a légalement acheté (en faire une copie pour son autoradio, le passer en mp3 pour son baladeur, etc.). En conséquence, je n'acheterai pas ce CD aussi bon fut-il. | NEG |
You will be given a context and a verb separated with a newline character. You have to decide if the given verb implies a hypothetical or conditioned action or not. We say a verb is hypothetical if it involves or is based on a suggested idea or theory. A verb is conditional if it appears in a conditional phrase and is dependent on something else. Note that an event that happened in the past or is happening now cannot be conditional. The output should be "Yes" if the verb is conditional or hypothetical and "No" otherwise.
Ex Input:
Skeptics say that D-Wave has yet to prove to outside scientists that it has solved the myriad challenges involved in quantum computation. But if it performs as Lockheed and D-Wave expect, the design could be (used) to supercharge even the most powerful systems, solving some science and business problems millions of times faster than can be done today.
Verb: used
Ex Output:
Yes
Ex Input:
It was definitely a bomb, said a U.S. Embassy official in Nairobi, who refused to identify himself. You can (see) a huge crater behind the building, and a bomb went off at the embassy in Tanzania at the same time, he said.
Verb: see
Ex Output:
No
Ex Input:
She said she and other family members had spoken to Elian's father by phone both before and after the mother perished. The father's response when learning that his boy was safe in Miami was take care of him until I can (go), meaning go to the United States, Cid said.
Verb: go
Ex Output:
| Yes
|
Detailed Instructions: In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the count of all the alphabetical elements in the given list. Return 0 if no alphabetical element in the list
Q: ['C', '6767', '8301', '8413', 'U', 'h', '6309', '7111']
A: | 3 |
Q: This task is to translate a news commentary given in Italian language into Zhuang language. Translate the input statement into the output language while preserving the numberical values, special characters and proper nouns and context of the commentary done.
I suoi oppositori hanno d’altra parte criticato duramente le proposte di Obama che, a loro avviso, porteranno ad un crollo del budget. In realtà, entrambi i partiti stanno evitando la realtà dei fatti in quanto senza l’introduzione di nuove tasse, non si potrà mai arrivare ad una nuova economia statunitense, moderna e competitiva.
A: | 这样的窘境已经在美国成为现实。 在刚刚发表的国情咨文中,巴拉克·奥巴马总统描绘出二十一世纪现代政府的一幅诱人图景。 奥巴马的共和党对手抱怨这项提案会让政府破产。 可事实是两党都没有勇气承认现实: 如果不增加税收,就不可能缔造出现代化、有竞争力的美国经济。 |
The given sentence contains a typo which could be one of the following four types: (1) swapped letters of a word e.g. 'niec' is a typo of the word 'nice'. (2) missing letter in a word e.g. 'nic' is a typo of the word 'nice'. (3) extra letter in a word e.g. 'nicce' is a typo of the word 'nice'. (4) replaced letter in a word e.g 'nicr' is a typo of the word 'nice'. You need to identify the typo in the given sentence. To do this, answer with the word containing the typo.
Q: A ma riding on the back of a brown horse near people.
A: | ma |
In this task, you are given the name of an Indian food dish. You need to classify the dish as "sweet" or "spicy".
Ex Input:
Singori
Ex Output:
sweet
Ex Input:
Aloo matar
Ex Output:
spicy
Ex Input:
Bhatura
Ex Output:
| spicy
|
In this task, you are given two phrases: Head and Tail, separated with <sep>. The Head and the Tail events are short phrases possibly involving participants. The names of specific people have been replaced by generic words (e.g., PersonX, PersonY, PersonZ). PersonX is always the subject of the event. You have to determine whether the Head is used for the Tail or not. The usage describes everyday affordances or uses of objects and includes both typical and atypical uses. For example, a popcorn bucket can typically be used to hold popcorn, but it could also serve as a hat in atypical situations. Classify your answers into "Yes" and "No". The phrase may also contain "___", a placeholder that can be an object, a person, and/or an action.
Q: Head: PersonX attends school<sep>Tail: To pass the test
A: | No |
Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
A: Nice
Q: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.google.android.marvin.talkback.
A: I hate it like hell It is so annoying
Q: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger.
A: I'm not getting notifications
Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.danvelazco.fbwrapper.
A: | Great Latest news facebook force us to use messanger for conversations could you fix that? It crash every time you go in messages... |
Detailed Instructions: 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.
Problem:فیلم جذابیت خاصی نداشت و فقط بازی های خوب , به ویژه بازی دوست داشتنی امیر جان جدیدی , تنها نقطه قوت فیلم بود.
Solution: | بازی |
You will be given a sentence containing a pronoun/person name and an emotion. From these implicit parameters, the main goal is to find the gender of the person (male / female).
Example Input: Ryan told us all about the recent gloomy events.
Example Output: male
Example Input: Shaniqua feels glad.
Example Output: female
Example Input: My daughter made me feel scared.
Example Output: | female
|
Instructions: You are given a geometric mathematical question. Questions in this task often involve shapes and Geometric Relationships. You are also given 4 or 5 answer options (associated with "A", "B", "C", "D", "E"). Do not generate anything else apart from one of the following characters: 'A', 'B, 'C', 'D', 'E'. LaTeX mathematical format (the standard way to express mathematical expressions in the typesetting software known as LaTeX) is used to express equations. Each question is solvable with high school math knowledge.
Input: A 1,000 square meter parcel of land is bought for \$300,000 and then divided into five equally sized plots. The first four plots are then sold at a price of \$320 per square meter. If the overall profit is to be at least 20\%, what is the minimum selling price of the fifth plot?
(A)\$64,000 (B)\$68,000 (C)\$80,000 (D)\$96,000 (E)\$104,000
Output: | E |
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.
77029 | Yes |
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
password = TFIw39NG. | 0 |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: [-74.98, 60.159, -26.387, 165.884]
Student: | [-0.601 0.483 -0.212 1.331] |
Detailed Instructions: You are given first 5 messages from a series of message exchanges between 2 persons playing the game of Diplomacy which is an American strategic board game. You need to generate the next message. The message should be generated such that it fits the context seen so far. Avoid the text that is (i) tangent to the context, (ii) repeats the context.
Q: ['Hey Germany, would you be interested in a peace between us, at least in the beginning?', "I don't think either of us would benefit of starting a quibble when there's other powers at our borders.", 'I’d be more than happy to oblige. From what I hear you’re going to have your hands full in the easy anyways. DMZ Tyrolia and Bohemia?', "Sounds good. If things change with Italy, I'll let you know.", 'It seems turkey has decided to side with germany']
A: | Russia, sorry |
Instructions: Given a prompt and two completions from a language model, select the completion that is the least toxic with respect to continuing the prompt. Toxicity is defined as a rude, disrespectful, or unreasonable statement that is likely to make you leave a discussion. Generate either Completion A or Completion B.
Input: Prompt: Yes, so I know So Jalen was doing the line too, and I hope that they didn't
Completion A: make another mistake this year."While there hasn't been much talk about Ryan's role since he left the Falcons in the offseason, former Jets
Completion B: come down here to do something and that I'm right. They're just trying to work it out. They've had meetings. They'r
Output: | Completion A |
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.
88019 | Yes |
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
eveewwevevwv | ewwe |
In this task, we ask you convert a data table of restaurant descriptions into fluent natural-sounding English sentences. The input is a string of key-value pairs; the output should be a natural and grammatical English sentence containing all the information from the input.
--------
Question: name[The Mill], eatType[coffee shop], food[French], priceRange[less than £20], area[riverside], near[The Sorrento]
Answer: The Mill is a beautiful riverside coffee shop that offers affordable and delicious small bites from around the world. It is just down the road from The Sorrento
Question: name[The Punter], eatType[coffee shop], food[Fast food], priceRange[cheap], customer rating[average], familyFriendly[no], near[Café Sicilia]
Answer: The Punter, a Fast food place near Café Sicilia, has an average customer rating. It is not family-friendly, is cheap, and a coffee shop.
Question: name[The Olive Grove], eatType[pub], food[Fast food], priceRange[high], area[city centre], familyFriendly[no]
Answer: | The Olive Grove is a costly fast food center located in the city centre that has pub facility and does not allow kids.
|
TASK DEFINITION: Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
PROBLEM: None of these patients experienced a relapse of their PTLD with follow-up ranging from 1.5 to 5 years.
SOLUTION: non-adverse drug event
PROBLEM: We experienced 2 cases of mequitazine-induced photosensitivity reaction in patients who took mequitazine for their dermatologic problems.
SOLUTION: adverse drug event
PROBLEM: Stupor and fast activity on electroencephalography in a child treated with valproate.
SOLUTION: | adverse drug event
|
Convert a disfluent question to a proper question. A disfluent question is a question that has some interruptions in it while framing. A proper question is the correct form of the question without any disfluency.
Q: How are networks no make that packets delivered differently?
A: | How are packets delivered differently? |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Given a simple high-school level math question, you are required to solve it and provide the final answer. The final answer is always a single number. These questions can range from a variety of topics like simple arithmetic, solving equations, converting a quantity from one unit to another, finding remainders/GCD/LCM, finding probabilities etc. Each question has only one correct answer. This answer can be a positive or negative integer, a fraction or a decimal number. If the answer is a negative number use the hyphen (e.g. -42) symbol for the minus sign. For decimal numbers, do not add extra zeros after the decimal point. For fractional numbers, separate the numerator and denominator using a forward slash (e.g. 3/25).
Let y = -74 - -79. Solve 0 = -y*q - 13 + 3 for q.
Solution: -2
Why? Solving the two equations, we find that the value of q is -2. The solution can be obtained by simply solving the equations one after another using substitution.
New input: What is next in 240, 198, 156, 114, 72, 30?
Solution: | -12 |
Definition: In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy".
Input: 05/09/1322
Output: | 1 |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Ex Input:
Marge, you were the one who wrote the memo? I'm glad you're coming clean because you signed that memo "We are legion."
Ex Output:
Well there are only five of us in the office, who did you think it was? I just meant me and all of the women out there who long for a simpler time when the Nazis had just been defeated. Women were code breakers and leading secret lives.
Ex Input:
Hey dad, 'm excited to graduate, but I think maybe this spray tan was a little bit too much.
Ex Output:
It's just right. I want everyone to know that you're my child.
Ex Input:
It's our anniversary. We've been married 30 years.
Ex Output:
| Happy anniversary. I never would have guessed. You look so young.
|
Given a broad category, generate a trivia-type question based on a specific entity in that category. The question should be non-ambiguous. External resources such as Wikipedia could be used to obtain the facts.
symbols | Who is Bolivia named after? |
In this task, you are given the name of an Indian food dish. You need to classify the dish as "sweet" or "spicy".
[EX Q]: Dal makhani
[EX A]: sweet
[EX Q]: Kabiraji
[EX A]: spicy
[EX Q]: Rajma chaval
[EX A]: | spicy
|
For the given English description, write an SQL command such that it accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Q: Did M3 's male writer edit , direct , and write M0 , M1 , and M2
A: SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:film.editor.film M0 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:people.person.gender ns:m.05zppz
}
****
Q: Did M0 's director , executive producer , producer , and art director executive produce M1 , M2 , and M3
A: SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x0 ns:film.film_art_director.films_art_directed M0 .
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.producer.films_executive_produced M3 .
?x0 ns:film.producer.film|ns:film.production_company.films M0
}
****
Q: Did M1 influence M2 , M3 , and M4 , influence M5 , M6 , and M7 , and marry a cinematographer
A: | SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
FILTER ( M1 != ?x0 ) .
M1 ns:influence.influence_node.influenced M2 .
M1 ns:influence.influence_node.influenced M3 .
M1 ns:influence.influence_node.influenced M4 .
M1 ns:influence.influence_node.influenced M5 .
M1 ns:influence.influence_node.influenced M6 .
M1 ns:influence.influence_node.influenced M7 .
M1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0
}
****
|
Teacher: Read the given story and classify it as 'imagined', 'recalled', or 'retold'. If a story is imagined, the person who wrote the story is making it up, pretending they experienced it. If a story is recalled, the person who wrote the story really experienced it and is recalling it from memory. If a story is retold, it is a real memory like the 'recalled' stories, but written down much later after previously writing a 'recalled' story about the same events. So, recalled stories and retold stories will be fairly similar, in that they both were real experiences for the writer. Imagined stories have a more linear flow and contain more commonsense knowledge, whereas recalled stories are less connected and contain more specific concrete events. Additionally, higher levels of self reference are found in imagined stories. Between recalled and retold stories, retold stories flow significantly more linearly than recalled stories, and retold stories are significantly higher in scores for cognitive processes and positive tone.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Concerts are my most favorite thing, and my boyfriend knew it. That's why, for our anniversary, he got me tickets to see my favorite artist. Not only that, but the tickets were for an outdoor show, which I love much more than being in a crowded stadium. Since he knew I was such a big fan of music, he got tickets for himself, and even a couple of my friends. He is so incredibly nice and considerate to me and what I like to do. I will always remember this event and I will always cherish him. On the day of the concert, I got ready, and he picked me up and we went out to a restaurant beforehand. He is so incredibly romantic. He knew exactly where to take me without asking. We ate, laughed, and had a wonderful dinner date before the big event. We arrived at the concert and the music was so incredibly beautiful. I loved every minute of it. My friends, boyfriend, and I all sat down next to each other. As the music was slowly dying down, I found us all getting lost just staring at the stars. It was such an incredibly unforgettable and beautiful night.
Solution: imagined
Reason: This is a good example because it really was an imagined story. The attributes that should tip you off are that the story is light on concrete events (they describe things in broad terms such as going to a restaurant and being at the stadium, but nothing specific about who was exactly where and anything specifically notable someone said or did) and heavy on references to the writer themselves and their internal feelings (they frequently repeat how much they loved it, how romantic they felt, how they cherished the night, etc). It's also very linear and structured, pointing to this being an imagined story. Additionally, the events and feelings described seem a little romanticized or idealized beyond what is usually a realistic circumstance.
Now, solve this instance: My mother passed away at the end of March last year. My sister and I went to the cemetery where my father is buried to make arrangements to have her interred. It was a very sad, difficult week as she'd been on life support and we'd had to make the decision to remove her from the respirator. The doctors said she'd only live a few hours but she lived for several days and seemed really uncomfortable and in pain. It was a very difficult thing to watch and my sister and I were both kind of traumatized when we walked into our meeting with the funeral director. We knew that my mother had asked for a simple graveside service as most of her friends had passed away. We explained this to the funeral director and she really put pressure on us to upsell everything. We keep refusing, wanting to keep it simple, and this woman made us feel so uncomfortable - and cheap, which we aren't - that I was starting to get upset. After more than an hour of this woman pressuring us we finally made the arrangement we'd planned. We then went out to lunch just to recover from the verbal pummeling of this woman. The day finally arrived and after picking up flowers we got to the cemetery early. The service itself was nice. It was a pretty spring day and quite a few family members came. The funeral director was nice to us, which was a change from when we made the arrangements. Despite the awful experience of planning this it turned out well.
Student: | retold |
In this task your given two statements in Swahili. You must judge whether the second sentence is the cause or effect of the first one. Label the instances as "cause" or "effect" based on your judgment. The sentences are separated by a newline character.
Nilitoboa tundu kwenye ukuta.
Vumbi lilipeperuka kutoka katika tundu. | effect |
Subsets and Splits