Triple
T5975363
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Miranda do Douro |
E132971
|
entity |
| Predicate | hasSettlement |
P1068
|
FINISHED |
| Object |
Miranda do Douro (city)
Miranda do Douro (city) is a historic Portuguese city in the northeastern region of Trás-os-Montes, known for its medieval architecture, location on the Douro River near the Spanish border, and preservation of the Mirandese language.
|
E560235
|
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: Miranda do Douro (city) | Statement: [Miranda do Douro, hasSettlement, Miranda do Douro (city)]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Miranda do Douro (city) Context triple: [Miranda do Douro, hasSettlement, Miranda do Douro (city)]
-
A.
Guimarães
Guimarães is a historic city in northern Portugal often regarded as the birthplace of the Portuguese nation and known for its well-preserved medieval center.
-
B.
Viana do Castelo
Viana do Castelo is a historic coastal city in northern Portugal, known for its maritime heritage, medieval architecture, and the hilltop Sanctuary of Santa Luzia overlooking the Atlantic Ocean.
-
C.
Caldas da Rainha
Caldas da Rainha is a historic spa and market city in western Portugal, renowned for its thermal baths, ceramics tradition, and proximity to the Atlantic coast.
-
D.
Porto
Porto is a small coastal town in western Corsica, France, known as the main gateway to the scenic Gulf of Porto and its surrounding natural reserves and rock formations.
-
E.
Porto
Porto is Portugal’s second-largest city, renowned for its historic riverside district, rich maritime heritage, and production of port wine.
- 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: Miranda do Douro (city) Triple: [Miranda do Douro, hasSettlement, Miranda do Douro (city)]
Generated description
Miranda do Douro (city) is a historic Portuguese city in the northeastern region of Trás-os-Montes, known for its medieval architecture, location on the Douro River near the Spanish border, and preservation of the Mirandese language.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: Miranda do Douro (city) Target entity description: Miranda do Douro (city) is a historic Portuguese city in the northeastern region of Trás-os-Montes, known for its medieval architecture, location on the Douro River near the Spanish border, and preservation of the Mirandese language.
-
A.
Guimarães
Guimarães is a historic city in northern Portugal often regarded as the birthplace of the Portuguese nation and known for its well-preserved medieval center.
-
B.
Viana do Castelo
Viana do Castelo is a historic coastal city in northern Portugal, known for its maritime heritage, medieval architecture, and the hilltop Sanctuary of Santa Luzia overlooking the Atlantic Ocean.
-
C.
Caldas da Rainha
Caldas da Rainha is a historic spa and market city in western Portugal, renowned for its thermal baths, ceramics tradition, and proximity to the Atlantic coast.
-
D.
Porto
Porto is a small coastal town in western Corsica, France, known as the main gateway to the scenic Gulf of Porto and its surrounding natural reserves and rock formations.
-
E.
Porto
Porto is Portugal’s second-largest city, renowned for its historic riverside district, rich maritime heritage, and production of port wine.
- 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_69c0086deab081908550159ca23eec9b |
completed | March 22, 2026, 3:19 p.m. |
| NER | Named-entity recognition | batch_69c04a39c9d08190a78e1e3268584eb5 |
completed | March 22, 2026, 7:59 p.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69c0e41459c88190a9e0ee0321946e57 |
completed | March 23, 2026, 6:56 a.m. |
| NEDg | Description generation | batch_69c0f70f5af08190a42233eaf6fbf736 |
completed | March 23, 2026, 8:17 a.m. |
| NED2 | Entity disambiguation (via description) | batch_69c0f8c533f881908a4f7d84a7e8ee31 |
completed | March 23, 2026, 8:24 a.m. |
Created at: March 22, 2026, 4:04 p.m.