Triple
T5889042
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Inês de Castro |
E130940
|
entity |
| Predicate | child |
P120
|
FINISHED |
| Object |
John of Portugal (son of Peter I and Inês de Castro)
John of Portugal was an illegitimate 14th-century Portuguese infante, son of King Peter I and Inês de Castro, whose contested status played a role in the dynastic struggles of medieval Portugal.
|
E557360
|
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: John of Portugal (son of Peter I and Inês de Castro) | Statement: [Inês de Castro, child, John 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: John of Portugal (son of Peter I and Inês de Castro) Context triple: [Inês de Castro, child, John of Portugal (son of Peter I and Inês de Castro)]
-
A.
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.
-
B.
Infante John, Duke of Viseu
Infante John, Duke of Viseu was a 15th-century Portuguese prince of the Avis dynasty who held several prominent noble titles and played a key role in the politics of late medieval Portugal.
-
C.
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.
-
D.
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.
-
E.
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.
- 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: John of Portugal (son of Peter I and Inês de Castro) Triple: [Inês de Castro, child, John of Portugal (son of Peter I and Inês de Castro)]
Generated description
John of Portugal was an illegitimate 14th-century Portuguese infante, son of King Peter I and Inês de Castro, whose contested status played a role in the dynastic struggles of medieval Portugal.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: John of Portugal (son of Peter I and Inês de Castro) Target entity description: John of Portugal was an illegitimate 14th-century Portuguese infante, son of King Peter I and Inês de Castro, whose contested status played a role in the dynastic struggles of medieval Portugal.
-
A.
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.
-
B.
Infante John, Duke of Viseu
Infante John, Duke of Viseu was a 15th-century Portuguese prince of the Avis dynasty who held several prominent noble titles and played a key role in the politics of late medieval Portugal.
-
C.
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.
-
D.
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.
-
E.
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.
- 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_69c0bff9ecdc819098823b003cec66a2 |
completed | March 23, 2026, 4:22 a.m. |
| NEDg | Description generation | batch_69c0c4ca7bf881908935b981ebf9ba94 |
completed | March 23, 2026, 4:42 a.m. |
| NED2 | Entity disambiguation (via description) | batch_69c0c529138081908211388c1d002650 |
completed | March 23, 2026, 4:44 a.m. |
Created at: March 22, 2026, 3:58 p.m.