Triple

T3479900
Position Surface form Disambiguated ID Type / Status
Subject Almoravid dynasty E73463 entity
Predicate notableBattle P259 FINISHED
Object Battle of Ourique
The Battle of Ourique was a pivotal 1139 victory of the Portuguese forces over Muslim armies that became a foundational legend in the emergence of the Kingdom of Portugal and the rule of Afonso I.
E364671 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 Ourique | Statement: [Almoravid dynasty, notableBattle, Battle of Ourique]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Battle of Ourique
Context triple: [Almoravid dynasty, notableBattle, Battle of Ourique]
  • A. 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.
  • B. 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.
  • 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 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.
  • 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 Ourique
Triple: [Almoravid dynasty, notableBattle, Battle of Ourique]
Generated description
The Battle of Ourique was a pivotal 1139 victory of the Portuguese forces over Muslim armies that became a foundational legend in the emergence of the Kingdom of Portugal and the rule of Afonso I.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Battle of Ourique
Target entity description: The Battle of Ourique was a pivotal 1139 victory of the Portuguese forces over Muslim armies that became a foundational legend in the emergence of the Kingdom of Portugal and the rule of Afonso I.
  • A. 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.
  • B. 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.
  • 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 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.
  • 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_69ad85b3c9b08190857cae74c7f36da9 completed March 8, 2026, 2:20 p.m.
NER Named-entity recognition batch_69adbb7461708190898002fbd1191f34 completed March 8, 2026, 6:09 p.m.
NED1 Entity disambiguation (via context triple) batch_69b37e5efe9c819087fbda6832598c04 completed March 13, 2026, 3:02 a.m.
NEDg Description generation batch_69b37ede876c8190ab8d4b595ebb1af2 completed March 13, 2026, 3:05 a.m.
NED2 Entity disambiguation (via description) batch_69b37f5574b08190bdde80b47f2cb99c completed March 13, 2026, 3:07 a.m.
Created at: March 8, 2026, 3:17 p.m.