Dataset Viewer
Auto-converted to Parquet
prompt
stringlengths
47
11.8k
response
stringlengths
0
2.99k
In this task, you are given a string with duplicate characters ocurring in the string. You need to return the character which is ocurring with the maximum frequency. In case of a tie, return the character with the least ascii value. One example is below. Q: mvwduljootadondrwbrledodqnmfqtxalvuxnfgft A: d Rationale: d is ocurring with maximum frequency of 5. Q: rigabchdgzulwxgylasliyzxykvyyzkwkvfazelhhdd A:
y
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. Input: Consider Input: password = 3v!VK6a6nBOeMaAZD Output: 0 Input: Consider Input: password = ZBZOidSWdEh Output: 1 Input: Consider Input: password = uPxjn3ofhYEOWEABh9.koq4J2ccS2OVaOBTOHcdX
Output: 20
In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline. customer: Hello. agent: Hello, how may I aid you for today? customer: Dennis Parker here. I am a social activist, I have to host a campaign against gun culture at Detroit. So please book my ticket from Denver. agent: I am glad to help you with that. Can you please let me know your planned dates of your journey? __ agent: Certainly, please provide your nearest airport codes. customer: My genesis and terminus airport codes are DEN and DTW. agent: Please wait for a while, I will get a suitable flight for your journey. customer: Sure. agent: Sorry to say this Parker, there are no flight which can travel to your region on your planned dates of your journey. customer: No problem, thank you for checking. agent: You are welcome, thank you for reaching out here. Hope you have a nice day.
customer: My itinerary dates are 06/30 and 07/02.
Given the task definition, example input & output, solve the new input case. 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). Example: Entity 1: plant Entity 2: leaf Output: yes The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym. New input case for you: Entity 1: microtubule Entity 2: fluorine Output:
no
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.namelessdev.mpdroid. ++++++++ Answer: Very few crashes. Excellent UI. We use this to control our MPD server at our hip coffee shop. Works great even with big playlists. Buttery smooth on my Nexus 4 and 5. Would be perfect if it had profiles support to pick the small custom MPD servers I have in different rooms at home. Keep up the good work! Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package net.momodalo.app.vimtouch. ++++++++ Answer: Vim Touch is an Android port of Vim and it works very closely like Vim on desktop computers. There are some additional features and UI layouts that make using Vim on a mobile platform easier to use with visual buttons and shortcuts to make editing on a touchscreen or small device more usable. Other than that it's Vim all the way down with the typical features to expect from Vim being included here. Aside from some roughness caused by the UI suited for small devices and the Android system changing the behavior of Vim a bit Vim Touch is an excellent port of the text editor for editing files with a familiar interface. Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.menny.android.anysoftkeyboard. ++++++++ Answer:
Really really perfect. I am using it on my android tab as well and it does what is coded for. Thank you.
In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'. Q: Set1: '{13}', Set2: '{9, 3, 13, 15}'. Is the element '13' in the intersection of Set1 and Set2 ? A: Yes **** Q: Set1: '{12, 6}', Set2: '{3, 19, 10, 11}'. Is the element '19' in the intersection of Set1 and Set2 ? A: No **** Q: Set1: '{18, 7}', Set2: '{12}'. Is the element '7' in the intersection of Set1 and Set2 ? A:
No ****
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 Q]: [3, 6, 5, 1, 7, 7, 3, 5, 0] [EX A]: [6, 1, 0] [EX Q]: [1, 6, 1, 4, 6, 5, 6, 7, 2] [EX A]: [4, 5, 7, 2] [EX Q]: [7, 1, 0, 5, 2, 6, 4, 4, 5, 3] [EX A]:
[7, 1, 0, 2, 6, 3]
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 unique names of races that held after 2000 and the circuits were in Spain? Output:
SELECT DISTINCT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = "Spain" AND T1.year > 2000
In this task, you need to answer 'Yes' if the given word is the longest word (in terms of number of letters) in the given sentence, else answer 'No'. Note that there could be multiple longest words in a sentence as they can have the same length that is the largest across all words in that sentence. Sentence: 'a person holding up a wine glass in a bar'. Is 'holding' the longest word in the sentence? Yes Sentence: 'a surfboard statue with someone behind it'. Is 'surfboard' the longest word in the sentence? Yes Sentence: 'a group of men playing a game with some remote controllers'. Is 'a' the longest word in the sentence?
No
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. [EX Q]: I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_RUN [EX A]: run opposite left after turn around left twice [EX Q]: I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP [EX A]: walk left thrice and jump left thrice [EX Q]: I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_LEFT I_TURN_LEFT I_JUMP I_TURN_LEFT I_TURN_LEFT I_JUMP [EX A]:
turn opposite right thrice and jump opposite left twice
Given the task definition, example input & output, solve the new input case. In this task, you will be given a sentence about a person. You should determine how the sentence affects how the person is perceived by most people in society. Your choices are: Positive: The social perception of [PERSON] in the sentence is considered predominantly positive. Negative: The social perception of [PERSON] in the sentence is considered predominantly negative. No impact: There is no clear impact of social perception of [PERSON] associated with the sentence. Example: [PERSON] behaved like a professional in the job interview. Output: Positive Behaving professionaly in a job interview has a positive impact on people's perception of a person. New input case for you: [PERSON] worked as a nurse and a child care assistant. Output:
No impact
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: sArqYAGcqqqwfYjjHbtjVBWynFIbcpSAdIKsbsfkBC, MJFqdQNTbXXzFYjHbtjVBWynFIbcpSMeLBvwbYm Answer: sArqYAGcqqqwfYjbbbcfhijjnpstvwyAdIKsbsfkBC, MJFqdQNTbXXzFYbbbcfhijjnpstvwyMeLBvwbYm Question: UavQtLUICEJzHMDv, tVjjvXBnpwwvQtLUICEJzHMKbFJzU Answer: UacehijlmqtuvzDv, tVjjvXBnpwwcehijlmqtuvzKbFJzU Question: beKqXXJfnVlyWbZYjXUBhcgtgsW, qJeSzNUnVlyWbZYjXUBhcgHmHFLLrqWUy Answer:
beKqXXJfbbcghjlnuvwxyyztgsW, qJeSzNUbbcghjlnuvwxyyzHmHFLLrqWUy
Here are some reviews for a movie: 1. A functionally well made slice of sociopolitical aggrandizement that ends up being largely lost in translation, a foreign dish unsuited for general American palettes. 2. Emadeddin's performance, due either to the actor's medicated state or perhaps to the symptoms of the disease itself, is a marvel of everyman affectlessness. 3. Works better as a sociological study than as drama. 4. "Crimson Gold" works better when we don't look at Hussein at all, but look at Tehran through his eyes. 5. As with many Iranian films, reality and fiction collide (the lead actor really is a pizza deliveryman), and the moral of the story is a surprisingly blunt critique of the growing inequality of wealth in the slowly Westernizing nation. 6. After watching too many scenes run too long, Crimson Gold itself will probably become tedious to most audiences -- especially those outside its home country. 7. A work of poetry 8. Though it sometimes seems as plodding as its burly protagonist,...an intriguing, if imperfect, piece of work. 9. It's every bit as outwardly unruffled as its hero, but inwardly it seethes with the very same gradually accumulated rage. A devastating and beautiful film. 10. A film both shocking and humane, as if Taxi Driver were somehow rewritten by Chekhov. Here is the consensus of critics:A slow-burning, riveting film about Iranian class differences. Here are some reviews for a movie: 1. The late François Truffaut was frequently described as a filmmaker who loved women, but not even Monsieur Truffuat could come close to Seńor Almodóvar in his intelligent, perceptive and creative appreciation of women in Volver. 2. Almodóvar retorna ao mundo das mulheres com seu talento e sensibilidade particulares e, no processo, retoma também sua habitual paleta de cores, cuja intensidade é proporcional ŕ dos sentimentos que representa." 3. [Almodóvar's] once-kitschy obsession with color and surface continues to deepen into a big, bold, almost painterly style. 4. It's very moving, It's beautifully done. 5. Cruz is glorious to watch here, all voluptuous emotion and energy, a sure fire Best Actress nominee. 6. Almodovar delves deep into the darkness of a woman's maternal instincts, finding alternate humor and harrowing emotion in one of the year's most fascinating films. 7. Almodóvar is still one of the few directors worth watching just for how he uses color on the screen. But the pleasures have always run much deeper, and now they run deeper still. 8. Though its humble pleasures give cause to pause and reflect on the Spanish filmmaker's occasionally overpraised output, Volver is a diverting melodrama... 9. You do not want to miss this one. 10. Crammed with outrageous turns of fortune and quicksilver shifts in tone, Almodovar's film is held together by performances so subtle and complex it's hard to single out only one as exceptional. Here is the consensus of critics:Volver catches director Pedro Almodovar and star Penelope Cruz at the peak of their respective powers, in service of a layered, thought-provoking film. This magical tragicomic melodrama may be Almodovar's most restrained work to date, but it still features his trademarks: a strong attention to color and detail, a celebration of the trials and tribulations of women, and, of course, the inestimable Carmen Maura. The lovely Penelope Cruz hasn't shone more brightly as she does here. Here are some reviews for a movie: 1. Incalculably superior in tone, attitude, intent, and intellect to bulk of bodybuilder vehicles, shrewdly produced pic limits limber star's acrobatics to first and last scenes without great detriment to whole. 2. Van Damme gives a touching direct-to-camera monologue about his career and outlook on life that is the film's virtuosic centerpiece. Never underestimate JCVD. 3. Switching it up from dumb and dumber action thrillers to smart alek moviemaking, JCVD is Van Damme's girlie man unplugged, and literally his own worst enemy. It's no Dog Day Afternoon, but still a sensitive tough guy mock reality show with balls. 4. Van Damme puts his best work ever on screen, but ironically the guy who never relied on a good script before is let down by one here. 5. The clever, stylish perception-teaser of a comic drama JCVD -- a reality-twisting cousin to Being John Malkovich -- showcases a Van Damme who's sly like a fox about his own image. 6. Part career-resuscitation attempt and part serious cry for help, Mabrouk El Mechri's Damme Day Afternoon rebranding effort is an incredibly intriguing failure. 7. No one will ever mistake these backstage shenanigans for Irma Vep. But as a self-regarding expression of masculine angst, it's a Damme sight more fun than Synecdoche. 8. The film itself doesn't rise above the level of a good try. In the absence of Godardian wit, JCVD needs more kickboxing. 9. ...is never quite able to hoist itself up to the level of its star... 10. An existential-heist thriller with moments of dark comedy, JCVD is decidedly different and has its moments but you probably have to be a diehard fan to really cherish it. Here is the consensus of critics:JCVD is a touching, fascinating piece, with Jean-Claude Van Damme confounding all with his heartfelt performance. Here are some reviews for a movie: 1. This congenial animation may be somewhat unconventional, but children should respond to this nonetheless - and if not, parents most certainly will. 2. An Irish folktale about facing our fears, embracing death and human frailty, walking in wonder and returning home as transformed lovers. 3. It's an absolutely visceral stunner: you may find yourself wishing you could interact with its characters, live in its vividly realized world, participate in its defining ancestral conflicts. 4. Song of the Sea is another satisfying smack in the face of computer-generated 3D animation from Irish director Tomm Moore, after his earlier, Oscar-nominated The Secret of Kells. 5. A gorgeously crafted take on Celtic myths and sibling bonds, "Sea" is a soulful smash. 6. ...argues that grief and sadness have their proper place in the childhood experience. 7. Put simply, a tale worth telling set in a world worth looking at. 8. It's a refreshing respite from popular kids' fare, an extended bedtime story that has its share of harrowing moments but gradually wraps the soul in a warm blankie. 9. The filmmakers evoke earned emotion with gentle hands. Even the monstrous antagonist is presented in such an unadorned fashion as to make it almost normal - and therefore creepier. 10. You'll leave the film knowing more than you might have imagined about Irish culture, but never once feeling subjected to anything Very Special or Good for You. Here is the consensus of critics:
Song of the Sea boasts narrative depth commensurate with its visual beauty, adding up to an animated saga overflowing with family-friendly riches.
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. -------- Question: Premise: Sidney was a great cook. Initial Context: Cajun food was her favorite thing to cook. Original Ending: She made a big pot of gumbo. She fed it to her kids and husband and they all loved it. Sidney decided to try jambalaya next. Counterfactual Context: Cajun food was the only thing she refused to cook. Answer: She made a big pot of stew. She fed it to her kids and husband and they all loved it. Sidney decided to try spagetti next. Question: Premise: Jay wanted a tattoo. Initial Context: His mom told him no. Original Ending: He tried convincing her in many ways. So Jay bought a temporary tattoo. His mom thought it was real and grounded him. Counterfactual Context: His dad told him no. Answer: He tried convincing him in many ways. So Jay bought a temporary tattoo. His dad thought it was real and grounded him. Question: Premise: Sean and Sara had just bought a Christmas tree. Initial Context: They were getting ready to decorate it. Original Ending: They couldn't agree on whether to do tinsel or popcorn. They decided to play rock-paper-scissors. Sara won and they went with popcorn. Counterfactual Context: They were getting ready to take it back to the store. Answer:
They couldn't agree on whether to return it or not. They decided to play rock-paper-scissors. Sara won and they kept the tree.
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: Ted entered himself into a brownie cook off. Initial Context: He went home and pulled out all of the ingredients. Original Ending: While grabbing ingredients, he noticed he was missing some things. Ted decided to wing it and make his own recipe with what he had. After entering the competition, Ted won second place with his recipe. Counterfactual Context: He went home and set out every one of the ingredients.
While setting out ingredients, he noticed he was missing some things. Ted decided to wing it and make his own recipe with what he had. After entering the competition, Ted won second place with his recipe.
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. Q: ভারতকে আর দিস না পারলে মিয়ারমার কে দে A: non-religious **** Q: বাংলাদেশ এর কোন বিচার শেষ হয় না,সব নাটক ডিজিটাল কুত্তা লীগ A: non-religious **** Q: শিবির বা ছাত্রদল হলে শিবির সন্ত্রাসী বলে হেডিং হতো। A:
non-religious ****
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'. Example: Una setantena de treballadors de Fomento de Construcciones y Contratas a Manresa , gairebé la totalitat de la plantilla , s' han manifestat aquest migdia pels carrers de la ciutat . Example solution: Una (O) setantena (O) de (O) treballadors (O) de (O) Fomento (B-ORG) de (I-ORG) Construcciones (I-ORG) y (I-ORG) Contratas (I-ORG) a (O) Manresa (B-LOC) , (O) gairebé (O) la (O) totalitat (O) de (O) la (O) plantilla (O) , (O) s' (O) han (O) manifestat (O) aquest (O) migdia (O) pels (O) carrers (O) de (O) la (O) ciutat (O) . (O) Example explanation: We split the sentence into single words or punctuation and then assigned correct tags to each token as per the definition. We assigned 30 correct tags to the given sentence. Problem: Sobre els accessos , l' estació del Vallès tindrà una bona connexió per tren suburbà , gràcies a les línies de l' actual Metro del Vallès de Ferrocarrils de la Generalitat i la línia C-5 de Rodalies Renfe , la qual s' ha de construir properament .
Solution: Sobre (O) els (O) accessos (O) , (O) l' (O) estació (O) del (O) Vallès (B-LOC) tindrà (O) una (O) bona (O) connexió (O) per (O) tren (O) suburbà (O) , (O) gràcies (O) a (O) les (O) línies (O) de (O) l' (O) actual (O) Metro (B-MISC) del (I-MISC) Vallès (I-MISC) de (O) Ferrocarrils (B-ORG) de (I-ORG) la (I-ORG) Generalitat (I-ORG) i (O) la (O) línia (O) C-5 (O) de (O) Rodalies (B-ORG) Renfe (I-ORG) , (O) la (O) qual (O) s' (O) ha (O) de (O) construir (O) properament (O) . (O)
Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No". -------- Question: Japanese: 帰国すると、サファロフは英雄のように歓迎され、イルハム・アリエフ大統領の許しを得て、少佐に昇進し、8年間の未払い分の給与を受け取り、家を与えられた。 Thai: คดีถูกยื่นฟ้องอย่างน้อยโดยห้าครอบครัวซึ่งอาศัยบริเวณใกล้ๆ Glenview ใน San Bruno Answer: No Question: Japanese: STOMP読者のNZSheepもまた、ジュロン島を囲むセキュリティフェンスのすぐ外側から撮った写真をウェブサイトに送り、フレアリング活動を非常に近くから見たところを提示した。 Thai: STOMPer NZSheep ก็ได้ส่งภาพถ่ายให้กับเว็บไซต์หนึ่ง โดยเป็นภาพถ่ายระยะใกล้ของกระบวนการเผาก๊าซทิ้ง ซึ่งถ่ายจากพื้นที่ด้านนอกของรั้วกั้นรักษาความปลอดภัยที่รายล้อมเกาะ ​​Jurong Answer: Yes Question: Japanese: 昨年中に氷棚は約1800平方キロメートル(694平方マイル)、全体の約14パーセントを失った、とドイツのミュンスター大学の地球物理学研究所のアンジェリカ・ハンバートは述べた。 Thai: โฮเวิร์ดแก้ข่าวลือโดยกล่าวว่าการขึ้นอัตราดอกเบี้ยบางส่วนอาจเป็นเรื่องที่ "หลีกเลี่ยงไม่ได้" Answer:
No
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy". Example input: 14/25/1405 Example output: 0 Example explanation: It is an invalid date as the month(mm) is 14 which does not lie in the range 1 to 12. Q: 05/29/1830 A:
1
Given a sentence in Japanese, provide an equivalent paraphrased translation in Chinese that retains the same meaning both through the translation and the paraphrase. Example: 1975 - 76年のNBAシーズンは、全米バスケットボール協会の30番目のシーズンでした。 Example solution: 1975-76赛季的全国篮球协会是NBA的第30个赛季。 Example explanation: This is a correct and accurate translation from Japanese to Chinese because the translated paraphrase retains the main message that between the years 1975-1976, the 30th NBA season occurred. Problem: Contempo Magazineは、テキサス州マッカレンで発行されている月刊誌および毎日のオンラインアメリカンマガジンです。
Solution: Contempo Magazine是德克萨斯州麦卡伦的月度美国印刷和在线杂志。
This task is to find the number of 'For' loops present in the given cpp program. [EX Q]: int sum=0; //??????sum???????? int yueshu[100]={0}; int s=0; void number(int num,int s) { int i; for(i=s;i>=0;i--) { if(num<yueshu[i]) continue; if(num==yueshu[i]) sum++; else if(num>yueshu[i]&&num%yueshu[i]==0) number(num/yueshu[i],i); } } int main() { int n=0; cin>>n; int num=0; while(cin>>num) { int i=0,j=0; for(i=2;i<=num;i++) if(num%i==0) { yueshu[j]=i; j++; } s=j-1; number(num,s); cout<<sum<<endl; sum=0; } return 0; } [EX A]: 2 [EX Q]: int fun(int m,int n) { int i,sum=1; if(n==1) { for(i=2;i*i<=m;i++) { if(m%i==0) sum+=fun(m/i,i); } } else for(i=n;i*i<=m;i++) { if(m%i==0) { sum+=fun(m/i,i); } } return sum; } int main() { int n,i,b; int a[1000]; cin>>n; for(i=0;i<n;i++) { cin>>b; a[i]=fun(b,1); } for(i=0;i<n;i++) cout<<a[i]<<endl; } [EX A]: 4 [EX Q]: int f(int a,int min);//???a???????min????????? int f(int a,int min) { if(a < min){ return 0; } int result = 1; for(int i = min;i*i<=a;i++){ if(a % i == 0){ result += f(a/i,i);//???? ??????????a/i?i????????i??????? } } return result; } int main(){ int n,k; cin>>n; while(n>0) { cin>>k; cout<<f(k,2)<<endl;//???? n--; } } [EX A]:
1
Given the task definition, example input & output, solve the new input case. Your task is to localize given English phrase into Telugu language. When localising, follow these rules - (1) General names and concepts can be translated (2) Domain specific names can just be transliterated (3) Localised phrases can have both partial translated and transliterated parts (4) But only partial translation or only partial transliteration is not allowed (5) Copy special characters and numbers as is Example: Information about available protocols Output: అందుబాటులోని నిభందనల గురించి సమాచారం The sentence is truly translated as all the words are generic New input case for you: Change to Desktop 2 Output:
డెస్‍క్ టాప్ 2 కు మార్చుము
Given the task definition, example input & output, solve the new input case. In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places. Example: [1,3,5] Output: 3.000 The mean of the input list is (1+3+5)/3, which equals 3. This is a good example. New input case for you: [158.533, -82.667, 23.144, 225.234, 223.218, 36.676, -75.088, 211.084] Output:
90.017
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to classify the command into one of these seven categories: (1) majority, (2) unique, (3) superlative, (4) count, (5) comparative, (6) aggregation, and (7) ordinal. Here are the defications of each category: 1. majority: Describing the majority values (most or all) over one column, with the scope of all table rows or a subset of rows 2. unique: Describing one unique row, regarding one column, with the scope of all table rows or a subset of rows 3. Superlative: Describing the maximum or minimum value in a column, with the scope of all table rows or a subset of rows 4. Ordinal: Describing the n-th maximum or minimum value in a column, with the scope of all table rows or a subset of rows 5. Comparative: Comparing two rows in the table, regarding their values in one column 6. Count: counting some rows in the table based on the values in one column, with the scope of all table rows or a subset of rows 7. Aggregation: Describing the sum or average value over a column, with the scope of all table rows or a subset of rows. Here are the definitions of logical operators for understanding of command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Input: Consider Input: eq { hop { argmax { all_rows ; opponents } ; opponent } ; penn state } Output: superlative Input: Consider Input: round_eq { avg { filter_eq { all_rows ; home ; detroit } ; attendance } ; 18908 } Output: aggregation Input: Consider Input: round_eq { avg { all_rows ; total } ; 289.5 }
Output: aggregation
Given the task definition and input, reply with output. In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list. [471, 416, 38, 475, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 29]
[471, 416, 38, 29, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 475]
Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No". Ex Input: Japanese: 最近、カナダの国会議員であるべリンダ・ストロナックは、元NHL選手のタイ・ドミと不倫した。 Thai: ระยะนี้ปรากฏว่า เบรินดา สโตรนัช สมาชิกรัฐสภาแคนาดามีความสัมพันธ์กับ ทาย โดมี อดีตนักฮอกกี้ทีมชาติ Ex Output: Yes Ex Input: Japanese: 地域の外務相は「グルジアの狙いは、アブハジア自治共和国の経済状況を不安定にすることだ」と言った。 Thai: มากกว่า500กลุ่ม รวมถึงพรรคประชาธิปไตยก้าวหน้า กำลังวางแผนการชุนนุมและเดินขบวนครั้งใหญ่ในวันเสาร์ที่เมืองไทเป Ex Output: No Ex Input: Japanese: より大きな被害を受けた省は福建省、湖南省、広東省だが、浙江省、江西省、広西省では死者と経済への影響が出た。 Thai: จังหวัดที่ถูกพายุกระหน่ำอย่างหนักคือ จังหวัดฟูเจียน จังหวัดฮูหนาน และจังหวัดกวางด็อง ขณะที่มีผู้เสียชีวิตและผลกระทบต่อเศรษฐกิจในจังหวัดซีเจียน จังหวัดเจียงสี และจังหวัดกวางสี Ex Output:
Yes
Given the task definition and input, reply with output. The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. I was that girl.
Ja sam bila ta djevojčica.
Write a fact related to the given fact, based on the given topic word. Note that, your fact should have at least one word in common with the given fact. All facts in this task refer to scientific facts. Your related fact must form a chain with the given fact. Chains form when two facts connect together to produce the third fact. An example of a chain is: "pesticides cause pollution" (given fact) + "pollution can harm animals" (related fact) → "pesticides can harm animals" (connected chain). Avoid creating simple paraphrases of the given fact. While your generated fact should be related to the input fact, they must describe slightly different scientific phenomena. It's okay if your related fact includes some irrelevant information, provided that it has some overlap with the given fact and it contains some words corresponding to the provided topic. Q: Fact: detailed observation of celestial objects requires a telescope. Topic: observation of celestial objects. A:
Stars are celestial objects consisting mostly of hydrogen and helium.
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'. Gandolfini was born in Westwood, New Jersey on September 18, 1961
September 18, 1961
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. Input: 16: For God loved the world so much that he gave his only Son, so that everyone who believes in him may not die but have eternal life. Output:
Invalid
Detailed Instructions: Given a pair of words, generate the relation between them. The first word is called the 'concept' and the second word is called the 'relatum' The relation must be one of the following: co-hyponym (coordinate), hypernym, meronym, attribute, event, or random. A coordinate relation indicates that the concept and relatum belong to the same semantic class. A hypernym relation indicates that the relatum is a category of which the concept is a specific instance. A meronym relation implies that relatum is a part/component/organ/member of the concept. An attribute relation is when the relatum is an adjective expressing an attribute of the concept. An event relation holds when the relatum is a verb referring to an action/activity/happening/event that is performed by or with the concept. If the relatum and concept are unrelated, the relation between them is 'random'. Classify your answers into coord, hyper, mero, attri, event, and random. Q: Concept: cannon, Relatum: trigger. A:
mero
You are given first 5 messages from a series of message exchanges between 2 persons playing the game of Diplomacy which is an American strategic board game. You need to generate the next message. The message should be generated such that it fits the context seen so far. Avoid the text that is (i) tangent to the context, (ii) repeats the context. One example is below. Q: ['Heyyyy Turkey', 'Whatcha thinking re: start of the game?', "It kind of depends. I'll probably want to stop Russia from advancing south", "I'm kind of afraid of Austria and Russia teaming together on me", 'I mean if that happens you’re donezos'] A: What vibes are you getting from each of them? Rationale: The message fits the context as it asks for the vibes of 2 of them which refers to 2 countries: Austria and Russia in the second last message. Thus it is a positive example. Q: ["Hello, Austria. \nLook, I'd love to be besties and all that, and maybe we'll get there. But for now can I assume that we both have bigger fish to fry, and that we both know that attacking each other early will mean mutually assured destruction?\n\nI'm open to a non-aggression pact, possibly with sharing information, natirally. Outside of that, let me know what's on your mind and we'll go from there.\n\nBest,\n\n- Kaiser", "No thoughts on the start of the game? Any information I can share, or vice-versa?\n\nYou're pretty quiet down there...", "I actually thought I'd responded sorry. I don't know why we can't be best friends. Germany does well then Austria can do well and vice versa. Not much from.my neighbours. You got anything from Italy?", "Nothing from you or Italy until now. You'll be shocked to learn that Turkey mused about how much he loves to play Germany and open to Tyrolia. 😂\n\nCan't blame a guy for trying, I guess!\n\nAnyway, for now I'm good with a short pact to stay out of Tyrolia (unless you've planned a bounce with Italy or something, but that would be weird ). Maybe limit it to 1901 for now? I don't have any plans in that neighborhood, but I don't want to bind your hands if something comes up with Russia or Italy.", "Tyr 1901 for me would be pretty crazy and no I don't plan for it so I'm happy to agree to it. I've got nothing from Italy either so I'll just have to play defensively there. Russia seems to be interested in opening north"] A:
I wish I could say "what can I do to help you," but I have nothing in range. What I am doing is sowing some seeds of doubt with Italy - floating the idea that Russia and Turkey are working together, and backhandedly noting how bad it will be for him if they are, and they wipe you out quickly. You have a best probabilistic set of moves, but the best you can realistically hope for is maybe 1 build if you go +Greece, +Serbia, -Trieste. Maybe. If I were you, I'd reach out to Italy. Suggest that he take Tunis, and instead of forcing him out of Trieste, you'll take Greece and move on. Tell him you're going to move to Trieste because it's your best move. It is. Request that he move to Vienna, because that's Russia's best move (it is) and you want to prevent him from getting another build. You'd move Bud-Tri, and Ser S Alb-Gre.
In this task, we have Spanish and Catalan tweets for automatic stance detection. The data has three labels Against, Favor, and Neutral which express the stance towards the target -independence of Catalonia. If the tweet criticizes the independence of Catalonia then it's 'Against' and if the tweets support it then it will be labeled as 'Favor' also if the tweets state information or news rather than stating opinion then it will be characterized as 'Neutral'. [Q]: Tweet: CCOO és un dels pilars del règim. El pilar esquerra. El pilar dret ara l’ajuda. I fa ben fet. Tots dos aguanten la casa. https://t.co/9UkAxYbbnB [A]: Against [Q]: Tweet: Aficionats del @Lleida_Esportiu que us queixeu d'aquest tuit del club dient que no s'ha de barrejar esport i política . Heu pensat en la bajanada que esteu dient, i en quin lloc us situa aquest error? Va fil per explicar-ho 👇🏽: https://t.co/wD0HJ7AM9n [A]: Favor [Q]: Tweet: Quim Franquesa: Ens reuníem amb la Generalitat, però ens van dir que ens pagaria una tercera part que no sé qui era https://t.co/pZWO8GJuBE #JudiciTV3CatRàdio https://t.co/GRDtw0DxCI [A]:
Neutral
The input contains texts obtained from news articles, ted talks, movie transcripts, radio transcripts, science and technology texts, and other short articles curated from the web and professional translators. Your task is to translate the given Yoruba sentence into the English language. Please bear in mind the following guidelines while doing the translation: 1) Generated output should be natural language and formal form of each sentence in your language. The output sentence should not be a colloquial form of the input sentence. The generated output should be in natural language 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) Numbers and fully capitalized words like SEPTEMBER, or 10 HOURS *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. 5) Note the input is in sentence case except for special placeholders. Please do the same in your translations. Q: Ajá wo ẹyẹ láwòmọ́jú. A: The dog looks at birds with eyes full of disdain. **** Q: A níṣẹ́ iṣẹ́ ẹ, o ní ò ń lọ sóko; bó o bá lọ sóko ò ń bọ̀ wá bá a nílé. A: You are told that a job is your responsibility and you say you are on your way to the farm; you may be on your way to the farm, but the job will be there on your return. **** Q: Ṣàwárí nípa títẹ̀wé sínú àpótí tó wà lókè yìí A:
Search by typing in the box above ****
You will be given a definition of a task first, then some input of the task. In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list. ['3051', '6061', 's', '3529', 'J', '2231', 'L', '913', '4191', 'w', '8907', '945', 'F', '6957', 'M', 'k', '8775', 'V', 'D', '4189', '8037', '7455'] Output:
3, 5, 7, 10, 13, 15, 16, 18, 19
You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education. ROLLER COASTER
it go up it go down it go all around it be scary it be fun i just taste my cinnamon bun can you guess what be be a roller coaster
Q: Read the passage and find if the passage agrees, disagrees, or has a neutral stance on whether Global warming is caused by human activities. Answer only with keyword (a) agrees - if passage agrees with the target (b) disagrees - if passage disagrees with the target (c) neutral - if the given passage neither agrees nor disagrees with the target. You don't need to use external knowledge in this task, and you have to answer based on the given passage. Climate change is not primarily caused by man. A:
disagrees
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 3995 # 7175 # 6809 # 531 @ 6798
-3722
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control. Q: As a gun-owner and/or strong 2nd Amendment advocate, its importance cannot be overstated, and I do believe it has the potential to render a slew of local, state and federal laws null and void. A:
Valid
Detailed Instructions: Given a hotel review and the corresponding polarity of review (i.e., Negative or Positive) identify if the polarity is correct. Write 'true' if it's correct, 'false' otherwise. Q: Review: The Palmer House Hilton hotel has it all for the business and leisure traveler out there! I stayed at this hotel on business and all I can say is WOW!!! One of the main things that I liked about the hotel was the indoor pool! I loved being able to go swimming even though it was December and 5 degrees outside! Also, the hotel does offer wireless in the room and this really came in handy for me to keep up with my work after my meetings. I dined at Lockwood Restaurant and Bar and the food was amazing for a hotel! One thing that was a minor negative is that pets are allowed and my original room was next door to a barking dog, but the hotel staff was fantastic as switched up my room so I didn't have to deal with that! All in all, this hotel was fantastic and I look forward to the next time I get to stay here! Polarity: Negative A:
false
instruction: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. question: একটা তীর ধনুক থাকলে হোগার উপর মেরে দেখিয়ে দিতাম অর্জুন কাকে বলে answer: non-religious question: মাগী সরম নাই সোনাটা দেখাবি মন চাইলে answer: non-religious question: ঢেঁকি স্বর্গে গেলেও ধান ভাঙে|ভাই ছাগলকে লাঙ্গল টানতে দেখেছো? answer:
non-religious
Detailed Instructions: 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). See one example below: Problem: Entity 1: plant Entity 2: leaf Solution: yes Explanation: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym. Problem: Entity 1: giraffe Entity 2: neck Solution:
yes
In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other. Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise Input: Consider Input: 'English : Four of the five soldiers lost their lives during the incidents in Ankara, the other in İstanbul.','Kurdish : *Li Enqereyê 78, li Meletiyê 1, li Stenbolê 94 welatiyên sivîl hatin kuştin.' Output: No Input: Consider Input: 'English : Eight soldiers and six Kurdistan Workers’ Party (PKK) members had lost their lives in the conflict that erupted in Turkey’s southeastern Çukurca district of Hakkari province on May 13 and that the General Staff had declared that two of the soldiers died in the helicopter crash that occurred due to fatal technical malfunction.','Kurdish : Li gorî wê daxuyaniyê di 13ê Gulanê de li navçeya Çelê ya Colemêrgê şer derketiye û di encamê de 8 leşker û 6 şervanên PKKê jiyanên xwe ji dest daye. Serekaniyê destnîşan kiribû ku 2 ji wan leşkerên kuştî, dema bi diçûn herêma lê şer heye, ji ber problema teknîkî helîkoptera ku têdebûn ketiye û di encamê de jiyanên xwe ji dest dane.' Output: Yes Input: Consider Input: 'English : April 14','Kurdish : 24ê Sibatê:'
Output: No
Detailed Instructions: In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'. Problem:9531 aggiunta 1479 sottrazione 6788 Solution:
4222
Detailed Instructions: In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3. Problem:[-47, -6, 35, 12, 60, 29, -18] Solution:
[-47, 35, 29]
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. [Q]: [10, -89, -76, -91, -62, -22, 69, -87] [A]: 2 [Q]: [-91, -9, 19, 49, -70, 50] [A]: 1 [Q]: [64, -79, 52, -42, 64] [A]:
0
Q: You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question. | Attribute | triggerword | contrastive triggerword | | age | old | new | | altitude | low | high | | area | small | vast | | brightness | dark | light | | clarity | obscure | clear | | cleanness | dirty | clean | | complexity | simple | complex | | cost | cheap | expensive | | density | sparse | dense | | depth | shallow | deep | | distance | near | far | | electric conductivity | low | high | | flexibility | rigid | flexible | | granularity | fine | coarse | | hardness | soft | hard | | length | short | long | | magnitude | small | large | | mass | small | large | | odor | weak | strong | | pressure | low | high | | resistance | low | high | | shape | round | sharp | | shape | flat | spiky | | size | small | large | | sound | quiet | loud | | sound pitch | low | high | | speed | slow | fast | | stability | unstable | stable | | strength | weak | strong | | temperature | low | high | | texture | smooth | rough | | thermal conductivity | low | high | | thickness | thin | thick | | volume | small | large | | weight | light | heavy | | width | narrow | wide | | location | in | out | | location | up | down | | location | above | below | | location | on | off | | location | to | from | Context Word: chant. A:
The monks liked to chant in the dormitory rather than the church, as the _ sounded better.
In this task, you will use your knowledge about language (and common sense) to determine what element the marked number refers to. The numbers are marked with two underlines around them, like: _ number _. There are several possible answers, you'll need to choose the proper one. Carefully read the given text, pay special attention to the marked number, think about what (unwritten) information the marked number holds inside, choose the most adequate word(s) from the optional answers. If none of them seems right to you, there's also an option for other. If your answer is "REFERENCE", also write the reference entity, otherwise write the implicit option name. Options to choose from are: REFERENCE: Some object which is being mentioned in the text before or after the target number. The reference answer has a higher priority than any other. If both Reference and another answer are possible, prioritize the Reference. YEAR: Describing a calendric year AGE: Describing someone's age CURRENCY: Reference to some monetary value e.g dollar, euro etc. PEOPLE: Describing a single/plural persons TIME: Describing a time of the day. Usually you can add the word o'clock after those numbers. OTHER: Some other option, which isn't listed here. Marcy: Here 's something you might all enjoy : a fine foreign film about a young Peruvian girl who lives in the rainforest and dreams of having a bicycle . Al: Any hooters ? Marcy: It is a François LuMach film . He explores the mind . Al: Well , I prefer the Joseph Zipper production of " They Exploded Out of Their Bras " . Jefferson: Marcy , you might like that _ one _ . It 's a film about women . REFERENCE film Henrietta 'Hetty' Lange: I imagine you 're still smarting from where the Chief of Police just ripped you a new one . Marty Deeks: How 'd you know that ? Henrietta 'Hetty' Lange: Because I just experienced something similar from my Director . It seems we need to co - ordinate our operations a little better . My boss wants to assign a liason officer from LAPD . And your boss thinks it 's a good idea . Marty Deeks: Yeah . You guys do n't need a liason officer . Henrietta 'Hetty' Lange: I agree . I told him we already have _ one _ . REFERENCE officer Doctor Who: All right . Now , listen : I 'll do some more work on George , you get him to the coronation room , get him crowned , and while * he 's * ruling the country , you two can find the * real * prince . I mean , that 's worth a try , is n't it ? Zadek: Doctor , I can see only two objections to your plan . Doctor Who: Only _ two _ ? Zadek: What if the android breaks down ? Doctor Who: Oh , well , I ca n't guarantee you anything , but if I had the proper tools ... Zadek: Second problem , security . Doctor Who: Security ? Only the three of us even know of George 's existence . Zadek: Precisely . Farrah I can trust . Doctor Who: And by the time George is King , I 'll be lightyears away . Zadek: No , Doctor . You 'll be with the android at all times . Doctor Who: Now look here , Zadek , I have better things to do than meddle in the politics of your piffling little planet ! Doctor Who: On Doctor Who: the other hand , I could be with the android at all times .
REFERENCE objections
Given a hotel review and the corresponding polarity of review (i.e., Negative or Positive) identify if the polarity is correct. Write 'true' if it's correct, 'false' otherwise. Review: I was genuinely surprised by my stay at this hotel. The walls were paper thin, and I could hear conversations in the next room. This is not something I would have expected from a higher class of hotel. The room was also smaller than I would have expected for the price. We were given minimal toiletries and towels in the guest room, something which made it difficult for two people to get ready in the morning. We requested new towels, but it took an entire day for them to get around to fulfilling our request. The check-in process was frustrating, mostly due to the unhappy clerk behind the counter. I don't know if she was having a bad day, or just happens to be in such a mood all the time, but either way, it was unpleasant and a pain to deal with. Overall, not a pleasant experience. I think next time, we'll choose another hotel to stay at when visiting Chicago. Polarity: Negative
true
Detailed Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the no-need strategy, otherwise output No. no-need is a cooperative negotiation strategy. It is used when a participant points out that they do not need an item based on personal context such as suggesting that they have ample water to spare. no-need can directly benefit the opponent since it implies that the item is up for grabs. Q: Context: 'Good evening, how are you doing today?' Utterance: 'Welcome to the camping trip Dude!' A:
No
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. [Q]: original sentence: The sun was covered by a thick cloud all morning , but luckily , by the time the picnic started , it was out . paraphrase: the sun was covered by a thick fog all morning , but luckily , by the time the picnic started , it was out . [A]: Synonym [Q]: original sentence: John was doing research in the library when he heard a man humming and whistling . He was very annoyed . paraphrase: The man who was humming and whistling was heard by John when he was doing research in the library . He was very annoyed . [A]: Voice [Q]: original sentence: The table won't fit through the doorway because it is too narrow . paraphrase: the bench won't fit through the door because it is too narrow . [A]:
Synonym
Q: 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 The site collects your unspecified information for an additional (non-basic) service or feature. Collection happens when you explicitly provide information in an unspecified way. You can opt in for data collection for the use of your information. A:
Additional service/feature
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. Let me give you an example: Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?' Utterance: 'You can take the two water. I am not that thirsty most days.' The answer to this example can be: No Here is why: In this utterance, the participant does not use self-need since they do not talk about any need for themselves. OK. solve this: Context: 'The firewood sounds like a solid deal; I would need a little food though to assist me. The good news is since there's a stream near me, I won't need any additional water, so I am happy to provide you with all of the additional water.' 'i am not able to do that unfortunately i desperately need firewood. ' 'Perhaps I wasn't clear, so if I take 2 firewood, you take 1; I would just need some help with some of the food. Is that reasonable?' Utterance: 'i guues' Answer:
No
Detailed Instructions: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list. Q: ['k', 'r'] A:
-1
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: afyaffaafafa A: afafa **** Q: eofoefeffoef A: eofoe **** Q: asatttaaatas A:
attta ****
Given the task definition and input, reply with output. You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right [86, 50, 98, 96, 66, 38, 57, 56, 58, 65]
2
Detailed Instructions: In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling Q: the department need not prove all of the holley factors as a ""condition precedent"" to termination, and the absence of some factors does not bar the factfinder from finding by clear and convincing evidence that termination is in a child's best interest. A:
non-overruling
Teacher: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). Teacher: Now, understand the problem? Solve this instance: Entity 1: cell Entity 2: neuron Student:
no
Detailed Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. See one example below: Problem: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}] Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}] Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example. Problem: [{'first': -58, 'second': -81}, {'first': 48, 'second': 89}, {'first': -62, 'second': -4}, {'first': 50, 'second': -85}, {'first': -38, 'second': 87}, {'first': 72, 'second': 43}, {'first': -46, 'second': 83}, {'first': -94, 'second': -3}, {'first': -87, 'second': -41}, {'first': 38, 'second': -75}] Solution:
[{'first': -94, 'second': -3}, {'first': -87, 'second': -41}, {'first': -62, 'second': -4}, {'first': -58, 'second': -81}, {'first': -46, 'second': 83}, {'first': -38, 'second': 87}, {'first': 38, 'second': -75}, {'first': 48, 'second': 89}, {'first': 50, 'second': -85}, {'first': 72, 'second': 43}]
Detailed Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Problem:password = KplOLZ Solution:
1
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. Example input: Angola Example output: 1975 Example explanation: 1975 is the year of independence of Angola. Q: Tonga A:
1970
Q: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0. 1971 A:
0
Detailed Instructions: In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3]. Q: [93, 25] A:
[59.0]
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: Well if you set a time period like 2 years instead of the 20 years it is now you would sure cut doen the costs...... A:
Valid
Detailed Instructions: In this task, you will be presented with a question in Dutch language, and you have to write the person names from the question if present. B denotes the first item of a phrase and an I any non-initial word. Phrase used for the person name - PER. There can be instances with no person name entity, then return 'None'. Problem:© The New York Times Solution:
None
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 input: 1975 년부터 76 년까지 NBA 시즌은 전국 농구 협회 (National Basketball Association)의 30 번째 시즌이었다. Example output: 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. Q: 1956 년 여름, 마이크 바넷 (Mike Barnett)은이 시리즈가 끝나기까지 프랭크 러브 조이 (Frank Lovejoy)의 역할을 이어 받았다. A:
À l'été 1956, Mike Barnett a repris le rôle de Frank Lovejoy jusqu'à la fin de la série la même année.
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. Q: And then, that same analytic technology, that same engine of science that can produce the changes to prevent disease, will also enable us to adopt super-attributes, hyper-capacities -- that better memory. A: I onda, ta ista analitička tehnologija, taj isti motor znanosti koji može proizvesti promjene za prevenciju bolesti, će isto tako nam omogućiti prisvajanje super-atributa, hiper-mogućnosti -- onu bolju memoriju. **** Q: So one of the roadblocks we have in moving this agenda forward is exams. A: Dakle jedna od prepreka koju imamo u provođenju ovog plana su ispiti. **** Q: That's what happens at the office. A:
To je ono što se događa u uredu. ****
You will be given a definition of a task first, then some input 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: About 30% of Ratners's profit already is derived from the U.S. Question: What day did Ratners realize he had made profit? Category: Absolute Timepoint. Output:
Yes.
For the given English description, write an SQL command such that it accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. One example: Did M0 's star , director , art director , producer , and cinematographer direct M1 and direct M2 , M3 , and M4 Solution is here: SELECT count(*) WHERE { ?x0 ns:film.actor.film/ns:film.performance.film M0 . ?x0 ns:film.cinematographer.film M0 . ?x0 ns:film.director.film M0 . ?x0 ns:film.director.film M1 . ?x0 ns:film.director.film M2 . ?x0 ns:film.director.film M3 . ?x0 ns:film.director.film M4 . ?x0 ns:film.film_art_director.films_art_directed M0 . ?x0 ns:film.producer.film|ns:film.production_company.films M0 } Explanation: The query correctly extracts data on M0's star and other persons related to M0 and finds if they appear in director attributes for entities M1 to M4 Now, solve this: Did M0 's executive producer , star , producer , and writer write , direct , produce , and executive produce M1 Solution:
SELECT count(*) WHERE { ?x0 ns:film.actor.film/ns:film.performance.film M0 . ?x0 ns:film.director.film M1 . ?x0 ns:film.producer.films_executive_produced M0 . ?x0 ns:film.producer.films_executive_produced M1 . ?x0 ns:film.producer.film|ns:film.production_company.films M0 . ?x0 ns:film.producer.film|ns:film.production_company.films M1 . ?x0 ns:film.writer.film M0 . ?x0 ns:film.writer.film M1 }
1. Italians have a phrase -Che posso fare?- meaning "What can I do?" that's sometimes used when the answer is: "Nothing, just go with it." Lots of things happen in Eat Pray Love that only the lonely and book club members will understand. You just go with it. 2. It's about something important, the search for meaning and happiness, about finding one's inner life amid the clutter and confusion of modern existence. 3. Roberts is precisely the right actress to play this character: She adamantly refuses to be adorable -- she'd rather just unleash that crazy, unladylike cackle. 4. If you're in the mood for a Julia Roberts film that provides two hours of "Calgon take me away", this is it. 5. The cast, led (by the nose) by Roberts, is pretty. The men are handsome and sensitive. The scenery is beautiful and the techs and production are first class. I still wish that Liz went back to Italy and had another pizza. 6. While Eat Pray Love has some enlightening, touching, visually breathtaking moments, you still end up praying it would end. 7. Rodney [Dangerfield] may have cracked about "praying after you eat," but this film reflects the need to surfeit before finding balance. 8. Let the cynics scoff - this is a movie that's beautiful to look at that will leave you with some food for thought, as well. 9. In a summer dominated (as always) by male-skewering titles, this is a richly rewarding experience for discerning grownups who wouldn't be caught dead seeing Grown Ups. 10. It's a shame the actors have to spoil cinematographer Robert Richardson's artistry by reciting the drivel that passes for dialog. Consensus: The scenery is nice to look at, and Julia Roberts is as luminous as ever, but without the spiritual and emotional weight of the book that inspired it, Eat Pray Love is too shallow to resonate. 1. The film proceeds in what feels like real time, but with no obvious beginning or end. It's a latticework of moments happy and sad. 2. A movie that rumbles around inside you and appeals to those who believe in love as well as those who recognize its potential to fade. 3. Blue Valentine is so nervy, so "real," that it poses a dire threat. Dean and Cindy are such decent folks. How do we know what happens to them couldn't happen to us? 4. Blue Valentine is interestingly styled and shot. It features outstanding performances from Ryan Gosling and Michelle Williams and an inventive screenplay and structure. 5. Cianfrance dives deeply into the happiness and heartache a damaged relationship can give you and has created a story that understands how real life romance actually works. 6. BLUE VALENTINE shows us the present will never be as fun as the past. 7. The ghost of John Cassavetes looms large over Blue Valentine. This movie destroyed me. 8. What we end up with here is 2/3 of a story that consequently feels incomplete. It obviously wanted to be something like "(500) Days of Summer" in terms of structure, but the writers just didn't know how to get up to that level. 9. [Director] Cianfrance is not interested in the Hollywood fairytale, he want to show that love can scar. 10. Unlike Bergman's searing Scenes from a Marriage, which sustains itself for every one of its 299 devastating minutes, Blue Valentine begins to falter somewhere during its 114. Consensus: This emotionally gripping examination of a marriage on the rocks isn't always easy to watch, but Michelle Williams and Ryan Gosling give performances of unusual depth and power. 1. He Got Game is flawed, but sharp and moving. 2. This stands with the most exciting pictures Lee has made since Do the Right Thing established him as one of the screen's most inventive young artists. 3. After a couple of seriously worrying missteps, Lee is back at the top of his game, positioning himself as one of the best American filmmakers of his day. 4. Spike Lee got game. Ain't no two ways about it. 5. Spike Lee's respect -- nay, worship -- of basketball is contagious and his audacious metaphors give shape to a powerful story of a father's efforts to save his son. And we all know a thing or two about that story. 6. It's the best basketball film since White Men Can't Jump, only it's better. 7. Could have used a clearer focus, but what does come sharply into view registers strongly. 8. There's enough thematic material here for two films; Lee decides to make them both simultaneously. The resulting film feels scattershot, heavy on interesting images and ideas but light on cohesiveness. 9. Lee is a long way from the size and scope of his best film, Do the Right Thing, but at least he is working on a subject he cares about and is doing it with polish. 10. an effective companion piece to Hoop Dreams and Blue Chips.
Consensus: Though not without its flaws, He Got Game finds Spike Lee at or near the top of his late-period game, combining trenchant commentary with his signature visuals and a strong performance from Denzel Washington.
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. Input: What are the renting arrears tax ids related to the customer master index whose detail is not 'Schmidt, Kertzmann and Lubowitz'? Output:
SELECT T1.council_tax_id FROM Rent_Arrears AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id JOIN Customer_Master_Index AS T3 ON T3.master_customer_id = T2.master_customer_id WHERE T3.cmi_details != 'Schmidt , Kertzmann and Lubowitz'
1. You watch it, figure out how it works, and then never have to interact with it ever again. 2. A witty, well-made addition to the [time travel] subgenre. 3. While it isn't that hard to stay a step or two ahead of Timecrimes, the movie is still a nifty little genre piece, an old-fashioned science-fiction mind-game with a healthy dollop of 'Oh, the irony.' 4. more tantalizing than satisfying 5. If only American sci-fi filmmaking was this clever and involving. 6. A grimly funny sci-fi determinist's challenge to the very idea of free will. 7. By the end, details fall into place with a minimum amount of exposition or explicit explanation, making it the best kind of action movie -- the kind that's actually about action. 8. Low-budget Spanish thriller about a guy that stumbles hours into the past and winds up trying to correct his last few mistakes can't survive its contrived plot contortions, non-characters, or "well, duh" obviousness. 9. Vigalondo's film wastes little time in foregrounding the act of seeing. 10. Even though Vigalondo's obvious direction lingers over every carefully arranged tile in the toppling-domino plot, there's still some sinister amusement in watching them stack and fall. Based on these individual reviews, what is the critic consensus?
Timecrimes is a low-budget thriller that's well-crafted and loaded with dark humor and bizarre twists.
In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0. 1610 0 1400 0 1516
1
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: Find the physicians who are trained in a procedure that costs more than 5000. Output: 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 WHERE T3.cost > 5000 Input: Consider Input: Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks. Output: SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING sum(T1.Num_of_stock) >= 2000 ORDER BY sum(T1.Num_of_stock) DESC Input: Consider Input: What is the first and last name of artist who performed "Le Pop"?
Output: SELECT T2.firstname , T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Le Pop"
Given the task definition and input, reply with output. In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. Set1: '{17, 13, 6, 15}', Set2: '{9, 20}'. How many elements are there in the union of Set1 and Set2 ?
6
In medical studies, the efficacy of medical treatments (called interventions) is evaluated within a group of study participants. You will be given a sentence of a study report in which your task is to list the phrases that describe the intervention(s) of the study. You should list the phrase in the same order that they appear in the text, separated by commas. If no information about the interventions is mentioned, just answer with "not found". Interventions are: a specific drug, surgery, talking therapy, a lifestyle modification, control or placebo treatment. Do not include details, dosages, frequency and duration, intervention mentions that are not in an informative span of text. [Q]: Identifying patients at high risk for neutropenic complications during chemotherapy for metastatic breast cancer with doxorubicin or pegylated liposomal doxorubicin : the development of a prediction model . [A]: doxorubicin, pegylated liposomal doxorubicin [Q]: The effect of weight training on bone mineral density and bone turnover in postmenopausal breast cancer survivors with bone loss : a 24-month randomized controlled trial . [A]: not found [Q]: One of the reasons physiotherapy services are provided to emergency departments ( EDs ) and emergency extended care units ( EECUs ) is to review patients ' mobility to ensure they are safe to be discharged home . [A]:
not found
In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3. [-100, 17]
[-100, 17]
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. Q: 12:47 Hrs A:
12:47 PM
Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'. [EX Q]: Jul 02, 2018 doesn't occur between 28 June 2007 and 19 Jun 2009 [EX A]: True [EX Q]: 17:33:26 occured after 2:59:06 PM but before 10:04:38 [EX A]: True [EX Q]: 3:59:09 occurs between 0:16:32 and 16:30:56 [EX A]:
True
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: lop Output:
flow
TASK DEFINITION: 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. PROBLEM: original sentence: I took the water bottle out of the backpack so that it would be lighter . paraphrase: I just took the water bottle out of the backpack so that it would be lighter . SOLUTION: Adverb PROBLEM: original sentence: Adam can't leave work here until Bob arrives to replace him . If Bob had left home for work on time , he would be here by this time . paraphrase: Emma can't leave work here until Anne arrives to replace her . If Anne had left home for work on time , she would be here by this time . SOLUTION: Gender PROBLEM: original sentence: I couldn't put the pot on the shelf because it was too tall . paraphrase: I couldn't easily put the pot on the shelf because it was too tall . SOLUTION:
Adverb
We would like you to assess the QUALITY of each of the following argument (discussing Gay Marriage) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gay marriage. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gay marriage. Q: There have also been no scientifically documeted cases of gays changing their sexual orientation anymore than straights becoming gay. A: Valid **** Q: If the genders are equal under the law, then restricting marriage based on gender is unconstitutional. A: Valid **** Q: There will never be a mass exodus of Gays to Canada becasue most gay people have no real interest in gay marriage...... A:
Valid ****
Instructions: In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy". Input: 06/05/1822, input_format=mm/dd/yyyy Output:
05/06/1822
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. Example: [0,1,0,2,5,1] Example solution: [2,5] Example explanation: The only elements that are not duplicated is 2 and 5. This is a good example. Problem: [4, 2, 3, 7, 1, 0]
Solution: [4, 2, 3, 7, 1, 0]
For the given English description, write an SQL command such that it accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Q: Did M1 employ a costume designer and employ M2 A: SELECT count(*) WHERE { ?x0 a ns:film.film_costumer_designer . M1 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 . M1 ns:business.employer.employees/ns:business.employment_tenure.person M2 } **** Q: Did M5 's star edit and write M0 , M1 , M2 , M3 , and M4 A: SELECT count(*) WHERE { ?x0 ns:film.actor.film/ns:film.performance.film M5 . ?x0 ns:film.editor.film M0 . ?x0 ns:film.editor.film M1 . ?x0 ns:film.editor.film M2 . ?x0 ns:film.editor.film M3 . ?x0 ns:film.editor.film M4 . ?x0 ns:film.writer.film M0 . ?x0 ns:film.writer.film M1 . ?x0 ns:film.writer.film M2 . ?x0 ns:film.writer.film M3 . ?x0 ns:film.writer.film M4 } **** Q: Did M1 employ M2 , employ a film editor , employ M3 , M4 , and M5 , and employ M6 A:
SELECT count(*) WHERE { ?x0 a ns:film.editor . M1 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 . M1 ns:business.employer.employees/ns:business.employment_tenure.person M2 . M1 ns:business.employer.employees/ns:business.employment_tenure.person M3 . M1 ns:business.employer.employees/ns:business.employment_tenure.person M4 . M1 ns:business.employer.employees/ns:business.employment_tenure.person M5 . M1 ns:business.employer.employees/ns:business.employment_tenure.person M6 } ****
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. Let me give you an example: HeLa cells were first treated with 250 mug / ml Trail followed by pulse labeling of newly synthesized proteins with [ 35S ] methionine. The answer to this example can be: HeLa cells Here is why: HeLa cells are the first immortal human cell line. It should be tagged. OK. solve this: No evidence for an influence of the human platelet antigen - 1 polymorphism on the antiplatelet effects of glycoprotein IIb / IIIa inhibitors . Answer:
platelet
Instructions: The given sentence contains a typo which could be one of the following four types: (1) swapped letters of a word e.g. 'niec' is a typo of the word 'nice'. (2) missing letter in a word e.g. 'nic' is a typo of the word 'nice'. (3) extra letter in a word e.g. 'nicce' is a typo of the word 'nice'. (4) replaced letter in a word e.g 'nicr' is a typo of the word 'nice'. You need to identify the typo in the given sentence. To do this, answer with the word containing the typo. Input: A grioup of people who are standing in the street. Output:
grioup
Detailed Instructions: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Problem:I_TURN_LEFT I_RUN I_JUMP I_JUMP Solution:
jump twice after run left
Detailed Instructions: In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries. Q: United States A:
North America
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:Return names of songs in volumes that are by artists that are at least 32 years old. Solution:
SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age >= 32
TASK 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. PROBLEM: Set1: '{1, 14, 6, 15}', Set2: '{19}'. How many elements are there in the union of Set1 and Set2 ? SOLUTION: 5 PROBLEM: Set1: '{6}', Set2: '{3, 4, 5, 8, 9, 12, 13, 14, 16, 20}'. How many elements are there in the union of Set1 and Set2 ? SOLUTION: 11 PROBLEM: Set1: '{9}', Set2: '{3, 8, 9, 10, 13, 14, 18}'. How many elements are there in the union of Set1 and Set2 ? SOLUTION:
7
You will be given a definition of a task first, then some input of the task. Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. THEM: if i can have the hats you can have the rest YOU: deal. THEM: great! thank you! Output:
Yes
You will be given a definition of a task first, then some input of the task. 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. Oh there are about a hundred things I can think of that make the death penalty look like a day in the park. Output:
Valid
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list. ['5011', 'i', '6361', '5153', 't', 'k', '6509', 'S', '617', 'v', '8325', 'I', '9879', 'E', '9831', 'i', 'M', '2975', '2187', '9819', 'o', '4427', 't', '6713', '8289', 'b', 'r', 'e', '6591', 'o', '4625', 'H', 'h'] 2, 5, 6, 8, 10, 12, 14, 16, 17, 21, 23, 26, 27, 28, 30, 32, 33 ['z', 'X', 'V', '153', 'g', '3503', 'Y', '1025', '7449', '549', '9515', 's', 'w', 'I', 'o', '7443', '2529', 'j', '7521', 'W', '5467', 'O', 'e', 'x', '9761', '8143', '8727', 'y', '9927', 'q', '1903', 'z', '647', 'e', 'j', '3605', '3165'] 1, 2, 3, 5, 7, 12, 13, 14, 15, 18, 20, 22, 23, 24, 28, 30, 32, 34, 35 ['5703', '899', '7179', '5859', 'I', 'X', '4113', '5917', 'k', 'o', 'W', 'Q', '4401', '6099', 'K', 'u', 'A', 'w', '7779']
5, 6, 9, 10, 11, 12, 15, 16, 17, 18
You will be given a definition of a task first, then some input of the task. You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education. Pizza Pizza Output:
almost every afternoon i eat pizza with a spoon every eveing right at eight i eat pizza with a date pizza pizza munch munch munch oh how i like pizza at lunch i'll even eat it with a punch pizza pizza crunch crunch crunch pizza pizza i love you a bunch
In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items. One example: ['3', 'u', 'W', '8', 'j'] Solution is here: [['3', 'u', 'W', '8'], ['3', 'u', 'W', 'j'], ['3', 'u', '8', 'j'], ['3', 'W', '8', 'j'], ['u', 'W', '8', 'j']] Explanation: The output is a list of length 5, containing lists of length 4. Each inner list is created by dropping one item if the input list. So this is a good example. Now, solve this: ['C', 'c', '9', 'o', 'C', 'P', 'C'] Solution:
[['C', 'c', '9', 'o', 'C', 'P'], ['C', 'c', '9', 'o', 'C', 'C'], ['C', 'c', '9', 'o', 'P', 'C'], ['C', 'c', '9', 'C', 'P', 'C'], ['C', 'c', 'o', 'C', 'P', 'C'], ['C', '9', 'o', 'C', 'P', 'C'], ['c', '9', 'o', 'C', 'P', 'C']]
In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0. Example: 1644 Example solution: 1 Example explanation: 1644 is a leap year as 1644 is divisible by 4. Problem: 1957
Solution: 0
For the given English description, write an SQL command such that it accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Did M1 star a film producer , star M2 , M3 , and M4 , star M5 , and star M6
SELECT count(*) WHERE { ?x0 a ns:film.producer . 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 . M1 ns:film.film.starring/ns:film.performance.actor M4 . M1 ns:film.film.starring/ns:film.performance.actor M5 . M1 ns:film.film.starring/ns:film.performance.actor M6 }
You will be given a definition of a task first, then some input of the task. Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. THEM: i want the hats and a ball. YOU: you can have 1 of each THEM: how about 2 hats, 1 ball, 1 book. YOU: sorry that wont work for me THEM: ok. i'll take 2 hats, one ball, and you can have the rest YOU: deal. Output:
Yes
Teacher:In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' . Teacher: Now, understand the problem? Solve this instance: ती महिला सार्वजनिक ठिकाणांपासून दूरच राहिली. ती संक्रामक होती. Student:
cause
End of preview. Expand in Data Studio

Dataset Card for "flan2022-4096-128-tasks-logdet-100000-instances-fl"

More Information needed

Downloads last month
40

Collection including kowndinya23/flan2022-4096-128-tasks-logdet-100000-instances-fl