prompt
stringlengths 50
14.7k
| response
stringlengths 1
3.54k
|
---|---|
Detailed Instructions: This task is to find the number of 'For' loops present in the given cpp program.
Q:
int fun(int m,int n){
//m????n????
//??????????????????????;
if (m>sqrt(n)) return 0;
//????????????
if (n%m==0) return fun(m+1,n)+fun(m,n/m)+1;
else return fun(m+1,n);
//????????????????????????????????????????+1?
//??????????+1
}
//????????????
main(){
int i,x,y;
cin>>x;
for (i=1;i<=x;i++){
cin>>y;
cout<<fun(2,y)+1<<endl;//??a=a???
}
return 0;
}
A: | 1 |
instruction:
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).
question:
This woman found herself in a dreadful situation.
answer:
female
question:
Latoya told us all about the recent irritating events.
answer:
female
question:
Latoya found herself in a funny situation.
answer:
| female
|
instruction:
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'.
question:
Tweet: @paullonch @francesccebria Que trist ha de ser la total incapacitat de crítica , que trista eludir la realitat,que trista viure d'aparences, que tristata és romandre en la Caverna.
answer:
Against
question:
Tweet: Això ja és el súmmum de la PSICÒPATIA DELIRANT d'aquests CRIMINALS en nom de l'estat ESP i el 155 ... Inclòs els del @PSOE per si alguns ens vol lobotomitzar perquè oblidem ... https://t.co/c0ZLZoHstC
answer:
Favor
question:
Tweet: @LaPotlla @AlbanoDante76 Animalico....t'ha dolgut? Tranquil ja passarà.
answer:
| Against
|
instruction:
Given a sentence in Vietnamese, generate a new Vietnamese 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.
question:
Bạn có thể sẽ tìm thấy một con ngựa trong một nhà máy.
answer:
Bạn có thể tìm thấy một sản phẩm trong một nhà máy sản xuất hoa quả.
question:
Người dịch có thể liên kết trường hợp.
answer:
Cây cầu có thể băng qua sông.
question:
Rất có thể bạn sẽ tìm thấy một dòng suối trên dòng sông.
answer:
| Có lẽ bạn sẽ thắp một điệu nhảy trên bờ sông.
|
Q: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
fiveonesevenfourfour
A: | 51744 |
In this task, you are given a date in "dd/mm/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 if the components day("dd"), month("mm") and year("yyyy") are all valid individually. A day(dd) is valid if it: a) lies between 1 and 31 for the months of January, March, May, July, August, October, December, b) lies between 1 and 28 for February on non-leap years and between 1-29 on leap years, c) lies between 1-30 for all other months. 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".
One example is below.
Q: 15/2/2014
A: 1
Rationale: It is a valid date as the month is February and it is not a leap year, so the range of days is from 1 to 28, and 15 lies in this range.
Q: 30/18/1356
A: | 0 |
instruction:
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.
question:
Head: PersonX bakes PersonX's own bread<sep>Tail: to show cooking skills
answer:
No
question:
Head: expired license<sep>Tail: pick a bedroom door lock
answer:
Yes
question:
Head: PersonX babysits PersonX's nephew<sep>Tail: to thank their sibling for the opportunity
answer:
| No
|
In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline.
customer: Hello, I am Justin Thomas.
__
customer: I would like to visit flower festivals at Washington, DC - DCA. Can you help me in booking a flight ticket?
agent: Sure, I am here to help you, may I know your travelling dates?
customer: My trip dates are 01/30 - 02/01.
agent: Could you please help me with your source code?
customer: My origin is from Chicago, IL - ORD.
agent: Please mention your lay by's.
customer: I need a single connection.
agent: There is a Spirit 1025 airline with fare of 100 which matches your travelling dates. Shall I proceed with booking?
customer: Please proceed.
agent: Your booking has been confirmed on name of Justin Thomas.
customer: Thank you for your response.
agent: Thank you for approaching us. | agent: Hello, how can I help you today? |
Teacher:We would like you to assess the QUALITY of each of the following argument (discussing Gay Marriage) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gay marriage. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gay marriage.
Teacher: Now, understand the problem? Solve this instance: The usual adage is that gays are everywhere--guess what: when you're less than 5% of the population (which is what most estimates tend to hold to), that's not going to be "everywhere."
Student: | Valid |
Given a part of privacy policy text, classify it into one of these categories:
(1) First Party Collection/Use (how and why a service provider collects user information),
(2) Third Party Sharing/Collection (how user information may be shared with or collected by third parties),
(3) User Choice/Control (choices and control options available to users),
(4) User Access, Edit, & Deletion (if and how users may access, edit, or delete their information),
(5) Data Retention (how long user information is stored),
(6) Data Security (how user information is protected),
(7) Policy Change (if and how users will be informed about changes to the privacy policy).
--------
Question: The site collects your location information for an additional (non-basic) service or feature. Collection happens when you implicitly provide information in the mobile app. You can configure your privacy with browser settings.
Answer: First Party Collection/Use
Question: You can use privacy configuration settings (in your browser or on your device) to control the use of cookies and tracking elements by a third party, which collects or receives it for an unspecified purpose.
Answer: User Choice/Control
Question: You can opt in for the use of contact information by the site, which collects it for an additional (non-basic) service or feature.
Answer: | User Choice/Control
|
Teacher:Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Teacher: Now, understand the problem? Solve this instance: A specific security measure not covered above.
Student: | Not Specified |
Teacher:In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
Teacher: Now, understand the problem? Solve this instance: 3475 # 1958 @ 8678 @ 1743 @ 5889
Student: | 17827 |
Instructions: Given a text from Polish tweets, classify given tweet text into two categories: '1' (bullying), and '0' (not bullying) on its content.
Input: 8 Przebudzenie - Iluzji Laka wykonawcy L.U.C.\nhttps://t.co/96WBe4T5GH
Output: | 0 |
Given a text from Polish tweets, classify given tweet text into two categories: '1' (bullying), and '0' (not bullying) on its content.
@anonymized_account PiS to komuniści wspierający nazistów, ONR to naziści wspierający komunistów. | 1 |
Definition: Given a part of privacy policy text, classify it into one of these categories:
(1) First Party Collection/Use (how and why a service provider collects user information),
(2) Third Party Sharing/Collection (how user information may be shared with or collected by third parties),
(3) User Choice/Control (choices and control options available to users),
(4) User Access, Edit, & Deletion (if and how users may access, edit, or delete their information),
(5) Data Retention (how long user information is stored),
(6) Data Security (how user information is protected),
(7) Policy Change (if and how users will be informed about changes to the privacy policy).
Input: You can opt out (via a link) from the use of unspecified information by a third party, which collects or receives it for an unspecified purpose.
Output: | User Choice/Control |
Given the task definition and input, reply with output. In this task, you will be shown an English sentence. You need to classify the sentence as either a representation of an anaphor number agreement or as an incorrect representation. An anaphor is an expression whose interpretation depends upon another expression. Anaphor number agreement is a restriction where a phrase agrees with the preceeding expression: plurals match plurals or singular expressions match singular expressions. In this task a valid representation of anaphor number agreement should be denoted as 'good' while everything else should be denoted as 'bad'. A correct representation of an anaphor number agreement will be a grammatically correct instance of a sentence where the subject and self-referencing nouns match plurality. An incorrect representation is a sentence in which the subject and self-referencing noun's plurality do not match.
The Borgias scare themselves.
| good |
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 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'.
03:40:40 PM doesn't occur between 5:35:38 and 07:58:59 AM
Solution: False
Why? The output of 'False' is correct as the input statement is false, since 03:40:40 PM occurs after 07:58:89 AM and not between 5:35:38(AM) and 07:58:59 AM
New input: 19:19:37 occurs between 9:51:00 AM and 4:03:07
Solution: | False |
instruction:
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
question:
If you spent more than 10 sexonds glancing at my profile you would see that I m in no way a nazi or even right leaning .
answer:
no
question:
You will always regret not going and always wonder what it would have been like .
answer:
no
question:
It 's an unfortunate side effect of feeling like I needed to be in emotional distress to have attention directed toward my needs , and although I still feel that way often , I have been consistently seeing a therapist who has helped me not to react like a victim even when I feel like one .
answer:
| no
|
You will be given a definition of a task first, then some input of the task.
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
2932 @ 2684 # 9740
Output: | -4124 |
Teacher: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
Teacher: Now, understand the problem? Solve this instance: Slow keys has been enabled. From now on, you need to press each key for a certain length of time before it gets accepted.
Student: | స్లో కీలు చేతనం చేయబడినాయి. యిప్పుడునుండి, మీరు ప్రతి కీను ఆమోదింపబడుటకు ముందుగా కొంత సమయంపాటు వత్తవలసి వుంటుంది. |
Given this review: "Tiniest thumbnail Image thumbnails should be resizable." Would you recommend this app to a friend? Not at all, No, Maybe, Yes, or Definitely?
| Not at all |
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain.
[Q]: French Southern and Antarctic Lands
[A]: .tf
[Q]: Sint Maarten
[A]: .sx
[Q]: Afghanistan
[A]: | .af
|
Given a premise and two alternatives in Gujarati, choose the alternative that is either a plausible cause or effect of the situation described by the premise. The premise is the 'નિવેદન' field and the alternatives are the 'વિકલ્પA' and 'વિકલ્પB' fields.The output should either be "વિકલ્પ A" or "વિકલ્પ B" based on your judgment.
[EX Q]: નિવેદન: શાળાના સભાખંડમાં મુઠ્ઠીની લડત ફાટી નીકળી હતી.
વિકલ્પ A: આચાર્યએ તેમાં સામેલ વિદ્યાર્થીઓને સસ્પેન્ડ કર્યા હતા.
વિકલ્પ B: આચાર્યએ દિવસ માટે વર્ગ બંધ રાખ્યો.
[EX A]: વિકલ્પ A
[EX Q]: નિવેદન: સિક્યુરિટી ગાર્ડએ તે વ્યક્તિને હાંકી કા .્યો.
વિકલ્પ A: તે માણસ તેના ખિસ્સામાં ગયો.
વિકલ્પ B: માણસે એક શસ્ત્ર પ્રદર્શિત કર્યું.
[EX A]: વિકલ્પ B
[EX Q]: નિવેદન: વક્તાએ તેના ચર્ચા વિરોધીને શસ્ત્રવિરામ કરી દીધું.
વિકલ્પ A: વક્તાએ તેના વિરોધીને અભિનંદન આપ્યા.
વિકલ્પ B: ચર્ચામાં વક્તા જીત્યો.
[EX A]: | વિકલ્પ B
|
Detailed Instructions: In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Problem:WHbWbUwAKYeWzWIiKq, VlvTvJQRbUwAKYeWzkMqE
Solution: | bUwAKYeWz |
instruction:
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
question:
17:23 Hrs
answer:
05:23 PM
question:
13:49 Hrs
answer:
01:49 PM
question:
10:01 Hrs
answer:
| 10:01 AM
|
Please answer this: Process: - A star forms - The star does not have enough mass to become a neutron star - The star goes through a change in its core and bonds helium to carbon and oxygen - The star becomes a red giant - A mass of carbon and oxygen builds up in the center of the star - The star sheds its outside layers and becomes a nebula - The star leaves behind the core which becomes a dwarf star. Perturbation hypothesis: suppose star is smaller in size happens, how will it affect a SMALLER white dwarf star. Does the supposed perturbation have an effect (direct or indirect) on the process?
++++++++
Answer: yes
Please answer this: Process: - Build a satellite - Attach a rocket - Add rocket fuel - Launch rocket - Satellite goes into orbit. Perturbation hypothesis: suppose less resources available happens, how will it affect LESS or SMALLER satelites in space. Does the supposed perturbation have an effect (direct or indirect) on the process?
++++++++
Answer: no
Please answer this: Process: - A dam is built in an area prone to flooding - A large amount of rain occurs - The water builds up behind the dam - The dam opens its floodgates when it starts to get full - The water flows into a river below the dam - The dam closes its gates - The dam will occasionally open its gates again to gradually release more water - Eventually all of the floodwater will be slowly released into the river without causing any flood damage. Perturbation hypothesis: suppose there is an increase in domestic budget happens, how will it affect IMPROVED safety from flooding. Does the supposed perturbation have an effect (direct or indirect) on the process?
++++++++
Answer: | yes |
instruction:
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list.
question:
[1, 4, 5, 5, 0]
answer:
[1, 4, 0]
question:
[3, 4, 4, 3, 7]
answer:
[7]
question:
[7, 3, 7, 3, 3, 4]
answer:
| [4]
|
Definition: Given a premise and two alternatives in Gujarati, choose the alternative that is either a plausible cause or effect of the situation described by the premise. The premise is the 'નિવેદન' field and the alternatives are the 'વિકલ્પA' and 'વિકલ્પB' fields.The output should either be "વિકલ્પ A" or "વિકલ્પ B" based on your judgment.
Input: નિવેદન: માતાપિતાએ તેમના બાળકોને એક મા બાપ બહાર હોય ત્યારે બાળકની દેખરેખ કરનાર બાળકો સાથે છોડી દીધા હતા.
વિકલ્પ A: તેમના સૌથી નાના બાળક પૂર્વશાળાએ જવાનું શરૂ કર્યું.
વિકલ્પ B: તેઓએ તેમની વર્ષગાંઠની ઉજવણી કરવાની યોજના બનાવી.
Output: | વિકલ્પ B |
Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
[128, 277, 83, 280, 193, 19, 111, 154, 41, 292, 29, 53, 232, 153, 131, 151, 121, 262, 270, 132], k=15
Solution: 111
Reason: 111 is the 15th largest element in the list.
Now, solve this instance: [154, 185, 180, 217, 200, 49, 133, 203, 10, 250, 256, 289, 69, 260, 186, 149, 244, 271, 225, 178], k=2
Student: | 271 |
Teacher:In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places.
Teacher: Now, understand the problem? Solve this instance: [96.751, -19.713, 209.611, 175.81, 17.584, 195.179, -39.639, -80.064, 154.148, 176.935]
Student: | 88.66 |
Teacher: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Teacher: Now, understand the problem? If you are still confused, see the following example:
[2,5,1,4],[2,5,8,4,2,0]
Solution: [2,4,5]
Reason: The elements 2,4, and 5 are in both lists. This is a good example.
Now, solve this instance: [6, 2, 7, 3, 2, 1, 1, 6, 3] , [2, 2, 7, 2, 7, 3, 2, 1, 7]
Student: | [1, 2, 3, 7] |
Instructions: Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase.
Input: Castlebrae Community High School은 Greendykes의 에딘버러 지역에있는 중등 학교입니다.
Output: | Castlebrae Community High School est une école secondaire située dans le quartier de Greendykes à Édimbourg. |
You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education.
Q: Minecraft Mining
A: | coal need wood or stone but certainly no bone iron need stone ia'll raise my tone gold need iron and so do diamond but it be different with obsidian which need diamond |
In this task, you will be given a sentence or two along with a change aspect. You should change the given text in the given aspect. Aspects are explained below:
Tense: Change the tense of the verbs in the text. If they're in past tense, change them to present, and if they're in present tense, change them to past tense.
Number: Change the number of the nouns in the given text. Make plurals into singles and single into plurals. Remember to change the corresponding pronouns accordingly.
Voice: If the verbs are in active voice, change them to be passive, otherwise, change them to be in active voice.
Adverb: add one or multiple adverbs to the text.
Gender: If the text contains female names and pronouns, substitute them with male names and pronouns. Do the same for sentences with mala names and pronouns.
--------
Question: sentence: The father carried the sleeping boy in his bassinet . aspect: Adverb
Answer: The father cautiously carried the sleeping boy in his bassinet .
Question: sentence: I can't cut that tree down with that axe ; it is too thick . aspect: Voice
Answer: The tree could not be cut with that axe by me ; it is too thick .
Question: sentence: John ordered Bill to leave , so an hour later he left . aspect: Voice
Answer: | Bill was ordered by John to leave , so an hour later he left .
|
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 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: plant
Entity 2: leaf
Solution: yes
Why? The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym.
New input: Entity 1: trochlear notch
Entity 2: coronoid process
Solution: | yes |
Detailed Instructions: In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items.
See one example below:
Problem: ['3', 'u', 'W', '8', 'j']
Solution: [['3', 'u', 'W', '8'], ['3', 'u', 'W', 'j'], ['3', 'u', '8', 'j'], ['3', 'W', '8', 'j'], ['u', 'W', '8', 'j']]
Explanation: The output is a list of length 5, containing lists of length 4. Each inner list is created by dropping one item if the input list. So this is a good example.
Problem: ['0', '2', '9']
Solution: | [['0', '2'], ['0', '9'], ['2', '9']] |
In this task, you are given a country name and you need to return the calling code of the given country. Your output must be formatted as a plus sign (+), followed by the calling code number
--------
Question: Russia
Answer: +7
Question: Ukraine
Answer: +380
Question: Jordan
Answer: | +962
|
Detailed Instructions: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Problem:[3, 10, 3, 3, 2] , [3, 9, 2, 4, 2]
Solution: | [2, 3] |
Detailed Instructions: You are given a dialog between 2 or more individuals. Within the dialog, there will be clues that indicate two individuals were or are dating. You will be prompted at the end to answer which Speaker (or named individual) is dating which other Speaker (or named individual).
Q: Speaker 1: Hi, Mike's place.
Speaker 2: Hey, it's Mike.
Speaker 1: Ooh, that was fast.
Speaker 2: Oh, err... no, she's not here yet. You know, I think I'm just gonna take off and break up with her over the phone...
Speaker 1: Yeah, you can't do that! Oh, come on Mike, strap on a pair. Why don't you just tell her that we got back together. You know, women appreciate honesty. We also appreciate gentle spanking once in a while. Just F.Y.I.
Speaker 2: One more thing... There... might be a picture of Precious on my coffee table.
Speaker 1: Her name is Precious? Is she a purebreed or did you pick her up at the pound?
Speaker 2: Anyway, I just wanna give you a heads up.
Speaker 1: Okay, oh and you know, if she gets upset, just scratch her tummy and give her a liver snout.
Speaker 3: Hi, I'm Precious, who are you?
Speaker 1: I... I'm Phoebe.
Speaker 3: Phoebe? Mike's ex-girlfriend Phoebe, the love of his life? That Phoebe?
Speaker 1: Enchant Speaker 3 is or was dating which Speaker?
A: | Speaker 2 |
Teacher: 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'.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Tweet: Vull votar i votaré. Hi ha quelcom que no em permet no fer-ho. Ara bé tinc un greu problema. No sé a qui!!
Solution: Favor
Reason: The tweet asks for the right to vote for the independence of Catalonia and it supports the movement so it will be characterized as 'Favor'.
Now, solve this instance: Tweet: Va en serio que faràn servir el Fairy com arma violenta??🤔 Ostres doncs canviaré de sabó de rentaplats, no fos cas que em pugui ferir greument! Que patètic tot plegat ..!#judici1O #judicifarsa #JudiciProcés
Student: | Against |
Given the task definition, example input & output, solve the new input case.
You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Example: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
2 and 8 are present in the list and sum to 10 which was the target sum
New input case for you: [37, 42, 45, 12, 29, 14, 35, 41, 16, 13, 40, 30, 9, 10, 34, 18, 3, 48, 25, 20], target=91
Output: | [] |
Teacher: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to classify the command into one of these seven categories: (1) majority, (2) unique, (3) superlative, (4) count, (5) comparative, (6) aggregation, and (7) ordinal.
Here are the defications of each category:
1. majority: Describing the majority values (most or all) over one column, with the scope of all table rows or a subset of rows
2. unique: Describing one unique row, regarding one column, with the scope of all table rows or a subset of rows
3. Superlative: Describing the maximum or minimum value in a column, with the scope of all table rows or a subset of rows
4. Ordinal: Describing the n-th maximum or minimum value in a column, with the scope of all table rows or a subset of rows
5. Comparative: Comparing two rows in the table, regarding their values in one column
6. Count: counting some rows in the table based on the values in one column, with the scope of all table rows or a subset of rows
7. Aggregation: Describing the sum or average value over a column, with the scope of all table rows or a subset of rows.
Here are the definitions of logical operators for understanding of command:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Teacher: Now, understand the problem? If you are still confused, see the following example:
round_eq { sum { all_rows ; casinos } ; 217 }
Solution: aggregation
Reason: In this example sum returns the sum of the values in all of the casinos rows. Hence, aggregation is right category.
Now, solve this instance: eq { count { filter_eq { all_rows ; location ; metlife stadium } } ; 3 }
Student: | count |
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.
When did no what is the least controversial aspect of imperialism?
what is the least controversial aspect of imperialism?
Can the node ever transfer oh no that should be can acquire the wrong connection id?
Can the node ever acquire the wrong connection id?
What did the fledgling Islamists uh sorrry the non-Afghan veterans returning home have in addition to their prestige?
| What did the non-Afghan veterans returning home have in addition to their prestige?
|
In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
1549 | 0 |
In this task, you are given a list of integers. You need to find the median of the list of integers and return that as the output. The median is the middle value in the list of numbers such that half of the elements are less than the median and the other half of elements are greater than the median.
[173, 33, 413, 283, 94, 367, 369, 111, 217, 306, 498, 61, 107, 488, 72, 280, 258, 19, 461, 161, 153, 203, 396, 414, 250] | 250 |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_WALK
walk opposite right after run left thrice
I_TURN_LEFT I_WALK I_TURN_LEFT I_JUMP
walk left and jump left
I_TURN_LEFT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT
| turn left and turn around right twice
|
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 : The list of TV and radio channels whose licenses have been revoked is as follows:','Kurdish : Wezareta Perwerdehiyê (MEB) ragihand ku derbarê 15 hezar û 200 kermend ji wezîfeyê hatiye dûrxistin û derbarê wan de lêpirsîn dane destpêkirin.'
[A]: No
[Q]: 'English : “Then, the commission has been set. According to the commission’s report, Cemil was killed in custody and his body was lost.','Kurdish : 'Piştî wê komîsyon hat avakirin û li gorî rapora komîsyonê Cemîl di binçavkirinê de hatiye kuştin û laşê wî hatiye windakirin.''
[A]: Yes
[Q]: 'English : * A.İ., cleaning services manager of a hospital in Kocaeli has raped the 38 year-old sanitation worker S.B. in his car whom he had called for talking about work and injured her as she resisted. The woman who got pregnant upon the rape got an abortion. A.İ has continued harassing the woman further in the hospital and got her fired as well as threatened to harm her daughter. Investigation has been launched on the man upon her complaint. (This incident which has occurred five months ago has appeared in the press on May 12 only after the investigation has been launched.)','Kurdish : *Li Edeneyê refaqatkarekî bi navê A.U. (46) jineka ku ji ameliyatê derketibû biriye odeya xwe û li dijî wê destdirêjiya cinsî kiriye. Li ser gilîkirina wê jinê ew mêrik hate girtin.'
[A]: | No
|
Part 1. Definition
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.
Part 2. Example
HeLa cells were first treated with 250 mug / ml Trail followed by pulse labeling of newly synthesized proteins with [ 35S ] methionine.
Answer: HeLa cells
Explanation: HeLa cells are the first immortal human cell line. It should be tagged.
Part 3. Exercise
While high levels of Ca2 + alone had little effect on chondrocyte viability , the cation enhanced Pi - dependent cell death and greatly increased Pi uptake .
Answer: | chondrocyte |
Given the task definition and input, reply with output. 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.
Sentence: 'a boy playing tennis on a hard surface tennis court with a chain link fence behind him'. Is 'him' the longest word in the sentence?
| No |
You are supposed to identify the category of a high-school level math question. There are five possible categories (1) algebra (2) arithmetic (3) measurement (4) numbers, and (5) probability. Use the following guidelines: (1) 'algebra' questions will typically contain letter variables and will ask you to find the value of a variable (2) 'arithmetic' questions will ask the sum, difference, multiplication, division, power, square root or value of expressions involving brackets (3) 'measurement' questions are questions that ask to convert a quantity from some unit to some other unit (4) 'numbers' questions will be about bases, remainders, divisors, GCD, LCM etc. (5) 'probability' questions will ask about the probability of the occurrence of something. A question must belong to only one category.
Calculate prob of sequence tsst when four letters picked without replacement from ssttstttttttts.
probability
Calculate prob of sequence igml when four letters picked without replacement from {g: 2, n: 1, l: 2, m: 1, i: 2}.
probability
Calculate (-72 - -77) + (1 - 11).
| arithmetic
|
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: carp
Answer: chordate
Question: hat
Answer: commodity
Question: pineapple
Answer: | produce
|
instruction:
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'.
question:
Tweet: RT @QuicoSalles: La mala traducció d’un informe dels @Mossos, prova de descàrrec de Forn. Pompeu Fabra deixa en evidència l'Estat https://t…
answer:
Neutral
question:
Tweet: @GemmaRiGu @arida_17 La @8mComite a #Manresa denuncia l'actuació policial contra les manifestants. Els @mossos han actuat a una zona on hi havia més de 1000 dones lesbianes i trans, infants i persones amb mobilitat reduïda. Malgrat que tothom ja està lliure, hi ha hagut retencions.
answer:
Against
question:
Tweet: La comissària europea de la Competència justifica el veto a la fusió d'Alstom i Siemens dient que s'hauria traduït en un augment dels preus per als consumidors https://t.co/4MKbVitfeK
answer:
| Neutral
|
This task is to find the number of 'For' loops present in the given cpp program.
Input: Consider Input:
int f(int a,int x)
{
int count=1,i;
for(i=x;i<a;i++)
if(a%i==0)
count+=f(a/i,i);
if(i==a)
return count;
else
return 0;
}
void main()
{
int n,a;
scanf("%d",&n);
for(;n>0;n--)
{
scanf("%d",&a);
if(a==1||a==2)
printf("1\n");
else
printf("%d\n",f(a,2));
}
}
Output: 2
Input: Consider Input: /*
* [email protected]
*
* Created on: 2011-11-27
* Author: Administrator
*/
int num0;//????
int factor(int x, int y)//?????
{
int countn = 1;//????????1
if ( x == 1 )
return 0;
if ( x == 2 )
return 1;//??1,2?????
for ( int i = y; i <= sqrt(x); i ++)
if ( x % i == 0 )
countn += factor(x / i, i);//?????
return countn;
}
int main()//?????
{//?????
int n, j;//????
cin >> n;//????
for ( j = 1; j <= n; j++)
{
cin >> num0;//???????
cout << factor(num0, 2) << endl;//??????
}
return 0;//???????????????????
}//????
Output: 2
Input: Consider Input: int prime(int n, int m )
{
int i,total=1;
if(n<m)return 0;
for(i=m;i<=n;i++)
{
if(n%i==0)
total+=prime(n/i,i);
}
return total;
}
void main()
{
int n,b[2000],b0,i;
scanf("%d",&n);
for(i=0;i<=n-1;i++)
{
scanf("%d",&b0);
b[i]=prime(b0,2);
}
for(i=0;i<=n-2;i++)
{
printf("%d\n",b[i]);
}
printf("%d",b[n-1]);
}
| Output: 3
|
Q: In this task, you will be given a debate topic, along with a sentence from the debate. You should classify the given sentence and choose the type of that sentence. Possible types are explained below.
Policy: This refers to a sentence proposing a specific course of action to be taken. It typically contains modal verbs like "should" and "ought to". It cannot be directly proved with objective evidence, and a proper type of support is a logical reason from which the proposition can be inferred.
Value: This refers to a sentence containing value judgments without making specific claims about what should be done (If so, then it is a Policy sentence.). Because of the subjectivity of value judgments, it cannot be proved directly with objective evidence.
Fact: This refers to an objective proposition expressing or dealing with facts or conditions as perceived without distortion by personal feelings, prejudices, or interpretations. A Fact sentence has a truth value that can be verified with objective evidence that may be available at the time the claim is made; predictions about future are considered unverifiable.
Testimony: This refers to an objective sentence about the author's personal state or experience. Evidence for Testimony is not publicly available in most cases.
topic: Hikaru and Kaoru Hitachiin are better together than apart
sentence: If I were with only one brother (and if I were homosexual if a romantic relationship is implied) I think they would still be happy assuming the other twin in also being emotionally occupied with an alternate relationship.
A: | Value |
Instructions: You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Input: Context Word: nourish.
Output: | The doctor was better able to nourish the patient with a tube than a spoon, because the _ was wrong for the job. |
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.
Let me give you an example: ['Heyyyy Turkey', 'Whatcha thinking re: start of the game?', "It kind of depends. I'll probably want to stop Russia from advancing south", "I'm kind of afraid of Austria and Russia teaming together on me", 'I mean if that happens you’re donezos']
The answer to this example can be: What vibes are you getting from each of them?
Here is why: The message fits the context as it asks for the vibes of 2 of them which refers to 2 countries: Austria and Russia in the second last message. Thus it is a positive example.
OK. solve this:
['Hello France, world you like to discuss working together?', 'Hello there, I am interested, mostly in keeping the channel empty for now and we could work together later if this works. Can we agree not to move in the channel', 'Yes, that sounds great', 'I’m also willing to exchange not building F Yor for you not building F Bre at the end of 1901.', 'Sorry, F Liv']
Answer: | Yeah, that works for me |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two sets, and you need to count the number of elements at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. To find the intersection of two given sets, A and B is a set consisting of all the elements common to both A and B.
Set1: '{11, 4, 6}', Set2: '{2, 3, 4, 10, 11, 20}'. How many elements are there in the intersection of Set1 and Set2 ?
Solution: 2
Why? Intersection of Set1 and Set2 is {11, 4} and it has 2 elements. So, the answer is 2.
New input: Set1: '{1, 2, 4, 5, 15, 19, 20}', Set2: '{1, 4, 6, 7, 11, 12, 15, 16, 17, 19}'. How many elements are there in the intersection of Set1 and Set2 ?
Solution: | 4 |
Given the task definition, example input & output, solve the new input case.
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.
Example: crystal
Output: rock
A crystal is a type of rock, so rock is a valid hypernym output.
New input case for you: devolve
Output: | transfer |
Teacher: In this task, you will be given a list of integers. You should remove all of the odd integers from the list(consider 0 an even number). If every integer in the input list is odd then an empty list ("[]") should be returned. Otherwise, answer with the list of even numbers separated by comma inside brackets.
Teacher: Now, understand the problem? If you are still confused, see the following example:
[1, 8, 0, 2, 9]
Solution: [8, 0, 2]
Reason: 1 and 9 are removed from the list because they are odd numbers.
Now, solve this instance: [11, 50, 87, 70]
Student: | [50, 70] |
TASK DEFINITION: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the uv-part strategy, otherwise output No. uv-part is a selfish negotiation strategy. It is used to undermine the requirements of the opponent. For instance, suggesting that the opponent would not need more firewood since they already have the basic supplies or a suggestion that there might be a store near the campsite where the opponent can get the supplies instead.
PROBLEM: Context: 'k i need food as first priority' 'Unacceptable' 'why'
Utterance: 'I require the majority of food as I have explained.'
SOLUTION: No
PROBLEM: Context: 'food is necessary for all living beings. ' 'I am traveling with a big group so we need more water.'
Utterance: 'lots of water only for when u have thirsty'
SOLUTION: Yes
PROBLEM: Context: 'Hi there, and sincerely wish you can exchange some needed items with me.' 'Hello! I'm heading out on a camping trip myself, and also need some provisions. I will be enjoying the fresh air in a cold climate away from any bodies of water. Also, I will be working with a refugee camp while I'm there, providing solace and counsel to poor souls in need. So you see how critical it is that my trip is successful. I believe we can work out a deal though. I recommend that I have 3 water, 2 firewood and 2 food.' 'From my side, our family of 7 are out on a first time adventure and just discovered unfortunately we were inadequately prepared. Thus, all items are quite needed especially the food and water as we have exhausted all the initial basics.'
Utterance: 'I see, but can you reschedule your camping trip for later? I have great needs for the water. You recall I will be camping away from all large bodies of water and will need to pack it all in. I might be able to negotiate on the food.'
SOLUTION: | Yes
|
Instructions: The provided files include famous book titles and sentences in the English language, and we ask you to translate those to the Norwegian Language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and form of each sentence in the Norwegian language. 2) Also names ,dates and places should be preserved it should not get translated.
Input: If he would confine his energies to this all would be well, but there are rumours that he intends to prosecute Dr. Mortimer for opening a grave without the consent of the next-of-kin, because he dug up the Neolithic skull in the barrow on Long Down.
Output: | Dersom han bare ville innskrenke sin energi til det, ville alt være godt og vel; men det går rykter om at han vil anlegge sak mot doktor Mortimer for å ha åpnet en grav uten de nærmeste pårørendes samtykke da han gravet opp den forhistoriske hjerneskallen fra gravhaugen i Long Down. |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
Tweet: @anonymized_account @anonymized_account @anonymized_account Gdzie jest @anonymized_account . Brudziński jesteś kłamcą i marnym kutasem @anonymized_account, Question: Does the tweet contain cyberbullying (harmful) content?
Solution: Yes
Why? The tweet contains Bullying content
New input: Tweet: p o p y t a j c i e \nW i e m \nZ e \nT a m \nJ e s t e s c i e \nhttps://t.co/QLATAtPuaS , Question: Is the tweet free of any cyberbullying (harmful) content?
Solution: | Yes |
Detailed Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the no-need strategy, otherwise output No. no-need is a cooperative negotiation strategy. It is used when a participant points out that they do not need an item based on personal context such as suggesting that they have ample water to spare. no-need can directly benefit the opponent since it implies that the item is up for grabs.
Problem:Context: 'That sounds fair. The kids can bathe in the stream. We are good with 2 food packs.' 'Lol, wish i could. Then you take all 3 of the firewood, I'll take 2 of the Water and 1 of the food, sound good?' 'Just to be clear, I get 3 firewoods, 1 water and 1 food. You get 0 firewood, 2 waters and 2 food packs?'
Utterance: 'Everything sounds good except you and your family take 2 of the food, i need to lose weight anyway.'
Solution: | Yes |
Q: In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places.
[-84.323, 103.98, 130.165, 248.69, 201.98, 160.383, 196.963, 176.567, 216.351, 18.029]
A: | 136.879 |
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Example Input: Set1: '{8, 11}', Set2: '{10, 19, 12}'. How many elements are there in the union of Set1 and Set2 ?
Example Output: 5
Example Input: Set1: '{17, 18, 4}', Set2: '{3, 7, 8, 11, 15, 16, 17, 19}'. How many elements are there in the union of Set1 and Set2 ?
Example Output: 10
Example Input: Set1: '{7, 9, 11, 12, 13, 14, 15, 17, 18}', Set2: '{3, 6, 7, 8, 9, 10, 11, 12}'. How many elements are there in the union of Set1 and Set2 ?
Example Output: | 13
|
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
Q: me gustaría saber la ubicación de " dunkin donuts " ?
A: i 'd like to know the location of " dunkin donuts " ?
****
Q: quiero restaurantes con más de 6 reseñas.
A: i want restaurants with more than 6 reviews .
****
Q: encuentre comentarios sobre "george".
A: | find reviews from " george " .
****
|
Detailed Instructions: You will be given a trivia clue, and the category it belongs to. You should answer with the best answer that belongs in the category and is described by the clue. For simplicity, answers should be in all lower cased letters.
Q: Category: 1990s AFRICA
Clue: In 1994 these 2 African countries' presidents Habyarimana & Ntaryamira died in a plane crash
A: | rwanda & burundi |
You will be given a context and a verb separated with a newline character, and you have to answer if the given verb can be anchored in time or not. We say a verb can be anchored in the real timeline if and only if a verb happened in the past, is happening now, or is guaranteed to happen in the future. The output should be "Yes" if the verb can be anchored in time and "No" otherwise.
I would go there just for one minute to get him. To (get) him.
Verb: get | No |
In this task, you are given a country name, and you need to return the country's surface area in terms of square kilometers. Up to two decimal places are allowed in your answer.
--------
Question: Brazil
Answer: 8547403.00
Question: Pakistan
Answer: 796095.00
Question: Costa Rica
Answer: | 51100.00
|
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
Problem:'English : Prosecution testimony','Kurdish : Orhan Kemal Cengîzî diyar kir ku heman dozgerê biryar dabû kayyim ji bo Rojnameya Zamanê bê rêkirin, îfadeya wî stand.'
Solution: | No |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Q: [859, 802, 601, 31, 181, 578, 899, 67, 257, 124, 109, 733, 383, 752]
A: [859, 601, 31, 181, 67, 257, 109, 733, 383]
****
Q: [971, 981, 787, 380, 907, 673, 660, 227, 593, 666, 563, 556, 257]
A: [971, 787, 907, 673, 227, 593, 563, 257]
****
Q: [354, 832, 247, 382, 347, 787, 107, 373, 913, 97, 37, 977, 553, 313, 199, 631, 727, 994, 233, 433]
A: | [347, 787, 107, 373, 97, 37, 977, 313, 199, 631, 727, 233, 433]
****
|
Detailed Instructions: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
Q: ['o', 'k', 'i']
A: | -1 |
Part 1. Definition
Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Part 2. Example
Query: SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 .
?x1 ns:people.person.gender ns:m.05zppz .
?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M2 .
FILTER ( ?x0 != ?x1 ) .
FILTER ( ?x1 != M2 )
} Question: Who did M2 's male spouse marry
Answer: 1
Explanation: Query correctly extracts data for male spouse of M2
Part 3. Exercise
Query: SELECT count(*) WHERE {
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 .
?x1 ns:film.director.film M1 .
FILTER ( ?x0 != ?x1 ) .
M2 ns:influence.influence_node.influenced ?x0
} Question: Was a film directed by a film editor and directed by M3 M1
Answer: | 0 |
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.
Q: Since the thrombocyte count started to increase immediately after initiation and dropped immediately after discontinuation of ciprofloxacin and tazobactam/piperacillin and all other drugs were discontinued already before or were started after the nadir of the thrombocyte count, these two antibiotics were regarded causative.
A: | adverse drug event |
Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Input: x = 8, equation weights = [5, 2, 4]
Output: | 340 |
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.
Ex Input:
To assess the changes in the oxidative capacity of neutrophils after the burn , blood samples for the Phagoburst analysis were taken on admission and at least once every second week for the duration of stay in hospital and thereafter monthly up to 12 months after the burn .
Ex Output:
neutrophils
Ex Input:
Lactotransferrin binding to its platelet receptor inhibits platelet aggregation .
Ex Output:
platelet
Ex Input:
Ephrin - A5 induces a growth cone collapse , resulting in reduced growth cone area and filopodia number in GFP but not CA - MEK1 expressing neurons .
Ex Output:
| neurons
|
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.
Il gioco degli scacchi è giocato su una lastra di scacchi. | Il gioco degli scacchi è giocato su un pezzo di scacchi. |
You will be given a definition of a task first, then some input of the task.
A text is given in Hindi. Translate it from the Hindi language to the Oriya language. The translation must not omit or add information to the original sentence.
विश्व व्यापार का लाभ तब होता है कि विश्व के साथ जुड़ने के लिए आपके पास विश्व स्तर काinrastructure हो।
Output: | ପୋର୍ଟ ଏଣ୍ଡ ମେରିଟାଇମ ଅର୍ଗାନାଇଜେସନ (ପିଏମଓ), ଇରାନ ଏବଂ ଇଣ୍ଡିଆ ପୋର୍ଟସ ଗ୍ଲୋବାଲ ଲିମିଟେଡ (ଆଇପିଜିଏଲ) ମଧ୍ୟରେ ଚାବାହାର ବନ୍ଦର ଅଧୀନ ଶାହିଦ ବେହସ୍ତି ବନ୍ଦର ପର୍ଯ୍ୟାୟ-1କୁ ଅନ୍ତରୀଣ ଅବଧି ପାଇଁ ଲିଜ ଦେବା ଲାଗି ଲିଜ ଚୁକ୍ତି |
Read the given text and if it has abusive content then indicate via "yes". Otherwise indicate via"no".
We consider the content to be abusive if it contains any of the following instances: (1) Identity Directed Abuse (e.g., Content which contains a negative statement made against an identity. An identity is a social category that relates to a fundamental aspect of individuals community, socio-demographics, position or self-representation) (2) Affiliation Directed Abuse (e.g., Content which express negativity against an affiliation. We define affiliation as a (more or less) voluntary association with a collective. Affiliations include but are not limited to: memberships (e.g. Trade unions), party memberships (e.g. Republicans), political affiliations (e.g. Right-wing people) and occupations (e.g. Doctors).) (3) Person Directed Abuse (e.g., Content which directs negativity against an identifiable person, who is either part of the conversation thread or is named. Person-directed abuse includes serious character based attacks, such as accusing the person of lying, as well as aggression, insults and menacing language.) and (4) Counter Speech (e.g., Content which challenges, condemns or calls out the abusive language of others.). Note that URLs in the text have been replaced with [Link].
Hey coreywin! Thank you for your submission, unfortunately it has been removed from /r/SubredditDrama because: * Surplus Popcorn. Due to a lot of stale politicized drama crowding out niche posts and dominating the front page, certain categories of drama face greater scrutiny and greater rates of removal. Your post fell into one of these categories and was not exceptional enough to be approved. Surplus drama categories include: * racism drama * gender wars * social justice drama * gun drama * partisan pissmatches | no |
Teacher: In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places.
Teacher: Now, understand the problem? If you are still confused, see the following example:
[1,3,5]
Solution: 3.000
Reason: The mean of the input list is (1+3+5)/3, which equals 3. This is a good example.
Now, solve this instance: [23.361, 226.484, 197.413, 169.906]
Student: | 154.291 |
Detailed Instructions: 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.
See one example below:
Problem: [PERSON] behaved like a professional in the job interview.
Solution: Positive
Explanation: Behaving professionaly in a job interview has a positive impact on people's perception of a person.
Problem: [PERSON] was known for her quick wit, but she was said to have been pretty good in her last duel with Garlick, who was then a member of the group
Solution: | Positive |
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 whote toilet sitting under a water tank.
[A]: whote
[Q]: A room filed with an old fashioned stove and a bear skin rug mounted on it's wall.
[A]: filed
[Q]: Man olding surfboard in water watching waves crash.
[A]: | olding
|
Given the task definition, example input & output, solve the new input case.
You are given a short poem which is written by a kid. Your task is to predict if the kid is in elementary school or high school. Anyone who is from grade 1st to 6th-grade will be considered as in elementary school, and 7th to 12th-grade kids will be considered as in high school. There are only two possible outputs, i.e., elementary and high. All inputs have at least one output and it cannot have both categories at a time.
Example: he look into your eye that same look just take your breathe away you feel at that moment that he be definitely the one for you but just when you realize that just as fast a he take your breathe away he take your heart and break it into tiny little piece and watch it burn
Output: high
The poem is long and linguistically well structured, and the prediction is correct.
New input case for you: tree be very green tree provide u oxygen tree give u paper
Output: | high |
Q: 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.
[218.057, 239.154]
A: | [0.477 0.523] |
Detailed Instructions: 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.
Q: Context Word: pizza.
Question: PersonX gave all her pizza to PersonY so _ had nothing for herself to eat that day.
Answer: PersonX
A: | PersonX gave all her pizza to PersonY so _ had plenty for herself to eat that day. |
TASK DEFINITION: You will be given a context and a verb separated with a newline character, and you have to answer if the given verb can be anchored in time or not. We say a verb can be anchored in the real timeline if and only if a verb happened in the past, is happening now, or is guaranteed to happen in the future. The output should be "Yes" if the verb can be anchored in time and "No" otherwise.
PROBLEM: Retaliating 13 days after the deadly embassy bombings in East Africa, U.S. forces Thursday launched cruise missile strikes against alleged terrorist camps in Afghanistan and a chemical plant in Sudan. Countries have the right to defend themselves and their citizens against terrorism and New Zealand appreciates and understands the steps the United States has taken, McKinnon (said).
Verb: said
SOLUTION: Yes
PROBLEM: Clinton ordered an assessment of what it would cost to rebuild the embassies in Kenya and Tanzania and the price tag for emergency response teams sent to the two countries. He also asked for a " list of the priorities for (improving) security for U.S. facilities around the world. "
Verb: improving
SOLUTION: No
PROBLEM: Kavan said the Czech Republic would no longer become " the powerless victim of a foreign invasion. " Martonyi called Hunragy's admission in NATO " (returning) to her natural habitat, " saying : " It has been our manifest destiny to rejoin those with whom we share the same values, interests and goals. "
Verb: returning
SOLUTION: | No
|
In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation.
--------
Question: United States
Answer: Federal Republic
Question: Bahamas
Answer: Constitutional Monarchy
Question: Lesotho
Answer: | Constitutional Monarchy
|
instruction:
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
question:
THEM: hello YOU: i'll take the hat and balls THEM: i will give you the hats YOU: hat and 2 balls THEM: ok.
answer:
No
question:
THEM: i need the books and balls YOU: you can have the books, but the balls no THEM: how about books and one ball YOU: no deal still THEM: guess we have to click on the no deal button then YOU: yap THEM: yup YOU: dont your books have any value? THEM: yes, but the hats have zero value YOU: so why cant i have the balls and the hats then? THEM: 6 / 10 is too low..... 7 / 10 is safe YOU: can i have the balls only then? THEM: same number...... the hats have zero value.
answer:
No
question:
THEM: if i can have the ball and the hat you can have the books YOU: that doesn't work for me, i need the ball THEM: you can have the ball if i can have everything else YOU: okay THEM: okay thank you!
answer:
| Yes
|
Given the task definition and input, reply with output. 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.
The first case concerns a 70-year-old man who developed severe aplastic anemia 7 weeks after treatment with 500 mg of ticlopidine daily. ticlopidine
| 500 mg |
You are given an original reference as well as a system generated reference. Your task is to judge the naturaleness of the system generated reference. If the utterance could have been produced by a native speaker output 1, else output 0.
Example Input: System Reference: there are 239 restaurants available serving any meal.
Original Reference: there are 239 restaurant -s that serve all meal -s.
Example Output: 1
Example Input: System Reference: are you looking for breakfast brunch lunch or dinner?
Original Reference: are you hungry for breakfast, brunch, lunch. or dinner?.
Example Output: 1
Example Input: System Reference: may i help you further?
Original Reference: may i help you with anything else?.
Example Output: | 1
|
You will be given a passage consisting of set of facts and a question as input. The task is to answer a question of form 'Where is <person_name>?' using one of the given facts to determine the latest location of the person. Answer should be a word/phrase describing the location from the supporting fact. Avoid answers that are incomplete or incorrect.
Passage: Daniel travelled to the kitchen. Daniel went to the hallway. Mary travelled to the hallway. John went to the hallway. Sandra moved to the garden. Mary went to the kitchen. Question: Where is John?
hallway
Passage: John travelled to the kitchen. Daniel went to the kitchen. John went back to the hallway. John moved to the office. Mary moved to the bedroom. John travelled to the bedroom. John went back to the bathroom. Sandra moved to the kitchen. Question: Where is Mary?
bedroom
Passage: John went back to the garden. Sandra went back to the bedroom. Sandra went to the bathroom. John went back to the kitchen. Mary went back to the hallway. Daniel travelled to the kitchen. Sandra went back to the bedroom. Sandra went to the office. Question: Where is Sandra?
| office
|
Q: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Context: 'Thank you. Have a great time and stay safe. It's going to be a blast for sure. ' 'Camping is always such a fun time. Maybe we will run into each other ' 'Yes, that would be fun. I heard it is going to be unseasonably cold at night, so stay warm. You'll have lots of family member to huddle together in a tent '
Utterance: 'sounds great'
A: | No |
Definition: You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Input: Context Word: reach.
Output: | John had to reach both the neighbors home and the ocean today, but thankfully the _ was close. |
TASK DEFINITION: You are given an original reference as well as a system generated reference. Your task is to judge the naturaleness of the system generated reference. If the utterance could have been produced by a native speaker output 1, else output 0.
PROBLEM: System Reference: there is a shanghainese restaurant called bund shanghai restaurant.
Original Reference: bund shanghai restaurant serves shanghainese food.
SOLUTION: 1
PROBLEM: System Reference: x is a french and continental restaurant in x.
Original Reference: the restaurant x serves french and continental food in the x area.
SOLUTION: 1
PROBLEM: System Reference: great eastern restaurant near chinatown offers moderate food.
Original Reference: great eastern restaurant near chinatown is moderate -ly price -s.
SOLUTION: | 1
|
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
Problem:['d', 'W', 'g', '1145', 'Q', 'X', 'K', 'Q', '9005', '3807', '6517', '1843', 'j', '2827', '1061', '8015', 'p', '3787', 'T', 'q', '7521', '1939', 'S', '105', '8683', '9347', 'q', 'N', 'A', 'H']
Solution: | 16 |
TASK DEFINITION: In this task, you will be given a short story. One sentence from the story is chosen. Consider the likely emotions and basic human drives of the participants in that sentence. Does any of these states of mind/feelings motivate the participant to do what happens in that sentence? You should write your answer in the form " A >Motivates> B". Try to use phrases and sentences from the story to compose your answer when possible. For the motivation sentence, you must choose a verb from :feel(s), want(s) or like(s). There will always be some motivation in the given story.
PROBLEM: story: She had finally broken it off with John. He'd been controlling and sometimes violent. She heard the sirens before the cop car pulled up. They'd found her ex-boyfriend with a pair of binoculars in a tree. He said he'd only been watching birds.
selected sentence: She had finally broken it off with John.
SOLUTION: She want(s) to break up >Motivates> She breaks up
PROBLEM: story: I went to the gym with my girlfriend today. We did some bench pressing. i benched 200 pounds of weight. She benched 100 pounds of weight. We were sore the next day.
selected sentence: She benched 100 pounds of weight.
SOLUTION: My girlfriend want(s) to bench >Motivates> My girlfriend benches
PROBLEM: story: My mom came home. She was looking for her earrings. She asked me if I've seen it anywhere. After I told her no, she got mad. In addition, she decided to yell me.
selected sentence: In addition, she decided to yell me.
SOLUTION: | My mom feel(s) angered >Motivates> She yells at me
|
Instructions: You will be given a context and a verb separated with a newline character, and you have to answer if the given verb can be anchored in time or not. We say a verb can be anchored in the real timeline if and only if a verb happened in the past, is happening now, or is guaranteed to happen in the future. The output should be "Yes" if the verb can be anchored in time and "No" otherwise.
Input: We will not lend our respective resources, whether they be in the form of police officers or any other resources, to assist the federal government in any way, shape or form to inappropriately repatriate Elian Gonzalez to Cuba, said Alex Penelas, mayor of Miami-Dade County. As of Wednesday evening, Lazaro Gonzalez, the boy's great-uncle and temporary guardian, still had not signed an agreement to (hand) the child over to immigration officials if the Miami relatives lose a fight to keep him when the case is heard in May in the 11th Circuit U.S. Court of Appeals.
Verb: hand
Output: | No |
In this task, you are given a string with duplicate characters ocurring in the string. You need to return the character which is ocurring with the maximum frequency. In case of a tie, return the character with the least ascii value.
[Q]: nusnjxdgvvlgusjbajvjcttxmzafkbaxwxlxzvrr
[A]: x
[Q]: alrbypyzxwbmrucrwkvkorogrzargulkjvlqqsjtxk
[A]: r
[Q]: rybpdrqfpcjmgdbkpktczjvcljilytjgazgzjurotbdwr
[A]: | j
|
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.
Let me give you an example: 6, 14, ['9545', '5185', '1667', 'w', 's', '9559', 'T', 'u', 'U', '6843', 'L', 'l', '6365', '7103', 'A', '2381', '5037', 'X', '4487', 'd']
The answer to this example can be: 9559TuU6843Ll63657103
Here is why: Here, concatenating all the elements between the 6th element and 14th element gives '9559TuU6843Ll63657103'.
OK. solve this:
2, 2, ['U', '3345']
Answer: | 3345 |
Definition: Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Input: Query: SELECT count(*) WHERE {
?x0 ns:film.film.sequel M0 .
M1 ns:film.cinematographer.film ?x0 .
M1 ns:film.editor.film ?x0 .
M1 ns:film.film_art_director.films_art_directed ?x0 .
M1 ns:film.producer.films_executive_produced ?x0
} Question: Was M1 M0 's prequel 's cinematographer , editor , art director , and executive producer
Output: | 1 |
Subsets and Splits