Triple

T17969328
Position Surface form Disambiguated ID Type / Status
Subject Battle of Oporto E449292 entity
Predicate campaign P1067 FINISHED
Object 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.
E1298603 NE FINISHED

How this triple was built (4 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: Second Portuguese campaign of the Peninsular War | Statement: [Battle of Oporto, campaign, Second Portuguese campaign of the Peninsular War]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Second Portuguese campaign of the Peninsular War
Context triple: [Battle of Oporto, campaign, Second Portuguese campaign of the Peninsular War]
  • A. Andalusian campaign of the Peninsular War
    The Andalusian campaign of the Peninsular War was a major French offensive in southern Spain (1810–1812) aimed at seizing key cities like Seville and Cádiz, marked by both rapid initial advances and stubborn Spanish and British resistance.
  • B. Siege of Badajoz (1812)
    The Siege of Badajoz (1812) was a brutal and strategically crucial Peninsular War assault in which British and Portuguese forces under Wellington captured the heavily fortified Spanish border city from the French, paving the way for later Allied advances into Spain.
  • C. Second Siege of Badajoz (1811)
    The Second Siege of Badajoz (1811) was a failed British-Portuguese attempt during the Peninsular War to capture the heavily fortified Spanish border city of Badajoz from French control.
  • D. Portugal campaign of the Seven Years' War
    The Portugal campaign of the Seven Years' War was a 1762 military conflict in which Britain and Portugal successfully defended Portuguese territory against a Spanish-French invasion as part of the wider global Seven Years' War.
  • E. Siege of Badajoz
    The Siege of Badajoz was a brutal and strategically crucial 1812 British-led assault during the Peninsular War, marked by heavy casualties and notorious post-capture atrocities.
  • F. None of above. chosen
  • G. Unsure - the case is ambiguous/there is not enough information to decide.
NEDg Description generation gpt-5.1
Instruction
Generate a one-sentence description of the target entity. 
You are given a context triple in the form (subject, predicate, object), where the object is the target entity. 
# Instructions
Use the triple to infer relevant information about the entity. Describe the entity based on what is most defining, well-known. 
Avoid repeating the information from the triple, unless really essential.
# Response Format
Return only the sentence: "Description: [one-sentence description of the target entity]"
Input
Entity: Second Portuguese campaign of the Peninsular War
Triple: [Battle of Oporto, campaign, Second Portuguese campaign of the Peninsular War]
Generated description
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.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Second Portuguese campaign of the Peninsular War
Target entity description: 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.
  • A. Andalusian campaign of the Peninsular War
    The Andalusian campaign of the Peninsular War was a major French offensive in southern Spain (1810–1812) aimed at seizing key cities like Seville and Cádiz, marked by both rapid initial advances and stubborn Spanish and British resistance.
  • B. Siege of Badajoz (1812)
    The Siege of Badajoz (1812) was a brutal and strategically crucial Peninsular War assault in which British and Portuguese forces under Wellington captured the heavily fortified Spanish border city from the French, paving the way for later Allied advances into Spain.
  • C. Second Siege of Badajoz (1811)
    The Second Siege of Badajoz (1811) was a failed British-Portuguese attempt during the Peninsular War to capture the heavily fortified Spanish border city of Badajoz from French control.
  • D. Portugal campaign of the Seven Years' War
    The Portugal campaign of the Seven Years' War was a 1762 military conflict in which Britain and Portugal successfully defended Portuguese territory against a Spanish-French invasion as part of the wider global Seven Years' War.
  • E. Siege of Badajoz
    The Siege of Badajoz was a brutal and strategically crucial 1812 British-led assault during the Peninsular War, marked by heavy casualties and notorious post-capture atrocities.
  • F. None of above. chosen

Provenance (5 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_69d8b9f9927c8190a006110c8b996e61 completed April 10, 2026, 8:51 a.m.
NER Named-entity recognition batch_69e4b13b1b088190b7d71006b31e5cc3 completed April 19, 2026, 10:40 a.m.
NED1 Entity disambiguation (via context triple) batch_6a033014063c8190be570c12f169f11d completed May 12, 2026, 1:50 p.m.
NEDg Description generation batch_6a03313620f081909926dea3fc0dd30f completed May 12, 2026, 1:55 p.m.
NED2 Entity disambiguation (via description) batch_6a03322540f48190a2957dba3d902003 completed May 12, 2026, 1:59 p.m.
Created at: April 10, 2026, 10:22 a.m.