Triple
T15421346
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Companhia Real dos Caminhos de Ferro Portugueses |
E369386
|
entity |
| Predicate | operatedRailway |
P81222
|
FINISHED |
| Object | Linha da Beira Alta |
E302847
|
NE FINISHED |
How this triple was built (2 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: Linha da Beira Alta | Statement: [Companhia Real dos Caminhos de Ferro Portugueses, operatedRailway, Linha da Beira Alta]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Linha da Beira Alta Context triple: [Companhia Real dos Caminhos de Ferro Portugueses, operatedRailway, Linha da Beira Alta]
-
A.
Linha da Beira Alta
chosen
Linha da Beira Alta is a major Portuguese railway line that serves as a key international freight and passenger corridor linking central Portugal to Spain and the rest of Europe.
-
B.
Linha da Beira Baixa
Linha da Beira Baixa is a Portuguese railway line that connects central inland regions to the rest of the country, running through the Beira Baixa area near the Spanish border.
-
C.
Linha do Douro
Linha do Douro is a scenic railway line in northern Portugal that runs along the Douro River, historically serving both passenger and wine transport between Porto and the Douro Valley.
-
D.
Linha de Azambuja
Linha de Azambuja is a suburban railway line in the Lisbon metropolitan area that connects the capital to the town of Azambuja and serves as a key commuter corridor.
-
E.
Linha do Alentejo
Linha do Alentejo is a Portuguese railway line that connects Lisbon to the Alentejo region, serving as an important route for both passenger and freight transport in southern Portugal.
- F. None of above.
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Provenance (3 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_69d85a1849f48190bf898068b2806fae |
completed | April 10, 2026, 2:02 a.m. |
| NER | Named-entity recognition | batch_69e03ebe7b1081908e6b9e6e128a8d5d |
completed | April 16, 2026, 1:43 a.m. |
| NED1 | Entity disambiguation (via context triple) | batch_69ff1a7d02a08190a1e34e3a014acea9 |
completed | May 9, 2026, 11:29 a.m. |
Created at: April 10, 2026, 3:20 a.m.