Triple
T22341616
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Afonso of Portugal (son of Peter I and Inês de Castro) |
E552287
|
entity |
| Predicate | relative |
P37
|
FINISHED |
| Object | Denis of Portugal (son of Peter I and Inês de Castro) |
—
|
NE NERFINISHED |
How this triple was built (2 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: Denis of Portugal (son of Peter I and Inês de Castro) | Statement: [Afonso of Portugal (son of Peter I and Inês de Castro), relative, Denis 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: Denis of Portugal (son of Peter I and Inês de Castro) Context triple: [Afonso of Portugal (son of Peter I and Inês de Castro), relative, Denis 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.
John of Portugal (son of Peter I and Inês de Castro)
chosen
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.
-
C.
Denis of Portugal
Denis of Portugal was a 13th–14th century Portuguese king known for strengthening the kingdom’s administration, promoting agriculture and trade, and fostering the development of the Portuguese language and culture.
-
D.
King Denis of Portugal
King Denis of Portugal was a 13th–14th century Portuguese monarch known for consolidating royal power, promoting agriculture and education, and fostering the development of the Portuguese language and literature.
-
E.
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.
- F. None of above.
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Provenance (2 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_69e11e494eec81909c4d2d51f69499d9 |
completed | April 16, 2026, 5:37 p.m. |
| NER | Named-entity recognition | batch_69f15794fae48190a2b79e9ae4b57bb1 |
completed | April 29, 2026, 12:57 a.m. |
Created at: April 16, 2026, 8:43 p.m.