Triple

T10709856
Position Surface form Disambiguated ID Type / Status
Subject Afonso I of Portugal E252501 entity
Predicate significantEvent P259 FINISHED
Object Battle of São Mamede
The Battle of São Mamede was a pivotal 1128 conflict near Guimarães in which Afonso Henriques asserted power over his mother’s faction, setting the stage for his rule as Afonso I and the emergence of Portugal as an independent kingdom.
E881567 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 São Mamede | Statement: [Afonso I of Portugal, significantEvent, Battle of São Mamede]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Battle of São Mamede
Context triple: [Afonso I of Portugal, significantEvent, Battle of São Mamede]
  • A. Battle of Aljubarrota
    The Battle of Aljubarrota was a decisive 1385 clash in which Portuguese forces, allied with England, defeated Castile and secured Portugal’s independence and the Aviz dynasty’s rule.
  • B. 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.
  • C. 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.
  • D. 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.
  • E. 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.
  • 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 São Mamede
Triple: [Afonso I of Portugal, significantEvent, Battle of São Mamede]
Generated description
The Battle of São Mamede was a pivotal 1128 conflict near Guimarães in which Afonso Henriques asserted power over his mother’s faction, setting the stage for his rule as Afonso I and the emergence of Portugal as an independent kingdom.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Battle of São Mamede
Target entity description: The Battle of São Mamede was a pivotal 1128 conflict near Guimarães in which Afonso Henriques asserted power over his mother’s faction, setting the stage for his rule as Afonso I and the emergence of Portugal as an independent kingdom.
  • A. Battle of Aljubarrota
    The Battle of Aljubarrota was a decisive 1385 clash in which Portuguese forces, allied with England, defeated Castile and secured Portugal’s independence and the Aviz dynasty’s rule.
  • B. 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.
  • C. 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.
  • D. 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.
  • E. 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.
  • 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_69d6aa5cbabc8190973e683950d89faf completed April 8, 2026, 7:19 p.m.
NER Named-entity recognition batch_69d6fe515b1081909532a20b61ff6cf0 completed April 9, 2026, 1:18 a.m.
NED1 Entity disambiguation (via context triple) batch_69dbad1ac3948190a97ab52fa9d962ad completed April 12, 2026, 2:32 p.m.
NEDg Description generation batch_69dbaeb211088190a9118c71918584e5 completed April 12, 2026, 2:39 p.m.
NED2 Entity disambiguation (via description) batch_69dbaf7c999c819097a8cdf5bd82f648 completed April 12, 2026, 2:43 p.m.
Created at: April 8, 2026, 9:13 p.m.