sentence-transformers/squad huggingface dataset:
Passage: As the Tokugawa period progressed more value became placed on education, and the education of females beginning at a young age became important to families and society as a whole. Marriage criteria began to weigh intelligence and education as desirable attributes in a wife, right along with physical attractiveness. Though many of the texts written for women during the Tokugawa period only pertained to how a woman could become a successful wife and household manager, there were those that undertook the challenge of learning to read, and also tackled philosophical and literary classics. Nearly all women of the samurai class were literate by the end of the Tokugawa period.

Question: In what period did Japanese women begin being more educated?

Question: What were added to marriage criteria in the Tokugawa period?

Question: What types of advanced books did some Japanese women read?

Question: When had most samurai wives learned to read?
Passage: The English sailor and adventurer William Adams (1564–1620) was the first Westerner to receive the dignity of samurai. The Shogun Tokugawa Ieyasu presented him with two swords representing the authority of a samurai, and decreed that William Adams the sailor was dead and that Anjin Miura (三浦按針), a samurai, was born. Adams also received the title of hatamoto (bannerman), a high-prestige position as a direct retainer in the Shogun's court. He was provided with generous revenues: "For the services that I have done and do daily, being employed in the Emperor's service, the Emperor has given me a living" (Letters). He was granted a fief in Hemi (逸見) within the boundaries of present-day Yokosuka City, "with eighty or ninety husbandmen, that be my slaves or servants" (Letters). His estate was valued at 250 koku. He finally wrote "God hath provided for me after my great misery", (Letters) by which he meant the disaster-ridden voyage that initially brought him to Japan.

Question: Who was the first Western samurai?

Question: Who made William Adams a samurai?

Question: What was William Adams's Japanese name?

Question: What did hatamoto mean?

Question: How many servants did William Adams have?
Passage: Jan Joosten van Lodensteijn (1556?–1623?), a Dutch colleague of Adams' on their ill-fated voyage to Japan in the ship De Liefde, was also given similar privileges by Tokugawa Ieyasu. It appears Joosten became a samurai[citation needed] and was given a residence within Ieyasu's castle at Edo. Today, this area at the east exit of Tokyo Station is known as Yaesu (八重洲). Yaesu is a corruption of the Dutchman's Japanese name, Yayousu (耶楊子). Also in common with Adam's, Joostens was given a Red Seal Ship (朱印船) allowing him to trade between Japan and Indo-China. On a return journey from Batavia Joosten drowned after his ship ran aground.

Question: What nationality was Jan Joosten van Lodensteijn?

Question: Around when was Jan Joosten van Lodensteijn born?

Question: What was Jan Joosten van Lodensteijn's Japanese name?

Question: What permission allowed trade between Japan and Indo-China?

Question: How did Jan Joosten van Lodensteijn die?
Passage: In the same war, the Prussian Edward Schnell served the Aizu domain as a military instructor and procurer of weapons. He was granted the Japanese name Hiramatsu Buhei (平松武兵衛), which inverted the characters of the daimyo's name Matsudaira. Hiramatsu (Schnell) was given the right to wear swords, as well as a residence in the castle town of Wakamatsu, a Japanese wife, and retainers. In many contemporary references, he is portrayed wearing a Japanese kimono, overcoat, and swords, with Western riding trousers and boots.

Question: What nationality was Edward Schnell?

Question: What duties did Edward Schnell have?

Question: Who did Edward Schnell work for?

Question: What was Edward Schnell's Japanese name?

Question: Where did Edward Schnell live?
Passage: As far back as the seventh century Japanese warriors wore a form of lamellar armor, this armor eventually evolved into the armor worn by the samurai. The first types of Japanese armors identified as samurai armor were known as yoroi. These early samurai armors were made from small individual scales known as kozane. The kozane were made from either iron or leather and were bound together into small strips, the strips were coated with lacquer to protect the kozane from water. A series of strips of kozane were then laced together with silk or leather lace and formed into a complete chest armor (dou or dō).

