Triple

T16375863
Position Surface form Disambiguated ID Type / Status
Subject Ksar el-Kebir E397677 entity
Predicate railwayLine P848 FINISHED
Object Tangier–Rabat line
The Tangier–Rabat line is a major Moroccan railway corridor linking the northern port city of Tangier with the capital Rabat and serving several intermediate cities.
E1210687 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–Rabat line | Statement: [Ksar el-Kebir, railwayLine, Tangier–Rabat line]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Tangier–Rabat line
Context triple: [Ksar el-Kebir, railwayLine, Tangier–Rabat line]
  • A. Algeria–Tunisia border
    The Algeria–Tunisia border is an international boundary in North Africa that runs through desert and mountainous terrain, including the historic Aurès range, separating Algeria from Tunisia.
  • B. Libya–Tunisia border
    The Libya–Tunisia border is an international boundary in North Africa separating Libya and Tunisia, running from the Mediterranean coast through desert regions near oases such as Ghadames.
  • C. Algeciras–Tangier Med
    Algeciras–Tangier Med is a major ferry route linking southern Spain with northern Morocco across the Strait of Gibraltar, serving as a key passenger and freight connection between Europe and Africa.
  • D. 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.
  • E. Maas Line
    The Maas Line is a railway line in the Netherlands that runs along the River Meuse, connecting several towns and cities in the southeastern part of the country.
  • 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–Rabat line
Triple: [Ksar el-Kebir, railwayLine, Tangier–Rabat line]
Generated description
The Tangier–Rabat line is a major Moroccan railway corridor linking the northern port city of Tangier with the capital Rabat and serving several intermediate cities.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Tangier–Rabat line
Target entity description: The Tangier–Rabat line is a major Moroccan railway corridor linking the northern port city of Tangier with the capital Rabat and serving several intermediate cities.
  • A. Algeria–Tunisia border
    The Algeria–Tunisia border is an international boundary in North Africa that runs through desert and mountainous terrain, including the historic Aurès range, separating Algeria from Tunisia.
  • B. Libya–Tunisia border
    The Libya–Tunisia border is an international boundary in North Africa separating Libya and Tunisia, running from the Mediterranean coast through desert regions near oases such as Ghadames.
  • C. Algeciras–Tangier Med
    Algeciras–Tangier Med is a major ferry route linking southern Spain with northern Morocco across the Strait of Gibraltar, serving as a key passenger and freight connection between Europe and Africa.
  • D. 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.
  • E. Maas Line
    The Maas Line is a railway line in the Netherlands that runs along the River Meuse, connecting several towns and cities in the southeastern part of the country.
  • 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_69d87f2880b48190ae1a9673a3bbef80 completed April 10, 2026, 4:40 a.m.
NER Named-entity recognition batch_69e319d79df8819087285b9457b7bdb6 completed April 18, 2026, 5:42 a.m.
NED1 Entity disambiguation (via context triple) batch_6a00356406208190a9cedc1de2ab4e07 completed May 10, 2026, 7:36 a.m.
NEDg Description generation batch_6a00377305bc8190a566c4ed4aed70c9 completed May 10, 2026, 7:44 a.m.
NED2 Entity disambiguation (via description) batch_6a0037e43a2c8190993447ade595f6e6 completed May 10, 2026, 7:46 a.m.
Created at: April 10, 2026, 5:08 a.m.