Triple

T3905408
Position Surface form Disambiguated ID Type / Status
Subject Northern Morocco E87192 entity
Predicate hasMajorCity P316 FINISHED
Object Ksar el-Kebir
Ksar el-Kebir is a historic city in northern Morocco known for its agricultural importance and as the site of the 1578 Battle of Alcácer Quibir.
E397677 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: Ksar el-Kebir | Statement: [Northern Morocco, hasMajorCity, Ksar el-Kebir]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Ksar el-Kebir
Context triple: [Northern Morocco, hasMajorCity, Ksar el-Kebir]
  • A. Erg Chebbi
    Erg Chebbi is a famous expanse of towering sand dunes in southeastern Morocco, renowned as one of the most iconic desert landscapes of the Sahara.
  • B. Aït Melloul
    Aït Melloul is a town in southwestern Morocco that forms part of the greater Agadir metropolitan area and serves as an important local commercial and residential hub.
  • C. Sidi Kacem
    Sidi Kacem is a town in northwestern Morocco known as an agricultural and transport hub within the Rabat-Salé-Kénitra region.
  • D. Bab Bou Jeloud
    Bab Bou Jeloud is a famous ornate city gate in Fez, Morocco, known for its striking blue-and-green tilework and role as a main entrance to the historic medina.
  • E. Khenifra
    Khenifra is a Moroccan city situated in the Middle Atlas region, known for its Berber culture and surrounding mountainous landscapes.
  • 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: Ksar el-Kebir
Triple: [Northern Morocco, hasMajorCity, Ksar el-Kebir]
Generated description
Ksar el-Kebir is a historic city in northern Morocco known for its agricultural importance and as the site of the 1578 Battle of Alcácer Quibir.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Ksar el-Kebir
Target entity description: Ksar el-Kebir is a historic city in northern Morocco known for its agricultural importance and as the site of the 1578 Battle of Alcácer Quibir.
  • A. Erg Chebbi
    Erg Chebbi is a famous expanse of towering sand dunes in southeastern Morocco, renowned as one of the most iconic desert landscapes of the Sahara.
  • B. Aït Melloul
    Aït Melloul is a town in southwestern Morocco that forms part of the greater Agadir metropolitan area and serves as an important local commercial and residential hub.
  • C. Sidi Kacem
    Sidi Kacem is a town in northwestern Morocco known as an agricultural and transport hub within the Rabat-Salé-Kénitra region.
  • D. Bab Bou Jeloud
    Bab Bou Jeloud is a famous ornate city gate in Fez, Morocco, known for its striking blue-and-green tilework and role as a main entrance to the historic medina.
  • E. Khenifra
    Khenifra is a Moroccan city situated in the Middle Atlas region, known for its Berber culture and surrounding mountainous landscapes.
  • 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_69b51cace2b88190981e3516123a417d completed March 14, 2026, 8:30 a.m.
NEDg Description generation batch_69b51d9fd9388190bef2020b97b2fc80 completed March 14, 2026, 8:34 a.m.
NED2 Entity disambiguation (via description) batch_69b51e3325f08190a630644d0b6f7d76 completed March 14, 2026, 8:37 a.m.
Created at: March 9, 2026, 3:22 p.m.