Triple

T9964306
Position Surface form Disambiguated ID Type / Status
Subject Serpa E195642 entity
Predicate hasCastle P22469 FINISHED
Object Castle of Serpa
The Castle of Serpa is a medieval fortress in Portugal’s Alentejo region, notable for its well-preserved walls and strategic hilltop position overlooking the town of Serpa.
E832960 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: Castle of Serpa | Statement: [Serpa, hasCastle, Castle of Serpa]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Castle of Serpa
Context triple: [Serpa, hasCastle, Castle of Serpa]
  • A. Santiago do Cacém Castle
    Santiago do Cacém Castle is a medieval hilltop fortress in Portugal known for its well-preserved walls and commanding views over the town of Santiago do Cacém and the surrounding Alentejo region.
  • B. 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.
  • C. Canossa Castle
    Canossa Castle is a historic fortress in northern Italy famed as the site where Holy Roman Emperor Henry IV performed penance before Pope Gregory VII in 1077 during the Investiture Controversy.
  • D. Castle of Paderne
    The Castle of Paderne is a medieval hilltop fortress in the Algarve region of Portugal, notable for its Moorish origins and well-preserved defensive architecture.
  • E. Castle of Estremoz
    The Castle of Estremoz is a medieval fortification in Portugal renowned for its imposing white marble tower and well-preserved walls overlooking the town of Estremoz.
  • 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: Castle of Serpa
Triple: [Serpa, hasCastle, Castle of Serpa]
Generated description
The Castle of Serpa is a medieval fortress in Portugal’s Alentejo region, notable for its well-preserved walls and strategic hilltop position overlooking the town of Serpa.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Castle of Serpa
Target entity description: The Castle of Serpa is a medieval fortress in Portugal’s Alentejo region, notable for its well-preserved walls and strategic hilltop position overlooking the town of Serpa.
  • A. Santiago do Cacém Castle
    Santiago do Cacém Castle is a medieval hilltop fortress in Portugal known for its well-preserved walls and commanding views over the town of Santiago do Cacém and the surrounding Alentejo region.
  • B. 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.
  • C. Canossa Castle
    Canossa Castle is a historic fortress in northern Italy famed as the site where Holy Roman Emperor Henry IV performed penance before Pope Gregory VII in 1077 during the Investiture Controversy.
  • D. Castle of Paderne
    The Castle of Paderne is a medieval hilltop fortress in the Algarve region of Portugal, notable for its Moorish origins and well-preserved defensive architecture.
  • E. Castle of Estremoz
    The Castle of Estremoz is a medieval fortification in Portugal renowned for its imposing white marble tower and well-preserved walls overlooking the town of Estremoz.
  • 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_69ca82ebd1288190912f9e4482d1fa35 completed March 30, 2026, 2:04 p.m.
NER Named-entity recognition batch_69cdb71a33b48190a18c1a9023f249d2 completed April 2, 2026, 12:23 a.m.
NED1 Entity disambiguation (via context triple) batch_69d23da2d7988190b8603ddb151996d9 completed April 5, 2026, 10:46 a.m.
NEDg Description generation batch_69d23eb1c1f481908404225dcccd0697 completed April 5, 2026, 10:51 a.m.
NED2 Entity disambiguation (via description) batch_69d242aea6a08190a73a836e59865c35 completed April 5, 2026, 11:08 a.m.
Created at: March 30, 2026, 8:47 p.m.