Triple

T7408691
Position Surface form Disambiguated ID Type / Status
Subject Treaties of Portugal E170944 entity
Predicate hasPart P35 FINISHED
Object Treaty of Badajoz (1801)
The Treaty of Badajoz (1801) was a peace agreement between Portugal and Spain (backed by Napoleonic France) that ended the War of the Oranges and forced Portugal to cede territory and close its ports to British ships.
E661533 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: Treaty of Badajoz (1801) | Statement: [Treaties of Portugal, hasPart, Treaty of Badajoz (1801)]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Treaty of Badajoz (1801)
Context triple: [Treaties of Portugal, hasPart, Treaty of Badajoz (1801)]
  • A. Treaty of Aranjuez (1801)
    The Treaty of Aranjuez (1801) was an agreement between France and Spain that reshaped their alliance and colonial arrangements during the Napoleonic era, notably involving territorial exchanges and reaffirmation of cooperation against Britain.
  • B. Treaty of San Ildefonso (1800)
    The Treaty of San Ildefonso (1800) was a secret agreement by which Spain retroceded the vast territory of Louisiana to France, reshaping the balance of power in North America and paving the way for the Louisiana Purchase.
  • C. Treaty of Madrid (1795)
    The Treaty of Madrid (1795), commonly known as Pinckney's Treaty, was an agreement between the United States and Spain that settled territorial disputes, defined the boundary with Spanish Florida, and granted Americans navigation rights on the Mississippi River and access to the port of New Orleans.
  • D. Treaty of San Ildefonso (1796)
    The Treaty of San Ildefonso (1796) was an alliance agreement in which Spain, under Charles IV, joined revolutionary France against Great Britain during the French Revolutionary Wars.
  • E. Treaty of El Pardo
    The Treaty of El Pardo was an 18th-century agreement between Spain and Portugal that redefined their colonial boundaries, including Spain’s claims in the region that would become Equatorial Guinea.
  • 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: Treaty of Badajoz (1801)
Triple: [Treaties of Portugal, hasPart, Treaty of Badajoz (1801)]
Generated description
The Treaty of Badajoz (1801) was a peace agreement between Portugal and Spain (backed by Napoleonic France) that ended the War of the Oranges and forced Portugal to cede territory and close its ports to British ships.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Treaty of Badajoz (1801)
Target entity description: The Treaty of Badajoz (1801) was a peace agreement between Portugal and Spain (backed by Napoleonic France) that ended the War of the Oranges and forced Portugal to cede territory and close its ports to British ships.
  • A. Treaty of Aranjuez (1801)
    The Treaty of Aranjuez (1801) was an agreement between France and Spain that reshaped their alliance and colonial arrangements during the Napoleonic era, notably involving territorial exchanges and reaffirmation of cooperation against Britain.
  • B. Treaty of San Ildefonso (1800)
    The Treaty of San Ildefonso (1800) was a secret agreement by which Spain retroceded the vast territory of Louisiana to France, reshaping the balance of power in North America and paving the way for the Louisiana Purchase.
  • C. Treaty of Madrid (1795)
    The Treaty of Madrid (1795), commonly known as Pinckney's Treaty, was an agreement between the United States and Spain that settled territorial disputes, defined the boundary with Spanish Florida, and granted Americans navigation rights on the Mississippi River and access to the port of New Orleans.
  • D. Treaty of San Ildefonso (1796)
    The Treaty of San Ildefonso (1796) was an alliance agreement in which Spain, under Charles IV, joined revolutionary France against Great Britain during the French Revolutionary Wars.
  • E. Treaty of El Pardo
    The Treaty of El Pardo was an 18th-century agreement between Spain and Portugal that redefined their colonial boundaries, including Spain’s claims in the region that would become Equatorial Guinea.
  • 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_69c68a6010108190925e5284de022660 completed March 27, 2026, 1:47 p.m.
NER Named-entity recognition batch_69c6f29acf588190a7c4056bdc4f3ffc completed March 27, 2026, 9:11 p.m.
NED1 Entity disambiguation (via context triple) batch_69c8111fcd948190adbe6280df53a916 completed March 28, 2026, 5:34 p.m.
NEDg Description generation batch_69c8128aaab08190926a782b379d364f completed March 28, 2026, 5:40 p.m.
NED2 Entity disambiguation (via description) batch_69c812df0b948190805862c5f176c956 completed March 28, 2026, 5:41 p.m.
Created at: March 27, 2026, 3:10 p.m.