Question: What type of armor did Japanese wear in the 7th century?

Question: What was the first samurai armor called?

Question: What were the small scales in yoroi called?

Question: What were kozane made of?

Question: What was a full chest armor called?
Passage: In the 1500s a new type of armor started to become popular due to the advent of firearms, new fighting tactics and the need for additional protection. The kozane dou made from individual scales was replaced by plate armor. This new armor, which used iron plated dou (dō), was referred to as Tosei-gusoku, or modern armor. Various other components of armor protected the samurai's body. The helmet kabuto was an important part of the samurai's armor. Samurai armor changed and developed as the methods of samurai warfare changed over the centuries. The known last use of samurai armor occurring in 1877 during the satsuma rebellion. As the last samurai rebellion was crushed, Japan modernized its defenses and turned to a national conscription army that used uniforms.

Question: Why were there armor changes in the 1500s?

Question: What type of armor was replaced?

Question: What new type of armor replaced the old?

Question: What was the new armor called?

Question: When was samurai armor last used?
Passage: The term samurai originally meant "those who serve in close attendance to nobility", and was written with a Chinese character (or kanji) that had the same meaning. In Japanese, it was originally recorded in the Nara Period as a verb *samorapu ("to watch, to keep watch, to observe, to be on the lookout for something; to serve, to attend"), which is believed to be derived from the frequentative form (*morapu 守らふ) of the verb moru (守る, "to watch, to guard, to be on the lookout; to keep, to protect, to take care of, to be in charge of, to have as one's ward"). By the Heian period, this word had developed into the verb saburahu (さぶらふ, "to serve, to attend"), from which a deverbal noun saburahi (さぶらひ, "servant, attendant") was later derived, and this noun then yielded samurahi (さむらひ) in the Edo period. In Japanese literature, there is an early reference to samurai in the Kokinshū (古今集, early 10th century):

Question: What did 'samurai' mean at first?

Question: What did 'samorapu' mean?

Question: What did 'saburahu' mean?

Question: What did 'saburahi' mean?

Question: When was the word 'samurahi' used?
Passage: Bushi was the name given to the ancient Japanese soldiers from traditional warrior families. The bushi class was developed mainly in the north of Japan. They formed powerful clans, which in the 12th century were against the noble families who were grouping themselves to support the imperial family who lived in Kyoto. Samurai was a word used by the Kuge aristocratic class with warriors themselves preferring the word bushi. The term Bushidō, the "way of the warrior", is derived from this term and the mansion of a warrior was called bukeyashiki.

Question: Who were the bushi class?

Question: Where did the bushi live?

Question: Where did the imperial family live?

Question: What does Bushido mean?

Question: What was a bukeyashiki?
Passage: Most samurai were bound by a code of honor and were expected to set an example for those below them. A notable part of their code is seppuku (切腹, seppuku?) or hara kiri, which allowed a disgraced samurai to regain his honor by passing into death, where samurai were still beholden to social rules. Whilst there are many romanticized characterizations of samurai behavior such as the writing of Bushido (武士道, Bushidō?) in 1905, studies of Kobudo and traditional Budō indicate that the samurai were as practical on the battlefield as were any other warrior.

Question: What was a synonym for seppuku?

Question: What was the reason for seppuku?

Question: How idealistic were samurai?

Question: How were samurai unrealistically portrayed?
Passage: Despite the rampant romanticism of the 20th century, samurai could be disloyal and treacherous (e.g., Akechi Mitsuhide), cowardly, brave, or overly loyal (e.g., Kusunoki Masashige). Samurai were usually loyal to their immediate superiors, who in turn allied themselves with higher lords. These loyalties to the higher lords often shifted; for example, the high lords allied under Toyotomi Hideyoshi (豊臣秀吉) were served by loyal samurai, but the feudal lords under them could shift their support to Tokugawa, taking their samurai with them. There were, however, also notable instances where samurai would be disloyal to their lord or daimyo, when loyalty to the Emperor was seen to have supremacy.

