Triple

T14980411
Position Surface form Disambiguated ID Type / Status
Subject Red Castle (Assaraya al-Hamra) E373558 entity
Predicate hasAlternativeName P39 FINISHED
Object Assaraya al-Hamra
Assaraya al-Hamra, also known as the Red Castle, is a historic fortified palace complex and prominent landmark located in the old city of Tripoli, Libya.
E1130812 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: Assaraya al-Hamra | Statement: [Red Castle (Assaraya al-Hamra), hasAlternativeName, Assaraya al-Hamra]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Assaraya al-Hamra
Context triple: [Red Castle (Assaraya al-Hamra), hasAlternativeName, Assaraya al-Hamra]
  • A. El Zawya El Hamra
    El Zawya El Hamra is a residential district and urban neighborhood located in the northeastern part of Cairo, Egypt.
  • B. Kom el-Ahmar
    Kom el-Ahmar is the Arabic name for Hierakonpolis, a major Predynastic and Early Dynastic archaeological site in Upper Egypt that was an important political and religious center.
  • C. Darqawiyya
    Darqawiyya is a prominent Sufi order that emerged as a reformist branch within the Shadhili tradition, known for its emphasis on spiritual poverty, remembrance of God, and social engagement in North Africa.
  • D. She'eb
    She'eb is a town in Eritrea located within the Northern Red Sea administrative region.
  • E. Rufaa
    Rufaa is a town in Sudan located in Al Jazirah state, known primarily as an agricultural and trading center along the Blue Nile.
  • 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: Assaraya al-Hamra
Triple: [Red Castle (Assaraya al-Hamra), hasAlternativeName, Assaraya al-Hamra]
Generated description
Assaraya al-Hamra, also known as the Red Castle, is a historic fortified palace complex and prominent landmark located in the old city of Tripoli, Libya.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Assaraya al-Hamra
Target entity description: Assaraya al-Hamra, also known as the Red Castle, is a historic fortified palace complex and prominent landmark located in the old city of Tripoli, Libya.
  • A. El Zawya El Hamra
    El Zawya El Hamra is a residential district and urban neighborhood located in the northeastern part of Cairo, Egypt.
  • B. Kom el-Ahmar
    Kom el-Ahmar is the Arabic name for Hierakonpolis, a major Predynastic and Early Dynastic archaeological site in Upper Egypt that was an important political and religious center.
  • C. Darqawiyya
    Darqawiyya is a prominent Sufi order that emerged as a reformist branch within the Shadhili tradition, known for its emphasis on spiritual poverty, remembrance of God, and social engagement in North Africa.
  • D. She'eb
    She'eb is a town in Eritrea located within the Northern Red Sea administrative region.
  • E. Rufaa
    Rufaa is a town in Sudan located in Al Jazirah state, known primarily as an agricultural and trading center along the Blue Nile.
  • 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_69d85ccbbcd48190acb56e7cf104d8ad completed April 10, 2026, 2:13 a.m.
NER Named-entity recognition batch_69ded6fcebf481909f72cab577560d82 completed April 15, 2026, 12:08 a.m.
NED1 Entity disambiguation (via context triple) batch_69fe8bef015c8190bdfb1b9144b2a55c completed May 9, 2026, 1:20 a.m.
NEDg Description generation batch_69fe8fec76848190b83c6399aaacda76 completed May 9, 2026, 1:37 a.m.
NED2 Entity disambiguation (via description) batch_69fe9090d23c8190b8a90e8ad8dacade completed May 9, 2026, 1:40 a.m.
Created at: April 10, 2026, 2:52 a.m.