Triple

T22671819
Position Surface form Disambiguated ID Type / Status
Subject Miranda do Douro E560235 entity
Predicate hasLandmark P105 FINISHED
Object Miranda do Douro Castle (ruins)
Miranda do Douro Castle (ruins) is the remains of a medieval fortress in northeastern Portugal that once defended the border town of Miranda do Douro.
E1548689 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 Castle (ruins) | Statement: [Miranda do Douro, hasLandmark, Miranda do Douro Castle (ruins)]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Miranda do Douro Castle (ruins)
Context triple: [Miranda do Douro, hasLandmark, Miranda do Douro Castle (ruins)]
  • A. Guimarães Castle
    Guimarães Castle is a medieval fortress in northern Portugal, renowned as a symbol of the nation’s origins and one of its most important historical monuments.
  • B. Alcobaça Castle ruins
    Alcobaça Castle ruins are the remains of a medieval hilltop fortress in Alcobaça, Portugal, offering historic architecture and panoramic views that attract many visitors.
  • C. Montemor-o-Velho Castle
    Montemor-o-Velho Castle is a medieval hilltop fortress in central Portugal, notable for its well-preserved walls and strategic views over the Mondego River valley.
  • D. Lamego Castle
    Lamego Castle is a medieval fortress in northern Portugal known for its well-preserved walls and hilltop views over the historic city of Lamego.
  • E. Marvão Castle
    Marvão Castle is a medieval hilltop fortress in Portugal renowned for its well-preserved walls and panoramic views over the surrounding Alentejo region.
  • 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 Castle (ruins)
Triple: [Miranda do Douro, hasLandmark, Miranda do Douro Castle (ruins)]
Generated description
Miranda do Douro Castle (ruins) is the remains of a medieval fortress in northeastern Portugal that once defended the border town of Miranda do Douro.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Miranda do Douro Castle (ruins)
Target entity description: Miranda do Douro Castle (ruins) is the remains of a medieval fortress in northeastern Portugal that once defended the border town of Miranda do Douro.
  • A. Guimarães Castle
    Guimarães Castle is a medieval fortress in northern Portugal, renowned as a symbol of the nation’s origins and one of its most important historical monuments.
  • B. Alcobaça Castle ruins
    Alcobaça Castle ruins are the remains of a medieval hilltop fortress in Alcobaça, Portugal, offering historic architecture and panoramic views that attract many visitors.
  • C. Montemor-o-Velho Castle
    Montemor-o-Velho Castle is a medieval hilltop fortress in central Portugal, notable for its well-preserved walls and strategic views over the Mondego River valley.
  • D. Lamego Castle
    Lamego Castle is a medieval fortress in northern Portugal known for its well-preserved walls and hilltop views over the historic city of Lamego.
  • E. Marvão Castle
    Marvão Castle is a medieval hilltop fortress in Portugal renowned for its well-preserved walls and panoramic views over the surrounding Alentejo region.
  • 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_69e2454bfd00819099115715a22cb057 completed April 17, 2026, 2:35 p.m.
NER Named-entity recognition batch_69f17820a8088190bc0ce907adf95863 completed April 29, 2026, 3:16 a.m.
NED1 Entity disambiguation (via context triple) batch_6a0b73ed2d588190a9d9382c11fbb1a5 completed May 18, 2026, 8:17 p.m.
NEDg Description generation batch_6a0b7505c99081908a9faac30451e6e8 completed May 18, 2026, 8:22 p.m.
NED2 Entity disambiguation (via description) batch_6a0b761510b48190a09722be3fca7e93 completed May 18, 2026, 8:27 p.m.
Created at: April 17, 2026, 3:10 p.m.