Question: Who was an example of a disloyal samurai?

Question: Who was an example of an excessively loyal samurai?

Question: Some feudal lords shifted loyalties from Toyotomi to whom?

Question: What sometimes overrode samurais' loyalty to the daimyo?
Passage: Jidaigeki (literally historical drama) has always been a staple program on Japanese movies and television. The programs typically feature a samurai. Samurai films and westerns share a number of similarities and the two have influenced each other over the years. One of Japan’s most renowned directors, Akira Kurosawa, greatly influenced the samurai aspect in western film-making.[citation needed] George Lucas’ Star Wars series incorporated many aspects from the Seven Samurai film. One example is that in the Japanese film, seven samurai warriors are hired by local farmers to protect their land from being overrun by bandits; In George Lucas’ Star Wars: A New Hope, a similar situation arises. Kurosawa was inspired by the works of director John Ford and in turn Kurosawa's works have been remade into westerns such as The Seven Samurai into The Magnificent Seven and Yojimbo into A Fistful of Dollars. There is also a 26 episode anime adaptation (Samurai 7) of The Seven Samurai. Along with film, literature containing samurai influences are seen as well.

Question: What is Jidaigeki?

Question: Who is Akira Kurosawa?

Question: Who directed 'Seven Samurai'?

Question: What Japanese movie is 'Star Wars: A New Hope' said to be similar to?

Question: What western was inspired by 'Seven Samurai'?
Passage: Most common are historical works where the protagonist is either a samurai or former samurai (or another rank or position) who possesses considerable martial skill. Eiji Yoshikawa is one of the most famous Japanese historical novelists. His retellings of popular works, including Taiko, Musashi and Heike Tale, are popular among readers for their epic narratives and rich realism in depicting samurai and warrior culture.[citation needed] The samurai have also appeared frequently in Japanese comics (manga) and animation (anime). Samurai-like characters are not just restricted to historical settings and a number of works set in the modern age, and even the future, include characters who live, train and fight like samurai. Examples are Samurai Champloo, Requiem from the Darkness, Muramasa: The Demon Blade, and Afro Samurai. Some of these works have made their way to the west, where it has been increasing in popularity with America.

Question: Who is Eiji Yoshikawa?

Question: Why are Eiji Yoshikawa's books popular?

Question: What are Japanese comic books called?

Question: What are Japanese animation called?
Passage: Just in the last two decades,[when?] samurai have become more popular in America. “Hyperbolizing the samurai in such a way that they appear as a whole to be a loyal body of master warriors provides international interest in certain characters due to admirable traits” (Moscardi, N.D.). Through various medium, producers and writers have been capitalizing on the notion that Americans admire the samurai lifestyle. The animated series, Afro Samurai, became well-liked in American popular culture due to its blend of hack-and-slash animation and gritty urban music.

Question: Who said America hyperbolizes the samurai?

Question: What kind of animation did Afro Samurai have?

Question: What kind of music did Afro Samurai have?
Passage: Created by Takashi Okazaki, Afro Samurai was initially a doujinshi, or manga series, which was then made into an animated series by Studio Gonzo. In 2007 the animated series debuted on American cable television on the Spike TV channel (Denison, 2010). The series was produced for American viewers which “embodies the trend... comparing hip-hop artists to samurai warriors, an image some rappers claim for themselves (Solomon, 2009). The storyline keeps in tone with the perception of a samurais finding vengeance against someone who has wronged him. Starring the voice of well known American actor Samuel L. Jackson, “Afro is the second-strongest fighter in a futuristic, yet, still feudal Japan and seeks revenge upon the gunman who killed his father” (King 2008). Due to its popularity, Afro Samurai was adopted into a full feature animated film and also became titles on gaming consoles such as the PlayStation 3 and Xbox. Not only has the samurai culture been adopted into animation and video games, it can also be seen in comic books.

Question: Who created Afro Samurai?

