prompt
stringlengths 47
11.8k
| response
stringlengths 0
2.99k
|
---|---|
Detailed Instructions: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
Problem:2342 # 5338 @ 345 @ 9010 @ 5234 @ 9613
Solution: | 21206 |
Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Q: Query: SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.produced_by|ns:film.film.production_companies M0 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x2 .
?x2 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x3 .
?x3 a ns:film.producer .
?x3 ns:people.person.nationality ns:m.0f8l9c .
FILTER ( ?x1 != ?x2 )
} Question: Did a film director influence M1 and marry M3 's French director
A: 0
****
Q: Query: SELECT count(*) WHERE {
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M0 .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M0 .
FILTER ( ?x0 != M0 ) .
M1 ns:film.film.starring/ns:film.performance.actor ?x0 .
M1 ns:film.film.starring/ns:film.performance.actor M2 .
M1 ns:film.film.starring/ns:film.performance.actor M3
} Question: What was produced , written , and executive produced by a Italian art director
A: 0
****
Q: Query: SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by M0 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:fictional_universe.fictional_character
} Question: Were M1 , M3 , M4 , M5 , and M6 written by M2 and directed by a film producer
A: | 0
****
|
Q: 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: Sara Liked Andy but didn't know how to let him know.
Initial Context: She asked Andy if he wanted to go to the fair.
Original Ending: He agreed. They both went and had a wonderful time. Sara and Andy have been seeing a lot of each other lately.
Counterfactual Context: She decided to keep it a secret.
A: | He asked her to the fair one day. They both went and had a wonderful time. Sara and Andy have been seeing a lot of each other lately. |
Definition: You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Input: Context Word: reach.
Output: | John had to reach both the neighbors home and the ocean today, but thankfully the _ was close. |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Typically the orientation of the hair cells , as defined by the direction to which the v - shape of the stereovilli bundle points ( Lewis et al . 1985 ) , is away from the sacculus in Ranidae .
Student: | hair cells |
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
[Q]: Ulcer became worse after tobramycin and gentamycin treatment for 2 days.
[A]: adverse drug event
[Q]: In turn, it may cause inflammation in such rapidly dividing tissues as the corneal epithelium, conjunctiva, and tear duct.
[A]: non-adverse drug event
[Q]: MATERIALS AND METHODS: We present two cases of significant morbidity related to primary and secondary perforation of the bladder following two instillations of epirubicin.
[A]: | adverse drug event
|
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:1946 aggiunta 7817 aggiunta 2070 sottrazione 9521 sottrazione 7383
Solution: | -5071 |
Detailed Instructions: 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'.
Q: Feb 08, 1990 occured after Jun 04, 1982 but before May 18, 1996
A: | True |
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.
Input: Consider Input: ['5', '2', 'y', 'N', '4', 'j', 'Q']
Output: [['5', '2', 'y', 'N', '4', 'j'], ['5', '2', 'y', 'N', '4', 'Q'], ['5', '2', 'y', 'N', 'j', 'Q'], ['5', '2', 'y', '4', 'j', 'Q'], ['5', '2', 'N', '4', 'j', 'Q'], ['5', 'y', 'N', '4', 'j', 'Q'], ['2', 'y', 'N', '4', 'j', 'Q']]
Input: Consider Input: ['T', '0', 'j', '0', '3', '9', 'u']
Output: [['T', '0', 'j', '0', '3', '9'], ['T', '0', 'j', '0', '3', 'u'], ['T', '0', 'j', '0', '9', 'u'], ['T', '0', 'j', '3', '9', 'u'], ['T', '0', '0', '3', '9', 'u'], ['T', 'j', '0', '3', '9', 'u'], ['0', 'j', '0', '3', '9', 'u']]
Input: Consider Input: ['Q', '2', 'C', 'f']
| Output: [['Q', '2', 'C'], ['Q', '2', 'f'], ['Q', 'C', 'f'], ['2', 'C', 'f']]
|
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Q: What is the name of the body builder with the greatest body weight?
A: | SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1 |
Definition: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Input: [215.323, -8.808, 189.533]
Output: | [ 0.544 -0.022 0.479] |
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 Input: [PERSON] was regarded as a "great leader" in the movement, and was described as a "strong leader".
Example Output: Positive
Example Input: [PERSON] earned money by selling the car to friends, including her father, who also lives in the area, police said.
Example Output: No impact
Example Input: [PERSON] started working as a sales manager in a nearby industrial building and he had a job as a security guard.
Example Output: | No impact
|
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.
See one example below:
Problem: Context:
Utterance: 'how about I give you 2 waters and 1 food package in exchange for all your firewood?'
Solution: No
Explanation: The utterance does not use the no-need strategy since it never refers to an item that the participant does not need.
Problem: Context: 'My main objective for the camp is water, since I have a large family and the amount of water they give in the camp is very small for all my family.' 'I need water also but firewood is my second highest priority item. Maybe you could take more of the water and I could take more of the firewood.' 'I find it a good deal, however before making a deal, I like to talk to people, get to know them better. I plan to go to camp with my family: my wife, my four children and myself. Are you going with your family?'
Utterance: 'Yes, I am going with my wife and two teenage sons. We are planning on doing a lot of fishing!'
Solution: | No |
Instructions: You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Input: Context Word: nose congestion.
Output: | Sam was not able to use the humidifier and instead used nasal spray to soothe his nose congestion, because the _ was dirty. |
instruction:
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
question:
Fact: liquid propane is used to expand hot air balloons.
answer:
How is liquid propane used in hot air ballooning?
question:
Fact: isotopes are used to determine the age of fossils.
answer:
what is used to determine the age of fossils?
question:
Fact: Droppings can spread infection from one person to another.
answer:
| what can spread infection from one person to another?
|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said.
Sentence: Sam pulled up a chair to the piano, but it was broken, so he had to sing instead. Question: What was broken?
Solution: piano
Why? The given sentence clearly states that Sam pulled up a chair to the piano, but piano was broken, so he had to sing instead. Therefore, the answer is piano. This is a positive example as the answer is correct and complete.
New input: Sentence: John promised Bill to leave, so an hour later he left. Question: Who left?
Solution: | John |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In 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.
The patients received either azithromycin (600 mg/d for 3 days during week 1, then 600 mg/wk during weeks 2-12; n = 3879) or placebo (n = 3868)
Solution: azithromycin, placebo
Why? The word azithromycin refers to a drug, and placebo refers to a control test. Note that no extra information is given in the output.
New input: In conclusion , in 60-year-old subjects antioxidant supplementation had no effect on the exercise-induced increase in oxidative stress as measured by free radical products of antipyrine .
Solution: | antioxidant supplementation |
Definition: In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Input: Command: and { eq { hop { argmax { all_rows ; us viewers ( in millions ) } ; title } ; the new normal } ; eq { hop { argmax { all_rows ; us viewers ( in millions ) } ; directed by } ; michael lange } }, interpretation: select the row whose us viewers ( in millions ) record of all rows is maximum . the title record of this row is the new normal . the directed by record of this row is michael lange .
Output: | yes |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Q: The energy of empty space brings to life quantum fluctuations.
A: Energija praznog prostora oživljava kvantne fluktuacije.
****
Q: But it's not just about psychology; it's about economics, because as people walk they spend money.
A: Ali nije to samo psihologija, to je ekonomija, jer kako ljudi hodaju, tako troše novac.
****
Q: To me, this piece is an ode to the voice because it's mysterious -- as we can see -- it's quite spontaneous, and it's primal.
A: | Za mene je ovo djelo oda glasu zato što je tajnovito, kao što možete vidjeti, prilično je spontano, i iskonsko je.
****
|
Given the task definition and input, reply with output. 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.
Enlightenment A philosophical movement of the 18th century that emphasized the use of reason to scrutinize previously accepted doctrines and traditions and that brought about many humanitarian reforms.
| Invalid |
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
News Headline: Trump lawful group shake-up clears way for conceivable Mueller {meet}
Edit: disappearance | Funny |
Given the task definition and input, reply with output. In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
question: What color is the sphere behind the purple cylinder?
| #1 return purple cylinder
#2 return sphere behind #1
#3 return color of #2 |
Part 1. Definition
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.
Part 2. Example
['Heyyyy Turkey', 'Whatcha thinking re: start of the game?', "It kind of depends. I'll probably want to stop Russia from advancing south", "I'm kind of afraid of Austria and Russia teaming together on me", 'I mean if that happens you’re donezos']
Answer: What vibes are you getting from each of them?
Explanation: 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.
Part 3. Exercise
['Hey France 😁. I would like to suggest an alliance between the two of us, against Germany. In my opinion a England-France alliance is super powerful, especially if we can trust each other. Germany has reached out to me about an alliance to attack you, but franly I think France as a country is a much more powerful ally.To start I suggest we have the English Channel as a DMZ and coordinate and attack on Germany. Anyways good luck and have fun!', "Dear England,\nI completely agree that the French-English alliance can be quite powerful. Naturally, the main sticking point early on is whether we can trust each other to demilitarize the Channel.\nOn my end, I have little reason to go there unless I distrust you. I plan to go to Mid-Atlantic, which would allow me to move to Spain (south coast) and establish an early presence in the Mediterranean. Will also aim to get into Burgundy, where I can potentially support you into Belgium.\nMy suggestion is that you open with:\nF Edinburgh - Norwegian Sea\nF London - North Sea \nA Liverpool - Yorkshire\nThis guarrenteed you a build in Norway even if Russia moves A Moscow north, while potentially letting you convoy into Belgium. And you can be safe in the knowledge that either A Yorkshire or F North Sea can cover London in the event that I don't keep my word.\nLet me know your thoughts. Good luck to you as well!", 'Sounds good!', 'How are your relations with Germany?', 'Getting into burgundy would be great. I’ll work some magic with Germany and try to get them to not move there.']
Answer: | Relations with Germany are not outright hostile, but it's a little tense. Bounce in Burgundy is about what could be expected.
Since they moved to Holland in Spring, you'll need to talk to them regarding the Belgium question. But they can probably be brought around. I'll move to Burgundy again, but probably expecting another bounce |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK
look opposite right thrice and look left thrice
I_LOOK I_LOOK 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_TURN_LEFT I_TURN_LEFT
look twice and turn around left thrice
I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN
| run right thrice after turn opposite right twice
|
Q: In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
76200
A: | No |
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: '{8, 9, 6, 7}', Set2: '{4, 5, 6, 7, 9, 12, 15, 17}'. Is the element '9' in the intersection of Set1 and Set2 ?
A: | Yes |
Teacher:In this task, you will be shown an English sentence. You need to classify the sentence as either a representation of an anaphor number agreement or as an incorrect representation. An anaphor is an expression whose interpretation depends upon another expression. Anaphor number agreement is a restriction where a phrase agrees with the preceeding expression: plurals match plurals or singular expressions match singular expressions. In this task a valid representation of anaphor number agreement should be denoted as 'good' while everything else should be denoted as 'bad'. A correct representation of an anaphor number agreement will be a grammatically correct instance of a sentence where the subject and self-referencing nouns match plurality. An incorrect representation is a sentence in which the subject and self-referencing noun's plurality do not match.
Teacher: Now, understand the problem? Solve this instance: Allison wasn't kissing herself.
Student: | good |
instruction:
In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them.
question:
To assess the changes in the oxidative capacity of neutrophils after the burn , blood samples for the Phagoburst analysis were taken on admission and at least once every second week for the duration of stay in hospital and thereafter monthly up to 12 months after the burn .
answer:
neutrophils
question:
Sickle cell disease : continuous arterial spin - labeling perfusion MR imaging in children .
answer:
Sickle cell
question:
Defective expression of the granulocyte - macrophage colony - stimulating factor receptor was ruled out .
answer:
| macrophage
|
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.
Ex Input:
password = o651iEFpJX
Ex Output:
0
Ex Input:
password = twIkOFN2UDgQoD
Ex Output:
0
Ex Input:
password = 8lMDEcN65JxA7UYROgCs3z
Ex Output:
| 2
|
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Q: [983, 131, 829, 757]
A: | [983, 131, 829, 757] |
Given the task definition and input, reply with output. In this task, you are given a country name, and you need to return the country's surface area in terms of square kilometers. Up to two decimal places are allowed in your answer.
Romania
| 238391.00 |
You will be given a definition of a task first, then some input of the task.
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
فیلم سیار تاثیرگذار و خوش ساخت با بازی ها بسیار خوب و خانم صدرعرفایی یک ستاره بی نظیر در این فیلم هستن که تماشای هنرنمایی ایشون در این فیلم خودش به تنهایی دلیلی برای دیدن این فیلم میتونه باشه. دست مریزاد به این هنرمندان، زده باد.
Output: | کارگردانی |
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]: Like everyone, I morn Laci Peterson's passing, but I am opposed to the death penalty for many reasons.
[A]: Valid
[Q]: If JC were here today, he would be branded a flaming liberal.
[A]: Invalid
[Q]: It is cheaper to build a game room than to build every prison out of blast proof reinforced concrete walls.
[A]: | Valid
|
Detailed Instructions: In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
Problem:با سلام و احترام یک فیلم بد به شدت سانسور شده و بی محتوا
Solution: | داستان |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
--------
Question: secondary
Answer: primary
Question: nonexploratory
Answer: exploratory
Question: unwitting
Answer: | witting
|
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.
Example Input: ["Hey neighbors ~~\nWhat would you say to a western triple? We'd have to be careful about it and simulate some in fighting to prevent the east from teaming up in response, but I think we can pull it off", "I'm willing to consider it if all 3 are in", 'France says their in, so I think we can make this work', 'What would you propose from here?', "I'd say we can take on Russia pretty well together -- I can go North to take Stp by 02 or 03 and you can bounce them out of Swe and I'd support you in in the coming years\nFrom there, Id try to march my armies south on the Eastern edge of the board, you could go through the middle towards Austria, and France can be swinging south through Italy in the meantime"]
Example Output: That seems fair enough, I'm in
Example Input: ["Hi France! I don't think we have a ton to talk about yet, but if you're planning to go in against Italy that's certainly something I'd like to know.", 'Thanks for reaching out. How do you generally feel about working with Italy?', 'If Italy wants it, it can be a powerful alliance, but in my experience Italy rarely wants it badly enough.', "That's true, and my experience as well. It's tricky since if he's not going after me or yoy, then what are his plans? If Italy isn't planning to Lepanto then it is worrying for one of us", "Well I haven't heard *too* much from Italy yet, but once I find out more about his current intentions I will certainly let you know."]
Example Output: Nice, things are looking up for you with the Russia/Turkey conflict and a seemingly friendly Italy.
Example Input: ['Hello down there, Sultan!\n\nAnything we need to talk about early, or should we just see what happens early?\n\nBest,\n\n- Kaiser', 'Eh, I have the luxury of a boring country that CAN chill out and see how things shake out. \nAnd as much as I personally enjoy opening to Tyrolia as Germany, other people tend to look at me weird if I suggest it, so...I guess all I can really five into is to ask that you give me a heads up if you decide to pick a fight with a mutual neighbor so I can pile on', "So, you were going for the Slingshot Juggernaut, and had the rug pulled out, huh? That hurts. And Austria is in no position to provide much help.\n\nWhat's the plan from this point?", "My hands are tied with my positioning and an NAP that runs through the end of this year, but I'm happy to work as an intermediary with you and Austria to help coordinate.\n\nI've given you one bit of help - Russia can't build in Warsaw, so it takes one unit out of the South.", "Ugh, what a pain in the ass. I can't even rotate on him in a meaningful time frame, and Austria's going to be no help any time soon beyond protecting Bulgaria this turn."]
Example Output: | You could take him down together, unless he's working with Italy. Even if he's not, Italy's going to feed on Austria - he's pretty committed - and come after you since you're exposed. The upside is just that they wouldn't likely be explicitly helping each other.
I don't have anything preventing me from going at Italy, and he's really wrecking everything right now. Plus, silent. As far as I know, towards everyone.
|
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Q: all
A: tall
****
Q: language
A: No
****
Q: sea
A: | see
****
|
Read the given text and if it has abusive content then indicate via "yes". Otherwise indicate via"no".
We consider the content to be abusive if it contains any of the following instances: (1) Identity Directed Abuse (e.g., Content which contains a negative statement made against an identity. An identity is a social category that relates to a fundamental aspect of individuals community, socio-demographics, position or self-representation) (2) Affiliation Directed Abuse (e.g., Content which express negativity against an affiliation. We define affiliation as a (more or less) voluntary association with a collective. Affiliations include but are not limited to: memberships (e.g. Trade unions), party memberships (e.g. Republicans), political affiliations (e.g. Right-wing people) and occupations (e.g. Doctors).) (3) Person Directed Abuse (e.g., Content which directs negativity against an identifiable person, who is either part of the conversation thread or is named. Person-directed abuse includes serious character based attacks, such as accusing the person of lying, as well as aggression, insults and menacing language.) and (4) Counter Speech (e.g., Content which challenges, condemns or calls out the abusive language of others.). Note that URLs in the text have been replaced with [Link].
--------
Question: I dont get it but eww zoophiles
Answer: yes
Question: What do they think he's gonna do? Walk into congress and go, "Hey, you know that big ass report we typed up? It was a joke! The real one is right here! Trump is guilty!" This is the fuckin government, not the new season of Brooklyn 99
Answer: no
Question: I'm wondering how they'd feel if those soldiers didn't exist. Punk ass little bitches wouldn't have the balls to take a rifle and defend their country. So ungrateful.
Answer: | yes
|
Q: 1. Inventive alien creatures are voiced by top-notch talent like Emma Thompson, David Hyde Pierce and Martin Short, while the lack of songs and updated character issues, including single parenthood, money and juvenile crime, keep the whole thing pretty hip.
2. I think kids will find it really entertaining, and parents will find it amusing enough.
3. Not since Mulan (or, quite possibly, even The Hunchback of Notre Dame) has there been a Disney cartoon so casual about its own brilliance...
4. Most Disney flicks work on an adult level; I don't feel like I need a kid to lug into the theatre with me. This time, I felt like I needed a kid.
5. The studio may be taking a monetary risk by straying from its musical formula, but it can rest assured that in doing so it's delivered a pleasing entertainment.
6. Half Star Wars and half Classics Illustrated, Disney's Treasure Planet is a total blast, filled with animation dazzle and imaginative storytelling.
7. Where we kids of all ages ought to be eagerly running out, hearts pounding and faces flushed with excitement, to hoist the Jolly Roger in the backyard, all we can do is reel from having the warm fuzzies mercilessly pounded into us.
8. The overall tone of this rocket-paced updating is exhilaratingly giddy, making it by far Disney's best animated film since Mulan.
9. While the artwork in the film is very good, the story is curiously cool and emotionally uninvolving.
10. Treasure Planet is certainly suffering from creative schizophrenia.
Based on these individual reviews, what is the critic consensus?
A: Consensus: Though its characterizations are weaker than usual, Treasure Planet offers a fast-paced, beautifully rendered vision of outer space.
1. This touching Irish re-imagining of the classic backstage musical has a filmmaker's eye and a poet's heart.
2. John Carney's direction is unassuming and without a hint of pretension, and his short screenplay lets the music do a lot of the talking.
3. Every note brings us closer to these characters.
4. A touching, tender and smart film that effectively blends elements of musical and romance, while maintaining an air of realism and honesty one rarely finds in either genre.
5. By the end of the year, Once will be the movie doomed to lose at the Oscars but live on in everyone's hearts.
6. Once is a simple yet not simplistic love story which doesn't end as you might expect.
7. We do not fall in love nearly enough at the movies, but this is one to adore.
8. Like all great pop songs, you can't wait to hear how it ends, and few conclusions feel as complete as that in "Once." For a film so joyfully attuned to the tumultuous nature of composition, it's no surprise that this is one of 2007's best.
9. Even when Carney lays on the indie film visual aesthetics a little too thick, the movie never feels anything less than heart-wrenchingly authentic.
10. Casting musicians rather than actors proves to be a wise choice because their interplay is completely naturalistic. All of the musical interaction is authentic and, by extention, so is their entire relationship.
Consensus: A charming, captivating tale of love and music, Once sets the standard for the modern musical. And with Dublin as its backdrop, Once is fun and fresh.
Q: 1. Boarding Gate's surfaces are often so staggeringly beautiful that its superficiality becomes forgivable, with the pleasant distractions of Assayas' multi-layered frames, Argento's sinewy allure, and snippets of Brian Eno ambience on the soundtrack.
2. The picture grows on you, as does its laconic leading lady, whose slurry delivery conceals an ever-alert mouse handily equipped to beat the cat at his own game.
3. Call it a cinema of guilty pleasure, and don't worry if you fall asleep in your seat after the sex scene is over. You won't be alone.
4. Boarding Gate plays with various genre codes and conventions very differently than most run-of-the-mill modern thrillers.
5. This one is just murk.
6. Boarding Gate's decadent fancies are appalling.
7. It's not a perfect movie. At times, it's not even a movie. Yet the overall taste Boarding Gate leaves behind is intriguing enough to appreciate the whole elongated enterprise.
8. Boarding Gate, B-movie heir to Phil Karlson and Ingmar Bergman, screws any pretence of naturalism for hallucinatory confrontations.
9. If this is the effect Mr. Assayas wanted to achieve, he has succeeded admirably.
10. A mostly dull and nonsensical attempt at a revenge thriller that trips and falls flat on its face far too many times to stand up to some of [Assayas'] stronger work.
Based on these individual reviews, what is the critic consensus?
A: Consensus: Boarding Gate has little substance beneath its faux-thriller surface, and marks a step down from director Olivier Assayas' usual work.
1. The world is coming to an end: cracks are forming in the Earth's surface, mountain-sized chunks of ice are falling from the sky, John Waters has made a family film.
2. Hairspray represents more-mainstream John Waters fare, but the inspired casting itself will warrant a look for this 1988 film.
3. Waters writes warmth into his caricatures, lifting Hairspray above cartoon cult.
4. The movie is a bubble-headed series of teenage crises and crushes, alternating with historically accurate choreography of such forgotten dances as the Madison and the Roach.
5. Waters' most accessible bout of cinematic insanity.
6. Hairspray might be tame by the director's standards, but it loses none of its subversive energy in its quest for a PG-rating.
7. Lots of people who use hairspray tend to lay it on real thick. One spritz from the aerosol can is never enough.
8. It's not exactly Malcolm X, but Waters has never really made a stronger political statement since this film.
9. While it's corny by design, Hairspray also aims to get at something truthful, about the various kinds of prejudice [...] and how youthful optimism and music made a difference [...].
10. Perhaps Waters' best known movie.
Consensus: Hairspray is perhaps John Waters' most accessible film, and as such, it's a gently subversive slice of retro hilarity.
Q: 1. Saint Ralph sticks, for the most part, to the road less traveled, delivering a droll feel-good movie that has a little something to say about modern-day miracles.
2. As predictably uplifting movies go, Saint Ralph isn't completely charmless.
3. Writer-director Michael McGowan must be exhausted after all the tugging he does on our heartstrings in this sentimental drama.
4. Your interest is bound to fade long before Ralph does.
5. Writer-director Michael McGowan proves there's a reason people keep making underdog sports movies.
6. It succeeds in flashes, but the movie's mixture of humor and inspirational fluff never quite meshes.
7. You can't argue with the message. But its well-worn homilies might give you reason to question the messenger.
8. The lack of condescension, the decent jokes and an absolutely terrific performance by Butcher make Saint Ralph an honest-to-God crowd-pleaser.
9. What began as a too familiar coming-of-age story set in an all-boys Catholic school steadily morphs into something arguably as familiar but more satisfying -- a triumphant sports tale.
10. It's hard to dislike schmaltz as mild as Saint Ralph, but let's try: The film is as bland as a communion wafer, sentimental as a Christmas homily, and predictable as the liturgy.
Based on these individual reviews, what is the critic consensus?
A: | Consensus: Saint Ralph is an amiable tear-jerker that walks a fine line between being inspirational and being hokum. |
Given a prompt and two completions from a language model, select the completion that is the most fluent with respect to continuing the prompt. Fluency is defined by coherency and ease of understanding, not necessarily grammatical correctness. Generate either Completion A or Completion B.
Q: Prompt: I also went on "swimming dates" by
Completion A: myself and other women. If you want to learn more about women's swimming they may be listed on the first page of this website. As soon as
Completion B: meeting up with a bunch of strangers online. We've talked for hours and are now trying to plan another date. It's such an amazing feeling t
A: Completion B
****
Q: Prompt: Why the fuck would you call him motherfucker? I just said he
Completion A: was a dad. I'm sure he is a very special dad to you and your family. He should be proud of what you've been through.
Completion B: didn't know what he did." The woman didn't answer, so the cops were called. Then, when they searched for a way ou
A: Completion B
****
Q: Prompt: Real bitchxs dey lust em hatein niggas disgust em i see
Completion A: them nigga The reason why they hate dem is cause they can't relate ta them. Like, 'Cause all of a sudden these guys
Completion B: . She livin a life. She has friends niggas. Not gonna worry em, she ain't gonna give em a brea
A: | Completion B
****
|
Detailed Instructions: In this task, you're given two articles in the Thai language and the possible genre they belong to in the English language. Determine if the two articles share a positive sentiment on the given genre. Indicate your answer with Y for yes if they do and N for no if they don't. Genres available include: politics,human_rights,quality_of_life,international,social,environment,economics,culture,labor,national_security,ict,education
Problem:Article1:
Title: จับหนุ่มเสื้อแดงหลังร่วมงานศพอภิวันท์ ระบุมีภาพชุมนุมต้านรัฐประหาร
Body: เวลาประมาณ 22.30น. 19 ตุลาคม 2557 ประชาไทได้รับรายงานว่า เจ้าหน้าที่ทหารได้ทำการจับกุมชายเสื้อแดงที่วัดบางไผ่ หลังจากที่เข้าร่วมงาน พอ.ดร.อภินันท์ ทราบชื่อภายหลังว่า นายหนึ่ง เกตุสกุล อายุ 28ปี อยู่แขวง บางบัว เขต บางเขน กรุงเทพฯ โดยเบื้องต้นได้ถูกนำตัวมาสอบสวนที่ สน. พญาไท. ซึ่งคาดว่าจะเป็นพื้นที่เกิดเหตุ เจ้าหน้าที่ทหารได้อนุญาตให้ นส.ศศินันท์ ธรรมนิฐินันท์ ทนายความจากศูนย์ทนายความเพื่อสิทธิมนุษยชน ได้เข้าพบผู้ต้องหาและร่วมฟังการสอบสวนผู้ต้องหา
หลังเสร็จสิ้นการสอบสวน ศศินันท์ ธรรมนิฐินันท์ ทนายความจากศูนย์ทนายความเพื่อสิทธิมนุษยชน ได้กล่าวกับประชาไทว่า นายหนึ่งได้ถูกจับกุมขณะกำลังเดินทางกลับจากงานฌาปณกิจ พ.อ. ดร.อภินันท์ วิริยะชัย อดีต สส.พรรคเพื่อไทย และแกนนำคนเสื้อแดง เหตุเกิดในช่วงเวลาประมาณ 20.00 ขณะที่นายหนึ่งกำลังขึ้นท้ายรถกระบะเพื่อเดินทางกลับบ้านทหารนอกเครื่องแบบจำนวน 4 นาย ได้ดึงแขนนายหนึ่งลงจากรถพาไปคุยแล้วควบคุมตัวมาสอบสวนยัง สน.พญาไท
โดยเบื้องต้นทางทหารแจ้งว่า นายหนึ่งเป็นบุคคลที่ถูกบันทึกอยู่ในภาพเหตุการณ์ การชุมนุมต่อต้านรัฐประหาร ที่บริเวณอนุสาวรีย์ชัย เมื่อวันที่ 28 พฤษภาคม 2557 โดยในเหตุการณ์นั้นได้มีการทำลายรถทหาร
หลังการสอบสวนเบื้องต้นแล้วเสร็จ ทหารได้นำตัวนายหนึ่งออกจาก สน.พญาไทไปควบคุมตัวไว้โดยไม่ได้แจ้งสถานที่ควบคุมต่อญาติและทนายฯ แต่แจ้งว่าจะนำตัวมายัง สน.พญาไท เวลาประมาณ 09.00น. ของวันที่20 เพื่อทำเรื่องส่งตัวตัวไปขอฝากขังยังศาลทหาร กระทรวงกลาโหม
Article 2:
Title: ม็อบเรียกร้อง "เจิมศักดิ์-ประทิน-นิรันดร์" ลาออก
Body: ณ บริเวณตรงข้ามรัฐสภา ด้านกำแพงสวนสัตว์ดุสิต มีประชาชนประมาณ 30 คน อ้างตัวว่าเป็น "แนวร่วมสมานฉันท์แห่งชาติ" ได้ปราศรัยโจมตีนพ. นิรันดร์ พิทักษ์วัชระ, นายเจิมศักดิ์ ปิ่นทอง และพล. ต. อ. ประทิน สันติประภพ รวมทั้งนักวิชาการที่ร่วมลงรายชื่อเรียกร้องให้นายกรัฐมนตรีขอโทษประชาชน อีกทั้งยังมีการติดป้ายผ้าแสดงข้อความโจมตี โดยมีผู้ให้ความสนใจประปราย
กลุ่มผู้ชุมนุมยังได้แจกเอกสารโจมตี โดยระบุว่าบุคคลเหล่านี้มีส่วนในการสร้างสถานการณ์ให้รุนแรงขึ้นโดยหวังผลประโยชน์ทางการเมือง อีกทั้งยังระบุว่าบุคคลเหล่านี้ไม่เคยออกมาเรียกร้องให้ผู้บริสุทธิ์ที่เสียชีวิตเลย
นอกจากกลุ่มนี้ ยังมีกลุ่มประชาชนที่เรียกตัวเองว่า "กลุ่มสามัคคีไทยรักชาติ" เข้ายื่นจดหมายต่อนายสุชน ชาลีเครือ ประธานวุฒิสภา เรียกร้องให้นายเจิมศักดิ์ และพล. ต. อ. ประทินลาออก โดยระบุเหตุผลว่านายเจิมศักดิ์ใช้หน้าที่ สว. ในการต่อต้านรัฐบาลในทุกเรื่องอย่างไม่ถูกกาลเทศะ โดยเฉพาะในการออกเอกสาร "ความจริงที่ตากใบ" โดยไม่เสนอข้อเท็จจริงของทุกฝ่ายในเหตุการณ์ ส่วนพล. ต. อ. ประทินนั้นมีพฤติกรรมไม่เหมาะสมในการใช้อารมณ์กับคนที่ไม่เห็นด้วยกับตนเอง โดยเฉพาะอย่างยิ่งการออกมาปกป้องนายเจิมศักดิ์ในการชี้แจงเอกสาร "ความจริงที่ตากใบ" จนทำให้เกิดเหตุชกต่อยกับสว. ด้วยกันเอง
ภาณุวัฒน์ อภิวัฒนชัย
ประชาไทรายงาน
Do both the articles share the same sentiment for the genre: environment?
Solution: | no |
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
Q: The patient recovered without sequelae with conservative therapy.
A: | non-adverse drug event |
Given the task definition, example input & output, solve the new input case.
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.
Example: Did M0 's star , director , art director , producer , and cinematographer direct M1 and direct M2 , M3 , and M4
Output: 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
}
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
New input case for you: Did M1 's star , executive producer , writer , and director edit , produce , write , and executive produce M0
Output: | SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.director.film M1 .
?x0 ns:film.editor.film M0 .
?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.writer.film M0 .
?x0 ns:film.writer.film M1
} |
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.
customer: I am Sarah Davis.
agent: Davis, how may I assist you today?
customer: I want to change my existing reservation, due to heavy rainfall in Seattle, can you help me?
agent: Sure, I will help you in changing, please hold on for a moment to check your reservation status.
__
agent: I found your reservation, may I know your new airport codes?
customer: I am departing from ORD and land in IAH.
agent: Let me know your travelling dates?
customer: I am departing on 06/29 an return on 07/01.
agent: Delta airline is providing flight with connection 1 as per your details, can I proceed?
customer: Please proceed for booking.
agent: I confirmed your ticket by flight number 1016.
customer: Thank you for your help.
agent: It's my pleasure. | customer: Thank you. |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
She said a bad word, daddy. | You've heard that word before. |
In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
OkL | kL |
Detailed Instructions: Read the given message of a sender that is intended to start a conversation, and determine whether it was written by a 'Bot' or by a 'Human'. Typically, bots will have a more disjointed manner of speaking, and will make statements that don't relate to each other, don't make coherent sense, or otherwise appear unnatural. Human will make statements in a more or less coherent and logical way. Since these messages are supposed to be conversation openers, humans will generally start sensibly with a hello or an introduction. Humans may also ask why the other person is not responding. Bots, however, may act as if they are in the middle of a nonsensical conversation.
Problem:SENDER A: Hi, how are doing?
Solution: | Bot |
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Q: password = Xi18L
A: | 1 |
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.
[EX Q]: Context: 'I think we will need more extra food than that. How about the reverse, I get 2 food and 1 water and you get 1 food and 2 water.' 'I could do that if I could then get 2 packages of wood as well because it's been bitterly cold this time of year at night in the Alleghenies.' 'That sounds fair. So I would get 2 food, 1 water, and 1 firewood.'
Utterance: 'Yes. That's mighty kind of you and I'm glad we both got what we needed.'
[EX A]: No
[EX Q]: Context: 'hy thats my offer'
Utterance: 'Hi there.. I'm sorry, I didn't see your offer as it doesn't show it for 10 messages, I believe. So, here's the situation.. I think I can get by with less firewood as I'm a Floridian and prefer it cooler anyway.. also the food is not a huge thing for me as we can catch / improvise around the campsite - but I'm definitely interested in as much water as possible.. both for cooking and cleaning purposes, as well as drinking, of course. 🙂'
[EX A]: Yes
[EX Q]: Context:
Utterance: 'Camping yay!'
[EX A]: | 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".
Ex Input:
17/43/1154
Ex Output:
0
Ex Input:
13/33/1162
Ex Output:
0
Ex Input:
09/18/1792
Ex Output:
| 1
|
Given the task definition and input, reply with output. In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment".
Premise: این می تواند بسیار گیج کننده باشد. <sep> Hypothesis: این همیشه روشن و آسان است.
| Contradiction |
Q: 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.
Our data suggest that mild regular physical exercise favourably influences cholesterol distribution in serum lipoproteins in healthy middle aged men and may have beneficial effects on circulating metabolites of arachidonic acid .
A: | physical exercise |
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
[2, 7, 3, 9, 7] , [7, 10, 9, 10, 8]
[7, 9]
[9, 1, 5, 7, 3] , [5, 4, 1, 8, 5]
[1, 5]
[4, 7, 2, 7, 1, 9, 1] , [6, 5, 1, 7, 7, 4, 2]
| [1, 2, 4, 7]
|
Detailed Instructions: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
Q: 6575 @ 7115 @ 6312 @ 311 # 6051 # 4764 # 2450 # 3154
A: | 3894 |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
[Q]: great
[A]: strait
[Q]: very
[A]: ferry
[Q]: method
[A]: | No
|
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
[EX Q]: Ground God, big news. Apparently the word on the street is that Sky God is done. He's having mental breakdown.
[EX A]: Well, the timing could't be more perfect. Check out these pamphlets.
[EX Q]: I'll hide his body.
[EX A]: Thank you, Evan, you're so sweet. I appreciate that.
[EX Q]: Ritchie, what are you doing here? Why aren't you at school?
[EX A]: | Mr. Montgomery, I flunked out of school. I wasn't very good at it.
|
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: 'Oh my. A whole troop of girl scouts will probably be bringing lots of food with them to share, and plenty of people around to collect firewood. It is going to be just me and my son on this camping trip, his first time.' 'We were planning on getting our outdoor cooking badge by making a big meal over the campfire tonight. I wll need plenty of firewood for that, but I can manage with only one food.' 'A lot of the firewood in my area is wet, so I'll need some extra packages of it as well. You're going to have a lot of people and a big fire, so it would be smart to keep a lot of water on hand to drink/in case the fire gets out of hand.'
Utterance: 'All my girls have brought canteens. I must have enough firewood if they will earn their badge. You can have one, but I won't be able to make due without 2.'
A: | Yes |
instruction:
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
question:
[9, 9, 3, 9, 6, 1, 9, 10] , [2, 3, 10, 2, 7, 3, 9, 10]
answer:
[3, 9, 10]
question:
[4, 7, 6, 4, 5, 5, 8, 8, 10] , [7, 10, 7, 4, 8, 5, 9, 6, 6]
answer:
[4, 5, 6, 7, 8, 10]
question:
[2, 8, 2, 8, 1, 7, 1, 5, 5, 1] , [3, 4, 10, 8, 10, 3, 1, 9, 6, 6]
answer:
| [1, 8]
|
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]: It is those opposed to gay rights who don't care about the commitment; it is those opposed who say that it does not matter how commited a same-sex couple is, same-sex couples can't have marriage.
[A]: Valid
[Q]: As long as the M word and CU words aren't used same sex couples can have all the benefits.
[A]: Valid
[Q]: And due to the fact that all people must be treated equally under the law because heterosexuals can get married then so must homosexuals be allowed to get married.
[A]: | Valid
|
Instructions: In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling
Input: affirmed in part and remanded schellhas, judge ramsey county district courtfile no. 62-cr-16-7992 lori swanson, attorney general, st. paul, minnesota; and john j. choi, ramsey county attorney, peter r. marker, assistant county attorney, st. paul, minnesota (for respondent) cathryn middlebrook, chief appellate public defender, steven p. russett, assistant public defender, st. paul, minnesota (for appellant) considered and decided by ross, presiding judge; schellhas, judge; and kirk, judge.
Output: | non-overruling |
Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise
A user's IP address and device IDs is retained for a stated period of time to fulfill an unspecified purpose. | IP address and device IDs |
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
[EX Q]: original sentence: The path to the lake was blocked , so we couldn't reach it . paraphrase: the road to the pool was blocked , so we couldn't reach it .
[EX A]: Synonym
[EX Q]: original sentence: Madonna fired her trainer because she couldn't stand her boyfriend . paraphrase: The trainer was fired by madonna because she couldn't stand her boyfriend .
[EX A]: Voice
[EX Q]: original sentence: Jane knocked on Susan's door but she did not answer . paraphrase: Andrew knocked on Bill's door but he did not answer .
[EX A]: | Gender
|
Detailed Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Q: password = 3GzcAluQ
A: | 0 |
Q: In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
در کل فیلم خوبی بود با وجود اینکه به نظرم ضعف شخصیت پردازی و پایان شعاری داشت , نفس و ویلاِیی هارو میشه دو فیلم متفاوت و نوآورانه در ژانر جبهه و جنگ تلقی کرد.
A: | بازی |
In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0.
Ex Input:
DOfJVJEJKeAeApvgIgNobGC, q
Ex Output:
0
Ex Input:
UscYNQDCAcvBFIkhpSEPDhIWONEg, a
Ex Output:
0
Ex Input:
yTsRSflKgohulOoBYWrNQOEseIFG, A
Ex Output:
| 0
|
This task is to find the number of 'For' loops present in the given cpp program.
int factoring(int a,int b)
{
int i,kind=0;
if(a==1)
{
kind=1;
}
else
{
for(i=b;i<=a;i++)
{
if(a%i==0)
{
kind=factoring(a/i,i)+kind;
}
}
}
return kind;
}
int main()
{
int n,i,j,a[30000]={0},b[30000]={0};
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
b[i]=factoring(a[i],2);
}
for(i=0;i<n;i++)
{
printf("%d\n",b[i]);
}
return 0;
}
3
int f(int shu,int min)
{
int k=1;
if(shu < min)
{
k= 0;
return k;
}
else
{
for(int i = min;i<shu;i++)
{
if(shu%i == 0)
{
k=k+ f(shu/i,i);
}
}
return k;
}
}
main()
{
int n,i,a;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&a);
if(i!=n-1)
printf("%d\n",f(a,2));
else
printf("%d",f(a,2));
}
}
2
void main()
{
int ways(int a, int min);
int n,b;
scanf("%d",&n);
while(n-->0)
{
scanf("%d",&b);
printf("%d\n",ways(b,2));
}
}
int ways(int a, int min)
{
if(a<min) return 0;
int sum=0,i;
for(i=min;i<=sqrt(a*1.0);i++)
{
if(a%i == 0)
sum = sum + ways(a/i, i);
}
return sum+1;
}
| 1
|
Given the task definition, example input & output, solve the new input case.
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 |
Example: Context word: fit.
Output: The trophy doesn't fit into the brown suitcase because _ is too large.
The question is about two related but different objects (i) "trophy" and (ii) "suitcase". The quesion contains exactly one blank (_). The expected answer is "trophy" which is one of the objects.
New input case for you: Context Word: monkeys.
Output: | The monkeys used the vines to keep from falling off the trees , as the _ were easy to grip. |
Definition: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Input: Sentence: {{ 11 }} . In Events of Default , clause ( a ) refers to a dispute section which I 'm not sure exists .
Word: 11
Output: | LS |
You will be given a definition of a task first, then some input of the task.
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
foursevenfivesixfourthree
Output: | 475643 |
Teacher:Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase.
Teacher: Now, understand the problem? Solve this instance: 예를 들어, JavaScript에서는 factor 함수가 이러한 재귀를 통해 익명으로 정의 될 수 있습니다.
Student: | Par exemple, en JavaScript, la fonction factorielle peut être définie via une récursion anonyme: |
Definition: 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.
Input: Fara rẹ balẹ̀
Output: | Relax yourself |
Instructions: In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Input: Command: eq { hop { nth_argmin { all_rows ; year ; 2 } ; author } ; anthony browne }, interpretation: select the row whose year record of all rows is 2nd minimum . the author record of this row is anthony browne .
Output: | yes |
Detailed Instructions: In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other.
Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise
Q: 'English : Diyarbakır Chief Public Prosecution has announced in its statement that the five investigations it had launched into the incident were still ongoing.','Kurdish : ‘Xebatên DNAyê ji bo tespîtkirina 13 welatiyên me ku li Saziya Tipa Adlî ya Stenbolê dewam dikir, bi dawî bû.’'
A: | Yes |
Detailed Instructions: In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation.
Q: Ethiopia
A: | Republic |
Given the task definition and input, reply with output. 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.
[78, 71, -22, -2, -73, -17, 52]
| 5 |
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.
--------
Question: Fact: Molecules of tRNA bring amino acids to the ribosome in the correct sequence.
Topic: molecules of trna.
Answer: Aminoacylation is the adding of an amino acid to the tRNA molecule.
Question: Fact: a plant requires water to grow.
Topic: water plants growing larger.
Answer: Plants respond to fertility and watering by growing larger and producing more blooms, but they will grow and bloom well with just average conditions.
Question: Fact: Bacteria may spread directly from one person to another.
Topic: bacteria type.
Answer: | Actinomycetes are a special type of bacteria.
|
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.
Input: Consider Input: Context: 'Hi, I am good. How about you? 🙂' 'same, can I get 3 food, 2 firewood and 0 water, I need 3 food because i need food to survive' 'That is actually close to perfect for me because I severely need water. Would you consider giving me 2 firewood instead of 1? '
Utterance: 'sure'
Output: No
Input: Consider Input: Context: 'I might be able to get by with just two... I'm on a diet though, so I don't need as much food.' 'That's a relief. I actually have a friend joining me and they don't have their own food supply. I don't have enough for two people.' 'You can all the food if you need it.🙂'
Utterance: 'Thanks!🙂 Do you need any water packages?'
Output: No
Input: Consider Input: Context: 'Yes, how about you! We are headed to Joshua Tree NP to do some rock climbing and hiking. ' 'Ooh rock climbing! I'm definitely scared of heights, so that's out for me. I'm heading to the Puget Sound to camp near the ocean.' 'My wife is from the puget sound. Was just up there a month ago. I am looking to take the food and water. We have a large group and will be active. We will have some hot and dry conditions in the desert. Some are high school age students with big appetites. What are your preferences.'
Utterance: 'I was definitely looking to have food and firewood most of all. There are plenty of places to collect rainwater and get fresh water in Puget Sound, but we're lacking in food and will need firewood to start a campfire at night.'
| Output: Yes
|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
Tweet: @anonymized_account @anonymized_account @anonymized_account Gdzie jest @anonymized_account . Brudziński jesteś kłamcą i marnym kutasem @anonymized_account, Question: Does the tweet contain cyberbullying (harmful) content?
Solution: Yes
Why? The tweet contains Bullying content
New input: Tweet: RT @anonymized_account @anonymized_account Pan w kwestii rozdawnictwo pieniędzy podatników raczej nie powinien się wypowiadać. , Question: Does the tweet contain cyberbullying (harmful) content?
Solution: | No |
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]: I think that they would almost have to set basic minimum standards to adhere to, but I agree that the government should not run the classes.
[A]: Valid
[Q]: The federal government has NO business dabbling in concealed carry regulation, unless they are going to declare it a protected activity under the second amendment.
[A]: Valid
[Q]: For decades we have proved drug cases by having a scientist who tests the drug submit an affidavit which says ���its cocaine��� or ���its marijuana������without having to call the scientist to testify about his findings.
[A]: | Invalid
|
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[{'first': 8, 'second': 78}, {'first': 49, 'second': -47}, {'first': -25, 'second': -91}, {'first': 13, 'second': -3}, {'first': 33, 'second': 38}, {'first': -86, 'second': -98}, {'first': 25, 'second': 28}, {'first': 87, 'second': 45}] | [{'first': -86, 'second': -98}, {'first': -25, 'second': -91}, {'first': 8, 'second': 78}, {'first': 13, 'second': -3}, {'first': 25, 'second': 28}, {'first': 33, 'second': 38}, {'first': 49, 'second': -47}, {'first': 87, 'second': 45}] |
Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
[EX Q]: Tweet: @anonymized_account Można, dlatego nasz poziom piłkarski był bardzo słaby wczoraj. , Question: Does the tweet contain cyberbullying (harmful) content?
[EX A]: No
[EX Q]: Tweet: @anonymized_account Mam nadzieję że nie był to sen erotyczny😁😁😁😁😀 , Question: Is the tweet free of any cyberbullying (harmful) content?
[EX A]: Yes
[EX Q]: Tweet: @anonymized_account ale Lewy też gra w zagranicznej lidze wiec myślałem że chodzi o wszystkich Polskich piłkarzy , Question: Is the tweet free of any cyberbullying (harmful) content?
[EX A]: | Yes
|
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'.
7243 aggiunta 1170 aggiunta 7270 aggiunta 223 aggiunta 3299
19205
3355 aggiunta 7102 aggiunta 2803 aggiunta 9048 sottrazione 1462 aggiunta 830
21676
236 aggiunta 5279 aggiunta 7672 sottrazione 4474 aggiunta 2276
| 10989
|
You will be given a definition of a task first, then some input of the task.
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.
[6, 6, 1, 3, 4]
Output: | [1, 3, 4] |
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
[Q]: 524 @ 1123 # 5900 # 4128 # 1486 # 9545
[A]: -19412
[Q]: 9806 @ 7051 @ 6703 @ 4233 # 276
[A]: 27517
[Q]: 2776 # 8931 @ 2788 @ 8315 # 6570 @ 8385 # 2789
[A]: | 3974
|
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.
(Laughter) I can go on, and I could make many more points for insects, but time doesn't allow this.
| (Smijeh) Mogu nastaviti, i mogao bih navesti još puno točaka u korist insekata, ali vrijeme mi to ne dopušta. |
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
--------
Question: sevenoneeighteightthreesix
Answer: 718836
Question: sevenfiveeightzerozerothreetwofivethreenine
Answer: 7580032539
Question: fivethreeeighttwofourzerothreetwosixsixthree
Answer: | 53824032663
|
In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
--------
Question: 77382
Answer: No
Question: 50599
Answer: Yes
Question: 47087
Answer: | Yes
|
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'.
9020 aggiunta 7827 sottrazione 1806 aggiunta 7198 | 22239 |
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 |
[EX Q]: Context Word: charts.
[EX A]: The patient didn't look good, so we requested the complex charts over the diagnostics as the _ were involved.
[EX Q]: Context Word: bocce ball.
[EX A]: Jesse built a bocce ball court in his backyard, but didn't map the dimensions of the court correctly. The _ was too far down to play.
[EX Q]: Context Word: cardamom.
[EX A]: | Liz put the cardamom plants into the basket instead of the bucket, because the _ was lighter.
|
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
[EX Q]: News Headline: Tillerson Says Military Options Against {North Korea} ' on the Table . ' What 's That Mean ?
Edit: mimes
[EX A]: Not Funny
[EX Q]: News Headline: Amid pressure from Trump , Mexico says it 's dealing with {migrant} ' caravan '
Edit: penguin
[EX A]: Funny
[EX Q]: News Headline: Three {gangsters} killed in Moscow courthouse firefight
Edit: canaries
[EX A]: | Not Funny
|
TASK DEFINITION: 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'.
PROBLEM: Tweet: RT @Nil_Cat1: La misteriosa publicació de Puigdemont a xarxes: «Ja som independents» https://t.co/e97bxkdXju
SOLUTION: Favor
PROBLEM: Tweet: @rac1 @elmonarac1 i d’això no informeu? L’extraordinària gravetat que suposa que en una jornada de vaga un sindicat de classe -el primer de Catalunya per afiliació- sigui atacat no us sembla notícia? Hi ha silencis molt expressius. https://t.co/wqIIC971Be
SOLUTION: Against
PROBLEM: Tweet: RT @FinsalNabokov: El 155 ha estat la teva tomba, capullo. https://t.co/kLHZV5SW1D
SOLUTION: | Neutral
|
In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
VYNtIFEaJOCraaM | VYNtFJCrM |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Query: SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 .
?x1 ns:people.person.gender ns:m.05zppz .
?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M2 .
FILTER ( ?x0 != ?x1 ) .
FILTER ( ?x1 != M2 )
} Question: Who did M2 's male spouse marry
Solution: 1
Why? Query correctly extracts data for male spouse of M2
New input: Query: SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2
} Question: Did a company acquire M1 and acquire M2
Solution: | 0 |
Detailed Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Q: THEM: if i can have the balls and the hats you can have the books YOU: balls are five, so i need one ball and all books and you keep the rest THEM: you can have one ball and one book YOU: that won't work THEM: okay then no deal. sorry the balls are the most for me as well YOU: no deal THEM: no deal YOU: no deal THEM: no deal YOU: no deal.
A: | No |
Q: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
News Headline: Bitcoin just tanked below $ 10,000 after SEC says crypto {exchanges} must register with agency
Edit: laundering
A: | Not Funny |
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'.
Example Input: 19:50:59 occurs between 04:24:44 AM and 10:27:02 AM
Example Output: False
Example Input: October 26, 2005 doesn't occur between 03 July 2005 and 09 August 1989
Example Output: True
Example Input: March 28, 2020 occured after 16 October 1973 but before 29 Sep 1977
Example Output: | False
|
Given the task definition, example input & output, solve the new input case.
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Example: [-11, 2, 3]
Output: -11
The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
New input case for you: [-80.814 43.787]
Output: | -80.814 |
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Example Input: emRSKsEqfIE, GonSKsERRP
Example Output: emRekssqfIE, GonekssRRP
Example Input: qtekELFXGKkN, qDygekELFXGKXCN
Example Output: qteefgkklxkN, qDygeefgkklxXCN
Example Input: CgKzMRyjKihUugDPUCWwYlNRbWzRza, qQqpxEMTgpugDPUCWwYlNRbkyugq
Example Output: | CgKzMRyjKihUbcdglnpruuwwyWzRza, qQqpxEMTgpbcdglnpruuwwykyugq
|
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
[211, 1486, 865, 2442, 23, 34, 2, 80, 1812, 2604, 2660, 22, 65, 3] | [256, 1024, 1024, 2048, 16, 32, 2, 64, 2048, 2048, 2048, 16, 64, 4] |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given the name of an Indian food dish. You need to return whether the dish is "non vegetarian" or "vegetarian". Do not answer with any words other than those two.
Balu shahi
Solution: vegetarian
Why? Balu shahi is a vegetarian dish.
New input: Kumol Sawul
Solution: | non vegetarian |
Subsets and Splits