Triple
T20730608
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Lines of Torres Vedras |
E509561
|
entity |
| Predicate | notableBattle |
P259
|
FINISHED |
| Object | French retreat from Torres Vedras (1810–1811) |
—
|
NE NERFINISHED |
How this triple was built (2 steps)
Every LLM step that produced this triple, in pipeline order — named-entity classification, the disambiguation choices (the exact options shown, with the pick highlighted), and the generated description. The batch + timestamp of each is in the Provenance table below.
NER
Named-entity recognition
gpt-5-mini
Instruction
Given a phrase, classify it is english named entity (e.g., persons, organizations, works of art) in Latin script, or not (e.g., literals, dates, URLs, verbose phrases). For disambiguation, the statement where the phrase occurs as object is also given. Please return a JSON object with `phrase` (string, the phrase being analyzed) and `is_ne` (boolean, indicating whether the phrase is a Named Entity).
Input
Phrase: French retreat from Torres Vedras (1810–1811) | Statement: [Lines of Torres Vedras, notableBattle, French retreat from Torres Vedras (1810–1811)]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: French retreat from Torres Vedras (1810–1811) Context triple: [Lines of Torres Vedras, notableBattle, French retreat from Torres Vedras (1810–1811)]
-
A.
Masséna’s retreat from Portugal
chosen
Masséna’s retreat from Portugal was the 1811 withdrawal of French forces under Marshal André Masséna after their failed invasion, marking a major setback for Napoleon’s Peninsular War campaign.
-
B.
Battle of Corunna
The Battle of Corunna was a 1809 engagement of the Peninsular War in which British forces under Sir John Moore fought a rearguard action against French troops led by Marshal Nicolas Soult, enabling the British army’s evacuation from Spain.
-
C.
Napoleonic invasions of Portugal
The Napoleonic invasions of Portugal were early 19th-century French military campaigns that forced the Portuguese royal court to flee to Brazil, reshaping Portuguese colonial rule and accelerating Brazil’s path to independence.
-
D.
Second Portuguese campaign of the Peninsular War
The Second Portuguese campaign of the Peninsular War was a 1809 French invasion of Portugal led by Marshal Soult that was decisively reversed by Sir Arthur Wellesley’s counteroffensive, notably including the recapture of Porto.
-
E.
Siege of Almeida (1810–1811)
The Siege of Almeida (1810–1811) was a key episode in the Peninsular War in which French forces captured the strategically important Portuguese fortress town of Almeida from the Anglo-Portuguese defenders.
- F. None of above.
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Provenance (2 batches)
The batch behind each pipeline step, in order, with when it ran. Timestamps are batch-level — stages were processed in waves, so the object chain (NER → NED1 → NEDg → NED2) reads in order, but predicate / elicitation batches can sit in a different wave.
| Step | Stage | Batch ID | Status | When |
|---|---|---|---|---|
| creating | Elicitation | batch_69e0b4c589c08190834fb5d86d0efa2b |
completed | April 16, 2026, 10:07 a.m. |
| NER | Named-entity recognition | batch_69e6c1ec9820819093a07f90503686b2 |
completed | April 21, 2026, 12:16 a.m. |
Created at: April 16, 2026, 12:30 p.m.