Triple

T5301685
Position Surface form Disambiguated ID Type / Status
Subject Napoleonic invasions of Portugal E119996 entity
Predicate hasPart P35 FINISHED
Object Second French invasion of Portugal
The Second French invasion of Portugal was a 1809 Napoleonic campaign in the Peninsular War, led by Marshal Soult, that sought to reassert French control over Portugal but was ultimately repelled by Anglo-Portuguese forces.
E119996 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 French invasion of Portugal | Statement: [Napoleonic invasions of Portugal, hasPart, Second French invasion of Portugal]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Second French invasion of Portugal
Context triple: [Napoleonic invasions of Portugal, hasPart, Second 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. 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.
  • D. 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.
  • E. French invasion of northern Spain (1719)
    The French invasion of northern Spain in 1719 was a military campaign during the War of the Quadruple Alliance in which French forces crossed the Pyrenees to pressure Philip V of Spain into abandoning his expansionist ambitions in Italy.
  • 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 French invasion of Portugal
Triple: [Napoleonic invasions of Portugal, hasPart, Second French invasion of Portugal]
Generated description
The Second French invasion of Portugal was a 1809 Napoleonic campaign in the Peninsular War, led by Marshal Soult, that sought to reassert French control over Portugal but was ultimately repelled by Anglo-Portuguese forces.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Second French invasion of Portugal
Target entity description: The Second French invasion of Portugal was a 1809 Napoleonic campaign in the Peninsular War, led by Marshal Soult, that sought to reassert French control over Portugal but was ultimately repelled by Anglo-Portuguese forces.
  • A. Napoleonic invasions of Portugal chosen
    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. 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.
  • D. 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.
  • E. French invasion of northern Spain (1719)
    The French invasion of northern Spain in 1719 was a military campaign during the War of the Quadruple Alliance in which French forces crossed the Pyrenees to pressure Philip V of Spain into abandoning his expansionist ambitions in Italy.
  • 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_69bf188394ec81909a03afe92750e9c1 completed March 21, 2026, 10:15 p.m.
NEDg Description generation batch_69bf1c6c84b481909c7e650c58961bd7 completed March 21, 2026, 10:32 p.m.
NED2 Entity disambiguation (via description) batch_69bf1cce6f9881908499ac380f183ffb completed March 21, 2026, 10:33 p.m.
Created at: March 20, 2026, 1:53 p.m.