Triple

T5889040
Position Surface form Disambiguated ID Type / Status
Subject Inês de Castro E130940 entity
Predicate child P120 FINISHED
Object Afonso of Portugal (son of Peter I and Inês de Castro)
Afonso of Portugal was an infante (prince) of 14th-century Portugal, notable primarily as the posthumously recognized son of King Peter I and his tragic lover-queen Inês de Castro.
E552287 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: Afonso of Portugal (son of Peter I and Inês de Castro) | Statement: [Inês de Castro, child, Afonso of Portugal (son of Peter I and Inês de Castro)]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Afonso of Portugal (son of Peter I and Inês de Castro)
Context triple: [Inês de Castro, child, Afonso of Portugal (son of Peter I and Inês de Castro)]
  • A. Infante Peter of Portugal
    Infante Peter of Portugal was an 18th-century Portuguese prince of the House of Braganza, notable as a younger son of King John V and a prominent member of the royal family.
  • B. Afonso, Prince of Portugal
    Afonso, Prince of Portugal was the eldest son and heir apparent of King John III of Portugal, whose early death prevented him from ascending the throne.
  • C. Infante Duarte, Duke of Guimarães
    Infante Duarte, Duke of Guimarães, was a 16th-century Portuguese infante of the House of Aviz and a prominent nobleman closely connected to the royal succession.
  • D. Infante Peter, Duke of Coimbra
    Infante Peter, Duke of Coimbra was a 15th-century Portuguese prince, statesman, and regent of Portugal known for his role in governance and support of early Portuguese exploration.
  • E. John Manuel, Prince of Portugal
    John Manuel, Prince of Portugal was a 16th-century Portuguese infante and heir apparent to the throne whose early death prevented him from becoming king.
  • 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: Afonso of Portugal (son of Peter I and Inês de Castro)
Triple: [Inês de Castro, child, Afonso of Portugal (son of Peter I and Inês de Castro)]
Generated description
Afonso of Portugal was an infante (prince) of 14th-century Portugal, notable primarily as the posthumously recognized son of King Peter I and his tragic lover-queen Inês de Castro.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Afonso of Portugal (son of Peter I and Inês de Castro)
Target entity description: Afonso of Portugal was an infante (prince) of 14th-century Portugal, notable primarily as the posthumously recognized son of King Peter I and his tragic lover-queen Inês de Castro.
  • A. Infante Peter of Portugal
    Infante Peter of Portugal was an 18th-century Portuguese prince of the House of Braganza, notable as a younger son of King John V and a prominent member of the royal family.
  • B. Afonso, Prince of Portugal
    Afonso, Prince of Portugal was the eldest son and heir apparent of King John III of Portugal, whose early death prevented him from ascending the throne.
  • C. Infante Duarte, Duke of Guimarães
    Infante Duarte, Duke of Guimarães, was a 16th-century Portuguese infante of the House of Aviz and a prominent nobleman closely connected to the royal succession.
  • D. Infante Peter, Duke of Coimbra
    Infante Peter, Duke of Coimbra was a 15th-century Portuguese prince, statesman, and regent of Portugal known for his role in governance and support of early Portuguese exploration.
  • E. John Manuel, Prince of Portugal
    John Manuel, Prince of Portugal was a 16th-century Portuguese infante and heir apparent to the throne whose early death prevented him from becoming king.
  • 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_69c0085628dc8190b334c1b44c067efc completed March 22, 2026, 3:18 p.m.
NER Named-entity recognition batch_69c036b0993081908c239dd2901e6bbe completed March 22, 2026, 6:36 p.m.
NED1 Entity disambiguation (via context triple) batch_69c0b146ad348190baeeecb65f2bf811 completed March 23, 2026, 3:19 a.m.
NEDg Description generation batch_69c0b2178dc48190948397b948dd1970 completed March 23, 2026, 3:23 a.m.
NED2 Entity disambiguation (via description) batch_69c0b29d6048819086c4d4cd01c64a51 completed March 23, 2026, 3:25 a.m.
Created at: March 22, 2026, 3:58 p.m.