Triple

T22119861
Position Surface form Disambiguated ID Type / Status
Subject Sobral de Monte Agraço E546635 entity
Predicate hasTourismAttraction P5121 FINISHED
Object Lines of Torres Vedras military route
The Lines of Torres Vedras military route is a historic defensive system of fortifications built during the Peninsular War to protect Lisbon from French invasion, now preserved as a cultural and tourism itinerary.
E1519544 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: Lines of Torres Vedras military route | Statement: [Sobral de Monte Agraço, hasTourismAttraction, Lines of Torres Vedras military route]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Lines of Torres Vedras military route
Context triple: [Sobral de Monte Agraço, hasTourismAttraction, Lines of Torres Vedras military route]
  • A. Linha do Vouga corridor
    The Linha do Vouga corridor is a narrow-gauge railway line in Portugal that connects several interior towns in the Vouga River region and is served by regional passenger trains.
  • B. Ramal de Coimbra
    Ramal de Coimbra was a Portuguese railway branch line that connected the city of Coimbra to the country’s main rail network.
  • C. Linha da Beira Alta
    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.
  • D. Linha de Guimarães
    Linha de Guimarães is a railway line in northern Portugal that connects Porto to the city of Guimarães, serving as an important regional passenger route.
  • E. Rua da Figueira da Foz
    Rua da Figueira da Foz is a street in Coimbra, Portugal, situated along the route of the historic Aqueduto de São Sebastião.
  • 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: Lines of Torres Vedras military route
Triple: [Sobral de Monte Agraço, hasTourismAttraction, Lines of Torres Vedras military route]
Generated description
The Lines of Torres Vedras military route is a historic defensive system of fortifications built during the Peninsular War to protect Lisbon from French invasion, now preserved as a cultural and tourism itinerary.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Lines of Torres Vedras military route
Target entity description: The Lines of Torres Vedras military route is a historic defensive system of fortifications built during the Peninsular War to protect Lisbon from French invasion, now preserved as a cultural and tourism itinerary.
  • A. Linha do Vouga corridor
    The Linha do Vouga corridor is a narrow-gauge railway line in Portugal that connects several interior towns in the Vouga River region and is served by regional passenger trains.
  • B. Ramal de Coimbra
    Ramal de Coimbra was a Portuguese railway branch line that connected the city of Coimbra to the country’s main rail network.
  • C. Linha da Beira Alta
    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.
  • D. Linha de Guimarães
    Linha de Guimarães is a railway line in northern Portugal that connects Porto to the city of Guimarães, serving as an important regional passenger route.
  • E. Rua da Figueira da Foz
    Rua da Figueira da Foz is a street in Coimbra, Portugal, situated along the route of the historic Aqueduto de São Sebastião.
  • 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_69e11e38b3848190ac3a4fa97d56e65a completed April 16, 2026, 5:36 p.m.
NER Named-entity recognition batch_69f12950f5348190b204fbc347fd5dab completed April 28, 2026, 9:40 p.m.
NED1 Entity disambiguation (via context triple) batch_6a0a8f1d3ba081909e9ba0fd165449a5 completed May 18, 2026, 4:01 a.m.
NEDg Description generation batch_6a0a910348ac81909a2b3f5662971e2e completed May 18, 2026, 4:09 a.m.
NED2 Entity disambiguation (via description) batch_6a0a91867738819092e49aa8a74cc20b completed May 18, 2026, 4:11 a.m.
Created at: April 16, 2026, 8:31 p.m.