Question: Who made Afro Samurai into an animated TV show?

Question: When did Afro Samurai first air?

Question: On what channel did Afro Samurai air?

Question: Who was the star voice actor of Afro Samurai?
Passage: American comic books have adopted the character type for stories of their own like the mutant-villain Silver Samurai of Marvel Comics. The design of this character preserves the samurai appearance; the villain is “Clad in traditional gleaming samurai armor and wielding an energy charged katana” (Buxton, 2013). Not only does the Silver Samurai make over 350 comic book appearances, the character is playable in several video games, such as Marvel Vs. Capcom 1 and 2. In 2013, the samurai villain was depicted in James Mangold’s film The Wolverine. Ten years before the Wolverine debuted, another film helped pave the way to ensure the samurai were made known to American cinema: A film released in 2003 titled The Last Samurai, starring Tom Cruise, is inspired by the samurai way of life. In the film, Cruise’s character finds himself deeply immersed in samurai culture. The character in the film, “Nathan Algren, is a fictional contrivance to make nineteenth-century Japanese history less foreign to American viewers”.(Ravina, 2010) After being captured by a group of samurai rebels, he becomes empathetic towards the cause they fight for. Taking place during the Meiji Period, Tom Cruise plays the role of US Army Captain Nathan Algren, who travels to Japan to train a rookie army in fighting off samurai rebel groups. Becoming a product of his environment, Algren joins the samurai clan in an attempt to rescue a captured samurai leader. “By the end of the film, he has clearly taken on many of the samurai traits, such as zen-like mastery of the sword, and a budding understanding of spirituality”. (Manion, 2006)

Question: In what company's comics did Silver Samurai appear?

Question: What is Silver Samurai's weapon?

Question: How many comic books has Silver Samurai appeared in?

Question: Who starred in The Last Samurai?

Question: Who did Tom Cruise play in The Last Samurai?
Passage: As the number of possible tests for even simple software components is practically infinite, all software testing uses some strategy to select tests that are feasible for the available time and resources. As a result, software testing typically (but not exclusively) attempts to execute a program or application with the intent of finding software bugs (errors or other defects). The job of testing is an iterative process as when one bug is fixed, it can illuminate other, deeper bugs, or can even create new ones.

Question: What is the purpose of testing software?

Question: Why is it so difficult to locate bugs in software?

Question: What can come from one bug being fixed?
Passage: Although testing can determine the correctness of software under the assumption of some specific hypotheses (see hierarchy of testing difficulty below), testing cannot identify all the defects within software. Instead, it furnishes a criticism or comparison that compares the state and behavior of the product against oracles—principles or mechanisms by which someone might recognize a problem. These oracles may include (but are not limited to) specifications, contracts, comparable products, past versions of the same product, inferences about intended or expected purpose, user or customer expectations, relevant standards, applicable laws, or other criteria.

Question: What can testing not completely find?

Question: While looking for bugs, what else can testing do?

Question: What does the software compare during testing against?

Question: What make up the oracle during testing?
Passage: A primary purpose of testing is to detect software failures so that defects may be discovered and corrected. Testing cannot establish that a product functions properly under all conditions but can only establish that it does not function properly under specific conditions. The scope of software testing often includes examination of code as well as execution of that code in various environments and conditions as well as examining the aspects of code: does it do what it is supposed to do and do what it needs to do. In the current culture of software development, a testing organization may be separate from the development team. There are various roles for testing team members. Information derived from software testing may be used to correct the process by which software is developed.

Question: What is the primamry reason for testing software?

Question: What can testing software not fully completely establish?

Question: What does the scope of testing the software also look at?

Question: Which two teams would you normally separate when writing and testing software?
Passage: Software faults occur through the following processes. A programmer makes an error (mistake), which results in a defect (fault, bug) in the software source code. If this defect is executed, in certain situations the system will produce wrong results, causing a failure. Not all defects will necessarily result in failures. For example, defects in dead code will never result in failures. A defect can turn into a failure when the environment is changed. Examples of these changes in environment include the software being run on a new computer hardware platform, alterations in source data, or interacting with different software. A single defect may result in a wide range of failure symptoms.

