Triple

T2762030
Position Surface form Disambiguated ID Type / Status
Subject Portuguese Restoration War E61242 entity
Predicate keyEvent P259 FINISHED
Object 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.
E298431 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 the Lines of Elvas | Statement: [Portuguese Restoration War, keyEvent, Battle of the Lines of Elvas]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Battle of the Lines of Elvas
Context triple: [Portuguese Restoration War, keyEvent, Battle of the Lines of Elvas]
  • 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 Talavera
    The Battle of Talavera was a major 1809 engagement in the Peninsular War in which British and Spanish forces under Sir Arthur Wellesley checked a French army in central Spain, boosting Allied morale despite heavy casualties and limited strategic gain.
  • C. Battle of Simancas
    The Battle of Simancas was a major 10th-century clash in the Iberian Peninsula in which Christian forces, led chiefly by the Kingdom of León, repelled a large Muslim army from Al-Andalus, marking a significant moment in the Christian–Muslim frontier wars.
  • D. Battle of Toro
    The Battle of Toro was a pivotal 1476 engagement in the War of the Castilian Succession between the forces of Isabella I of Castile and Afonso V of Portugal that helped secure Isabella’s claim to the Castilian throne.
  • E. Battle of Montijo
    The Battle of Montijo was a 1644 engagement in the Portuguese Restoration War in which Portuguese forces fought Spanish troops near Montijo, Spain, helping to affirm Portugal’s renewed independence from Spanish rule.
  • 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 the Lines of Elvas
Triple: [Portuguese Restoration War, keyEvent, Battle of the Lines of Elvas]
Generated description
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.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Battle of the Lines of Elvas
Target entity description: 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.
  • 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 Talavera
    The Battle of Talavera was a major 1809 engagement in the Peninsular War in which British and Spanish forces under Sir Arthur Wellesley checked a French army in central Spain, boosting Allied morale despite heavy casualties and limited strategic gain.
  • C. Battle of Simancas
    The Battle of Simancas was a major 10th-century clash in the Iberian Peninsula in which Christian forces, led chiefly by the Kingdom of León, repelled a large Muslim army from Al-Andalus, marking a significant moment in the Christian–Muslim frontier wars.
  • D. Battle of Toro
    The Battle of Toro was a pivotal 1476 engagement in the War of the Castilian Succession between the forces of Isabella I of Castile and Afonso V of Portugal that helped secure Isabella’s claim to the Castilian throne.
  • E. Battle of Montijo
    The Battle of Montijo was a 1644 engagement in the Portuguese Restoration War in which Portuguese forces fought Spanish troops near Montijo, Spain, helping to affirm Portugal’s renewed independence from Spanish rule.
  • 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_69ab4b7bab6c8190a5c2efef19a8ef34 completed March 6, 2026, 9:47 p.m.
NER Named-entity recognition batch_69abdd5072548190946f037c38aabb02 completed March 7, 2026, 8:09 a.m.
NED1 Entity disambiguation (via context triple) batch_69afc6465fd88190bb14a35395efb6c4 completed March 10, 2026, 7:20 a.m.
NEDg Description generation batch_69afc6e6d4bc81908108fe24677448c3 completed March 10, 2026, 7:23 a.m.
NED2 Entity disambiguation (via description) batch_69afc7907be88190b70458ed735261e8 completed March 10, 2026, 7:26 a.m.
Created at: March 6, 2026, 9:57 p.m.