prompt
stringlengths
98
11.7k
response
stringlengths
1
1.45k
Q: 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. Which physician was trained in the procedure that costs the most. A:
SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment ORDER BY T3.cost DESC LIMIT 1
Q: 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. Pakistan A:
Southern and Central Asia
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: oststtooottso Solution:
sttoootts
Q: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. [{'first': 62, 'second': 25}, {'first': 49, 'second': 13}, {'first': -31, 'second': -17}, {'first': -16, 'second': 10}, {'first': -70, 'second': -43}] A:
[{'first': -70, 'second': -43}, {'first': -31, 'second': -17}, {'first': -16, 'second': 10}, {'first': 49, 'second': 13}, {'first': 62, 'second': 25}]
Teacher: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...'. Teacher: Now, understand the problem? Solve this instance: Whoa! Look at Rookie's boner. Student:
That was favorite Disney film growing up.
Detailed Instructions: 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. Problem:What is the entry name of the most expensive catalog (in USD)? Solution:
SELECT catalog_entry_name FROM catalog_contents ORDER BY price_in_dollars DESC LIMIT 1
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 333 @ 1379 # 9227 # 5458 Output:
-12973
TASK DEFINITION: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. PROBLEM: News Headline: GOP lawmaker loses nearly $ 17 million after pharma {stock} tanks 92 % Edit: fish SOLUTION: Funny PROBLEM: News Headline: Rex Tillerson : US has ' direct channels ' to {Pyongyang} Edit: television SOLUTION: Funny PROBLEM: News Headline: Jeff Bezos {Screws} Over Workers At Amazon . Now He Wants To Do The Same At The Washington Post . Edit: Flies SOLUTION:
Not Funny
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Q: 7641 # 1993 @ 448 A:
6096
Teacher: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" Teacher: Now, understand the problem? If you are still confused, see the following example: difficult Solution: No Reason: The word difficult has no natural English rhymes and so the model outputs No as specified in the instructions. Now, solve this instance: condition Student:
mission
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 = 3, equation weights = [1, 8, 2] A:
35
instruction: 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. question: [-85, -66, -63, -93, -13, -45, 26, -72, 53] answer: 3 question: [42, -42, -65, -61, -85] answer: 4 question: [68, 39, 12, 52, 60, -34, 25, -87, 45, -20] answer:
6
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. Problem:pgpphpggphp Solution:
phpggphp
Teacher: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. Teacher: Now, understand the problem? Solve this instance: x = 7, equation weights = [0, 6] Student:
6
TASK DEFINITION: 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. PROBLEM: Man nehme die Line von M.I.K.E. aka Push und den Chor.... . ...von Earth, Wind&Fire, füge Scootertypisch MickeyMouseVoice und "Wicked" Gebrüll hinzu, fertich ist der Hit? Nuja, es wird verkaufstechnisch so sein, doch glaub ich; Selbst unter Trance DJ's und Produzenten ist das eher das letzte, keine eigenen Ideen einzubringen. Das lieber HBK hätte Push besser hinbekommen, so es überhaupt sinnig ist, Weekend zu sampeln!!!! SOLUTION: NEG PROBLEM: Prädikat: First-class Rock made in Suomi! . Wer die Glamrocker Hanoi Rocks (ebenfalls aus Finnland) mitsamt Kajal und Glitterfummel mag, dazu Guns'n'Roses toll findet, und auch Nirvana im CD-Regal stehen hat, der sollte hier auf keinen Fall vorbeilaufen! Denn diese sind laut Jonne Aaron, dem schmächtigen Sänger mit der unerwartet mächtigen Stimme, die grossen Vorbilder der Band. Und einiges davon findet sich auch in ihrer Musik wieder, ohne dass sich hier ein Abklatsch bietet. Vielmehr haben Negative ihren eigenen Stil mit Wiedererkennungswert. Fetzige Kracher sowie gefühlvolle Balladen und eingängige Gitarrenriffs lassen die Songs schnell zum Ohrwurm werden. "The Moment Of Our Love" hatte es sich in Finnland 2003 direkt an der Spitze der Charts gemütlich gemacht, und wird sicherlich auch in Deutschland seinen Weg dahin nicht verfehlen. Das in Suomi bereits erschienene Nachfolgealbum ist ebenfalls wieder direkt von 0 auf #1 geschnellt, was beweist: Hier ist kein One-Hit-Wonder am Werk! Dazu sind die Jungs auch noch ein echter Augenschmaus. Also: kaufen, kaufen, kaufen! SOLUTION: POS PROBLEM: Ein Stern ist noch zuviel! . Dieter Bohlen hat es geschafft uns endlich zu überzeugen, daß er wirklich nicht nur schlecht singen kann, nein seine neue CD neben seinem doch so prickelnden Buch bringt uns wirklich zum grübeln!:Darf man sich sein Sammelsurium genialer DB Stücke überhaupt noch in ein CD Regal stellen? MT und DB Fans tun sicher aber allen anderen sei davon abgeraten dies zu tun! SOLUTION:
NEG
Teacher: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. Teacher: Now, understand the problem? Solve this instance: original sentence: The man lifted the boy onto his bunk bed . paraphrase: The man joyfully lifted the boy onto his bunk bed . Student:
Adverb
TASK 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. PROBLEM: [-57, 89, -34, 73, 21, 33] SOLUTION: 12 PROBLEM: [83, 41, -13, 63, -50] SOLUTION: 20 PROBLEM: [30, -20, 41, 31, 10] SOLUTION:
1
instruction: 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. question: There is a cheap, family friendly French coffee shop called Cocum. It has a customer Rating of 5 out of 5. answer: name[Cocum], eatType[coffee shop], food[French], priceRange[cheap], customer rating[5 out of 5], familyFriendly[yes] question: A restaurant in the riverside area, The Phoenix, offers English food in the lower price range but has a low customer rating. answer: name[The Phoenix], food[English], priceRange[less than £20], customer rating[low], area[riverside] question: The Wrestlers provides Indian food in the moderate price range. It has a customer rating of 1 out of 5 and is not kid friendly. answer:
name[The Wrestlers], food[Indian], priceRange[moderate], customer rating[1 out of 5], familyFriendly[no]
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. they did n't tell you your duties during the interview?I assume the store has a website ?
no
Definition: 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. Input: aastassattat Output:
tassat
Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. Input: fiveonetwotwosixtwozero Output:
5122620
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. [EX Q]: THEM: i'd like a basketball and a book. YOU: i can do basketball and you get the rest or the opposite. i'll take the rest and you get ball. THEM: can't spare a book? YOU: ball is 5 points for me. everything else is 5 points together. i don't deal for less than 5 / 10. THEM: ok, take the ball. [EX A]: No [EX Q]: THEM: i'd like the hats and the book. YOU: deal. [EX A]: Yes [EX Q]: THEM: i would like the ball and book, you can have 4 hats YOU: i like the ball and book too THEM: lets work on a deal then YOU: how about i take the ball and 2 hats THEM: i need the ball. i will take the ball and give you the hats and book YOU: ok. [EX A]:
Yes
TASK DEFINITION: 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. PROBLEM: Cocos (Keeling) Islands SOLUTION: .cc PROBLEM: South Africa SOLUTION: .za PROBLEM: Antigua and Barbuda SOLUTION:
.ag
Q: In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation. Nigeria A:
1960
Instructions: 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: [2, 1, 2, 3, 1, 7, 7, 6, 5] Output:
[3, 6, 5]
Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Input: [486, 317, 443, 587, 151, 317, 179, 249, 173, 753, 397, 837, 292, 233, 851, 324, 665, 574] Output:
[317, 443, 587, 151, 317, 179, 173, 397, 233]
Teacher: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. Teacher: Now, understand the problem? Solve this instance: Set1: '{3, 4, 7, 8, 10, 14, 17, 19}', Set2: '{9, 10, 11, 16, 18}'. How many elements are there in the union of Set1 and Set2 ? Student:
12
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red. [Q]: workforce [A]: employment [Q]: metamorphosis [A]: reproduction [Q]: spend [A]:
pay
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. [Q]: But it's easy to see that a less violent environment, incuding representations of violence, would help speeding the educating process and avoiding some bad issues. [A]: Valid [Q]: Second, if the situation were turned, you would probably say "Purposely indulging in an act that carries risk to your own body for your own convenience and then committing suicide" if we were talking about peds. [A]: Invalid [Q]: Getting rid of the death penalty would ultimately not be more cost effective. [A]:
Valid
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: KtLmLpKGOgyjUnqCdyOoFFsCUqbfjeJY, nPzXbYxvgIZIvNmyjUnqCdyOoFFsCUqWFBbJBHNnf SOLUTION: KtLmLpKGOgccdffjnooqqsuuyybfjeJY, nPzXbYxvgIZIvNmccdffjnooqqsuuyyWFBbJBHNnf PROBLEM: fOvToKb, UYSvToOnT SOLUTION: fOotvKb, UYSotvOnT PROBLEM: LwKRxEoDOmIcPQ, IJxEoDOmmfm SOLUTION:
LwKRdemooxIcPQ, IJdemooxmfm
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. Input: Consider Input: Return the number of United Airlines flights leaving from AHD Airport. Output: SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = "United Airlines" AND T2.SourceAirport = "AHD" Input: Consider Input: What are the names and budgets of departments with budgets greater than the average? Output: SELECT dept_name , budget FROM department WHERE budget > (SELECT avg(budget) FROM department) Input: Consider Input: What are the file sizes and formats for all songs with a resolution lower than 800?
Output: SELECT DISTINCT T1.file_size , T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T2.resolution < 800
You will be given a definition of a task first, then some input of the task. In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. What are the ids and trade names of the medicine that can interact with at least 3 enzymes? Output:
SELECT T1.id , T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 3
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: [183, 1893, 4560, 1030, 7, 51, 3, 68, 1763, 742, 1938, 24, 41] Answer: [128, 2048, 4096, 1024, 8, 64, 4, 64, 2048, 512, 2048, 32, 32] Question: [41, 70, 3210, 2152, 13, 82, 4, 135, 611, 1643] Answer: [32, 64, 4096, 2048, 16, 64, 4, 128, 512, 2048] Question: [243, 989, 2201, 1198, 13, 54, 4, 98, 1164, 4054, 2554, 16, 60, 4, 83] Answer:
[256, 1024, 2048, 1024, 16, 64, 4, 128, 1024, 4096, 2048, 16, 64, 4, 64]
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: Alimentum is a kid friendly French eatery in the city centre. It is in the moderate price range Example Output: name[Alimentum], food[French], priceRange[moderate], area[city centre], familyFriendly[yes] Example Input: Bibimbap House is a moderately priced restaurant who's main cuisine is English food. You will find this local gem near Clare Hall in the Riverside area. Example Output: name[Bibimbap House], food[English], priceRange[moderate], area[riverside], near[Clare Hall] Example Input: For Italian food in the riverside area, try the Aromi coffee shop, but keep in mind that it is not family-friendly and has a low customer rating. Example Output:
name[Aromi], eatType[coffee shop], food[Italian], customer rating[low], area[riverside], familyFriendly[no]
Definition: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red. Input: despotic Output:
absolute
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 wanted to adopt a new cat. Initial Context: I went to the pet store and looked for a kitten. Original Ending: The only kitten left saw me, clawed the cage and meowed for me. I couldn't resist, so I got her. She chose me, and I've had her now for eight years. Counterfactual Context: I went to the pet store but couldn't find any kitten for me.
As I was leaving a kitten clawed the cage and meowed for me. I couldn't resist, so I got her. She chose me, and I've had her now for eight years.
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. Input: Consider Input: [-53.119 45.555 79.189 -53.965 76.339 92.204 -8.849 94.092 -99.925 10.583] Output: -99.925 Input: Consider Input: [-76.225 -85.094] Output: -85.094 Input: Consider Input: [ -2.797 88.368 60.117 -97.46 -50.839 60.753 -79.624 -46.724]
Output: -97.46
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. -------- Question: password = euelApYajOjzzJXQqGSl0PKUki9MYSj9.Du3G9nBdkI Answer: 23 Question: password = 8euKE9I4LaUcqY8Giqbe9MB7H9fMVL2I8RZiBWkh Answer: 20 Question: password = 8eL!W Answer:
1
Detailed Instructions: You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. Q: original sentence: I stuck a pin through a carrot . When I pulled the pin out , it had a hole . paraphrase: I stuck pins through carrots . When I pulled the pins out , they had holes . A:
Number
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. Let me give you an example: bYubMFxyTqR, AcDbMFxSnI The answer to this example can be: bYubfmxyTqR, AcDbfmxSnI Here is why: Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI' OK. solve this: ZhjeEf, qdjeFI Answer:
ZhejEf, qdejFI
Given the task definition, example input & output, solve the new input case. In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned. Example: [47, 444, 859, 530, 197, 409] Output: [47, 859, 197, 409] The integers '444' and '530' are not prime integers and they were removed from the list. New input case for you: [520, 687, 149, 103, 229, 866, 198, 101, 801, 163, 20, 97, 449, 487] Output:
[149, 103, 229, 101, 163, 97, 449, 487]
Detailed Instructions: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. See one example below: Problem: [16, 205, 171, 2, 9, 317] Solution: [16, 256, 128, 2, 8, 256] Explanation: Every integer in the input list is rounded to the nearest power of 2. The number 2 and 16 are in the input list and both are a power of 2, therefore rounding to the closest power of 2 returns the same number. This is a good example. Problem: [118, 632, 3711, 3940, 13, 74, 2, 47, 1320, 1515, 4203, 9, 55, 2, 194, 1784] Solution:
[128, 512, 4096, 4096, 16, 64, 2, 32, 1024, 1024, 4096, 8, 64, 2, 256, 2048]
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. Example Input: [141.233, -9.427, -7.024, 226.925, 55.684, 1.605, 81.487, 148.275, -10.187] Example Output: [ 0.225 -0.015 -0.011 0.361 0.089 0.003 0.13 0.236 -0.016] Example Input: [-59.081, 28.102, 68.098, 203.21, -6.395] Example Output: [-0.253 0.12 0.291 0.869 -0.027] Example Input: [209.092, 14.731] Example Output:
[0.934 0.066]
Q: 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. [9, 2, 3, 7, 6, 1, 6, 2, 7] , [7, 8, 5, 2, 5, 6, 8, 5, 7] A:
[2, 6, 7]
Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Input: Sentence: These are all a bit more expensive than your choice but if you ebay search the names you may be able to find one second hand ... better {{ paying }} for a second hand one in good condition than a poorly made new one IMO . Word: paying Output:
VBG
Detailed Instructions: Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Problem:Query: SELECT count(*) WHERE { ?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M0 . ?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M0 . FILTER ( ?x0 != M0 ) . M1 ns:film.film.starring/ns:film.performance.actor ?x0 . M1 ns:film.film.starring/ns:film.performance.actor M2 . M1 ns:film.film.starring/ns:film.performance.actor M3 } Question: What was produced , written , and executive produced by a Italian art director Solution:
0
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc. Sentence: Jack played basketball after school, after which he was very tired. Question: How long did Jack play basketball? Category: Event Duration. Solution: Yes. Why? The question asks about the duration of playing basketball, therefore it's a "event duration" question. New input: Sentence: Danny begins spending less and less time at home with his wife and children . Question: What time would he leave home in the morning? Category: Absolute Timepoint. Solution:
Yes.
Detailed Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Problem:THEM: hi i would like the 10 balls please and you could keep the rest YOU: you want the one ball? THEM: yes sorry 1 ball YOU: okay deal : ) THEM: cool. Solution:
Yes
Part 1. Definition 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). Part 2. Example Entity 1: plant Entity 2: leaf Answer: yes Explanation: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym. Part 3. Exercise Entity 1: thread Entity 2: cytoplasm Answer:
yes
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. [Q]: superscript [A]: subscript [Q]: significant [A]: nonsignificant [Q]: laxative [A]:
costive
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. Q: [{'first': 51, 'second': -58}, {'first': 37, 'second': 64}, {'first': 54, 'second': -43}, {'first': 34, 'second': -40}, {'first': -71, 'second': -55}, {'first': 37, 'second': 36}, {'first': 53, 'second': 17}] A:
[{'first': -71, 'second': -55}, {'first': 34, 'second': -40}, {'first': 37, 'second': 36}, {'first': 37, 'second': 64}, {'first': 51, 'second': -58}, {'first': 53, 'second': 17}, {'first': 54, 'second': -43}]
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. [Q]: zetezetzeze [A]: zetez [Q]: gvvvgvyvyy [A]: gvvvg [Q]: bbbvvcvcvbcbvv [A]:
vcvcv
Part 1. Definition 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. Part 2. Example Fast schon teuflisch gut . Gleich mal eins vorne weg: dieses Album ist wieder wesentlich besser als das letzte ("The Last Kind Words"), wenn auch nicht ganz so gut wie die beiden ersten Alben "DevilDriver" und "The Fury Of Our Maker's Hand". Sofort wird hier munter "losgegroovt" mit dem Opener "Pray For Villains". Sofort merkt man: hier regiert der Hammer. Unüberhörbar, dass die Double Basses dermaßen losprügeln, das man fast schon meint es wurde ein Drumcomputer benutzt. Ziemlich sicher bin ich mir aber, dass hier getriggert wurde. Wobei mir das überhaupt nicht auf den Magen schlägt, der Gesamtsound ist wunderbar und vorantreibend. Auch die Gitarren leisten Spitzenarbeit ab. Noch schneller, gar extremer sind sie auf dieser Scheibe wahrzunehmen. Unglaublich... Natürlich leistet auch Dez ganze Arbeit mit seinem unglaublichen Organ. Es kommen sogar mal kurz cleane Vocals zum Einsatz. Aber diese werden nicht tragend für das Lied eingesetzt, also keine Sorge. Weiterhin regieren die tiefen Shouts aus Dez's Kehle. Ansonsten bleibt nur noch zu sagen, dass auch die Produktion auf ganzer Linie überzeugen kann. Einfach nur fett. Also, Devildriver Fans werden sicher nicht enttäuscht sein. Und alle anderen, die auf brachiale Grooves und sonstigen Krach stehen, können hier auch ohne schlechtes Gewissen zugreifen. Super Scheibe. Answer: POS Explanation: The overall sentiment of the review is positive as the reviewer refers to the music piece with positive expressions such as 'Fast schon teuflisch gut', 'Super Scheibe' etc. Hence, the label is 'POS'. Part 3. Exercise Endlich ein Best-of-Album! . Schon seit Langem warte ich auf ein Best-of-Album von Robby Williams! Ich bin kein Fan von ihm, hörte seine Single-Auskoppelungen jedoch im Radio immer recht gerne. Da ich bis jetzt nicht eine einzige CD von ihm habe, kommt mir diese Zusammenstellung seiner größten Hits also gerade Recht! Allen (hier nörgelnden) Fans kann ich nur sagen: seid doch froh, dass Ihr das Geld für die CD sparen könnt, wenn Ihr die ganzen Titel schon zu Hause habt ;o) Allen anderen wünsche ich einen angenehmen Hörgenuss! Answer:
POS
Detailed 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?" See one example below: Problem: Fact: pesticides can harm animals. Solution: What can harm animals? Explanation: It's a good question because it is formed by simply replacing the word "pesticides" with "what". Problem: Fact: if an object in a fluid is more dense than that fluid then that object will sink in that fluid because of Newton's law. Solution:
if an object in a fluid is more dense then it will sink due to whose law?
instruction: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" question: box answer: foxx question: question answer: suggestion question: hold answer:
old
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story. Q: Premise: Timmy was playing with his toys. Initial Context: His mother called his name. Original Ending: He did not respond, until she pulled him into the car. They were off to see the the doctor. The doctor checked his ear and said "You have a lot of ear wax! Counterfactual Context: He loved to play with his train set for hours at a time. A: Calling his name, he didn't respond to his mother until she pulled him into the car. They were off to see the the doctor. The doctor checked his ear and said "You have a lot of ear wax!" **** Q: Premise: Margo just had a new baby. Initial Context: She brought her baby home from the hospital. Original Ending: It cried a lot and kept her up at night. It was hard work taking care of a baby. She got better at caring for the baby everyday. Counterfactual Context: Her baby was very calm and slept through the night. A: She was able to sleep well at night. It was hard work taking care of a baby. She got better at caring for the baby everyday. **** Q: Premise: Carrie was in active labor. Initial Context: She was almost all the way dilated. Original Ending: Her doctor noticed the baby was breech. She had to be rushed in for a c-section. Carrie was just happy her baby was safely born. Counterfactual Context: She was almost finished pushing. A:
Her doctor noticed the baby was nearly born. She had to make one final push. Carrie was just happy her baby was safely born. ****
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" -------- Question: every Answer: salary Question: master Answer: plaster Question: store Answer:
door
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 Strada is a Japanese pub, near Yippee Noodle Bar. Strada has a great customer Rating of 5 out of 5. Answer:
name[Strada], eatType[pub], food[Japanese], customer rating[5 out of 5], near[Yippee Noodle Bar]
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. -------- Question: eQfcBukrKBtnA, VlHukrKBYQTtp Answer: eQfcBbkkrutnA, VlHbkkruYQTtp Question: bOOpLbgTykZhzPpOWrsvJQjibugUFZwKpPLhDklNYxNzqLwCS, nNIeNZMWrsvJQjibugUFZwKpPLpcEgfoTjdHql Answer: bOOpLbgTykZhzPpObfgijjklppqrsuuvwwzhDklNYxNzqLwCS, nNIeNZMbfgijjklppqrsuuvwwzpcEgfoTjdHql Question: UjDiMDojyovmdoTgpBwNj, JZKiMDojyovmdTZKWko Answer:
UjDddijmmoovyoTgpBwNj, JZKddijmmoovyTZKWko
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. -------- Question: password = 1a869KImC.RSPsQ!H9JVz8qc7HeRxIpmH2Mk9jMA3Zme Answer: 24 Question: password = Gzv8!8CKb9hctMRHSred3akHEijLc Answer: 9 Question: password = cvV Answer:
3
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. gelbjacken in topform . die scheibe ist heute bei mir eingetrudelt und dudelt seitdem ununterbrochen. prinzipiell gibt's da relativ wenig zu sagen - einfach nur lässig, das groovt und swingt das es eine wahre freude ist, von scheibe blue bis scheibe green, von les is mo bis evening news. uneingeschränkt zu empfehlen.
POS
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Entity 1: downy woodpecker Entity 2: stolon no Entity 1: area Entity 2: edema yes Entity 1: tract Entity 2: acid
yes
Q: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. nontoxic A:
toxic
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. Ex Input: [3, 6, 6, 0, 4] Ex Output: [3, 0, 4] Ex Input: [5, 3, 4, 5, 6, 2] Ex Output: [3, 4, 6, 2] Ex Input: [5, 4, 5, 7, 2, 4, 3, 6] Ex Output:
[7, 2, 3, 6]
In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation. Q: Bahrain A:
Monarchy (Emirate)
Detailed Instructions: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" Q: crowd A:
vowed
In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them. Cerebral blood flow ( CBF ) was measured with continuous arterial spin - labeling perfusion magnetic resonance ( MR ) imaging in 14 children with sickle cell disease and seven control subjects . sickle cell 5 - HT is a vasoconstrictor agent that binds to 5HT - 2A receptors and amplifies the platelet response by stimulating shape change and enhancing platelet recruitment at sites of injury ( 3 ) . platelet Bone histology showed changes consistent with osteoblast inhibition by methotrexate .
osteoblast
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: Consider Input: Schade um LIVE . Kurz vor Erscheinen der Neuen Live habe ich mit einem Kumpel die besten Bands der Welt analysiert - (nicht im Vollrausch) dort habe ich LIVE als die Band erwähnt, die sich noch keinen Ausfall einer Neuerscheinung geleistet hatte - leider habe ich nicht mit so einem MIST wie dieser Platte gerechnet- so etwas seichtes und Belangloses ist LIVE nicht würdig. Wenn ich an die genialen Platten zurückdenke bekomme ich Gänsehaut - ich habe dreimal nochmal auf die CD geschaut ob das wirklich LIVE ist oder doch (hoffentlich)nicht - bloss nicht kaufen. Output: NEG Input: Consider Input: Naja . Über das Album selbst kann ich nichts Schlechtes sagen, da es nunmal einfach ziemlich genial ist. Allerdings war ich von der DVD extrem enttäuscht. Ich hatte die Hoffnung, dass die DVD endlich das eigentliche Konzert zeigen würde. Fehlanzeige: Genauso wie bereits auf der VHS nerven mich die permanenten Einblendungen der Videoclips. Wenn ich die Clips sehen will, lege ich die Clips DVD ein :-( Scheinbar war man bei der Plattenfirma der Meinung, dass es langweilig sei, einen Keyboarder zu zeigen, der ja "nur Knöpfchen drückt". Aber genau das will ich eigentlich bei einem Livemitschnitt einer Elektroband sehen. Richtig nervig finde ich, dass selbst bei vielen genialen Gesangsparts (z.B. bei Vienna) Midge Ure nicht in Aktion gezeigt wird, sondern das millionenfach gesehene Videoclip dazu. Einfach nur ärgerlich... Output: NEG Input: Consider Input: Kaufen Sie dieses Album! . Schon lange bin ich Echt-Fan,eigentlich von Anfang an(nein nein-ich bin wirklich kein Kreisch-Fan und ich schätze auch Tomte,Selig,Coldplay,...und nicht zuletzt auch guten deutschen Hip Hop),müsste die 5 Flensburger Jungs somit eigentlich auch gut kennen, aber dieses Album hat mich wirklich überrascht. Traumhafte Melodien(Stehengeblieben), feinste Rockmusik(Meisterwerk), lupenreiner Pop(WieGehtEsDirSo?), überzeugende Vocoder-Spielereien(Wahrheit) und sogar Bossa-Nova angehauchte Songs(DuBistNichtEcht.) machen dieses Album zu meinem Lieblingsalbum 2001. Die Band ist gereift, das hört man an jedem Song, denn zum einen hat man auf Fremdkompositionen verzichtet, man hat Abstand genommen vom Bombast des freischwimmer-Albums und auch die Bandmitglieder selbst sind an ihren Instrumenten versierter geworden. Kai Fischers Gitarrenriffs sind ausgefeilter, Flo Sump(Drums),Gunnar Astrup(Keyboards) und Andreas Puffpaff(Bass) haben sich an ihren Instrumenten verbessert und man muss zugeben, dass auch Sänger Kim Frank auf diesem Album komplett überzeugt-was man nicht zuletzt an &gt;DuBistNichtEcht.&lt; hören kann. Und falls man die Wahl hat-unbedingt die limited edition kaufen. Alle die behaupten,Echt könnten nicht rocken, werden beim Bonus-Track &gt;EsIstHier&lt; Lügen gestraft. Ihre wahren Qualitäten zeigen Echt jedoch live. Und dieses Potential hebt sie auch von ihren Nachahmern ab-oder spielte einer von denen bei Rock am Ring/Rock im Park und begeisterte jeweils über 10000 Menschen im Publikum? Zum Schluss kann also nur ein Zitat von Harald Schmidt kommen: "Kaufen sie dieses Album!Sie werden es nicht bereuen."
Output: POS
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...'. Mr. President, the data feeds have stopped coming in from the Antarctica station.
Is that a good thing? It doesn't seem like a good thing, maybe me should send in Delta Force.
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. -------- Question: THEM: i would like the book and a hat please YOU: i also want the book along with the ball and 1 hat. Answer: No Question: THEM: i'd like all the hats and ball YOU: sorry for taking so long! um i need the ball too, sorry. you can have the hats and book if you want THEM: ok. Answer: Yes Question: THEM: i would like the hats and the ball. YOU: no, you can have the ball and 2 books, i need the hats THEM: i will need at least two hats. YOU: sorry can`t do that. Answer:
No
Teacher: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. Teacher: Now, understand the problem? Solve this instance: The Rice Boat is a poorly rated, moderately priced fast food venue which is family-friendly. It can be found near Express by Holiday Inn in the city centre. Student:
name[The Rice Boat], food[Fast food], priceRange[less than £20], customer rating[low], area[city centre], familyFriendly[yes], near[Express by Holiday Inn]
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. Input: Command: eq { count { filter_greater { all_rows ; erp / power w ; 5000 } } ; 3 }, interpretation: select the rows whose rank record fuzzily matches to 1 . take the bronze record of this row . select the rows whose rank record fuzzily matches to 4 . take the bronze record of this row . the first record is less than the second record . Output:
no
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" death
beth
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: How many vehicles exist? A: SELECT count(*) FROM Vehicles **** Q: What are the first and last names of all drivers who participated in the Australian Grand Prix but not the Chinese Grand Prix? A: SELECT T3.forename , T3.surname FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Australian Grand Prix" EXCEPT SELECT T3.forename , T3.surname FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Chinese Grand Prix" **** Q: What are the different names for each station that has ever had 7 bikes available? A:
SELECT DISTINCT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available = 7 ****
instruction: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise question: The site collects your website activities for an unspecified purpose. Collection happens in the mobile app. You can choose not to use the service or feature for the collection of your information. answer: Unspecified question: Other users does see your activities on the website or app for a basic service or feature. answer: Basic service/feature question: An unnamed third party does not receive your cookies or tracking elements for an unspecified purpose. answer:
Unspecified
Teacher: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Teacher: Now, understand the problem? If you are still confused, see the following example: [2,5,1,4],[2,5,8,4,2,0] Solution: [2,4,5] Reason: The elements 2,4, and 5 are in both lists. This is a good example. Now, solve this instance: [4, 5, 5, 9, 10] , [5, 2, 1, 7, 8] Student:
[5]
Part 1. Definition 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. Part 2. Example gocogccocco Answer: gocog Explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example. Part 3. Exercise ygssygsysgs Answer:
gsysg
Detailed Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Problem:THEM: how about you get two balls, YOU: deal THEM: how about some begociations. Solution:
Yes
Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'. For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'. -------- Question: L' Ajuntament de Manresa ha posat en funcionament tot un seguit de mesures , la majoria informatives , que tenen com a finalitat minimitzar els efectes de la vaga . Answer: L' (O) Ajuntament (B-ORG) de (I-ORG) Manresa (I-ORG) ha (O) posat (O) en (O) funcionament (O) tot (O) un (O) seguit (O) de (O) mesures (O) , (O) la (O) majoria (O) informatives (O) , (O) que (O) tenen (O) com (O) a (O) finalitat (O) minimitzar (O) els (O) efectes (O) de (O) la (O) vaga (O) . (O) Question: El 65 per cent es destinarà a equipaments públics , vialitat i zones verdes , mentre que el 35 per cent restant serà de titularitat privada . Answer: El (O) 65 (O) per (O) cent (O) es (O) destinarà (O) a (O) equipaments (O) públics (O) , (O) vialitat (O) i (O) zones (O) verdes (O) , (O) mentre (O) que (O) el (O) 35 (O) per (O) cent (O) restant (O) serà (O) de (O) titularitat (O) privada (O) . (O) Question: Les dues noves cabines panoràmiques , amb capacitat per a 60 persones , estan dotades amb les més modernes tecnologies de seguretat i confort , com portes automàtiques elèctriques , calefacció i cabines de conducció independents . Answer:
Les (O) dues (O) noves (O) cabines (O) panoràmiques (O) , (O) amb (O) capacitat (O) per (O) a (O) 60 (O) persones (O) , (O) estan (O) dotades (O) amb (O) les (O) més (O) modernes (O) tecnologies (O) de (O) seguretat (O) i (O) confort (O) , (O) com (O) portes (O) automàtiques (O) elèctriques (O) , (O) calefacció (O) i (O) cabines (O) de (O) conducció (O) independents (O) . (O)
Q: 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...'. There's only one explanation, besides the one that you offered. Christ wouldn't have done made that ticket in 1947. A:
I doubt it. He wasn't around then, right?
TASK 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. PROBLEM: x = 9, equation weights = [8, 5, 4] SOLUTION: 697 PROBLEM: x = 9, equation weights = [7, 2, 5] SOLUTION: 590 PROBLEM: x = 8, equation weights = [6, 0, 2] SOLUTION:
386
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'. Example: twotwoonesixzeronine Example solution: 221609 Example 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. Problem: zerothreezerozerozero
Solution: 03000
TASK DEFINITION: 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. PROBLEM: Having catastrophic emotional and physical effects, long and short term. SOLUTION: Invalid PROBLEM: Notice, both the adulterer and the adulteress are to be put to death. SOLUTION: Invalid PROBLEM: There is a better than average chance that your wife has left you. SOLUTION:
Invalid
TASK DEFINITION: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. PROBLEM: [1, 5, 2, 7, 8] , [10, 2, 6, 3, 5] SOLUTION: [2, 5] PROBLEM: [8, 3, 1, 4, 8, 8, 3, 1] , [6, 9, 8, 10, 2, 5, 3, 7] SOLUTION: [3, 8] PROBLEM: [7, 7, 1, 9, 4, 4] , [4, 10, 8, 8, 8, 10] SOLUTION:
[4]
TASK DEFINITION: In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect. PROBLEM: بسیار فیلم بد و بازی های بدتر و تدوین افتضاح SOLUTION: بازی PROBLEM: ریتم کند کسالت آور خسته کننده قصه ای گنگ و کلیشه ای من موندم که از بین فیلم اولی ها فیلم بهتر نبود بیاد تو بخش مسابقه SOLUTION: داستان PROBLEM: میر کریمی عزیز به اندازه کافی جسور نیست و برای همین ؛ فیلم پایان خوبی ندارد و گرفتار کلیشه می شود. : ( SOLUTION:
کارگردانی
Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase. Example: 1975 년부터 76 년까지 NBA 시즌은 전국 농구 협회 (National Basketball Association)의 30 번째 시즌이었다. Example solution: La saison 1975-1976 de la National Basketball Association était la 30e saison de la NBA. Example explanation: This is a correct and accurate translation from Korean to French because the translated paraphrase retains the main message that between the years 1975-1976, the 30th NBA season occurred. Problem: 많은 지역에서 이슬람 사원은 폭격을 받았고 후이족은 일본군에 의해 도살되거나 파괴되었습니다.
Solution: Des mosquées ont été bombardées et dans de nombreuses provinces, les Hui ont été massacrés ou détruits.
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. THEM: 3 books 1 hat and you take rest YOU: you can have 2 books and 1 hat THEM: 2 books 2 hat YOU: deal.
Yes
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. Input: Consider Input: ojojoujouojoj Output: ojojo Input: Consider Input: mwwummwuwuww Output: wuwuw Input: Consider Input: hvtththhvht
Output: tht
Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. Input: [192.938, 51.975, 93.05, 36.769, 3.622, -24.137, -88.765, 192.278, -36.338, 175.861] Output:
[ 0.323 0.087 0.156 0.062 0.006 -0.04 -0.149 0.322 -0.061 0.294]
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: 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. Reason: The translation correctly preserves the characters in Croatian. Now, solve this instance: The classrooms have no walls. Student:
Učionice nemaju zidove.
TASK 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. PROBLEM: The Golden Curry is a £10 family friendly French food near The Bakers SOLUTION: name[The Golden Curry], food[French], priceRange[less than £20], familyFriendly[yes], near[The Bakers] PROBLEM: Expect to pay more than £30 at The Vaults, an expensive but kid friendly Chinese restaurant. SOLUTION: name[The Vaults], food[Chinese], priceRange[more than £30], familyFriendly[yes] PROBLEM: Blue Spice is in the city centre. It has low ratings and is not family-friendly. its price range is less than £20. SOLUTION:
name[Blue Spice], priceRange[less than £20], customer rating[low], area[city centre], familyFriendly[no]
Definition: 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. Input: Set1: '{1, 3, 4, 5, 10, 19, 20}', Set2: '{5, 6, 10, 13, 15, 20}'. How many elements are there in the union of Set1 and Set2 ? Output:
10
Q: 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. So here we go for the first time ever, a world premiere view of this spaghetti diagram as an ordered network. A:
Ovo je prvi put uopće, svjetska premijera prikaza špageta dijagrama kao posložene mreže.
Detailed Instructions: In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect. Problem:بازیهایی بسیار خوب از همه بازیگران(حتی محمد صادق ملک عزیز با اون نقش کوتاه)، فیلمنامه خوب، کارگردانی بسیار خوب...فقط نامه انتهای فیلم رو دوست نداشتم که اونم خیلی شخصی و سلیقه ای هست البته...نمی دونم چرا احساس می کنم صدای جمال و موضوع نامه بعدا اضافه شده به فیلم! Solution:
بازی
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( Solution: -LRB- Reason: "(" is the symbol for Left Parantheses (-LRB-). Now, solve this instance: Sentence: {{ 11 }} . In Events of Default , clause ( a ) refers to a dispute section which I 'm not sure exists . Word: 11 Student:
LS
Teacher:The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations. Teacher: Now, understand the problem? Solve this instance: buscar restaurantes " vegetarian " con opiniones de 6 estrellas o superior. Student:
search for " vegetarian " restaurants with 6 star reviews or better .
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: [-83.508, -45.974, 241.098, 15.559, 178.455, 21.679, 107.872, 240.156, 244.933] answer: [-0.091 -0.05 0.262 0.017 0.194 0.024 0.117 0.261 0.266] question: [170.997, 168.919, 162.608, -16.388, -81.975, -60.792, -54.261, 236.975, -95.809] answer: [ 0.397 0.393 0.378 -0.038 -0.191 -0.141 -0.126 0.551 -0.223] question: [221.822, 100.464, 88.375, -5.282, 213.114, 205.478, 114.427, 71.749, 227.702] answer:
[ 0.179 0.081 0.071 -0.004 0.172 0.166 0.092 0.058 0.184]
Definition: 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...'. Input: It's going to be good. I'll punch with my knee. Output:
That's a kick. Or a knee, really.
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. I_RUN I_RUN I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_RUN
run twice and run opposite right thrice
Teacher: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?" Teacher: Now, understand the problem? Solve this instance: Fact: when a hemisphere is tilted away from our nearest star, the hemisphere receives less direct sunlight. Student:
What does the hemisphere have to be tilted away from to receive less sunlight?