Triple

T2762032
Position Surface form Disambiguated ID Type / Status
Subject Portuguese Restoration War E61242 entity
Predicate keyEvent P259 FINISHED
Object 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.
E303910 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 Castelo Rodrigo | Statement: [Portuguese Restoration War, keyEvent, Battle of Castelo Rodrigo]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Battle of Castelo Rodrigo
Context triple: [Portuguese Restoration War, keyEvent, Battle of Castelo Rodrigo]
  • 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 Ameixial
    The Battle of Ameixial was a decisive 1663 engagement in which Portuguese forces, aided by English allies, defeated the Spanish army and helped secure Portugal’s independence during the Restoration War.
  • C. 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.
  • D. 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.
  • E. 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.
  • 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 Castelo Rodrigo
Triple: [Portuguese Restoration War, keyEvent, Battle of Castelo Rodrigo]
Generated description
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.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Battle of Castelo Rodrigo
Target entity description: 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.
  • 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 Ameixial
    The Battle of Ameixial was a decisive 1663 engagement in which Portuguese forces, aided by English allies, defeated the Spanish army and helped secure Portugal’s independence during the Restoration War.
  • C. 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.
  • D. 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.
  • E. 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.
  • 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_69afe89b94848190946abef7216339be completed March 10, 2026, 9:47 a.m.
NEDg Description generation batch_69afe92b8c4c8190a91c1e8564f412ad completed March 10, 2026, 9:49 a.m.
NED2 Entity disambiguation (via description) batch_69b008cbabc4819090cc20cf990d16e6 completed March 10, 2026, 12:04 p.m.
Created at: March 6, 2026, 9:57 p.m.