Question: What is the first step that leads to a software failure?

Question: What is the result of the programmer making a mistake?

Question: When can software defects in dead code cause problems?
Passage: A fundamental problem with software testing is that testing under all combinations of inputs and preconditions (initial state) is not feasible, even with a simple product.:17-18 This means that the number of defects in a software product can be very large and defects that occur infrequently are difficult to find in testing. More significantly, non-functional dimensions of quality (how it is supposed to be versus what it is supposed to do)—usability, scalability, performance, compatibility, reliability—can be highly subjective; something that constitutes sufficient value to one person may be intolerable to another.

Question: What is the primary issue with running software testing?

Question: What types of software bugs are difficult to find during testing?

Question: What other non-functional dimensions can cause software to underperform and cause other problems?
Passage: Software developers can't test everything, but they can use combinatorial test design to identify the minimum number of tests needed to get the coverage they want. Combinatorial test design enables users to get greater test coverage with fewer tests. Whether they are looking for speed or test depth, they can use combinatorial test design methods to build structured variation into their test cases. Note that "coverage", as used here, is referring to combinatorial coverage, not requirements coverage.

Question: Although software developers are unable to test everything, what do they run to keep the testing to a minimum?

Question: What does the use of combinatorial testing consist of?

Question: What two types of testing are involved with combinatorial testing as mentioned here?
Passage: It is commonly believed that the earlier a defect is found, the cheaper it is to fix it. The following table shows the cost of fixing the defect depending on the stage it was found. For example, if a problem in the requirements is found only post-release, then it would cost 10–100 times more to fix than if it had already been found by the requirements review. With the advent of modern continuous deployment practices and cloud-based services, the cost of re-deployment and maintenance may lessen over time.

Question: What determines the cost of fixing a bug?

Question: Ho many more times would the cost be if the problem is found after the software's release?

Question: What could possibly lessen the cost of fixing buggy software?
Passage: There are many approaches available in software testing. Reviews, walkthroughs, or inspections are referred to as static testing, whereas actually executing programmed code with a given set of test cases is referred to as dynamic testing. Static testing is often implicit, as proofreading, plus when programming tools/text editors check source code structure or compilers (pre-compilers) check syntax and data flow as static program analysis. Dynamic testing takes place when the program itself is run. Dynamic testing may begin before the program is 100% complete in order to test particular sections of code and are applied to discrete functions or modules. Typical techniques for this are either using stubs/drivers or execution from a debugger environment.

Question: Name three approaches software testers take when testing their software?

Question: What is the term that is used to described executing programmed code with a given set of test?

Question: When can dynamic testing occur?

Question: What are commonly used techniques during dynamic testing?
Passage: White-box testing (also known as clear box testing, glass box testing, transparent box testing and structural testing, by seeing the source code) tests internal structures or workings of a program, as opposed to the functionality exposed to the end-user. In white-box testing an internal perspective of the system, as well as programming skills, are used to design test cases. The tester chooses inputs to exercise paths through the code and determine the appropriate outputs. This is analogous to testing nodes in a circuit, e.g. in-circuit testing (ICT).

Question: What is another term used for White-box testing?

Question: What is involved with White-box testing?

Question: Which two procedures are used to design test cases in White-box testing?
Passage: Black-box testing treats the software as a "black box", examining functionality without any knowledge of internal implementation, without seeing the source code. The testers are only aware of what the software is supposed to do, not how it does it. Black-box testing methods include: equivalence partitioning, boundary value analysis, all-pairs testing, state transition tables, decision table testing, fuzz testing, model-based testing, use case testing, exploratory testing and specification-based testing.

Question: What is the main difference between black-box testing and white-box testing?

Question: What are the software testers aware of?

Question: What are the first three methods mentioned that make up black-box testing??