Triple

T1301723
Position Surface form Disambiguated ID Type / Status
Subject Ceuta E27777 entity
Predicate neighboringMoroccanRegion P17964 FINISHED
Object 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.
E153568 NE FINISHED

How this triple was built (5 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: Tétouan | Statement: [Ceuta, neighboringMoroccanRegion, Tétouan]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Tétouan
Context triple: [Ceuta, neighboringMoroccanRegion, Tétouan]
  • A. 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.
  • B. 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.
  • C. Meknes
    Meknes is a historic imperial city in northern Morocco known for its grand gates, monumental architecture, and UNESCO-listed medina.
  • 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. Azrou
    Azrou is a small Moroccan town in the Middle Atlas mountains, known for its cedar forests, Berber culture, and nearby Barbary macaque populations.
  • 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: Tétouan
Triple: [Ceuta, neighboringMoroccanRegion, Tétouan]
Generated description
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.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Tétouan
Target entity description: 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.
  • A. 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.
  • B. 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.
  • C. Meknes
    Meknes is a historic imperial city in northern Morocco known for its grand gates, monumental architecture, and UNESCO-listed medina.
  • 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. Azrou
    Azrou is a small Moroccan town in the Middle Atlas mountains, known for its cedar forests, Berber culture, and nearby Barbary macaque populations.
  • F. None of above. chosen
PD Predicate disambiguation gpt-5-mini-2025-08-07
Target predicate: neighboringMoroccanRegion
Context triple: [Ceuta, neighboringMoroccanRegion, Tétouan]
  • A. neighboringRegion chosen
    Indicates that two regions share a common boundary or are directly adjacent to each other geographically.
  • B. neighboringPeoples
    Indicates that two peoples or ethnic groups live in adjacent or nearby territories, sharing a common border or close geographic proximity.
  • C. borderingCountryNearby
    Indicates that one country is geographically close to, but does not necessarily share a direct land border with, another country.
  • D. neighboringCountryBySea
    Indicates that one country is adjacent to another with their territories touching via a shared sea boundary rather than solely by land.
  • E. borderRegionOf
    Indicates that one region lies along, touches, or forms part of the boundary of another region.
  • F. None of above.

Provenance (6 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_69a496d6682881909ba658f1c1e0e2b0 completed March 1, 2026, 7:43 p.m.
NER Named-entity recognition batch_69a4c115ba64819081c55fa6807e19ef completed March 1, 2026, 10:43 p.m.
NED1 Entity disambiguation (via context triple) batch_69acc622dac88190b6ecdc62c7f26dc5 completed March 8, 2026, 12:43 a.m.
NEDg Description generation batch_69acc6ae66408190bf48fe3150a08116 completed March 8, 2026, 12:45 a.m.
NED2 Entity disambiguation (via description) batch_69acc73b92248190b723cb64046799e3 completed March 8, 2026, 12:47 a.m.
PD Predicate disambiguation batch_69a4bee8544c8190874efd9bae9bccf9 completed March 1, 2026, 10:34 p.m.
Created at: March 1, 2026, 7:51 p.m.