Triple
T11183918
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Abu Yaqub Yusuf |
E264610
|
entity |
| Predicate | notableBattle |
P259
|
FINISHED |
| Object |
siege of Santarem
The siege of Santarém was a major 12th-century military engagement in the Iberian Peninsula, in which Almohad forces under Caliph Abu Yaqub Yusuf attempted to capture the strategically important Portuguese city of Santarém.
|
E910213
|
NE FINISHED |
How this triple was built (4 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: siege of Santarem | Statement: [Abu Yaqub Yusuf, notableBattle, siege of Santarem]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: siege of Santarem Context triple: [Abu Yaqub Yusuf, notableBattle, siege of Santarem]
-
A.
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.
-
B.
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.
-
C.
Battle of the Lines of Elvas
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.
-
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 São Mamede
The Battle of São Mamede was a pivotal 1128 conflict near Guimarães in which Afonso Henriques asserted power over his mother’s faction, setting the stage for his rule as Afonso I and the emergence of Portugal as an independent kingdom.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NEDg
Description generation
gpt-5.1
Instruction
Generate a one-sentence description of the target entity. You are given a context triple in the form (subject, predicate, object), where the object is the target entity. # Instructions Use the triple to infer relevant information about the entity. Describe the entity based on what is most defining, well-known. Avoid repeating the information from the triple, unless really essential. # Response Format Return only the sentence: "Description: [one-sentence description of the target entity]"
Input
Entity: siege of Santarem Triple: [Abu Yaqub Yusuf, notableBattle, siege of Santarem]
Generated description
The siege of Santarém was a major 12th-century military engagement in the Iberian Peninsula, in which Almohad forces under Caliph Abu Yaqub Yusuf attempted to capture the strategically important Portuguese city of Santarém.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: siege of Santarem Target entity description: The siege of Santarém was a major 12th-century military engagement in the Iberian Peninsula, in which Almohad forces under Caliph Abu Yaqub Yusuf attempted to capture the strategically important Portuguese city of Santarém.
-
A.
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.
-
B.
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.
-
C.
Battle of the Lines of Elvas
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.
-
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 São Mamede
The Battle of São Mamede was a pivotal 1128 conflict near Guimarães in which Afonso Henriques asserted power over his mother’s faction, setting the stage for his rule as Afonso I and the emergence of Portugal as an independent kingdom.
- F. None of above. chosen
Provenance (5 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_69d6aa9dafac8190bd90d2c74f661aa7 |
completed | April 8, 2026, 7:21 p.m. |
| NER | Named-entity recognition | batch_69d7e8a9c5e081908c85b41a268428fb |
completed | April 9, 2026, 5:58 p.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69e483c1b4f88190b7c38b254d37c7fb |
completed | April 19, 2026, 7:26 a.m. |
| NEDg | Description generation | batch_69e48717c35481908fb05597084167e7 |
completed | April 19, 2026, 7:41 a.m. |
| NED2 | Entity disambiguation (via description) | batch_69e48875faa88190af33654e6d9a708b |
completed | April 19, 2026, 7:47 a.m. |
Created at: April 8, 2026, 9:29 p.m.