prompt
stringlengths 48
10.5k
| response
stringlengths 0
1.56k
|
---|---|
Given a hotel review and the corresponding polarity of review (i.e., Negative or Positive) identify if the polarity is correct. Write 'true' if it's correct, 'false' otherwise.
Q: Review: The Omni Chicago Hotel is not pretty as they advertise it. First of all, it really difficult to get there because its located in down town Chicago and they fail to mention that the traffic is a nightmare. If you finally make to the hotel you have to wait like 30 minutes for the front desk to take care of you. When I arrived there was one person at the desk and a few people checking in, and I thought the wait time was ridiculous. To make matters worse, I need internet connection and the day I was there they had technical problems and the Internet was not working in my room. Two hours later they managed it get to work, the connection was still very slow. For my part, the hotel might look nice but services is did not meet my expectations. I was disappointed and will never stay there again, if I go back to Chicago. If was rating it, I would give it 1/2 star out of 5.
Polarity: Positive
A: | false |
Instructions: In this task, you are given two questions about a domain. Your task is to combine the main subjects of the questions to write a new, natural-sounding question. For example, if the first question is about the tallness of the president and the second question is about his performance at college, the new question can be about his tallness at college. Try to find the main idea of each question, then combine them; you can use different words or make the subjects negative (i.e., ask about shortness instead of tallness) to combine the subjects. 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 new question, this keyword should also be used the same way. Do not write unnatural questions. (i.e., would not be a question someone might normally ask about domains). Do not write open-ended or subjective questions. (e.g., questions that can be answered differently by different people.) If you couldn't find the answer to your question from a single Google search, try to write a different question. You do not have to stick with the original question word for word, but you should try to create a question that combines the main subjects of the question.
Input: Does this dog breed usually weigh 25 pounds or more fully grown? What types of coats for this dog breed are disqualified from competitions?
Output: | Is 25 pounds within the breed standards for the weight of this dog breed? |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Ex Input:
THEM: i want the ball a hat and two books YOU: no deal THEM: ball and two books? YOU: deal.
Ex Output:
Yes
Ex Input:
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.
Ex Output:
No
Ex Input:
THEM: what would you like YOU: hello! id like the ball and books, and you can have the hats. THEM: i need hats and a ball YOU: deal. THEM: deal.
Ex Output:
| Yes
|
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.
Let me give you an example: Angola
The answer to this example can be: Republic
Here is why: Republic is the government type of the country called Angola.
OK. solve this:
Macao
Answer: | Special Administrative Region of China |
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.
zhfgnilshblvensqokkmxjddvubpaiizjjtxowovmzjvtub
j
roamljlzjxnpsjvahmyeyhzgoekwxsojqlupwuoyop
o
kwobnbqvlextyhgjgpllvjfgfnvblpvhhnzxocrtmghcdqhw
| h
|
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.
One example: [47, 444, 859, 530, 197, 409]
Solution is here: [47, 859, 197, 409]
Explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Now, solve this: [577, 212, 785, 286, 767]
Solution: | [577] |
Given the task definition and input, reply with output. Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
Bullock was born on July 26, 1964, in the Washington, DC.
| July 26, 1964 |
Given the task definition and input, reply with output. You are given a statement written in Hindi. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option .
Statement: 109 रेखांश पश्चिम (109th meridian west) <MASK> की प्रधान मध्याह्न रेखा से पश्चिम में 109 रेखांश पर स्थित उत्तरी ध्रुव से दक्षिणी ध्रुव तक चलने वाली रेखांश है। यह काल्पनिक रेखा आर्कटिक महासागर, उत्तर अमेरिका, प्रशांत महासागर, दक्षिणी महासागर और अंटार्कटिका से गुज़रती है। यह 71 रेखांश पूर्व से मिलकर एक महावृत्त बनाती है।
Option A: पृथ्वी
Option B: अंटार्कटिका
Option C: हरसिद्धि
Option D: रेखांश
| पृथ्वी |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
[Q]: [65.927, 181.193, 79.392, 150.48, 217.791, -11.842]
[A]: [ 0.097 0.265 0.116 0.22 0.319 -0.017]
[Q]: [114.493, -28.45, 46.956, 207.172, 144.141, 28.258, 97.817]
[A]: [ 0.188 -0.047 0.077 0.339 0.236 0.046 0.16 ]
[Q]: [31.895, -71.562, 35.302, 66.526, -16.991, 147.945, 130.514]
[A]: | [ 0.099 -0.221 0.109 0.206 -0.053 0.457 0.403]
|
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 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.
Angola
Solution: 1246700.00
Why? Surface area of the given country Angola is 1246700.00 square-kilometer
New input: South Korea
Solution: | 99434.00 |
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.
Example: HeLa cells were first treated with 250 mug / ml Trail followed by pulse labeling of newly synthesized proteins with [ 35S ] methionine.
Example solution: HeLa cells
Example explanation: HeLa cells are the first immortal human cell line. It should be tagged.
Problem: In the last several years Listerine has emerged as a bona fide therapeutic agent for reduction of plaque induced oral diseases .
| Solution: plaque |
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.
['5225', '4421', 'g', '6881', 'G', '3649', '6629', 'D'] | 3, 5, 8 |
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: 13/10/1333
Output: | 0 |
Detailed Instructions: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
Problem:News Headline: Trump voters see his flaws but stand by president who ' {shakes} things up '
Edit: coughs
Solution: | Funny |
Write a fact related to the given fact, based on the given topic word. Note that, your fact should have at least one word in common with the given fact. All facts in this task refer to scientific facts. Your related fact must form a chain with the given fact. Chains form when two facts connect together to produce the third fact. An example of a chain is: "pesticides cause pollution" (given fact) + "pollution can harm animals" (related fact) → "pesticides can harm animals" (connected chain). Avoid creating simple paraphrases of the given fact. While your generated fact should be related to the input fact, they must describe slightly different scientific phenomena. It's okay if your related fact includes some irrelevant information, provided that it has some overlap with the given fact and it contains some words corresponding to the provided topic.
Fact: absorbing energy causes objects to heat.
Topic: object metal. | Students test the effect of a magnet on various metal objects. |
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]: ['p', 'r', 'e', 'b', '149', '361', 'i']
[A]: 1, 3, 4, 6, 9
[Q]: ['k', '413', '321', '209', 'k', '263']
[A]: 0, 1, 2, 3, 4, 6, 9
[Q]: ['211', '235', 'j', '65', 'q', '267', 'g', '375', '167', '457']
[A]: | 1, 2, 3, 4, 5, 6, 7
|
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Ex Input:
Sentence: I decided that Nicki would just have to {{ wait }} on her own .
Word: wait
Ex Output:
VB
Ex Input:
Sentence: Anyway , so he ended up leaving one nail out of my horse s foot ( I 've never heard of a farrier doing this {{ ) }} and telling me to call him in a few days ( first it was a week , then it was a few days lol ) and he 'd come back out and put it in .
Word: )
Ex Output:
-RRB-
Ex Input:
Sentence: We 've received a personal invitation to a NYMEX Crawfish Boil on April 3 at 5:00 at Garden in the {{ Heights }} at 3926 Feagan .
Word: Heights
Ex Output:
| NNPS
|
Detailed Instructions: 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: Procainamide-induced incessant supraventricular tachycardia in the Wolff-Parkinson-White syndrome.
A: | adverse drug event |
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.
Let me give you an example: [1,3,5]
The answer to this example can be: 3.000
Here is why: The mean of the input list is (1+3+5)/3, which equals 3. This is a good example.
OK. solve this:
[159.792, -43.736, 228.998, -37.566, 168.36, 152.919, -12.736, 235.284]
Answer: | 106.414 |
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
Pitt was born on December 18, 1963, in Shawnee, Oklahoma, to William Alvin Pitt, the proprietor of a trucking company, and Jane Etta (née Hillhouse), a school counselor
December 18, 1963
Garrett John Hedlund was born on September 3, 1984, in Roseau, Minnesota, to Kristine Anne (née Yanish) and Robert Martin Hedlund
September 3, 1984
Beckinsale was born on 26 July 1973 in the Chiswick district of London, the only child of actors Richard Beckinsale and Judy Loe
| 26 July 1973
|
Given a sentence in Japanese, provide an equivalent paraphrased translation in Chinese that retains the same meaning both through the translation and the paraphrase.
Q: JieţはルーマニアのSlivei川の支流です。
A: 杰特是罗马尼亚斯利维河的支流。
****
Q: Heatherhill Secondary CollegeとCoomoora Secondary Collegeの2つの中等学校は、Springvale Secondary CollegeとChandler Secondary Collegeを合わせてKeysborough Secondary Collegeに統合されました。
A: 两所中学,Heatherhill中学和Coomoora中学已与Springvale中学和Chandler中学合并为Keysborough中学。
****
Q: 音楽はDarsan Ramanによって作曲され、歌詞はMariamma Philipによって書かれました。
A: | 音乐由Darsan Raman创作,歌词由Mariamma Philip编写。
****
|
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".
02/20/1719
1
09/31/2040
0
05/42/1220
| 0
|
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
Q: 6959 aggiunta 6563 aggiunta 9750 aggiunta 7440 sottrazione 2277 aggiunta 3218 sottrazione 1318 aggiunta 3203
A: 33538
****
Q: 9376 aggiunta 1807 aggiunta 6095 aggiunta 7884 sottrazione 222 aggiunta 7553 sottrazione 8576
A: 23917
****
Q: 1284 sottrazione 4518 sottrazione 5706 aggiunta 7346 sottrazione 4135 aggiunta 3718 sottrazione 7563 aggiunta 6370 aggiunta 9607
A: | 6403
****
|
In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation.
Australia
1901
Central African Republic
1960
Guinea
| 1958
|
Q: 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".
04/17/1955, input_format=mm/dd/yyyy
A: | 17/04/1955 |
Detailed Instructions: 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.
Q: Concept: corkscrew, Relatum: good.
A: | attri |
You will be given a definition of a task first, then some input of the task.
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.
There has been no further recurrence in the long-term follow-up.
Output: | non-adverse drug event |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
[EX Q]: [463, 190, 727, 283, 784]
[EX A]: [463, 727, 283]
[EX Q]: [383, 938, 37, 97, 487, 19, 943, 684, 277, 547, 277, 859, 304, 829, 804]
[EX A]: [383, 37, 97, 487, 19, 277, 547, 277, 859, 829]
[EX Q]: [659, 960, 109, 509, 42, 853, 276, 290, 251, 212, 313, 17, 593, 773]
[EX A]: | [659, 109, 509, 853, 251, 313, 17, 593, 773]
|
Detailed Instructions: In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
Q: yAFYROqIEE
A: | yFYRq |
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'.
Example Input: Tweet: L’arxiu Tarradellas de Poblet no podrà fer públics els documents de la mediació d’Urkullu entre Rajoy i Puigdemont durant l’1-O fins a la sentència del Suprem https://t.co/9uV63yHQqr
Example Output: Favor
Example Input: Tweet: El conseller d'Interior, Miquel Buch, sobre la declaració de Forn: Demostra a totes i cadascuna de les preguntes el relat fals que sustenta l'acusació en contra del govern i dels Mossos. https://t.co/yVc85g3PFj #JudiciTV3CatRàdio https://t.co/7EDBsyntpp
Example Output: Neutral
Example Input: Tweet: Espanya és l’estat que va empresonar més artistes el 2017, segons indica l’informe 'La situació de la llibertat artística el 2018', elaborat per @Freemuse98, organització internacional independent en defensa de la llibertat de creació #DemàPotsSerTu 👉🏼https://t.co/xGSsoeSTA0
Example Output: | Against
|
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:dinner
Solution: | meal |
In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
Example Input: [170, 498, 490, 349, 135, 345, 287, 182, 394, 23, 97, 14, 418, 274, 285, 78, 147, 215, 104, 387]
Example Output: [170, 14, 490, 349, 135, 345, 287, 182, 394, 23, 97, 498, 418, 274, 285, 78, 147, 215, 104, 387]
Example Input: [53, 400, 447, 274, 435, 432, 46, 51, 317, 404, 442, 16, 70, 190, 449, 43, 356, 156, 175, 294]
Example Output: [53, 400, 447, 274, 435, 432, 46, 51, 317, 404, 442, 449, 70, 190, 16, 43, 356, 156, 175, 294]
Example Input: [128, 249, 389, 83, 380, 314, 51, 289, 383, 247, 133, 336, 391, 41, 312, 497, 306, 349, 255, 488]
Example Output: | [128, 249, 389, 83, 380, 314, 51, 289, 383, 247, 133, 336, 391, 497, 312, 41, 306, 349, 255, 488]
|
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
Example Input: The site collects your unspecified information for legal requirements. Collection happens on the website.
Example Output: Legal requirement
Example Input: The site collects your generic personal information for analytics or research. Collection happens when you explicitly provide information on the website, and your data is identifiable.
Example Output: Analytics/Research
Example Input: The site collects your unspecified information for an additional (non-basic) service or feature. Collection happens by an unnamed service or third party. You can choose not to use the service or feature for the collection of your information.
Example Output: | Additional service/feature
|
Definition: 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.
Input: The sdog is standing with a toy on the ground.
Output: | sdog |
Instructions: In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling
Input: however, to the extent either decision may be inconsistent with the analysis herein, it is disapproved.
Output: | overruling |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Concept: falcon, Relatum: animal.
Student: | hyper |
Q: In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling
you must not consider this evidence for any other purpose.""
A: | non-overruling |
Part 1. Definition
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Part 2. Example
bYubMFxyTqR, AcDbMFxSnI
Answer: bYubfmxyTqR, AcDbfmxSnI
Explanation: Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI'
Part 3. Exercise
gzNxkporBnQjSIJMAMbUANezfYGSQpmUczdcNYjiANI, uPTfwvEYwXIJMAMbUANezfYGSQpmUvf
Answer: | gzNxkporBnQjSaabefgijmmmnpqsuuyzczdcNYjiANI, uPTfwvEYwXaabefgijmmmnpqsuuyzvf |
Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise
[Q]: The site does not collect your generic personal information for an unspecified purpose. Collection happens when you explicitly provide information on the website.
[A]: Generic personal information
[Q]: The site collects your contact information for a basic service or feature. Collection happens when you explicitly provide information on the website. You can configure your privacy using a method outside our label scheme for the use of your information.
[A]: Contact
[Q]: An unspecified third party does do something unspecified with unspecified information about you for service operations or security.
[A]: | Unspecified
|
In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0.
CDJMgLCoNyehZYDsEJxqDMWeL, W
1
bYTlxXgZjGODdyWqbpDTu, i
0
qPhWKmAvxJwXPAbkdPjMLROlsHphxY, c
| 0
|
Given the task definition and input, reply with output. 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 = 8sGYKeW.IXsVW3oqsb8rmsRCYi!gVT
| 10 |
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.
[Q]: Context: 'Hi, I would like to get 3 firewood, 2 waters and 1 food pack.' 'Hello, I am in need of more water than just one,could you possibly allow me to have two and the other items are fine'
Utterance: 'I have a bunch of kids and need extra water. I can give you 2 food packs instead.'
[A]: No
[Q]: Context: 'Hi! I'm exited to negotiate a deal with you today. How are you doing?' 'I am doing well! Excited to be on this camping trip! I am glad we have all the basic supplies already.' 'Agreed! I am running low on firewood, unfortunately, which I need to cook food and stay warm. '
Utterance: 'Oh no! That's unfortunate! Luckily, I think I have plenty of Firewood for myself so I think it would be okay for you to have more of that if needed. I don't know if I have enough food. I love to snack all day!'
[A]: Yes
[Q]: Context: 'I know but with my condition i may not make it, especially without more water.😮' 'you can make water by boiling water with all that extra firewood you got' 'you said I could have some firewood'
Utterance: 'Let me take 2 firewood, 2 water and you take the rest. You will have more than me overall'
[A]: | No
|
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.
['7025', '7197', 'Q', '7411', '7869', 'c', 'H', 'g', '5849', 'q', 'P', '1483', 'O', 'l', 'Y', '3363', '4635', '2689', 'd', 's', '1559', 't', '7331'] | 3, 6, 7, 8, 10, 11, 13, 14, 15, 19, 20, 22 |
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:
Jasper. What are you doing out here? You're in front of the covered wagon.
Ex Output:
I just heard you guys talking and I got worried. You said if I ever got scared to come to the front.
Ex Input:
Oh, yeah. Well, you know, I figure I really get the whole shortbread experience. Why not, Instead of making a bunch of little cookies or whatever the fuck, make, like a whole loaf size so you can cut it up like bread. I don't know. I guess I was confused with the recipe.
Ex Output:
I see what you mean. It's called bread, but it's shortbread, like bread that's been condensed.
Ex Input:
Your owners seem awful.
Ex Output:
| They spanked me when I was wet with a wood stick.
|
You will be given a definition of a task first, then some input of the task.
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.
[6, 1, 2, 2, 8, 4, 2, 9] , [5, 4, 2, 7, 10, 3, 9, 8]
Output: | [2, 4, 8, 9] |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
subsonic | supersonic |
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.
Q: Set1: '{4, 7, 8, 9, 10, 12}', Set2: '{8}'. How many elements are there in the union of Set1 and Set2 ?
A: 6
****
Q: Set1: '{4, 7, 10, 11, 13, 18}', Set2: '{2, 3, 4, 6, 8, 9, 11, 15, 18}'. How many elements are there in the union of Set1 and Set2 ?
A: 12
****
Q: Set1: '{19, 18, 11}', Set2: '{9, 15, 16, 17, 18}'. How many elements are there in the union of Set1 and Set2 ?
A: | 7
****
|
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.
Q: sentence: The dog chased the cat , which ran up a tree . It waited at the top . aspect: Tense
A: | The dog is chasing the cat , which is running up a tree . It is waiting at the top . |
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
Q: 4917 @ 195 @ 4637 # 3154 @ 6732 @ 4900 # 7622 @ 7912 # 6312
A: | 12205 |
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Ex Input:
Context: 'I really need some more food. I only have the basics, and I'm afraid it's not going to be enough. What about yourself?' 'I really need water because I take medication that requires drinking a lot of water. The firewood I dont need to much off and I need very little food as I am dieting. lol 🙂' 'I totally understand that. And it's pretty important, lol '
Utterance: 'It sure is..So how much food do you need for the trip? Do you need firewood to cook the food? Thank you for understanding my issues. 🙂'
Ex Output:
No
Ex Input:
Context: 'me too. I don't care about water since we are camping near a river.' 'I would consider giving you all food and water if I could get all of the wood.' 'Oh really? I think I am able to do it without firewood then. The kids will be full and probably won't ask for smores'
Utterance: 'Or 1 wood for you and 2 of food and water?'
Ex Output:
No
Ex Input:
Context: 'I've never been a good hunter. I wish I had those abilities.' 'I would part with all the food if I could get all the firewood.' 'That seems fair. How about water. How would that be split? I'm very concerned.'
Utterance: 'Me too. There is little natural sources where I'm going. '
Ex Output:
| Yes
|
Detailed Instructions: 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.
See one example below:
Problem: Bob helped himself to some food.
Solution: good
Explanation: The use of himself agrees with the singular subject Bob.
Problem: Angela worried herself.
Solution: | good |
Given the task definition and input, reply with output. Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
Tweet: Jak usłyszę słowo ciapaci, albo coś w tym stylu rezygnuję , Question: Is the tweet free of any cyberbullying (harmful) content?
| Yes |
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.
[EX Q]: 08:01 Hrs
[EX A]: 08:01 AM
[EX Q]: 11:31 Hrs
[EX A]: 11:31 AM
[EX Q]: 08:18 Hrs
[EX A]: | 08:18 AM
|
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
[Q]: For each station, return its longitude and the average duration of trips that started from the station.
[A]: SELECT T1.name , T1.long , avg(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.start_station_id GROUP BY T2.start_station_id
[Q]: How many roles are there?
[A]: SELECT count(*) FROM ROLES
[Q]: Return the song in the volume that has spent the most weeks on top?
[A]: | SELECT Song FROM volume ORDER BY Weeks_on_Top DESC LIMIT 1
|
Two analogies that relate objects to the associated rooms is given in the form "A : B. C : ?". "A : B" relates object A to room B. Your task is to replace the question mark (?) with the appropriate room for the given object C, following the "A : B" relation.
One example is below.
Q: shelf : nursury. cabinet : ?
A: bathroom
Rationale: The given analogy relates objects to their rooms. A shelf is associated with a nursery. A cabinet is associated with a bathroom
Q: workbench : workshop. nightstand : ?
A: | bedroom |
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.
--------
Question: Sentence: 'a baseball player swinging a bat during a game'. Is 'swinging' the longest word in the sentence?
Answer: Yes
Question: Sentence: 'a very tall building next to a city street filled with traffic'. Is 'to' the longest word in the sentence?
Answer: No
Question: Sentence: 'two zebras in a park filled with trees'. Is 'filled' the longest word in the sentence?
Answer: | Yes
|
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.
Q: 26293
A: Yes
****
Q: 6650
A: No
****
Q: 32491
A: | Yes
****
|
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 couple of chairs sitting on top of the back of a truck'. Is 'sitting' the longest word in the sentence?
A: Yes
****
Q: Sentence: 'a vase of several flowers on a table'. Is 'several' the longest word in the sentence?
A: Yes
****
Q: Sentence: 'a fancy bathroom with a glass walled shower'. Is 'bathroom' the longest word in the sentence?
A: | Yes
****
|
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 sentence in Japanese, provide an equivalent paraphrased translation in Chinese that retains the same meaning both through the translation and the paraphrase.
1975 - 76年のNBAシーズンは、全米バスケットボール協会の30番目のシーズンでした。
Solution: 1975-76赛季的全国篮球协会是NBA的第30个赛季。
Why? This is a correct and accurate translation from Japanese to Chinese because the translated paraphrase retains the main message that between the years 1975-1976, the 30th NBA season occurred.
New input: 彼は1949年にニューヨークのバーに入院し、ニューヨーク市で練習を始めました。
Solution: | 1949年,他被纽约市律师协会录取并开始在纽约执业。 |
Teacher: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Teacher: Now, understand the problem? If you are still confused, see the following example:
THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
Solution: No
Reason: Both participants do not agree to the deal, so the answer is No.
Now, solve this instance: THEM: i'll take book and balls if you want the hats YOU: can i get the hats and a ball also? THEM: ok.
Student: | Yes |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
And there are brittle stars that produce bands of light that dance along their arms.
I postoje krhke zvijezde koje proizvode trake svjetlosti koje plešu oko njihovih ruku.
It's not true that we've figured it out by now.
Još nismo shvatili.
-- he goes and lives in Georgia.
| -- on ode i živi u Georgia-i.
|
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Q: I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK
A: | walk around left thrice and look around left thrice |
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: [675, 521, 79, 311, 317, 647, 37, 238, 727, 249, 907, 241, 756]
A: | [521, 79, 311, 317, 647, 37, 727, 907, 241] |
Teacher:Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Teacher: Now, understand the problem? Solve this instance: Premise: Kate didn't feel like cooking.
Initial Context: She decided to have a sandwich for dinner.
Original Ending: But she hadn't been to the store in a while. The only bread in the house had mold on it. Kate went to sleep without eating.
Counterfactual Context: She went out for pizza.
Student: | When she got back she was still hungry and she wanted some bread. The only bread in the house had mold on it. Kate went to sleep. |
In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
[55, 409, 435, 374, 277, 460, 418, 43, 450, 399, 210, 260, 178, 289, 57, 262, 495, 499, 112, 26]
[55, 409, 435, 374, 277, 460, 418, 43, 450, 399, 210, 260, 178, 289, 57, 262, 495, 26, 112, 499]
[162, 27, 140, 274, 414, 376, 104, 159, 418, 155, 493, 151, 422, 335, 187, 292, 217, 31, 248, 84]
[162, 493, 140, 274, 414, 376, 104, 159, 418, 155, 27, 151, 422, 335, 187, 292, 217, 31, 248, 84]
[243, 171, 26, 446, 109, 477, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]
| [243, 171, 477, 446, 109, 26, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]
|
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list.
Q: ['h', '3047', 'x', '223', 'g', '8527', 'p', '1587', 'w', 'S', '5061', '8299', 'L', '6469', '2289', 'V', '9259', '8659', '7315', 'x', 'U', '5937', 'B', '8857', '7175']
A: | 1, 3, 5, 7, 9, 10, 13, 16, 20, 21, 23 |
instruction:
Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise
question:
The site collects your contact information for an unspecified purpose. Collection happens in an unspecified way, and your data is identifiable. You can opt in for data collection for the collection and use of your information.
answer:
Contact
question:
The public does see your activities on the website or app for a basic service or feature. The data is personally identifiable. You can opt in for data collection.
answer:
User online activities
question:
The site collects your IP address or device IDs for an unspecified purpose. Collection happens in an unspecified way, and your data is aggregated or anonymized.
answer:
| IP address and device IDs
|
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Q: [ 70.085 49.483 -60.836 88.052]
A: | 88.052 |
Detailed Instructions: Given a hotel review and the corresponding polarity of review (i.e., Negative or Positive) identify if the polarity is correct. Write 'true' if it's correct, 'false' otherwise.
See one example below:
Problem: Review: I stayed at the Hilton Chicago for my cousins wedding. The service was impeccable. Not only was the staff attentive, they were respectful and careful not to interrupt the guests or make themselves known when serving dinner. I had the chicken wellington and it was to die for! The chicken was perfect and moist but the pastry crust was flaky and crispy. They even had Pakistani dinner options for some of the guests. The amenities were great, and after an open bar the night before, the Mimosas and brunch buffet couldn't have been better! I would love to have my wedding there.
Polarity: Positive
Solution: true
Explanation: Review writer likes the hotel. There are strong positive words like 'impeccable' and 'great'. Therefore it is true as the polarity mentioned.
Problem: Review: I stayed for four nights while attending a conference. The hotel is in a great spot - easy walk to Michigan Ave shopping or Rush St., but just off the busy streets. The room I had was spacious, and very well-appointed. The staff was friendly, and the fitness center, while not huge, was well-equipped and clean. I've stayed at a number of hotels in Chicago, and this one is my favorite. Internet wasn't free, but at $10 for 24 hours is cheaper than most business hotels, and it worked very well.
Polarity: Negative
Solution: | false |
1. A breezy time out with upscale audiences.
2. Bon Voyage, a rich, teeming French farce set in and around Bordeaux in 1940 on the eve of the German occupation of Paris, is a triumph of narrative ingenuity.
3. The acting is uniformly good and it's an absolutely gorgeous film to watch.
4. It's just plain exhausting to watch the admirably game cast members running around like headless chickens in chic period clothes, surrendering their dignity to the task of navigating the plot's frenetic contrivances.
5. Relies on its considerable star power to conceal its even more considerable lack of substance.
6. Posh, stylish, and with very little going on in its head, Bon Voyage is neither as dizzying nor as entertaining as it could be.
7. The generally light tone of Bon Voyage is the result of intense concentration on the part of Mr. Rappeneau and his collaborators.
8. A little too much pointless running around coupled with the underdevelopment of several key characters results in a movie that's never more than mildly diverting.
9. A rich cinematic blending of politics, war, love and farce.
10. The talk is too superficial to provide a hint of the characters' make-up.
What is the critic consensus?
A: It's froth, but stylish and giddily entertaining.
1. Hany Abu-Assad takes the broad political situation of Palestinian self-rule and terrorism as a tool to that end and brings it to a personal level.
2. never transcends its political posturing and finds the humanity as profoundly as it means to
3. Director Hany Abu-Assad doesn't make any apologies as he captures this journey into desperation and destruction.
4. The picture loses some points for an ending that rings false and undercuts some of the buildup, but, nonetheless, Paradise sure is nice.
5. He attempts with mixed results to get inside the psyches of men who would blow themselves up for the cause.
6. It is in no way an apologia for terrorism. But it's a character study that subtly nudges the viewer toward greater understanding.
7. This taut, ingeniously calculated thriller fixates on the flashpoint where psychology and politics ignite in self-destructive martyrdom.
8. A powerful, poignant, provocative drama, it gets its strength from its dispassion, from an uncompromising determination to explain rather than justify or condemn, to put a human face on incomprehensible acts.
9. A powerful film that's not so easily shaken or forgotten...an amazing achievement.
10. Paradise Now is an agonized inquiry into the minds of a dispossessed new generation of Palestinians, who come off more introspective and internally divided than you'd think.
What is the critic consensus?
A: This film delves deeply into the minds of suicide bombers, and the result is unsettling.
1. True to its Nickelodeon roots, each scene oozes with sight gags, oddly astute pets, and gallons of goo. For adults, the films offers a bloated Brady Bunch covered in slop.
2. Needless remake of a tepid original.
3. It's terrible.
4. [A] shrill family comedy.
5. ... it loses a good deal of humour along with its social relevance.
6. He's got eight kids, she's got 10 and Yours, Mine & Ours is completely by the numbers.
7. The script is not nearly clever or original enough and Gosnell's direction goes into panic mode each time he stages the chaos.
8. The director, Raja Gosnell, is the auteur responsible for the Scooby-Doo movies, Big Momma's House and Home Alone 3. Enough said.
9. Watching Dennis Quaid falling face down into vats of goop, getting kissed by a pig and talking baby talk in Yours, Mine and Ours is one of those experiences that causes you to question your faith in Hollywood's motives.
10. The remake of the 1968 hit comedy 'Yours, Mine & Ours' is pretty much the same movie as the 2003 remake of 'Cheaper by the Dozen,' with Dennis Quaid taking Steve Martin's place as the family patriarch and butt of several painfully unfunny, slapstick gags.
What is the critic consensus?
A: The initial set-up is unbelievable, the plotting is predictable and stale, and the comedy depends on repetitive pratfalls that soon get old.
1. It's a cry from the heart of an artist compelled to create, tell stories and respond to hostile, confounding realities.
2. What constitutes imprisonment and what constitutes a film?
3. This may not be a film, but it's a moving statement of defiance and despair.
4. The complex, brilliant, heartbreaking diary of Iranian filmmaker Jafar Panahi under house arrest in Tehran, and prohibited from making movies.
5. There is courage and cheekiness here. What there is not is a story, or much insight or even anger; anyone expecting an indictment of Iran will be sorely disappointed.
6. Truly and defiantly extraordinary in its own quiet way.
7. The truth of what is and isn't lies deep between the lines of this brilliantly elusive meta-commentary, arguably the greatest Iranian film since Abbas Kiarostami's masterpiece Close-Up.
8. Predictably, not much happens in "This Is Not a Film"; dude is under house arrest, after all. But it's absorbing and clever.
9. I find myself returning again and again to Jafar Panahi's apartment in Tehran, the defining location for the year in cinema, one of the defining locations in all of cinema.
10. "This Is Not a Film", but it manages to be a bloody great one, anyway.
What is the critic consensus?
A: | Through simple means and filming, This is Not a Film presents a vital political statement and a snapshot of life in Iran as enemy of the state. |
Q: 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.
ldqjovjalafxsoeycclkocuojecdeadducxhvoafdyujgkmuni
A: | c |
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Q: Sentence: When she was spayed the vet had a hard time because {{ she }} only has one uterine horn and he said this could mean she only has on kidney .
Word: she
A: | PRP |
Detailed Instructions: Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise
Q: An unnamed third party does collect on the first party website or app your cookies or tracking elements for an unspecified purpose.
A: | Cookies and tracking elements |
You will be given a definition of a task first, then some input of the task.
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
[7, 5, 1, 6, 2] , [8, 9, 4, 9, 10]
Output: | [] |
instruction:
In this task you are given a passage in Bulgarian as the input content. You are expected to generate a suitable title for the passage which accurately summarizes the contents of the passage. The input is provided in the form of a long passage comprising of multiple sentences. The output should be restricted to a maximum of 20 words which describe the passage and its contents. The output can include words from the passage.
question:
Content:Сензацията от редиците на Монако не изключва трансфер на Бернабеу
answer:
Мбапе за Реал Мадрид: Всичко е възможно!
question:
Content:BOBSTH 15:24:01 31-03-2017 NZ1521BO.001София - система за предупреждение - тестванеНационалната система за ранно предупреждение и оповестяване ще бъде тествана на 3 април в столицата София, 31 март /София Господинова, БТА/Националната система за ранно предупреждение и оповестяване на населението на територията на Столичната община ще бъде тествана на 3 април /понеделник/ от 13.00 ч., съобщават от Столичната община. Системата ще се изпробва със задействане на акустични сигнали. Тестовете са в изпълнение на чл. 37, ал. 1 от Наредбата за условията и реда за функциониране на Националната система за ранно предупреждение и оповестяване на органите на изпълнителната власт и населението при бедствия и за оповестяване при въздушна опасност. /НЗ/
answer:
Националната система за ранно предупреждение и оповестяване ще бъде тествана на 3 април в столицата
question:
Content:Автомобилният трафик в Бургас е натоварен към този час на деня, предаде репортер на Радио „Фокус“-Бургас. Интензивно е движението по централните градски артерии – бул. „Иван Вазов“, ул. „Христо Ботев“, ул. „Одрин“ и „Цар Симеон Първи“. Натоварен е трафикът на кръговото кръстовище „Трапезица“, както и в района пред Окръжната болница. На вход-изхода на Бургас движението е с нормална интензивност. До 20:00 часа днес е спряно движението по ул. „Васил Левски“ в участъка между ул. „Стефан Стамболов“ и ул. „Христо Ботев“. Ул. „Фердинандова“ продължава да бъде затворена в едното платно, като предстои утре – 1 парил, да бъде изцяло затворена поради ВиК дейности. Павлина КУЦАРОВА
answer:
| Автомобилният трафик е натоварен по бул. „Иван Вазов“, ул. „Христо Ботев“, ул. „Одрин“ – Радио Верига Фокус
|
This task is to find the number of 'For' loops present in the given cpp program.
Example Input: int zhi(int a);
int yin(int m,int t);
int main()
{
int n,i=0;
int str[10000];
scanf("%d",&n);
for(i=0;i<n;i++)
scanf("%d",&str[i]);
i=0;
for(i=0;i<n;i++)
printf("%d\n",yin(str[i],2));
return 0;
}
int zhi(int a)
{
int k=2,flag=0;
for(k=2;k<=a/2;k++)
{
if(a%k==0)
{ flag=1;
break;
}
}
return flag;
}
int yin(int m,int t)
{
int j=t,c=0,b=0,x=0;
int str1[10000][2];
if(m<t&&m!=1)
return 0;
else if(m==1)
return 1;
else if(zhi(m)==0)
return 1;
else
for(j=t;j<=m;j++)
{
if(m%j==0)
{ str1[c][0]=m/j;
str1[c][1]=j;
c++;
}
}
for(b=0;b<c;b++)
{
x+=yin(str1[b][0],str1[b][1]);
}
return x;
}
Example Output: 5
Example Input:
int ispr(int t)
{
int v=(int)sqrt(t*1.0)+1;
for(int i=2; i<v; i++)
if(t%i==0)
return 0;
return 1;
}
int sum;
void fun(int n,int i)
{
if(n==1)
sum++;
for (; i<=n; i++)
{
if(n%i==0)
fun(n/i,i);
}
return ;
}
int main() {
int n;
scanf("%d",&n);
for (int j=0; j<n; j++)
{
int a;
scanf("%d",&a);
if(ispr(a)==1)
{
printf("1\n");
continue;
}
int res=1;
for (int i=2; i<=a/2; i++)
{
if(a%i==0)
{
sum=0;
fun(a/i,i);
res=res+sum;
}
}
printf("%d\n",res);
}
return 0;
}
Example Output: 4
Example Input: int main(){
int hanshu(int k,int min);
int n,i,a;
scanf("%d",&n);
for(i=0;i<n;i++){
scanf("%d",&a);
printf("%d\n",hanshu(a,2));
}
scanf("%d",&n);
return 0;
}
int hanshu(int k,int min){
int j,a[k],b=1;
if(k<min)return 0;
for(j=min;j<=k/j;j++){
if(k%j==0){
b+=hanshu(k/j,j);
}
}
return(b);
}
Example Output: | 2
|
Teacher:Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise
Teacher: Now, understand the problem? Solve this instance: The site collects your unspecified information for a basic service or feature. Collection happens in an unspecified way for users with accounts, and your data is identifiable.
Student: | Unspecified |
In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling
therefore, we must hold that, contrary to our earlier decisions in homa and in this case, the rule established by the new jersey supreme court in muhammad is preempted by the faa.
overruling
to the extent that people v. wilson, 224 cal.app.2d 738 [ 37 cal.rptr. 42], is inconsistent with this conclusion it is disapproved.
overruling
whether to grant an award under 97-88.1,
| non-overruling
|
Instructions: In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0.
Input: tnKULCKDOypvdqRqYRSAlzwKmvXfA, V
Output: | 0 |
instruction:
In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment".
question:
Premise: خانه به طرز شگفت انگیزی کوچک و ساده است و یک اتاق خواب ، آشپزخانه کوچک و چند اتاق اجتماعی دارد. <sep> Hypothesis: این خانه بسیار بزرگ است و دارای ده اتاق خواب ، یک آشپزخانه بزرگ و یک استخر المپیک با اندازه کامل است.
answer:
Contradiction
question:
Premise: نایب رئیس اتحادیه فروشندگان لوازم یدکی خودرو با انتقاد از اینکه سازمان استاندارد و گمرک همکاری لازم را برای ممنوعیت ورود کالای بی کیفیت به بازار انجام نمیدهkد، گفت:متأسفانه ممنوعیتی در واردات قطعات خودرو وجود ندارد. <sep> Hypothesis: واردات قطعات خودروی بی کیفیت مانعی جدی از طرف گمرک ندارد.
answer:
Entailment
question:
Premise: در منابع تاریخی ذکر شدهاست که در کرانۀ شمالی ماساچوست شهری به اسم Manchester-by-the Sea وجود دارد که پیش تر «منچستر» نام داشت اما در سال ۱۹۸۹ به واسطۀ حکم ایالتی جنجالی و درخواست برای پایان دادن به اشتباه گرفته شدن با شهر اصلی منچستر نامش به منچستر- بای -د -سی یا «منچستر کنار دریا» تغییر کرد. <sep> Hypothesis: شهردار شهر برای تغییر نام شهر و برگزاری کمپینهای مختلف زحمات زیادی کشید.
answer:
| Entailment
|
Definition: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Input: swim
Output: | mim |
In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
Q: goqe
A: | gq |
Q: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
[-35.806 45.417 -96.279 -83.618 64.676 -92.962 36.774 -71.774]
A: | -96.279 |
Given the task definition and input, reply with output. 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.
jjzppppzzj
| zppppz |
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[{'first': 43, 'second': 43}, {'first': 47, 'second': -31}, {'first': 33, 'second': -86}, {'first': 25, 'second': 82}, {'first': 36, 'second': 17}, {'first': 64, 'second': 19}] | [{'first': 25, 'second': 82}, {'first': 33, 'second': -86}, {'first': 36, 'second': 17}, {'first': 43, 'second': 43}, {'first': 47, 'second': -31}, {'first': 64, 'second': 19}] |
Definition: In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment".
Input: Premise: این حمله در حالی صورت گرفت که یک ژنرال ارشد بریتانیائی پذیرفت شورش طالبان از آنچه انتظار می رفت نیرومندتر است. <sep> Hypothesis: طالبان در حمله نیرومند ظاهر شد.
Output: | Entailment |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: [PERSON] was known for his aggressive behavior towards women, which often involved threats and harassment.
Student: | Negative |
instruction:
In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment".
question:
Premise: من شک دارم که دختران جوان امروزه اجبار به ورود به بازار کار می شوند ، زیرا بسیاری از آنها اینطور که به نظر میرسد از نظر من، به انتخاب خود می روند <sep> Hypothesis: امروزه همیشه برای دختران جوان شغل وجود دارد.
answer:
Neutral
question:
Premise: به همین ترتیب ، آنها توسط OMB بر اساس اطلاعات تهیه شده توسط ادارات مورد بررسی قرار گرفتند ، که شامل اسناد مربوط به اقدامات نظارتی برنامه ریزی شده برای توضیح دلیل قوانین و ارزیابی هزینه ها و تأثیر بودجه قوانین بود. <sep> Hypothesis: خلاصه ی توسط OMB شامل توضیحی درباره دلیل قوانین است.
answer:
Entailment
question:
Premise: که درست است اوه که هیجان بزرگی برای آنها است <sep> Hypothesis: آنها فکر می کردند کسل کننده است.
answer:
| Contradiction
|
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
--------
Question: A much higher gun ownership rate than other developed nations could explain this- that although crime occurs less frequently in the US crime is more likely to involve guns in the US so someone is more likely to die.
Answer: Valid
Question: He realizes that an individual rights interpretation or a ruling that the states are bound by the Second Amendment could still leave the door open for plenty of gun control.
Answer: Valid
Question: Until you meet someone who exercises THEIR right, and decides that their life is more valuable than yours.
Answer: | Valid
|
In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0.
ZaJASfXmxPQRUtdldKUlhF, u | 0 |
You will be given a definition of a task first, then some input of the task.
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.
Cocos (Keeling) Islands
Output: | Australia and New Zealand |
Detailed Instructions: Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Q: Premise: Tommy saw his friend playing with a dog.
Initial Context: He decided to ask his mother if he could have a dog too.
Original Ending: Tommy's mother and father discussed the idea. After speaking to Tommy about caring for a dog, they adopted a dog. Now Tommy is happy to care for and play with his dog every day.
Counterfactual Context: He ran from the dog since he is scared of them.
A: | Tommy's mother and father discussed his problem. After speaking to Tommy about what could be done, they decided to get a therapist. Now Tommy is happy to alleviate his fears and love dogs again. |
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 |
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
Q: original sentence: The father carried the sleeping boy in his bassinet . paraphrase: The fathers carried the sleeping boys in their bassinets .
A: Number
****
Q: original sentence: Sid explained his theory to Mark but he couldn't convince him . paraphrase: Sid and Johnny explained their theory to Mark and Andrew but they couldn't convince them .
A: Number
****
Q: original sentence: Ann asked Mary what time the library closes , because she had forgotten . paraphrase: Ann quietly asked Mary what time the library closes , because she had forgotten .
A: | Adverb
****
|
Instructions: In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Input: [-84, 51, -72, 54, -33]
Output: | 3 |
instruction:
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'.
question:
Macias ha assenyalat que la Comissió d' Urbanisme de Tarragona va dictar l' any 1979 unes Normes Subsidiàries i Complementàries de Planejament per aplicar de manera directa a 117 municipis de la demarcació de Tarragona , com a instrument d' ordenació , perquè no disposaven en aquell moment d' un PGOU o bé de Normes Subsidiàries de planejament municipal .
answer:
Macias (B-PER) ha (O) assenyalat (O) que (O) la (O) Comissió (B-ORG) d' (I-ORG) Urbanisme (I-ORG) de (O) Tarragona (B-LOC) va (O) dictar (O) l' (O) any (O) 1979 (O) unes (O) Normes (B-MISC) Subsidiàries (I-MISC) i (I-MISC) Complementàries (I-MISC) de (I-MISC) Planejament (I-MISC) per (O) aplicar (O) de (O) manera (O) directa (O) a (O) 117 (O) municipis (O) de (O) la (O) demarcació (O) de (O) Tarragona (B-LOC) , (O) com (O) a (O) instrument (O) d' (O) ordenació (O) , (O) perquè (O) no (O) disposaven (O) en (O) aquell (O) moment (O) d' (O) un (O) PGOU (B-MISC) o (O) bé (O) de (O) Normes (B-MISC) Subsidiàries (I-MISC) de (O) planejament (O) municipal (O) . (O)
question:
L' Incasol , d' acord amb els serveis tècnics municipals , va redactar un projecte que va ser tramès a l' Ajuntament l' 11 de maig de 1998 i que la Comissió de Govern del consistori va aprovar el 8 de juny següent , a condició que , per una despesa pressupostària equivalent , se substituís l' escullera de la darrera part del torrent per una prolongació del col·lector formada per un calaix de formigó .
answer:
L' (O) Incasol (B-ORG) , (O) d' (O) acord (O) amb (O) els (O) serveis (O) tècnics (O) municipals (O) , (O) va (O) redactar (O) un (O) projecte (O) que (O) va (O) ser (O) tramès (O) a (O) l' (O) Ajuntament (B-ORG) l' (O) 11 (O) de (O) maig (O) de (O) 1998 (O) i (O) que (O) la (O) Comissió (B-ORG) de (I-ORG) Govern (I-ORG) del (O) consistori (O) va (O) aprovar (O) el (O) 8 (O) de (O) juny (O) següent (O) , (O) a (O) condició (O) que (O) , (O) per (O) una (O) despesa (O) pressupostària (O) equivalent (O) , (O) se (O) substituís (O) l' (O) escullera (O) de (O) la (O) darrera (O) part (O) del (O) torrent (O) per (O) una (O) prolongació (O) del (O) col·lector (O) formada (O) per (O) un (O) calaix (O) de (O) formigó (O) . (O)
question:
El secretari general d' ERC , Josep-Lluís Carod-Rovira , ha participat aquest migdia en un acte , davant la Delegació d' Hisenda de Tarragona , per reclamar un finançament just per a Catalunya .
answer:
| El (O) secretari (O) general (O) d' (O) ERC (B-ORG) , (O) Josep-Lluís (B-PER) Carod-Rovira (I-PER) , (O) ha (O) participat (O) aquest (O) migdia (O) en (O) un (O) acte (O) , (O) davant (O) la (O) Delegació (B-LOC) d' (I-LOC) Hisenda (I-LOC) de (O) Tarragona (B-LOC) , (O) per (O) reclamar (O) un (O) finançament (O) just (O) per (O) a (O) Catalunya (B-LOC) . (O)
|
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.
--------
Question: ¿hay reseñas de una estrella?
Answer: are there any one star reviews ?
Question: ¿podrías realizar una búsqueda del restaurante " thai foon "?
Answer: could you preform a search for the restaurant , " thai foon " ?
Question: ¿cuáles son los restaurantes con reseñas de " mark "?
Answer: | what are the restaurants reviewed by " mark " ?
|
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.
--------
Question: ['73', '215', '389', '381', 'e', 'v', 'j', 'l', 'r']
Answer: 1, 2, 3, 5, 7, 8, 9
Question: ['363', 'w', '151', 'd']
Answer: 1, 3, 5, 6
Question: ['453', '447', 'f', 'z', '209', '165', '293', 'f', '427', 'g', 'b', 'f', 'n', 'j', 'b']
Answer: | 0, 1, 2, 3, 4, 5, 6, 7, 9
|
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.
--------
Question: Given the unique NCC origin of PF suture complex ( analogous to metopic suture in humans ) , we performed quantitative real - time PCR and immunohistochemistry to study the expression pattern of the NCC determinant gene Sox9 and select markers of extracellular matrix .
Answer: NCC
Question: These new recommendations and revelations open the door for local antimicrobial approaches to reduce the challenge of plaque - induced bacteremias .
Answer: plaque
Question: These new recommendations and revelations open the door for local antimicrobial approaches to reduce the challenge of plaque - induced bacteremias .
Answer: | plaque
|
Instructions: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
Input: [209, 1740, 4716, 3487, 10, 55, 2, 217, 1217, 1109, 703, 12, 86]
Output: | [256, 2048, 4096, 4096, 8, 64, 2, 256, 1024, 1024, 512, 16, 64] |
Subsets and Splits