Triple
T12485941
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Battle of the Lines of Elvas |
E298431
|
entity |
| Predicate | category |
P87
|
FINISHED |
| Object | Battles of the Portuguese Restoration War |
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: Battles of the Portuguese Restoration War | Statement: [Battle of the Lines of Elvas, category, Battles of the Portuguese Restoration War]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Battles of the Portuguese Restoration War Context triple: [Battle of the Lines of Elvas, category, Battles of the Portuguese Restoration War]
-
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 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.
-
C.
Battle of Oporto
The Battle of Oporto was a 1809 Peninsular War engagement in which British and Portuguese forces under Arthur Wellesley drove Marshal Nicolas Soult’s French army from the Portuguese city of Porto.
-
D.
Portuguese Restoration War
The Portuguese Restoration War was a 17th-century conflict (1640–1668) in which Portugal fought to regain and secure its independence from Spanish rule under the House of Habsburg.
-
E.
Portugal campaign of the Seven Years' War
The Portugal campaign of the Seven Years' War was a 1762 military conflict in which Britain and Portugal successfully defended Portuguese territory against a Spanish-French invasion as part of the wider global Seven Years' War.
- 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_69d6ada377208190a36011199a4d8558 |
completed | April 8, 2026, 7:33 p.m. |
| NER | Named-entity recognition | batch_69d94ddf0b6c8190aff4fe267d8f6efe |
completed | April 10, 2026, 7:22 p.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69f6556c8e4c8190aa7df1defb4cce78 |
completed | May 2, 2026, 7:50 p.m. |
Created at: April 8, 2026, 9:56 p.m.