Triple

T2030804
Position Surface form Disambiguated ID Type / Status
Subject Riffians E44511 entity
Predicate capitalRegionCity P3940 FINISHED
Object Al Hoceima
Al Hoceima is a coastal city in northern Morocco on the Mediterranean, known as a major urban center of the Rif region and an important hub for the Riffian (Amazigh) population.
E225396 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: Al Hoceima | Statement: [Riffians, capitalRegionCity, Al Hoceima]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Al Hoceima
Context triple: [Riffians, capitalRegionCity, Al Hoceima]
  • A. Larache
    Larache is a coastal city in northwestern Morocco, situated along the Atlantic Ocean and known for its historic medina and nearby ancient Phoenician-Roman archaeological site of Lixus.
  • B. Tétouan
    Tétouan is a historic city in northern Morocco near the Mediterranean coast, known for its well-preserved Andalusian-influenced medina, a UNESCO World Heritage Site.
  • C. Beni Mellal
    Beni Mellal is a major city in central Morocco known for its agricultural importance and its location at the foot of the Middle Atlas mountains.
  • D. Laayoune
    Laayoune is the largest city and de facto administrative center of Western Sahara, located in the northwest of the disputed territory near the Atlantic coast.
  • E. Agadir
    Agadir is a major coastal city in southwestern Morocco known for its Atlantic beaches, modern resort infrastructure, and role as a key tourist destination.
  • 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: Al Hoceima
Triple: [Riffians, capitalRegionCity, Al Hoceima]
Generated description
Al Hoceima is a coastal city in northern Morocco on the Mediterranean, known as a major urban center of the Rif region and an important hub for the Riffian (Amazigh) population.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Al Hoceima
Target entity description: Al Hoceima is a coastal city in northern Morocco on the Mediterranean, known as a major urban center of the Rif region and an important hub for the Riffian (Amazigh) population.
  • A. Larache
    Larache is a coastal city in northwestern Morocco, situated along the Atlantic Ocean and known for its historic medina and nearby ancient Phoenician-Roman archaeological site of Lixus.
  • B. Tétouan
    Tétouan is a historic city in northern Morocco near the Mediterranean coast, known for its well-preserved Andalusian-influenced medina, a UNESCO World Heritage Site.
  • C. Beni Mellal
    Beni Mellal is a major city in central Morocco known for its agricultural importance and its location at the foot of the Middle Atlas mountains.
  • D. Laayoune
    Laayoune is the largest city and de facto administrative center of Western Sahara, located in the northwest of the disputed territory near the Atlantic coast.
  • E. Agadir
    Agadir is a major coastal city in southwestern Morocco known for its Atlantic beaches, modern resort infrastructure, and role as a key tourist destination.
  • 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_69a889144f2481909932f0746a93023d completed March 4, 2026, 7:33 p.m.
NER Named-entity recognition batch_69abb915c9548190809d08c4d67466fb completed March 7, 2026, 5:35 a.m.
NED1 Entity disambiguation (via context triple) batch_69ae0b00d0a48190bcd1924df2786e41 completed March 8, 2026, 11:49 p.m.
NEDg Description generation batch_69ae0b8cda248190b88b353c1768c3d7 completed March 8, 2026, 11:51 p.m.
NED2 Entity disambiguation (via description) batch_69ae0c330bcc8190a7f62f0f1f3f04a0 completed March 8, 2026, 11:54 p.m.
Created at: March 4, 2026, 7:38 p.m.