Team Ai
Datasetpublic

wayneworkman2012/ww2-temporal-reasoning

WWII Temporal Reasoning A very large synthetic question-answering dataset of calendar arithmetic over World War II events: how many days or years separate two events, what weekday a date fell on, which of several events came first, how long a campaign ran, whether a claimed date or ordering is correct, and dozens of related question shapes -- plus the reverse lookup, what happened on a given date. Every answer is computed by code, not written freehand. The event names and their… See the full description on the dataset page: https://huggingface.co/datasets/wayneworkman2012/ww2-temporal-reasoning.

sourceHugging Faceapache-2.0updated 28d agoView on Hugging Face
1likes2.2kdownloads
Dataset Card

WWII Temporal Reasoning

A very large synthetic question-answering dataset of calendar arithmetic over World War II events: how many days or years separate two events, what weekday a date fell on, which of several events came first, how long a campaign ran, whether a claimed date or ordering is correct, and dozens of related question shapes -- plus the reverse lookup, what happened on a given date.

Every answer is computed by code, not written freehand. The event names and their dates were extracted from curated Wikipedia articles by Moonshot AI's Kimi K3 and verified against the articles; question and answer phrasing templates were authored by Qwen3.6-27B and Kimi K3 (and, for the events_on_date subset, by Qwen3.8-2.4T-A95B) and filtered through deterministic structural validation and a review pass; a Python assembler fills the templates and computes each answer with actual calendar arithmetic, or, for events_on_date, looks up the event(s) the articles place on the asked-about date. The language models served as extraction and phrasing tools only; the dates, the arithmetic and the date lookups are grounded and machine-checked.

Honest about arithmetic, by design

This dataset is built for small models that do not have the capacity to do arithmetic reliably, and it teaches them to be honest about that instead of guessing. Two behaviors are trained:

  • —What small models CAN do reliably is answered directly: recalling an event's date, naming the event or events that fall on a given date, deciding which of two or three events came first, confirming or correcting a claimed date, weekday, or year.
  • —What they cannot do (precise interval arithmetic: exact day, week, month, or year counts between dates) is answered with an honest statement that the model cannot compute the interval reliably, followed by what it does know: the dates themselves and their ordering. Each such answer then ends with a machine-readable marker of the form [interval: 1939-01 → 1940-12-18] carrying the exact operand dates. Downstream tooling can parse that marker and hand it to a real calculator, so the model powers precise date arithmetic without ever pretending to perform it.

A verbatim example from the elapsed_ymd subset:

user: how long is the period from 16 Mar. 1942 to August 5, 1942 assistant: To be upfront: I don't trust myself to compute the precise duration. What I'm confident about is that 16 Mar. 1942 (16 Mar. 1942) came before August 5, 1942 (August 5, 1942). [interval: 1942-03-16 → 1942-08-05]
  • —Total examples: 737,317,449
  • —Subsets (configs): 55, one per question shape
  • —Format: each row holds a messages conversation (user question, assistant answer), a stable id, its shape, a source_text grounding snippet naming the event(s) and date(s) used, and a metadata JSON string with the computation operands (dates, precisions, labels). For events_on_date the metadata also carries the article sentence that dates each event (source_text) and each event's id and source article title.
  • —License: Apache 2.0 (apache-2.0). Every record is new work: the questions and answers were generated from event dates recorded in curated English Wikipedia articles (listed under Source articles below), and no article text is reproduced in them. The one place article text appears is the events_on_date subset's source_text, which quotes the article sentence that dates each event, for traceability.

The other direction: what happened on a date

Every other subset starts from an event and asks about its date. The events_on_date subset starts from the date: "What happened on 6 June 1944?" The answer names the one event the source articles place on that day, or opens with a lead-in and lists the several that fall on it as prose (comma-separated up to six, semicolons beyond), always in the same canonical order. Every day-precision date in the event inventory (4,504 dates) has exactly 20 records, each with a different question phrasing, so the lookup is learned from many angles rather than from one template. The question writes the date in the full range of styles used elsewhere in the dataset (prose forms, numeric, ISO); the answer restates it in prose.

A verbatim example from the events_on_date subset:

user: What occurred on Jan 3, 1939, if you don't mind me asking? assistant: Two events are connected to the day you gave, January 3, 1939: the end of the 75th Congress and the start of the 76th United States Congress.

Recommended mix

The sampling rates we use for our own training runs (a small WWII specialist model). A rate of 1.0 means every record; 0.1 means a 10% sample. The interval subsets teach ONE response behavior that saturates quickly — including them at full volume risks teaching the model to over-decline, so sample them down. For the sampled subsets, we recommend drawing a FRESH sample for each distinct training epoch: keep the ratio the same, but change which records are sampled, so repeated epochs see new phrasings and event pairs instead of re-memorizing one fixed slice.

