Triple
T10144168
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Battle of Valdevez |
E231660
|
entity |
| Predicate | belligerent |
P375
|
FINISHED |
| Object |
County of Portugal
The County of Portugal was a medieval political entity in the northwest of the Iberian Peninsula that served as the precursor to the Kingdom of Portugal.
|
E844707
|
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: County of Portugal | Statement: [Battle of Valdevez, belligerent, County of Portugal]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: County of Portugal Context triple: [Battle of Valdevez, belligerent, County of Portugal]
-
A.
mainland Portugal
Mainland Portugal is the continental part of the Portuguese Republic in southwestern Europe, comprising the country’s primary territory on the Iberian Peninsula.
-
B.
Kingdom of the Algarves
The Kingdom of the Algarves was the historical name for the southernmost region of Portugal, long styled as a separate kingdom in the full royal title of the Portuguese monarchs.
-
C.
Alverca do Ribatejo, Portugal
Alverca do Ribatejo is a suburban city in the Lisbon metropolitan area of Portugal, known for its industrial activity and proximity to the Tagus River.
-
D.
Kingdom of Portugal
The Kingdom of Portugal was a historic sovereign state in Western Europe that emerged in the 12th century and became a major maritime and colonial power during the Age of Discovery.
-
E.
Portuguese state
The Portuguese state is the sovereign national government of Portugal, responsible for administering the country’s public affairs, economy, and legal system.
- 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: County of Portugal Triple: [Battle of Valdevez, belligerent, County of Portugal]
Generated description
The County of Portugal was a medieval political entity in the northwest of the Iberian Peninsula that served as the precursor to the Kingdom of Portugal.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: County of Portugal Target entity description: The County of Portugal was a medieval political entity in the northwest of the Iberian Peninsula that served as the precursor to the Kingdom of Portugal.
-
A.
mainland Portugal
Mainland Portugal is the continental part of the Portuguese Republic in southwestern Europe, comprising the country’s primary territory on the Iberian Peninsula.
-
B.
Kingdom of the Algarves
The Kingdom of the Algarves was the historical name for the southernmost region of Portugal, long styled as a separate kingdom in the full royal title of the Portuguese monarchs.
-
C.
Alverca do Ribatejo, Portugal
Alverca do Ribatejo is a suburban city in the Lisbon metropolitan area of Portugal, known for its industrial activity and proximity to the Tagus River.
-
D.
Kingdom of Portugal
The Kingdom of Portugal was a historic sovereign state in Western Europe that emerged in the 12th century and became a major maritime and colonial power during the Age of Discovery.
-
E.
Portuguese state
The Portuguese state is the sovereign national government of Portugal, responsible for administering the country’s public affairs, economy, and legal system.
- 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_69ca848364f881908a24366a6feec1db |
completed | March 30, 2026, 2:11 p.m. |
| NER | Named-entity recognition | batch_69cdeb28a1708190b46499dbe51a694a |
completed | April 2, 2026, 4:06 a.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69d2e618b0bc8190bc1d6f15dac2708e |
completed | April 5, 2026, 10:45 p.m. |
| NEDg | Description generation | batch_69d2e866cc4881909b5f4d1502a69885 |
completed | April 5, 2026, 10:55 p.m. |
| NED2 | Entity disambiguation (via description) | batch_69d2e91061248190a7f9022c26daba0e |
completed | April 5, 2026, 10:58 p.m. |
Created at: March 30, 2026, 9:07 p.m.