Triple

T3905404
Position Surface form Disambiguated ID Type / Status
Subject Northern Morocco E87192 entity
Predicate hasMajorCity P316 FINISHED
Object Oujda
Oujda is a major city in northeastern Morocco near the Algerian border, known as an important commercial and cultural center of the region.
E443613 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: Oujda | Statement: [Northern Morocco, hasMajorCity, Oujda]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Oujda
Context triple: [Northern Morocco, hasMajorCity, Oujda]
  • A. 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.
  • 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. Azrou
    Azrou is a small Moroccan town in the Middle Atlas mountains, known for its cedar forests, Berber culture, and nearby Barbary macaque populations.
  • E. 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.
  • 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: Oujda
Triple: [Northern Morocco, hasMajorCity, Oujda]
Generated description
Oujda is a major city in northeastern Morocco near the Algerian border, known as an important commercial and cultural center of the region.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Oujda
Target entity description: Oujda is a major city in northeastern Morocco near the Algerian border, known as an important commercial and cultural center of the region.
  • A. 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.
  • 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. Azrou
    Azrou is a small Moroccan town in the Middle Atlas mountains, known for its cedar forests, Berber culture, and nearby Barbary macaque populations.
  • E. 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.
  • 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_69aed9424514819086e9c58adde6652d completed March 9, 2026, 2:29 p.m.
NER Named-entity recognition batch_69aeed1102b08190a9f5087ff9be0358 completed March 9, 2026, 3:53 p.m.
NED1 Entity disambiguation (via context triple) batch_69b6371762c08190ab0b829777e62540 completed March 15, 2026, 4:35 a.m.
NEDg Description generation batch_69b639659cb88190b1023e00d24d964a completed March 15, 2026, 4:45 a.m.
NED2 Entity disambiguation (via description) batch_69b63a020cc48190a28e6bd0b3a7c5c1 completed March 15, 2026, 4:48 a.m.
Created at: March 9, 2026, 3:22 p.m.