subsetsrecommended ratewhy
dateofevent, dateofeventfull, yearof_event1.0the core event-date knowledge
eventsondate1.0the same knowledge asked from the date side; a model that has only seen event → date does not reliably answer date → event, so we treat this subset as critical, never optional
dateofeventiso, dateofeventnumeric1.0output-format variants of the same knowledge
dateconfirmyes/no, yearconfirmyes/no1.0, always as yes/no pairsverification twins; using one side without the other trains a verdict bias
the 13 interval subsets (elapsed*, *between, howlongafter, yeardiff, apartmorethanyears, withinyears, whichcloser, daysuntil/since*_anniversary)0.1the honest-deferral behavior saturates near this volume; more mostly adds over-refusal risk

Subsets

The value column is assessed for our own use case: a small WWII language model that memorizes the facts and defers precise arithmetic. It is not necessarily the value for other use cases -- for example, if the calculator-deferral behavior is what you are after, the honesty subsets rated "saturates fast" are the core of the dataset for you.

shaperowstok/recrolevalueexample question
apartmorethan_years20,000,000117honesty behaviorcritical behavior; saturates fastWere there more than 10 years between Aug. 1, 1944 and Mar 14, 1944
calendaryearsbetween20,000,000119honesty behaviorcritical behavior; saturates fastGive me the count of full calendar years from 8 Apr. 1940 to the start of direct American military assistance in North Africa
dateconfirmno2,897,44039verificationhighsurely the sinking of U-215 was in January 1942, correct?
dateconfirmyes2,793,96040verificationhighCan you verify that the commissioning of S-12 occurred in July 1941
dateofevent9,934,08036event factscriticalwhen ddi Sir Charles Edwards taking office as Parliamentary Secretary to the Treasury (Government Chief Whip) happen
dateofevent_full2,248,00036event factscriticalWhen did the death of Klara Hitler take place?
dateofevent_iso1,519,64844event factshightell me when the commissioning of U-515 happened, using ISO date format.
dateofevent_numeric1,461,20049event factshighI want the date of the commissioning of Galvani as a plain eight-digit number, YYYYMMDD.
dayofweek4,316,16037calendar factslowi need to know what day of the week 9 June 1945 was.
days_between20,000,000115honesty behaviorcritical behavior; saturates fastwhat is the number of days from the issuing of Hitler's Directive 21 to the decline of unemployment to 301,800?
daysinmonth3,599,04032calendar factsminimalWhat's the length of February 1943 in days?
daysinquarter260,80029calendar factsminimalhow many days in Q2 of 1938
dayssinceprev_anniversary20,000,000109honesty behaviorcritical behavior; saturates fastTaking the commissioning of U-4707 as the reference point, how many days since the preceding anniversary of the sinking of U-36
daysuntilnext_anniversary20,000,000109honesty behaviorcritical behavior; saturates fastDays remaining from the 12th of June 1941 to the next anniversary of 27 May 1943?
decadeofevent1,540,11039event factsmoderatewhich decade did the Revolutions of 1989 come from
did_after20,000,00081ordering skillmoderatewas the date of Sep 16, 1944 later than the date of 27 Apr. 1945?
didafteryear20,000,00054ordering skillmoderatedid 1941 come after the daily average U-boat numbers for Apr-Jun 1940 when looking at the year
did_before20,000,00079ordering skillmoderateDid 16 Oct. 1944 take place ahead of the paying off of Oberon?
didbeforeyear20,000,00054ordering skillmoderateDid the Argentine Navy's order of six TR-1700 U-boats occur in a previous year relative to members drifting away from NS
did_between20,000,000105ordering skilllow-moderateDid Pavlov's order for the Western Front to withdraw to Slonim happen sometime between 17 November 1943 and the conclusion of the Munich Agreement?
didbetweenyears20,000,00061ordering skilllow-moderateWas 1940 in a year that falls between the years of SS membership reaching 209,000 and the commissioning of U-2505, endpoints excluded?
elapsed_ym20,000,000122honesty behaviorcritical behavior; saturates fastcount the years and months between Bush's collaboration with William H. Timbie on "Principles of Electrical Engineering" (1922) and 24 Sept. 1941
elapsed_ymd20,000,000120honesty behaviorcritical behavior; saturates fasthow long is the period from 16 Mar. 1942 to August 5, 1942
eventsondate90,08076date → eventscriticalwhat took place on February 21, 1808? I would appreciate a short summary, if you please
howlongafter20,000,000118honesty behaviorcritical behavior; saturates fastwhat is the time span from May 19, 1946 to the 28th of September 1946
leap_year27,02735calendar factsminimalWas 1938 a leap year, or was it a standard year?
months_between20,000,000119honesty behaviorcritical behavior; saturates fastWhat is the time difference in months for the start of direct American military assistance in North Africa vs Mussolini's "boot topping" speech?
nextyearsame_day3,596,80039calendar factslowPlease tell me what day of the week Arthur Young taking office as a Lord Commissioner of the Treasury falls on in 1943.
notfirstof_three20,000,00083ordering skilllowOf the three events the 30th of May 1937, 22 Sept. 1939, and the commissioning of U-328, which did not start first
order_three20,000,00088ordering skilllowwhich of these happened first, and which last: the meeting of the 2nd and 3rd Panzer Groups near Minsk, the extension of the Bretton Woods Conference to its new closing date, 1942-09-21?
prevyearsame_day3,147,20040calendar factslowi need to know the weekday for the scuttling of Grenadier from 1942.
quarterofyear3,515,87237calendar factslowWhich quarter of the calendar does the commissioning of Totem as Dakar sit in?
same_decade20,000,00099ordering skillmoderateWere the Finnish declaration of independence and de Gaulle's promotion to corporal part of the same decade?
same_month20,000,000101ordering skillmoderateDid the start of Roosevelt's run for a second term as governor and the publication of Quisling's article "Politiske tanker ved Fridtjof Nansens død" happen in the same month of the same year?
same_year20,000,00081ordering skillmoderateIs the year for the commissioning of Tradewind the same as for Volgograd's military parade commemorating the 70th anniversary of the final victory
weekdayconfirmno2,248,00042verificationmoderateI have the commissioning of S-3 down as a Sunday - that right?
weekdayconfirmyes1,528,64040verificationmoderateCan you confirm that Leamington's sinking of U-587 occurred on a Friday?
weeks_between20,000,000122honesty behaviorcritical behavior; saturates fastWhat is the time difference in weeks between the Vichy law authorising internments of foreign Jews and 13 March 1945
weeksinmonth5,633,28030calendar factsminimalHow many 7-day weeks fit entirely in January 1946?
which_closer20,000,000134honesty behaviorcritical behavior; saturates fastBetween August 4, 1936 and the start of Operation Lüttich, which one happened closer to the planned beginning of the Allied landings
which_first20,000,00066ordering skillmoderatewhich occurred first, the commissioning of U-388 or attacks on the Japanese position at Templeton's Crossing?
which_last20,000,00068ordering skillmoderateBetween Japan's signing of the Tripartite Pact with Germany and Italy and Mar. 9, 1945, which one is second?
whichofthree_first20,000,00079ordering skilllowout of June 26, 1936, 13 August 1945, and Roosevelt's signing of Executive Order 9066, which happened earliest
whichofthree_last20,000,00077ordering skilllowwhich date comes after the others: the scuttling of U-806 (21 Dec. 1945) (the scuttling of U-806), Quisling's conviction and death sentence (the 10th of September 1945) (Quisling's conviction and death sentence), or the modification ordering daylight bombing of the Le Creusot Works (April 18, 1942)
whichofthree_middle20,000,00079ordering skilllowWhich of these three occurred in the middle: the American Ambassador's telegram transmitting the Soviet denunciation statement, 20 July 1943, or Colonel William H. Blanchard's replacement of Tibbets as group commander?
whichofthreeyearsfirst20,000,00058ordering skilllowBetween 1943, the death of Franklin D. Roosevelt, and Max Aitken, 1st Baron Beaverbrook leaving office as Minister of Supply, which occurred first chronologically
whichofthreeyearslast20,000,00060ordering skilllowOf the three - Hitler's remarks to Milch on Luftwaffe failings, Badoglio's realization of Greek mobilization, and 1936 - which happened last?
whichyearfirst20,000,00043ordering skillmoderatewhich took place first, the renaming of Rhein-Ruhr to Ruhr or Göring's handover of Gestapo control to Himmler?
whichyearlast20,000,00047ordering skillmoderatewhich of 1941 and 1944 happened in the later year
within_years20,000,000114honesty behaviorcritical behavior; saturates fastIs the start of the 73rd United States Congress (March 4, 1933) within 6 years of Nov. 26, 1940?
yearconfirmno2,584,80038verificationhighWas 1938 when the extension of Lend-Lease to the Soviet Union occurred
yearconfirmyes2,692,50039verificationhighDo I have this right, the German request to double agent Garbo for V-1 impact information happened in 1944?
year_diff20,000,00068honesty behaviorcritical behavior; saturates fastHow many years elapsed between 1832 and 1939?
yearofevent1,682,81234event factscriticalwhat year would the issuing of a more detailed Luftwaffe intelligence report be
years_apart20,000,00041ordering skillmoderate (the one computed-interval shape)How far apart in years were the discovery of the coup plan in Morocco and 1940?

Intended use

Training small language models to handle temporal questions within their actual capacity: reliable date recall, ordering, and verification, plus honest deferral of precise arithmetic with a calculator-ready interval marker in place of a guessed number. Also usable for evaluating temporal grounding and for studying honesty-about-capability training. The dataset pairs naturally with its sibling, the broader WWII synthetic corpus published in this namespace.

Provenance and limitations

Event dates carry their precision (day, month, or year); questions only ask what their operands' precision supports; the events_on_date subset covers day-precision dates only. Phrasing variety is bounded by the template pools. All content is in English. Dates and events reflect the underlying encyclopedia articles at extraction time.

Source articles

The event inventory was extracted from these 302 articles on English Wikipedia. The article text was retrieved from live Wikipedia in July 2026, and the event extraction ran against that snapshot in August 2026:

<details> <summary>Show all 302 source articles</summary>

</details>