Triple

T17093731
Position Surface form Disambiguated ID Type / Status
Subject Al Boraq E414786 entity
Predicate primaryRoute P6298 FINISHED
Object Tangier–Kenitra–Rabat–Casablanca
Tangier–Kenitra–Rabat–Casablanca is the main high-speed rail corridor in Morocco linking the northern city of Tangier with the capital Rabat and the economic hub Casablanca via Kenitra.
E1253150 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: Tangier–Kenitra–Rabat–Casablanca | Statement: [Al Boraq, primaryRoute, Tangier–Kenitra–Rabat–Casablanca]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Tangier–Kenitra–Rabat–Casablanca
Context triple: [Al Boraq, primaryRoute, Tangier–Kenitra–Rabat–Casablanca]
  • A. Rabat and Salé
    Rabat and Salé are two historically significant, closely linked Moroccan cities on the Atlantic coast, facing each other across the Bou Regreg River.
  • B. Tangier-Tetouan-Al Hoceima
    Tangier-Tetouan-Al Hoceima is a northern Moroccan administrative region along the Mediterranean and Atlantic coasts, known for its historic cities like Tangier and Tetouan, Rif mountain landscapes, and significant cultural and economic ties to Europe.
  • C. Tanger-Assilah
    Tanger-Assilah is a coastal prefecture in northern Morocco that includes parts of the historic city of Tangier and the nearby town of Asilah, known for its cultural heritage and seaside tourism.
  • D. Rabat-Salé-Kénitra
    Rabat-Salé-Kénitra is an administrative region in northwestern Morocco that includes the national capital Rabat and the important cities of Salé and Kénitra.
  • E. 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.
  • 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: Tangier–Kenitra–Rabat–Casablanca
Triple: [Al Boraq, primaryRoute, Tangier–Kenitra–Rabat–Casablanca]
Generated description
Tangier–Kenitra–Rabat–Casablanca is the main high-speed rail corridor in Morocco linking the northern city of Tangier with the capital Rabat and the economic hub Casablanca via Kenitra.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Tangier–Kenitra–Rabat–Casablanca
Target entity description: Tangier–Kenitra–Rabat–Casablanca is the main high-speed rail corridor in Morocco linking the northern city of Tangier with the capital Rabat and the economic hub Casablanca via Kenitra.
  • A. Rabat and Salé
    Rabat and Salé are two historically significant, closely linked Moroccan cities on the Atlantic coast, facing each other across the Bou Regreg River.
  • B. Tangier-Tetouan-Al Hoceima
    Tangier-Tetouan-Al Hoceima is a northern Moroccan administrative region along the Mediterranean and Atlantic coasts, known for its historic cities like Tangier and Tetouan, Rif mountain landscapes, and significant cultural and economic ties to Europe.
  • C. Tanger-Assilah
    Tanger-Assilah is a coastal prefecture in northern Morocco that includes parts of the historic city of Tangier and the nearby town of Asilah, known for its cultural heritage and seaside tourism.
  • D. Rabat-Salé-Kénitra
    Rabat-Salé-Kénitra is an administrative region in northwestern Morocco that includes the national capital Rabat and the important cities of Salé and Kénitra.
  • E. 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.
  • 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_69d886cfc8e88190b05ba466edd35591 completed April 10, 2026, 5:12 a.m.
NER Named-entity recognition batch_69e3dbfb89348190942984037bd3bd2e completed April 18, 2026, 7:31 p.m.
NED1 Entity disambiguation (via context triple) batch_6a0141422d6c819086dc98988c0851d9 completed May 11, 2026, 2:38 a.m.
NEDg Description generation batch_6a01437dd094819093603356fa2c2582 completed May 11, 2026, 2:48 a.m.
NED2 Entity disambiguation (via description) batch_6a014416c6a08190aeca937990d2b5a2 completed May 11, 2026, 2:51 a.m.
Created at: April 10, 2026, 5:35 a.m.