Triple
T5889050
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Inês de Castro |
E130940
|
entity |
| Predicate | relative |
P37
|
FINISHED |
| Object | Afonso IV of Portugal |
E373398
|
NE FINISHED |
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: Afonso IV of Portugal | Statement: [Inês de Castro, relative, Afonso IV of Portugal]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Afonso IV of Portugal Context triple: [Inês de Castro, relative, Afonso IV of Portugal]
-
A.
Afonso IV of Portugal
chosen
Afonso IV of Portugal was a 14th-century king of Portugal known for consolidating royal authority, engaging in conflicts with Castile, and overseeing significant developments in Portuguese maritime expansion.
-
B.
Afonso VI of Portugal
Afonso VI of Portugal was a 17th-century king of Portugal whose turbulent reign was marked by mental and physical incapacity, political factionalism, and eventual removal from power in favor of his brother.
-
C.
Afonso III of Portugal
Afonso III of Portugal was a 13th-century Portuguese king known for consolidating royal authority, completing the reconquest of the Algarve, and strengthening the kingdom’s administrative and legal structures.
-
D.
Sancho IV of Portugal
Sancho IV of Portugal was a medieval Portuguese infante and nobleman of the House of Burgundy (also linked to the wider House of Ivrea), known primarily as a royal prince rather than a reigning monarch.
-
E.
Afonso V of Portugal
Afonso V of Portugal was a 15th-century Portuguese king known for his military campaigns in North Africa and for consolidating royal power during the early Age of Discovery.
- F. None of above.
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Provenance (3 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_69c7cb9f421081908b9df22decae8923 |
completed | March 28, 2026, 12:37 p.m. |
Created at: March 22, 2026, 3:58 p.m.