Triple

T10416923
Position Surface form Disambiguated ID Type / Status
Subject Leiria E245541 entity
Predicate hasLandmark P105 FINISHED
Object Leiria Castle
Leiria Castle is a medieval hilltop fortress in central Portugal, notable for its well-preserved walls, towers, and panoramic views over the city of Leiria.
E862285 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: Leiria Castle | Statement: [Leiria, hasLandmark, Leiria Castle]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Leiria Castle
Context triple: [Leiria, hasLandmark, Leiria Castle]
  • 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. Portalegre Castle
    Portalegre Castle is a historic medieval fortress in the city of Portalegre, Portugal, known for its well-preserved walls and role in regional defense.
  • C. Bragança Castle
    Bragança Castle is a well-preserved medieval fortress in northeastern Portugal, notable for its imposing keep and role in the region’s historical defense.
  • D. Castelo de Vide
    Castelo de Vide is a historic hilltop town in Portugal’s Alentejo region, known for its well-preserved medieval castle and Jewish quarter.
  • E. São Jorge Castle
    São Jorge Castle is a historic Moorish-era fortress and popular viewpoint overlooking central Lisbon and the Tagus River.
  • 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: Leiria Castle
Triple: [Leiria, hasLandmark, Leiria Castle]
Generated description
Leiria Castle is a medieval hilltop fortress in central Portugal, notable for its well-preserved walls, towers, and panoramic views over the city of Leiria.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Leiria Castle
Target entity description: Leiria Castle is a medieval hilltop fortress in central Portugal, notable for its well-preserved walls, towers, and panoramic views over the city of Leiria.
  • 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. Portalegre Castle
    Portalegre Castle is a historic medieval fortress in the city of Portalegre, Portugal, known for its well-preserved walls and role in regional defense.
  • C. Bragança Castle
    Bragança Castle is a well-preserved medieval fortress in northeastern Portugal, notable for its imposing keep and role in the region’s historical defense.
  • D. Castelo de Vide
    Castelo de Vide is a historic hilltop town in Portugal’s Alentejo region, known for its well-preserved medieval castle and Jewish quarter.
  • E. São Jorge Castle
    São Jorge Castle is a historic Moorish-era fortress and popular viewpoint overlooking central Lisbon and the Tagus River.
  • 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_69d381be340c8190b05998703d42d224 completed April 6, 2026, 9:49 a.m.
NER Named-entity recognition batch_69d4ea1194e08190a18c3b3002147493 completed April 7, 2026, 11:27 a.m.
NED1 Entity disambiguation (via context triple) batch_69d7fc0dd480819082edcc49a245ad4f completed April 9, 2026, 7:20 p.m.
NEDg Description generation batch_69d822d6a0188190a7ee6de5aab50486 completed April 9, 2026, 10:06 p.m.
NED2 Entity disambiguation (via description) batch_69d859e40bf88190a6dc8deed3049d31 completed April 10, 2026, 2:01 a.m.
Created at: April 6, 2026, 12:10 p.m.