Triple

T6668143
Position Surface form Disambiguated ID Type / Status
Subject Rif region E151657 entity
Predicate hasCity P316 FINISHED
Object Tetouan E153568 NE FINISHED

How this triple was built (2 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: Tetouan | Statement: [Rif region, hasCity, Tetouan]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Tetouan
Context triple: [Rif region, hasCity, Tetouan]
  • A. Tétouan chosen
    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.
  • B. 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.
  • C. 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.
  • D. Tiznit
    Tiznit is a historic town in southern Morocco known for its traditional silver jewelry craftsmanship and fortified old medina.
  • 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.
  • G. Unsure - the case is ambiguous/there is not enough information to decide.

Provenance (3 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_69c687f71fc081909dbd45d6377f6045 completed March 27, 2026, 1:36 p.m.
NER Named-entity recognition batch_69c6b0c4a8e48190aa3b2e41902d2f86 completed March 27, 2026, 4:31 p.m.
NED1 Entity disambiguation (via context triple) batch_69c700755874819083cd0facebd7aa3d completed March 27, 2026, 10:11 p.m.
Created at: March 27, 2026, 2:02 p.m.