Triple

T5301686
Position Surface form Disambiguated ID Type / Status
Subject Napoleonic invasions of Portugal E119996 entity
Predicate hasPart P35 FINISHED
Object Third French invasion of Portugal
The Third French invasion of Portugal was a 1810–1811 Napoleonic campaign led by Marshal Masséna that was repelled by Anglo-Portuguese forces under Wellington, marking a turning point in the Peninsular War.
E509563 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: Third French invasion of Portugal | Statement: [Napoleonic invasions of Portugal, hasPart, Third French invasion of Portugal]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Third French invasion of Portugal
Context triple: [Napoleonic invasions of Portugal, hasPart, Third French invasion of Portugal]
  • A. 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.
  • B. 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.
  • C. Masséna’s retreat from Portugal
    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.
  • D. Napoleonic invasion of Spain
    The Napoleonic invasion of Spain was the 1808 French military intervention that toppled the Spanish Bourbon monarchy, sparked the Peninsular War, and ignited widespread resistance that reshaped Spanish and European politics.
  • E. Portuguese Restoration War
    The Portuguese Restoration War was a 17th-century conflict (1640–1668) in which Portugal fought to regain and secure its independence from Spanish rule under the House of Habsburg.
  • 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: Third French invasion of Portugal
Triple: [Napoleonic invasions of Portugal, hasPart, Third French invasion of Portugal]
Generated description
The Third French invasion of Portugal was a 1810–1811 Napoleonic campaign led by Marshal Masséna that was repelled by Anglo-Portuguese forces under Wellington, marking a turning point in the Peninsular War.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Third French invasion of Portugal
Target entity description: The Third French invasion of Portugal was a 1810–1811 Napoleonic campaign led by Marshal Masséna that was repelled by Anglo-Portuguese forces under Wellington, marking a turning point in the Peninsular War.
  • A. 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.
  • B. 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.
  • C. 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.
  • D. Napoleonic invasion of Spain
    The Napoleonic invasion of Spain was the 1808 French military intervention that toppled the Spanish Bourbon monarchy, sparked the Peninsular War, and ignited widespread resistance that reshaped Spanish and European politics.
  • E. Portuguese Restoration War
    The Portuguese Restoration War was a 17th-century conflict (1640–1668) in which Portugal fought to regain and secure its independence from Spanish rule under the House of Habsburg.
  • F. None of above.

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_69bd44704be88190acdb2ac481b0ff55 completed March 20, 2026, 12:58 p.m.
NER Named-entity recognition batch_69bd8509f67c8190b2f82a8370301a59 completed March 20, 2026, 5:34 p.m.
NED1 Entity disambiguation (via context triple) batch_69bf21b22be08190ad5d3d6b12b80bcb completed March 21, 2026, 10:54 p.m.
NEDg Description generation batch_69bf221994c48190ab6f9bd827046660 completed March 21, 2026, 10:56 p.m.
NED2 Entity disambiguation (via description) batch_69bf227942c0819099df4b45bed37dbd completed March 21, 2026, 10:58 p.m.
Created at: March 20, 2026, 1:53 p.m.