prompt
stringlengths
98
13.4k
response
stringlengths
1
1.45k
Detailed Instructions: In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Problem:Command: eq { hop { argmax { all_rows ; transfer fee } ; name } ; ferdinand }, interpretation: select the row whose transfer fee record of all rows is maximum . the name record of this row is ferdinand . Solution:
yes
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Q: x = 7, equation weights = [4, 1, 2] A:
205
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Q: Browns Cambridge is a hamburger joint that has an average rating of 3 out of 5 stars and is low priced. A: name[Browns Cambridge], food[Fast food], priceRange[less than £20], customer rating[average] **** Q: Near The Portland Arms is a kid friendly pub that serves English food named The Dumpling Tree. A: name[The Dumpling Tree], eatType[pub], food[English], familyFriendly[yes], near[The Portland Arms] **** Q: Located near The Bakers, The Golden Curry is a Chinese restaurant that is moderately priced. It is not kid friendly. A:
name[The Golden Curry], food[Chinese], priceRange[moderate], familyFriendly[no], near[The Bakers] ****
Given the task definition, example input & output, solve the new input case. This task is to find the number of 'For' loops present in the given cpp program. Example: main() { float a[4]; float k; float c; int i; for(i=0;i<4;i++) { scanf("%f",&a[i]); } scanf("%f",&c); c=2*3.1415926*c/360; k=(a[0]+a[1]+a[2]+a[3])/2; double s,sq; sq=(k-a[0])*(k-a[1])*(k-a[2])*(k-a[3]) - a[0]*a[1]*a[2]*a[3]*(double)cos(c/2)*(double)cos(c/2); if(sq<0) printf("Invalid input"); else { s=sqrt(sq); printf("%.4f",s); } } Output: 1 The number of 'for' loops in the code is given by the number of 'for' string present in the code. Since we can find the exact number of for loops, this is a good example. New input case for you: int sushu(int b) { int flag=1,i; if(b==2) return 1; if(b%2==0) return 0; for(i=2;i<=b/2;i++) { if(b%i==0) { flag=0; break; } } if(flag==0) return 0; else return 1; } int number(int a,int b) { int i,total=1; if(sushu(a)) { total=1; return total; } for(i=b;i<=a;i++) { if(a%i==0&&a/i>=i) { total=total+number(a/i,i); } } return total; } void main() { int n,i,A[100],B[100]; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d",&A[i]); B[i]=number(A[i],2); } for(i=0;i<n;i++) { printf("%d\n",B[i]); } } Output:
4
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task you will 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. gocogccocco Solution: gocog Why? The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example. New input: ytyyuutytuyutty Solution:
utytu
Q: 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. [-25, 60, 20, -87, -94, 16, -33, -45, 17] A:
1
TASK 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. PROBLEM: GTYdfOzXuPyBDuLzBSAOklRNXJNOf, YPGUUMOfOzXuPyBDuLzBSPhzlLyyEAZxp SOLUTION: GTYdbbdflopsuuxyzzAOklRNXJNOf, YPGUUMObbdflopsuuxyzzPhzlLyyEAZxp PROBLEM: pCNJTqkMNSabieVliDwkabDcXMKWfORQsFzugo, jhgyMldUyeHLBabieVliDwkabDcXDvRTWyUKqpPeTYC SOLUTION: pCNJTqkMNSaabbcddeiiklvwxMKWfORQsFzugo, jhgyMldUyeHLBaabbcddeiiklvwxDvRTWyUKqpPeTYC PROBLEM: iilMoy, pSlMaB SOLUTION:
iilmoy, pSlmaB
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. from experience , you really have to teach your body again . no Get a piece of paper and write down what your life will look like in 7 months in each situation . yes You do n't need a degree to learn something new and valuable to employers , sometimes showing you 're motivated to put in the time to be a better worker is all they need to know .
yes
instruction: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. question: I am pretty sure I am from Russia but I'm not 100% where any of you are from. answer: Catarina, we work so long together. And now you ask me this, where we are from? question: My name is Eve. answer: Like from the Bible? That's my favorite book. question: Did you know that Miss Pearl was in the movie Foxy Brown? answer:
She told us that. I kind of get the feeling she leads all her stories with that.
Given the task definition and input, reply with output. 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. Sentence: On the RER / {{ Metro }} : Word: Metro
NNP
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: What are the names of departments that have at least one employee. A: SELECT DISTINCT T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id **** Q: What are the first and last names of the top 10 longest-serving employees? A: SELECT first_name , last_name FROM employees ORDER BY hire_date ASC LIMIT 10 **** Q: How many United Airlines flights go to City 'Aberdeen'? A:
SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = "Aberdeen" AND T3.Airline = "United Airlines" ****
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. Example: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy. Example solution: adverse drug event Example explanation: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy. Problem: Development of an extensive skin rash following a single dose of MTX may be an early warning sign for life-threatening bone marrow aplasia.
Solution: adverse drug event
Q: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. free A:
unfree
input question: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package com.menny.android.anysoftkeyboard.??? output answer: Sayeed asrari Awesome input question: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package net.androgames.level.??? output answer: useful! input question: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package com.reicast.emulator.??? output answer: Rollin around at the speed of sound input question: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package org.wikipedia.??? output answer:
A B**
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. One example is below. Q: gocogccocco A: gocog Rationale: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example. Q: mddlmmmlmddlldl A:
lmmml
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 1916 @ 5847 @ 4371 12134 5610 # 3034 @ 9312 @ 7337 @ 2731 @ 8581 @ 5926 # 2102 @ 2137 36498 7279 # 831 # 5336 # 1933 @ 5531 # 4604 @ 8203
8309
Detailed Instructions: In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries. Q: Nicaragua A:
Central America
Detailed Instructions: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Problem:197 # 2174 @ 1910 Solution:
-67
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. Example input: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( Example output: -LRB- Example explanation: "(" is the symbol for Left Parantheses (-LRB-). Q: Sentence: With each breath , watch your body and ensure that it remains relaxed - at peace {{ . }} Word: . A:
.
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. effrrfeefeerrfe
eefee
Given the task definition and input, reply with output. 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. x = 10, equation weights = [5, 2, 3, 8]
5238
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. Set1: '{8, 12, 6}', Set2: '{5, 12, 14, 15, 16, 18, 20}'. How many elements are there in the union of Set1 and Set2 ?
9
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'. One example: twotwoonesixzeronine Solution is here: 221609 Explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example. Now, solve this: eightfouronenineone Solution:
84191
Given the task definition and input, reply with output. 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. hDfJYsfXu, vyfJYsFfOa
hDfjsyfXu, vyfjsyFfOa
Instructions: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" Input: Fact: when half of Earth is tilted towards the sun , that half of Earth receives more direct sunlight. Output:
What happens to half of Earth when it tilts towards the Sun ?
Given the task definition and input, reply with output. In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. foureightfivesixsixonethree
4856613
Q: 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. News Headline: Liberty University Alumni To Return Diplomas Over School Official 's Trump {Support} Edit: hate A:
Not Funny
You will be given a definition of a task first, then some input of the task. In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Sehr gut und...traurig . Willie Nelson, der ursprünglichste Chaot der Country-Musik wirkt auf dieser CD traurig, manchmal müde, resignierend und doch überzeugend gut. Ich kann dieses Werk nur echten Willie Fans empfehlen, für Einsteiger ist es denkbar ungeeignet. Als Fan jedoch gefällt mir der nachdenkliche Willie sehr gut. Wahrscheinlich kommt jeder Star nach 20, 30 oder mehr Jahren im Geschäft an den Punkt wo er sooooo tief wird und diese Gedanken auch musikalisch mitteilt. Prima! Zurücklehnen, entspannen und einfach wirkenlassen. Diese CD wird ihrem Titel äußerst gerecht. Output:
POS
Instructions: In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Input: Good album . Highland is a very good "band", and has a good music. I've got all the albums from Highland! Output:
POS
In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. [EX Q]: Zum Einschlafen! . Stefan Raab hat's mal wieder geschafft: Aus einem blassen Abiturienten mit Rollkragenpulli macht er einen Popstar. Hut ab! Dass die Stimme von Mäxchen sich anhört wie Michael Bolton mit Halsentzündung, der Song klingt wie ein Stevie Wonder Imitat für Arme und der Text mit den Englisch-Kenntnissen eines Grundschülers verfasst werden könnte, scheint im allgemeinen Hype untergegangen sein.Klingt wie schon tausendmal im Formatradio gehört. Für das mit Sicherheit(jeden Cent abkassieren!)schnellstmöglich zusammengeschluderte Album ahnt man Übles,kann der Knallcharge doch weder komponieren oder ein Instrument spielen. Bleibt zu hoffen, dass mit diesem Abgesang endlich Schluss ist mit gecasteten Milchbubis und bald mal wirkliche neue Talente für die deutsche Musiklandschaft entdecken werden [EX A]: NEG [EX Q]: Zuviel des Guten: "Masterplan" kommt in neuem Gewand auf den Markt . Stefanie Heinzmann ist sympathisch, sie kann singen und hat ihren eigenen Stil. Aus der ganzen Masse von Popstars sticht sie auf jeden Fall heraus. Der Beginn ihrer Karriere war schlichtweg blendend und vielversprechend. "Masterplan" war zwar kein reines Pop-Album, klang aber sehr abwechslungsreich und peppig für ein Debüt. Stefanie Heinzmann versuchte sich in mehreren Musikbereichen und überzeugte fast über das gesamte Album hindurch. "My man is a mean man" war ein großer Hit und ein absoluter Ohrwurm! So weit so gut, doch dann ging es bergab. "Like a bullet", die zweite Single, war zwar irgendwie radiotauglich, blieb aber nicht im Ohr. "Masterplan" hatte viel mehr zu bieten als diese laue Pop/Rock Nummer. "Revolution" als dritte Single zu nehmen war für mich ein schlechter Scherz. Ich mochte alle Songs auf "Masterplan", aber "Like a bullet" fand ich nur mittelprächtig und "Revolution" als einzigstes Lied schlecht - und der Song wurde zur Single gemacht und floppte wie die Vorgänger-Single. Was war nur los? Warum drehten die Produzenten Videos für laue Popsongs statt die Songs zu veröffentlichten von "Masterplan", die wirklich gut waren wie "Only so much oil.." oder "Free love". Wer dachte, es kann nicht mehr schlimmer kommen, der schaue sich dies an: "Masterplan" kommt jetzt nochmal auf den Markt. Enthalten ist u.a als Bonus die vierte Single "The Unforgiven", ein Song, der auf der Original-Version von "Masterplan" noch nicht drauf war. Es ist ein Cover von Metallica und wer hätte gedacht, das ein völlig neu aufgenommener Song noch schlechter werden würde als "Revolution"? Wollen die Produzenten einen Rekord aufstellen? Welche Künstlerin veröffentlicht die meisten schlechten Songs? Das Problem ist schlichtweg, dass sie Talent hat und sehr gut singt. Manche Songs von "Masterplan" sind echte Perlen und die wurden einfach nicht genutzt. Das Bonusmaterial auf der neuen "Masterplan" Limited Edition ist ein schlechter Scherz. Neben "The Unforgiven" sind noch die 4 Videos zu den 4 Singles drauf und ein kurzes Video. Musikalisch hat sie einen Remix von "Like a bullet" draufgepackt (wer braucht sowas?) und die Songs "I wrote the book" &amp; "Supersticion", die beide auf der Maxi-CD von "Like a bullet" enthalten waren. Hat jeder Fan schon, braucht auch keiner, da beide Songs unglaublich schlecht sind. Ich bete für Stefanie, das ihr 2009 erscheinenes zweites Album wieder so gute Songs enthält wie "Masterplan" und man diesmal die Songs zu Singles macht, die Pepp und Ohrwurmeffekt besitzen. Bitte keine "Like a bullet", "Revolution" oder "The Unforgiven" Songs mehr, das ist alles Grütze.. [EX A]: NEG [EX Q]: Absoluter Tiefflug . warnung! kauft dieses album bloß nicht, wenn ihr auf richtigen hip hop steht. richtig ist, das 1. album war an die spitze zu setzen weil es absolut gut war. falsch ist, dieses album als gut zu bewerten. sorry, aber dies ist mit abstand das schlechteste album was ich jemals gehört habe. lakmann kann man hier total vergessen weil er nur noch popelige reime bringt und flipstar hört sich an, als hätte er die letzten jahre im tiefsten ghetto verbracht. oberpeinlich, jetzt auf einmal voll auf pimp zu machen. und die beats sind auch nichts herausragendes, einfach nur der zeit angepasst. schade, ich hatte mich echt auf dieses album gefreut, gerade bei dem coolen albumtitel...aber es steckt leider gar nichts dahinter. [EX A]:
NEG
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. Q: password = O1rAbiMByJRSASRavYcX5EobKK8vmVw6fLbvbdoBcXGH A:
24
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. Let me give you an example: password = a The answer to this example can be: 5 Here is why: Using 5 steps, it can become a strong password OK. solve this: password = xSfq1aiHFXmL53qB.uy2VEGbXRqqMGGWk2h6SaM0wbxM5c Answer:
26
Teacher:In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Teacher: Now, understand the problem? Solve this instance: Command: eq { count { filter_greater { all_rows ; frequency mhz ; 100 } } ; 3 }, interpretation: select the rows whose shooter record fuzzily matches to cze . the number of such rows is 2 . Student:
no
Part 1. Definition In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Part 2. Example Aromi is an English restaurant in the city centre. Answer: name[Aromi], eatType[restaurant], food[English], area[city centre] Explanation: The output correctly parses all the parseable attributes in the input, no more, no less. Part 3. Exercise Near the Yippee Noodle Bar is Strada. It has a average customer rating for being a French pub Answer:
name[Strada], eatType[pub], food[French], customer rating[average], near[Yippee Noodle Bar]
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 = 5, equation weights = [5, 1, 0] Output:
130
Teacher:We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) 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 death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. Teacher: Now, understand the problem? Solve this instance: I think the death penalty should only be used when there is undeniable proof against the suspect. Student:
Valid
Detailed Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Q: password = vypFnba5CvkVRhPO8ETy4WWn9MJFpE0Cn1bj37W A:
19
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq Edit: twins Solution: Not Funny Reason: The edited sentence is not making much sense, therefore it's not funny. Now, solve this instance: News Headline: America 's U.N. ambassador Nikki Haley demands UN withdraw report branding Israel ‘ {apartheid} ’ state Edit: tractor Student:
Not Funny
Problem: Given the question: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.totsp.crossword.shortyz. ++++++++++++++++++++++++++++++++ The answer is: Kept crashing Crashed every few words I entered without even saving the entry Problem: Given the question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.marvin.talkback. ++++++++++++++++++++++++++++++++ The answer is: its somehow good Problem: Given the question: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. ++++++++++++++++++++++++++++++++ The answer is:
Goood
instruction: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. question: Yes. That's also my middle name. Crystal. Carl Crystal Slider. answer: One day, after I'm gone, this bike shop's going to be called CC Sliders' Bike Shop instead of DM Sliders' Bike Shop. question: Big Red, I didn't recognize you without your signature coat. answer: Well, it's hot out. question: Sitter, you're slightly bigger, but you're still very small. answer:
I'm in between sizes.
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Problem:x = 6, equation weights = [2, 6, 8, 3, 5] Solution:
4199
Detailed Instructions: 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. Problem:qudaJaxjaotnAffVeMSgtBnckARqPRNgYxMIy, JbEGvByZDmaSxcTSjaotnAffVeMSgtBnwJM Solution:
qudaJaxaabeffgjmnnosttvckARqPRNgYxMIy, JbEGvByZDmaSxcTSaabeffgjmnnosttvwJM
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'. zerotwothreeeightzerozerofiveseventwo 023800572 eightfivefourthreefourninesixsixfive 854349665 fivethreeonethreesixtwosixeightthreesevenzerosix
531362683706
Detailed Instructions: In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. See one example below: Problem: Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Solution: yes Explanation: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'. Problem: Command: eq { hop { argmax { all_rows ; south asians 2011 } ; province } ; ontario }, interpretation: select the row whose south asians 2011 record of all rows is maximum . the province record of this row is ontario . Solution:
yes
Part 1. Definition 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'. Part 2. Example twotwoonesixzeronine Answer: 221609 Explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example. Part 3. Exercise seventhreethreefivefour Answer:
73354
Detailed Instructions: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Q: I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP A:
jump left twice after look opposite right
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. Premise: I decided to make pancakes for breakfast. Initial Context: I tried to get fancy and ended up using a lot of dishes. Original Ending: I accidentally poured pancake batter all over the stove and floor. I knocked a bowl over and the glass shattered everywhere. It took me two hours to clean my mess up after I ate. Counterfactual Context: I tried to stay simple so I wouldn't use a lot of dishes.
I accidentally poured pancake batter all over the stove and floor. Then, I knocked a bowl over and the glass shattered everywhere. It took me two hours to clean my mess up after I ate.
Definition: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. Input: [-49.362, 173.439, -75.542, -6.284, -94.181, 157.119, 83.235, 125.892, 137.401, 122.857] Output:
[-0.086 0.302 -0.131 -0.011 -0.164 0.273 0.145 0.219 0.239 0.214]
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Q: [45, 59, -88] A:
14
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). -------- Question: Entity 1: savanna Entity 2: methane gas Answer: no Question: Entity 1: cat Entity 2: tale Answer: yes Question: Entity 1: atmosphere Entity 2: thermonuclear energy Answer:
no
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger. ++++++++ Answer: Faster fast msg than other app Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.ihunda.android.binauralbeat. ++++++++ Answer: Wow It helps me unwind concentrate. I love it Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package net.sourceforge.opencamera. ++++++++ Answer:
good app
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. Example: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy. Example solution: adverse drug event Example explanation: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy. Problem: Two patients with extrinsic asthma and coexistent insulin-dependent diabetes mellitus sustained an anaphylactoid reaction after the intravenous administration of 50% solution of dextrose.
Solution: adverse drug event
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. Q: বাংলাদেশে যে কবে ভারতীয় চ্যনেল গুলো বন্ধ হবে A:
non-religious
Given the task definition and input, reply with output. Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. alphabetic
analphabetic
Part 1. Definition 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. Part 2. Example x = 3, equation weights = [4, 2] Answer: 14 Explanation: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14. Part 3. Exercise x = 7, equation weights = [4, 5] Answer:
33
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. [EX Q]: Premise: Sara Liked Andy but didn't know how to let him know. Initial Context: She asked Andy if he wanted to go to the fair. Original Ending: He agreed. They both went and had a wonderful time. Sara and Andy have been seeing a lot of each other lately. Counterfactual Context: She decided to keep it a secret. [EX A]: He asked her to the fair one day. They both went and had a wonderful time. Sara and Andy have been seeing a lot of each other lately. [EX Q]: Premise: I was drinking soda with my friends. Initial Context: Suddenly, I felt something in my stomach. Original Ending: I was scared that I would fart. Luckily, it was a burp. Alas, my friends still made fun of me for burping. Counterfactual Context: Suddenly i had the urge to throw up. [EX A]: I was scared that I would throw up on my friends. Luckily, it was a burp. Alas, my friends still made fun of me for burping. [EX Q]: Premise: Jill was craving a pizza. Initial Context: She put pizza topping on bread and heated it. Original Ending: It tasted like soggy warm bread. Jill ordered pizza delivered. She threw out the soggy bread. Counterfactual Context: She ordered a pizza. [EX A]:
It tasted like soggy warm bread. Jill ordered pizza delivered from a different pizzeria. She threw out the pizza that tasted like soggy bread.
instruction: 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). question: Entity 1: fox Entity 2: leg answer: no question: Entity 1: change Entity 2: plaque answer: no question: Entity 1: reproduction Entity 2: enamel answer:
no
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 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. Sint Maarten Output:
.sx
TASK DEFINITION: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" PROBLEM: late SOLUTION: strait PROBLEM: take SOLUTION: make PROBLEM: shout SOLUTION:
scout
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. See one example below: Problem: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}] Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}] Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example. Problem: [{'first': 2, 'second': -70}, {'first': -90, 'second': -6}, {'first': -24, 'second': -32}, {'first': -36, 'second': 88}] Solution:
[{'first': -90, 'second': -6}, {'first': -36, 'second': 88}, {'first': -24, 'second': -32}, {'first': 2, 'second': -70}]
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. [Q]: Also smile even if you are n't feeling good enough to smile there is something psychological about smiling that makes people more comfortable talking to you and it will help a lot in casual conversations . [A]: yes [Q]: This applies to getting a new dog also ( always introduce your old and new dog in a neutral location to prevent aggression ) . [A]: no [Q]: In the past i heavily relied on mturk for conducting surveys and I also read you can earn some good money while doing so . [A]:
yes
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. Ex Input: original sentence: Jane knocked on Susan's door , but there was no answer . She was out . paraphrase: Susan's door was knocked on by Jane , but there was no answer . She was out . Ex Output: Voice Ex Input: original sentence: Look ! There is a minnow swimming right below that duck ! It had better get away to safety fast ! paraphrase: Look ! There was a minnow swimming right below that duck ! It had better get away to safety fast ! Ex Output: Tense Ex Input: original sentence: Pete envies Martin although he is very successful . paraphrase: Anna envies Emma although she is very successful . Ex Output:
Gender
instruction: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. question: News Headline: Paul Manafort seeks dismissal of charges , claims Mueller overstepped {authority} Edit: stairs answer: Not Funny question: News Headline: Gunmam {attacks} a Church in Helwan , Cairo . Four dead and nine wounded . [ shooter killed ] Edit: ventilates answer: Not Funny question: News Headline: Africa Signs Free-Trade Deal to Replace {Existing} Agreements Edit: underwear answer:
Funny
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Q: Show names of pilots that have more than one record. A:
SELECT T2.Pilot_name , COUNT(*) FROM pilot_record AS T1 JOIN pilot AS T2 ON T1.pilot_ID = T2.pilot_ID GROUP BY T2.Pilot_name HAVING COUNT(*) > 1
Part 1. Definition In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Part 2. Example Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Answer: yes Explanation: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'. Part 3. Exercise Command: round_eq { sum { filter_greater_eq { all_rows ; year ; 2011 } ; tournaments played } ; 33 }, interpretation: select the rows whose turbines record is equal to 1 . there is only one such row in the table . the wind farm record of this unqiue row is glenough extension . Answer:
no
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. One example: [9, 40, -33, 12, 17, -32, 40] Solution is here: 0 Explanation: The minimum absolute difference is 0 because '40 - 40 = 0' and '40' appears in the list twice. So this is a good example. Now, solve this: [-79, 50, -37, 7, -46, 15, 67, -38, -22] Solution:
1
Q: 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. Sentence: At some point in the not so distant future , the Houson and London credit departments need to speak in order that each understands the " philosophy " behind credit analysis for the omnibus and master transactions {{ . }} Word: . A:
.
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. Example Input: QnBuWaxEVE, ZmxuWaxrY Example Output: QnBauwxEVE, ZmxauwxrY Example Input: nqPvRZSaWctzemfYh, FAcpGoRZSaWctzAEnko Example Output: nqPvacrstwzzemfYh, FAcpGoacrstwzzAEnko Example Input: lyxtNNrESLYDptbaTvYzHdR, rpWaXxtNNrESLYDpne Example Output:
lydelnnprstxytbaTvYzHdR, rpWaXdelnnprstxyne
Teacher: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. Teacher: Now, understand the problem? Solve this instance: [51, 589, 997, 905, 21, 32, 4] Student:
[64, 512, 1024, 1024, 16, 32, 4]
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence . Solution: Tense Why? The verbs in this example are changed from past tense to present tense. New input: original sentence: When Tommy dropped his ice cream , Timmy giggled , so father gave him a stern look . paraphrase: When Tommy foolishly dropped his ice cream , Timmy raucously giggled , so father immediately gave him a stern look . Solution:
Adverb
Detailed Instructions: 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. See one example below: Problem: gocogccocco Solution: gocog Explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example. Problem: ffhgfffhghgffhf Solution:
fff
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. Example: original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence . Example solution: Tense Example explanation: The verbs in this example are changed from past tense to present tense. Problem: original sentence: The table won't fit through the doorway because it is too narrow . paraphrase: The table won't fully fit through the doorway because it is too narrow .
Solution: Adverb
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Input: Consider Input: [7, 5, 3, 7, 6, 5] Output: [3, 6] Input: Consider Input: [2, 4, 7, 7, 7, 6, 1] Output: [2, 4, 6, 1] Input: Consider Input: [0, 4, 2, 1, 6, 4, 3, 3]
Output: [0, 2, 1, 6]
Definition: 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: [17, 86, 51, 60] Output:
9
Given the question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.wikipedia. The answer is:
When I use it it feels like that I dived into a pool of knowledge
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. Let me give you an example: x = 3, equation weights = [4, 2] The answer to this example can be: 14 Here is why: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14. OK. solve this: x = 0, equation weights = [9, 1, 6] Answer:
6
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. Q: password = CPjnb3.axJi A:
0
Part 1. Definition 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. Part 2. Example [-11, 2, 3] Answer: -11 Explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example. Part 3. Exercise [ 78.053 49.885 -10.22 -74.701 67.392 -44.553] Answer:
78.053
instruction: 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. question: [106, 1027, 3205, 2244, 10, 86, 2, 23, 540, 351, 4599, 15] answer: [128, 1024, 4096, 2048, 8, 64, 2, 16, 512, 256, 4096, 16] question: [51, 589, 997, 905, 21, 32, 4] answer: [64, 512, 1024, 1024, 16, 32, 4] question: [89, 1381, 3765] answer:
[64, 1024, 4096]
Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. Ans: Hmmmmm nice Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.watabou.pixeldungeon. Ans: Right now this game is Far to easy item spawn rates are far to high. Also you should only be given 1 free food per five levels to make it more challenging. And item durability is terrible please remove it. BTW did you give up watabou? You haven't updated since December. Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.frostwire.android. Ans: Easy It downloads instantly and it has all my band's Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.achep.acdisplay.
Ans: Usefull app
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Example Input: Near Café Rouge is Midsummer House. It is a 5 star English food restaurant. Example Output: name[Midsummer House], food[English], customer rating[5 out of 5], near[Café Rouge] Example Input: Near The Portland Arms is a kid friendly pub that serves English food named The Dumpling Tree. Example Output: name[The Dumpling Tree], eatType[pub], food[English], familyFriendly[yes], near[The Portland Arms] Example Input: A medium priced burger restaurant called Alimentum is a great venue for families. Example Output:
name[Alimentum], food[Fast food], priceRange[moderate], area[riverside], familyFriendly[yes]
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. THEM: what if i take the hat and one ball? YOU: deal THEM: deal.
Yes
Given the task definition and input, reply with output. In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. ঐ বেডি তুর বুকে পশম আছেনি?
non-religious
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) 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 death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. One example: The fact that you do not want to donate to these poor, needy people only shows me that you really do not care about the embryos Solution is here: Invalid Explanation: It is not an argument on the topic of death penalty. Now, solve this: no there shouldn't be a death penalty aren't we essentially playing god we do not have the right to take someone Else's life no matter the crime thats just what i think Solution:
Valid
Given the task definition and input, reply with output. 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. [145, 1992, 4911, 1090, 25, 34, 3, 112, 970, 3073, 1713, 14]
[128, 2048, 4096, 1024, 32, 32, 4, 128, 1024, 4096, 2048, 16]
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: On the one hand , it should pressure Musharraf to take off his uniform and run for president in a fair election , and to repeal the contentious {{ " }} Legal Framework Order " that essentially perpetuates his dictatorship . Word: " [A]: `` [Q]: Sentence: By comparison , outdoor cats have a life expectancy of 3 {{ - }} 7 years depending on how many predators are in the local environment . Word: - [A]: SYM [Q]: Sentence: This is the year you 're {{ going }} to be doing a lot of travel and learning about your world , as expansion is the theme . Word: going [A]:
VBG
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Ex Input: Green Man, Not family-friendly. Price Range: less than £20. Italian Food. Near All Bar One. Area is Riverside. Ex Output: name[Green Man], food[Italian], priceRange[less than £20], area[riverside], familyFriendly[no], near[All Bar One] Ex Input: The Cambridge Blue is a restaurant that provides Chinese food Its customer rating is high. Ex Output: name[The Cambridge Blue], eatType[restaurant], food[Chinese], customer rating[high] Ex Input: Fitzbillies is a fast food restaurant and affordable. Next to The Six Bells. Ex Output:
name[Fitzbillies], food[Fast food], priceRange[moderate], near[The Six Bells]
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. [Q]: You can say oh yea my mom told me I need to be clocking in before I work or some other BS until you can talk with Human Resources or L & I [A]: yes [Q]: I wish I had spoken up for myself and I encourage you not to make the same mistake I did . [A]: yes [Q]: Plus , you can also use your GED experience as part of your set . [A]:
no
Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.wahtod.wififixer. A: wifi settings stopped crashing after installing this app Q: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package org.ppsspp.ppsspp. A: Addicting It has almost everything you could find in a PSP but the minor problem is that there are times that the emulator works slow therefore the sound of the game is a cracky. Q: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. A: messes up on me all the time Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. A:
This is good and very butieful
Q: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. drained A:
undrained
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. [Q]: [5, 8, 7, 3, 7, 1, 7, 8] , [1, 10, 9, 5, 8, 3, 2, 8] [A]: [1, 3, 5, 8] [Q]: [1, 9, 1, 2, 9, 3, 10] , [10, 9, 9, 9, 7, 10, 1] [A]: [1, 9, 10] [Q]: [1, 8, 9, 7, 3, 3, 8] , [6, 2, 3, 5, 9, 8, 2] [A]:
[3, 8, 9]
Instructions: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. Input: News Headline: Bridgegate scandal lands Christie ally Bill Baroni two {years} in prison Edit: cells Output:
Funny
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. 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. I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again. Solution: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju. Why? The translation correctly preserves the characters in Croatian. New input: It's the thing you'd like to avoid if you can, like to get a machine to do. Solution:
Ono je stvar koju bi htjeli izbjeći, kao što bi htjeli da stroj radi.
TASK DEFINITION: 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. PROBLEM: Maybe steer her towards therapy , and definitely make sure your personal boundaries with her are firm , so that you can avoid being manipulated , intentionally or not , by your friend . SOLUTION: yes PROBLEM: Before my parents passed , my grandfather owed them about 20 K from borrowing over the years . SOLUTION: no PROBLEM: I read this quote in a book once , and it fundamentally changed the way I think of conversations . SOLUTION:
no
Q: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. The Wrestlers is a family friendly coffee shop in the low price range serving French food, situated near Raja Indian Cuisine A:
name[The Wrestlers], eatType[coffee shop], food[French], priceRange[less than £20], area[riverside], familyFriendly[yes], near[Raja Indian Cuisine]
This task is to find the number of 'For' loops present in the given cpp program. Ex Input: int f(int a,int min) { if(a < min) { return 0; } int result = 1; for(int i = min;i<a;i++) { if(a % i == 0) { result += f(a/i,i); } } return result; } main() { int n; scanf("%d",&n); int i; int a; int b; for(i=0;i<n;i++) { scanf("%d",&a); int min=2; b=f(a,2); printf("%d",b); printf("\n"); } } Ex Output: 2 Ex Input: int qq(int m){ int i,j; j=0; for(i=2;i*i<=j;i++){ if(m%i==0){ j=1; break; } } return j; } int pp(int m,int j){ int i,k=0; if(m==1) return 1; else { k++; for(i=j;i*i<=m;i++){ if(qq(i)==0&&m%i==0){ k=k+pp(m/i,i); } } } return k; } int main(){ int n,i,p; cin>>n; int aa[n+1]; for(i=1;i<=n;i++){ cin>>p; aa[i]=pp(p,2); } for(i=1;i<=n;i++) cout<<aa[i]<<endl; return 0; } Ex Output: 4 Ex Input: int Divide(int a,int b); int main() { int Times=0; int Num=0; int i=0; int Temp[100]={0}; cin>>Times; for (i=0;i<Times;i++) { cin>>Num; Temp[i]=Divide(Num,Num); } for (i=0;i<Times;i++) {cout<<Temp[i]<<endl;} return 0; } int Divide(int a,int b) { int Sum=0; int i=0; int Flag=0; if (a!=1) { for (i=b;i>1;i--) {if (a%i==0) Sum+=Divide(a/i,i); Flag=1; } } if (Flag==0||a==1) {Sum=1;} return Sum; } Ex Output:
3
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 1021 # 2896 # 8239 # 5207 # 1962 # 5346 Output:
-22629
instruction: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. question: [102.757, 23.602, 40.339, 178.401, 71.405, 82.184, 77.393] answer: [0.178 0.041 0.07 0.31 0.124 0.143 0.134] question: [234.776, -81.91, 222.93, 31.896, 175.369, -51.638, -92.412] answer: [ 0.535 -0.187 0.508 0.073 0.399 -0.118 -0.211] question: [69.817, -34.361, 230.409] answer:
[ 0.263 -0.129 0.867]
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. Q: So in that sense, he's the symbolic third side of the Middle East. A:
I u tom smislu, on je simbolička treća strana na Bliskom Istoku.
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. Ex Input: RjFFHTXVgptjkDvppuFNkqVRLjRzJghmlBmZ, cUvqWoVkRCGyuwTqQQPppuFNkqVRLjRzJghmlBHryCHZXrCMw Ex Output: RjFFHTXVgptjkDvbfghjjkllmnppqrruvzmZ, cUvqWoVkRCGyuwTqQQPbfghjjkllmnppqrruvzHryCHZXrCMw Ex Input: JsVOdcxLNdCCixVsdRvEgjaDDOXTplbZwPQfHcJZQjGFHlxnYZRq, hDmLdhZBJXqmhkpEgjaDDOXTplbZwPQfHcJAzOVTTLxDjH Ex Output: JsVOdcxLNdCCixVsdRvabcddefghjjloppqtwxzZQjGFHlxnYZRq, hDmLdhZBJXqmhkpabcddefghjjloppqtwxzAzOVTTLxDjH Ex Input: xCMYzFUScBPODfsgAUZIEAfRDNLeDoRRDDGjigu, snkmdDfsgAUZIEAfRDNLoiGMQDP Ex Output:
xCMYzFUScBPOaaddeffgilnrsuzeDoRRDDGjigu, snkmdaaddeffgilnrsuzoiGMQDP