Triple

T1781600
Position Surface form Disambiguated ID Type / Status
Subject mainland Portugal E39301 entity
Predicate containsCity P294 FINISHED
Object Leiria
Leiria is a historic city in central Portugal known for its medieval hilltop castle and role as a regional administrative and cultural center.
E245541 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 | Statement: [mainland Portugal, containsCity, Leiria]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Leiria
Context triple: [mainland Portugal, containsCity, Leiria]
  • A. Abrantes
    Abrantes is a historic Portuguese city in the Santarém District, known for its hilltop castle and strategic location overlooking the Tagus River.
  • B. Portalegre
    Portalegre is a historic city in eastern Portugal known for its medieval architecture, hilltop setting near the São Mamede mountains, and traditional Alentejo culture.
  • C. Coimbra
    Coimbra is a historic Portuguese city known for its medieval architecture and the University of Coimbra, one of the oldest universities in continuous operation in the world.
  • D. Sabrosa
    Sabrosa is a small municipality in Portugal’s Douro region, historically notable as the birthplace of explorer Ferdinand Magellan.
  • E. Setúbal
    Setúbal is a coastal city in southern Portugal known for its fishing industry, nearby Arrábida Natural Park, and views over the Sado Estuary.
  • 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
Triple: [mainland Portugal, containsCity, Leiria]
Generated description
Leiria is a historic city in central Portugal known for its medieval hilltop castle and role as a regional administrative and cultural center.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Leiria
Target entity description: Leiria is a historic city in central Portugal known for its medieval hilltop castle and role as a regional administrative and cultural center.
  • A. Abrantes
    Abrantes is a historic Portuguese city in the Santarém District, known for its hilltop castle and strategic location overlooking the Tagus River.
  • B. Portalegre
    Portalegre is a historic city in eastern Portugal known for its medieval architecture, hilltop setting near the São Mamede mountains, and traditional Alentejo culture.
  • C. Coimbra
    Coimbra is a historic Portuguese city known for its medieval architecture and the University of Coimbra, one of the oldest universities in continuous operation in the world.
  • D. Sabrosa
    Sabrosa is a small municipality in Portugal’s Douro region, historically notable as the birthplace of explorer Ferdinand Magellan.
  • E. Setúbal
    Setúbal is a coastal city in southern Portugal known for its fishing industry, nearby Arrábida Natural Park, and views over the Sado Estuary.
  • 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_69a88630519c8190a17addd83c4a3ef4 completed March 4, 2026, 7:21 p.m.
NER Named-entity recognition batch_69aa64e34fe881908aa75f2b4141b87b completed March 6, 2026, 5:23 a.m.
NED1 Entity disambiguation (via context triple) batch_69ae651f8f38819089fb40e7bb3dc2cb completed March 9, 2026, 6:13 a.m.
NEDg Description generation batch_69ae6615cf488190aa5bdf5431c8628a completed March 9, 2026, 6:17 a.m.
NED2 Entity disambiguation (via description) batch_69ae668ef8bc819085ed1c83f447d396 completed March 9, 2026, 6:19 a.m.
Created at: March 4, 2026, 7:31 p.m.