Triple
T17262618
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Mohammedia railway station |
E419043
|
entity |
| Predicate | locatedOn |
P40
|
FINISHED |
| Object |
Casablanca–Rabat railway line
The Casablanca–Rabat railway line is a major rail corridor in Morocco that connects the country’s largest city, Casablanca, with its capital, Rabat, serving key urban and suburban areas along the Atlantic coast.
|
E1258435
|
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: Casablanca–Rabat railway line | Statement: [Mohammedia railway station, locatedOn, Casablanca–Rabat railway line]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Casablanca–Rabat railway line Context triple: [Mohammedia railway station, locatedOn, Casablanca–Rabat railway line]
-
A.
Tangier–Casablanca railway
The Tangier–Casablanca railway is a major rail corridor in Morocco that connects the northern port city of Tangier with the economic hub of Casablanca, serving as a key route for both passenger and freight transport.
-
B.
Tangier–Rabat railway
The Tangier–Rabat railway is a major rail corridor in Morocco that connects the northern port city of Tangier with the capital Rabat, serving as a key route for both passenger and freight transport.
-
C.
Moroccan railway network
The Moroccan railway network is the national rail system of Morocco, connecting major cities and regions with passenger and freight services, including high-speed lines like the Al Boraq route between Tangier and Casablanca.
-
D.
Rabat–Salé tramway
The Rabat–Salé tramway is a modern light rail transit system serving the Moroccan capital Rabat and its twin city Salé, providing an important public transportation link across the Bouregreg River.
-
E.
Mauritania Railway
The Mauritania Railway is a heavy-duty iron ore rail line in Mauritania that runs across the Sahara from inland mining towns to the Atlantic coast, famed for operating some of the world’s longest and heaviest trains.
- 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: Casablanca–Rabat railway line Triple: [Mohammedia railway station, locatedOn, Casablanca–Rabat railway line]
Generated description
The Casablanca–Rabat railway line is a major rail corridor in Morocco that connects the country’s largest city, Casablanca, with its capital, Rabat, serving key urban and suburban areas along the Atlantic coast.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: Casablanca–Rabat railway line Target entity description: The Casablanca–Rabat railway line is a major rail corridor in Morocco that connects the country’s largest city, Casablanca, with its capital, Rabat, serving key urban and suburban areas along the Atlantic coast.
-
A.
Tangier–Casablanca railway
The Tangier–Casablanca railway is a major rail corridor in Morocco that connects the northern port city of Tangier with the economic hub of Casablanca, serving as a key route for both passenger and freight transport.
-
B.
Tangier–Rabat railway
The Tangier–Rabat railway is a major rail corridor in Morocco that connects the northern port city of Tangier with the capital Rabat, serving as a key route for both passenger and freight transport.
-
C.
Moroccan railway network
The Moroccan railway network is the national rail system of Morocco, connecting major cities and regions with passenger and freight services, including high-speed lines like the Al Boraq route between Tangier and Casablanca.
-
D.
Rabat–Salé tramway
The Rabat–Salé tramway is a modern light rail transit system serving the Moroccan capital Rabat and its twin city Salé, providing an important public transportation link across the Bouregreg River.
-
E.
Mauritania Railway
The Mauritania Railway is a heavy-duty iron ore rail line in Mauritania that runs across the Sahara from inland mining towns to the Atlantic coast, famed for operating some of the world’s longest and heaviest trains.
- 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_69d886d9ab108190b70edd8d17aa1204 |
completed | April 10, 2026, 5:12 a.m. |
| NER | Named-entity recognition | batch_69e42e717a348190ae6835fb08f38125 |
completed | April 19, 2026, 1:22 a.m. |
| NED1 | Entity disambiguation (via context triple) | batch_6a0171041f2c81909bf52025d68912fc |
completed | May 11, 2026, 6:02 a.m. |
| NEDg | Description generation | batch_6a0171c1b5fc81908455cda0df277ea9 |
completed | May 11, 2026, 6:05 a.m. |
| NED2 | Entity disambiguation (via description) | batch_6a01724c4e34819099168d7303a31498 |
completed | May 11, 2026, 6:08 a.m. |
Created at: April 10, 2026, 5:40 a.m.