Triple

T17071372
Position Surface form Disambiguated ID Type / Status
Subject Battle of Rio Salado E414228 entity
Predicate combatantSide P375 FINISHED
Object Castile–Portugal alliance
The Castile–Portugal alliance was a medieval military partnership between the kingdoms of Castile and Portugal, formed to coordinate their efforts against Muslim powers on the Iberian Peninsula and in North Africa.
E1249460 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: Castile–Portugal alliance | Statement: [Battle of Rio Salado, combatantSide, Castile–Portugal alliance]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Castile–Portugal alliance
Context triple: [Battle of Rio Salado, combatantSide, Castile–Portugal alliance]
  • A. Franco-Castilian alliance
    The Franco-Castilian alliance was a 14th-century military and political partnership between France and Castile that played a key role in the conflicts of the Hundred Years’ War, particularly in opposing English-backed forces on the Iberian Peninsula.
  • B. Iberian Union
    The Iberian Union was the dynastic union of the Spanish and Portuguese crowns under a single monarch from 1580 to 1640, creating a vast transcontinental Catholic empire.
  • C. Marinid–Nasrid alliance
    The Marinid–Nasrid alliance was a medieval political and military partnership between the Marinid dynasty of Morocco and the Nasrid Emirate of Granada, formed to coordinate resistance against Iberian Christian powers during the Reconquista.
  • D. Pact of Madrid
    The Pact of Madrid was a 1953 agreement between Spain and the United States that ended Spain’s postwar isolation by granting U.S. military bases in exchange for economic and military aid to Francisco Franco’s regime.
  • E. Union of the Crowns of Castile and Aragon
    The Union of the Crowns of Castile and Aragon was the dynastic unification of Spain’s two major medieval kingdoms under the Catholic Monarchs, laying the foundation for the early modern Spanish state.
  • 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: Castile–Portugal alliance
Triple: [Battle of Rio Salado, combatantSide, Castile–Portugal alliance]
Generated description
The Castile–Portugal alliance was a medieval military partnership between the kingdoms of Castile and Portugal, formed to coordinate their efforts against Muslim powers on the Iberian Peninsula and in North Africa.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Castile–Portugal alliance
Target entity description: The Castile–Portugal alliance was a medieval military partnership between the kingdoms of Castile and Portugal, formed to coordinate their efforts against Muslim powers on the Iberian Peninsula and in North Africa.
  • A. Franco-Castilian alliance
    The Franco-Castilian alliance was a 14th-century military and political partnership between France and Castile that played a key role in the conflicts of the Hundred Years’ War, particularly in opposing English-backed forces on the Iberian Peninsula.
  • B. Iberian Union
    The Iberian Union was the dynastic union of the Spanish and Portuguese crowns under a single monarch from 1580 to 1640, creating a vast transcontinental Catholic empire.
  • C. Marinid–Nasrid alliance
    The Marinid–Nasrid alliance was a medieval political and military partnership between the Marinid dynasty of Morocco and the Nasrid Emirate of Granada, formed to coordinate resistance against Iberian Christian powers during the Reconquista.
  • D. Pact of Madrid
    The Pact of Madrid was a 1953 agreement between Spain and the United States that ended Spain’s postwar isolation by granting U.S. military bases in exchange for economic and military aid to Francisco Franco’s regime.
  • E. Union of the Crowns of Castile and Aragon
    The Union of the Crowns of Castile and Aragon was the dynastic unification of Spain’s two major medieval kingdoms under the Catholic Monarchs, laying the foundation for the early modern Spanish state.
  • 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_69d886cef44c8190ba56c44b4e863e64 completed April 10, 2026, 5:12 a.m.
NER Named-entity recognition batch_69e3dbc0982c8190916f9905ddb5e575 completed April 18, 2026, 7:30 p.m.
NED1 Entity disambiguation (via context triple) batch_6a012edbce988190a784448ba8a258a5 completed May 11, 2026, 1:20 a.m.
NEDg Description generation batch_6a012fe2a1b081909483baef845cc2c1 completed May 11, 2026, 1:24 a.m.
NED2 Entity disambiguation (via description) batch_6a0130c2ad9881909d8a8b64ebb59aa6 completed May 11, 2026, 1:28 a.m.
Created at: April 10, 2026, 5:34 a.m.