Triple

T20730649
Position Surface form Disambiguated ID Type / Status
Subject Battle of Vimeiro E509562 entity
Predicate precededBy P97 FINISHED
Object Battle of Roliça
The Battle of Roliça was a 1808 engagement in the Peninsular War where British and Portuguese forces under Sir Arthur Wellesley defeated French troops in Portugal, marking the first major British land victory of the campaign against Napoleon.
E1447111 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: Battle of Roliça | Statement: [Battle of Vimeiro, precededBy, Battle of Roliça]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Battle of Roliça
Context triple: [Battle of Vimeiro, precededBy, Battle of Roliça]
  • A. Battle of Valdevez
    The Battle of Valdevez was a 12th-century confrontation between the Kingdom of León and the emerging Kingdom of Portugal that helped solidify Portuguese autonomy and contributed to its eventual recognition as an independent kingdom.
  • B. Battle of Oporto
    The Battle of Oporto was a 1809 Peninsular War engagement in which British and Portuguese forces under Arthur Wellesley drove Marshal Nicolas Soult’s French army from the Portuguese city of Porto.
  • C. Battle of Castelo Rodrigo
    The Battle of Castelo Rodrigo was a 1664 engagement in which Portuguese forces decisively defeated a larger Spanish army, helping secure Portugal’s independence during the Restoration War.
  • D. Battle of Alfarrobeira
    The Battle of Alfarrobeira was a 1449 Portuguese civil conflict in which royal forces defeated and killed the influential infante Peter, Duke of Coimbra, marking a decisive power shift in the kingdom.
  • E. Battle of the Lines of Elvas
    The Battle of the Lines of Elvas was a decisive 1659 engagement in which Portuguese forces successfully lifted a Spanish siege of Elvas, helping secure Portugal’s independence during the Restoration War.
  • 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: Battle of Roliça
Triple: [Battle of Vimeiro, precededBy, Battle of Roliça]
Generated description
The Battle of Roliça was a 1808 engagement in the Peninsular War where British and Portuguese forces under Sir Arthur Wellesley defeated French troops in Portugal, marking the first major British land victory of the campaign against Napoleon.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Battle of Roliça
Target entity description: The Battle of Roliça was a 1808 engagement in the Peninsular War where British and Portuguese forces under Sir Arthur Wellesley defeated French troops in Portugal, marking the first major British land victory of the campaign against Napoleon.
  • A. Battle of Valdevez
    The Battle of Valdevez was a 12th-century confrontation between the Kingdom of León and the emerging Kingdom of Portugal that helped solidify Portuguese autonomy and contributed to its eventual recognition as an independent kingdom.
  • B. Battle of Oporto
    The Battle of Oporto was a 1809 Peninsular War engagement in which British and Portuguese forces under Arthur Wellesley drove Marshal Nicolas Soult’s French army from the Portuguese city of Porto.
  • C. Battle of Castelo Rodrigo
    The Battle of Castelo Rodrigo was a 1664 engagement in which Portuguese forces decisively defeated a larger Spanish army, helping secure Portugal’s independence during the Restoration War.
  • D. Battle of Alfarrobeira
    The Battle of Alfarrobeira was a 1449 Portuguese civil conflict in which royal forces defeated and killed the influential infante Peter, Duke of Coimbra, marking a decisive power shift in the kingdom.
  • E. Battle of the Lines of Elvas
    The Battle of the Lines of Elvas was a decisive 1659 engagement in which Portuguese forces successfully lifted a Spanish siege of Elvas, helping secure Portugal’s independence during the Restoration War.
  • 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_69e0b4c589c08190834fb5d86d0efa2b completed April 16, 2026, 10:07 a.m.
NER Named-entity recognition batch_69e6c1ec9820819093a07f90503686b2 completed April 21, 2026, 12:16 a.m.
NED1 Entity disambiguation (via context triple) batch_6a08e060f4d8819097ca1dc0d59a610c completed May 16, 2026, 9:23 p.m.
NEDg Description generation batch_6a08e170755881909c73ebd2d7b00f0f completed May 16, 2026, 9:28 p.m.
NED2 Entity disambiguation (via description) batch_6a08e1e759ec8190a305662f220a1826 completed May 16, 2026, 9:30 p.m.
Created at: April 16, 2026, 12:30 p.m.