Triple
T3533958
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Restoration War |
E74724
|
entity |
| Predicate | significantEvent |
P259
|
FINISHED |
| Object | Battle of the Lines of Elvas |
E298431
|
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: Battle of the Lines of Elvas | Statement: [Restoration War, significantEvent, Battle of the Lines of Elvas]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Battle of the Lines of Elvas Context triple: [Restoration War, significantEvent, Battle of the Lines of Elvas]
-
A.
Battle of the Lines of Elvas
chosen
The Battle of the Lines of Elvas was a decisive 1659 engagement in which Portuguese forces successfully lifted a Spanish siege of Elvas, helping secure Portugal’s independence during the Restoration War.
-
B.
Battle of Castelo Rodrigo
The Battle of Castelo Rodrigo was a 1664 engagement in which Portuguese forces decisively defeated a larger Spanish army, helping secure Portugal’s independence during the Restoration War.
-
C.
Battle of Valdevez
The Battle of Valdevez was a 12th-century confrontation between the Kingdom of León and the emerging Kingdom of Portugal that helped solidify Portuguese autonomy and contributed to its eventual recognition as an independent kingdom.
-
D.
Battle of Aljubarrota
The Battle of Aljubarrota was a decisive 1385 clash in which Portuguese forces, allied with England, defeated Castile and secured Portugal’s independence and the Aviz dynasty’s rule.
-
E.
Battle of Ourique
The Battle of Ourique was a pivotal 1139 victory of the Portuguese forces over Muslim armies that became a foundational legend in the emergence of the Kingdom of Portugal and the rule of Afonso I.
- 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_69ad85d1a3948190931fd1ea1f49717b |
completed | March 8, 2026, 2:21 p.m. |
| NER | Named-entity recognition | batch_69adbc9cff5c81909011f34c9bf28e11 |
completed | March 8, 2026, 6:14 p.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69b432fab6d48190b13076783a62b96f |
completed | March 13, 2026, 3:53 p.m. |
Created at: March 8, 2026, 3:19 p.m.