Triple

T6773811
Position Surface form Disambiguated ID Type / Status
Subject Second Barbary War E155104 entity
Predicate treaty P596 FINISHED
Object Treaty of Tunis (1816)
The Treaty of Tunis (1816) was an agreement that ended hostilities between the United States and the Regency of Tunis during the Second Barbary War, helping to curtail Barbary piracy against American shipping in the Mediterranean.
E620452 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 Tunis (1816) | Statement: [Second Barbary War, treaty, Treaty of Tunis (1816)]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Treaty of Tunis (1816)
Context triple: [Second Barbary War, treaty, Treaty of Tunis (1816)]
  • A. Treaty of Tafna (1837)
    The Treaty of Tafna (1837) was an agreement between France and Algerian resistance leader Emir Abdelkader that temporarily halted fighting and recognized his authority over large parts of Algeria during the early French conquest.
  • B. Treaty of Algiers (1815)
    The Treaty of Algiers (1815) was the agreement that ended the Second Barbary War, compelling Algiers to cease attacks on American shipping and effectively terminating U.S. payment of tribute to the Barbary States.
  • C. Treaty of Fez
    The Treaty of Fez was a 1912 agreement that made Morocco a French protectorate, marking the beginning of formal French colonial rule over the country.
  • D. Franco-Tunisian Treaty of Bardo
    The Franco-Tunisian Treaty of Bardo was an 1881 agreement that established the French protectorate over Tunisia, marking the beginning of formal French colonial rule in the country.
  • E. Treaty of Zuhab
    The Treaty of Zuhab was a 1639 peace agreement between the Ottoman Empire and Safavid Persia that largely fixed the modern border between Turkey and Iran and ended a long period of Ottoman–Safavid rivalry.
  • 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 Tunis (1816)
Triple: [Second Barbary War, treaty, Treaty of Tunis (1816)]
Generated description
The Treaty of Tunis (1816) was an agreement that ended hostilities between the United States and the Regency of Tunis during the Second Barbary War, helping to curtail Barbary piracy against American shipping in the Mediterranean.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Treaty of Tunis (1816)
Target entity description: The Treaty of Tunis (1816) was an agreement that ended hostilities between the United States and the Regency of Tunis during the Second Barbary War, helping to curtail Barbary piracy against American shipping in the Mediterranean.
  • A. Treaty of Tafna (1837)
    The Treaty of Tafna (1837) was an agreement between France and Algerian resistance leader Emir Abdelkader that temporarily halted fighting and recognized his authority over large parts of Algeria during the early French conquest.
  • B. Treaty of Algiers (1815)
    The Treaty of Algiers (1815) was the agreement that ended the Second Barbary War, compelling Algiers to cease attacks on American shipping and effectively terminating U.S. payment of tribute to the Barbary States.
  • C. Treaty of Fez
    The Treaty of Fez was a 1912 agreement that made Morocco a French protectorate, marking the beginning of formal French colonial rule over the country.
  • D. Franco-Tunisian Treaty of Bardo
    The Franco-Tunisian Treaty of Bardo was an 1881 agreement that established the French protectorate over Tunisia, marking the beginning of formal French colonial rule in the country.
  • E. Treaty of Zuhab
    The Treaty of Zuhab was a 1639 peace agreement between the Ottoman Empire and Safavid Persia that largely fixed the modern border between Turkey and Iran and ended a long period of Ottoman–Safavid rivalry.
  • 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_69c68812ef7c819099369f51febb725c completed March 27, 2026, 1:37 p.m.
NER Named-entity recognition batch_69c6d24c1b088190b99e9264b9b03dd8 completed March 27, 2026, 6:54 p.m.
NED1 Entity disambiguation (via context triple) batch_69c71a803fe08190b4dc32d09e91da07 completed March 28, 2026, 12:02 a.m.
NEDg Description generation batch_69c71c795f8c81909d7ed0a686cae4d7 completed March 28, 2026, 12:10 a.m.
NED2 Entity disambiguation (via description) batch_69c71d0fbfac8190bd7842963d049524 completed March 28, 2026, 12:13 a.m.
Created at: March 27, 2026, 2:13 p.m.