Triple
T12485933
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Battle of the Lines of Elvas |
E298431
|
entity |
| Predicate | precededBy |
P97
|
FINISHED |
| Object | Battle of the Lines of Elvas campaign of 1658–1659 |
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 campaign of 1658–1659 | Statement: [Battle of the Lines of Elvas, precededBy, Battle of the Lines of Elvas campaign of 1658–1659]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Battle of the Lines of Elvas campaign of 1658–1659 Context triple: [Battle of the Lines of Elvas, precededBy, Battle of the Lines of Elvas campaign of 1658–1659]
-
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 Alcântara (1580)
The Battle of Alcântara (1580) was a decisive engagement in the Portuguese succession crisis in which Spanish forces defeated supporters of António, Prior of Crato, paving the way for the Iberian Union under Philip II of Spain.
-
C.
Battle of Leiria (1580)
The Battle of Leiria (1580) was an engagement in the Portuguese succession crisis in which forces loyal to rival claimants to the Portuguese throne clashed shortly before the decisive Battle of Alcântara.
-
D.
Siege of Porto
The Siege of Porto was a key 1832–1833 military confrontation in northern Portugal during the Liberal Wars, in which liberal forces defending the city withstood a prolonged encirclement by absolutist troops.
-
E.
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.
- 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_69f63f2b5ed481909ead4f5b96d44064 |
completed | May 2, 2026, 6:15 p.m. |
Created at: April 8, 2026, 9:56 p.m.