Triple

T8617299
Position Surface form Disambiguated ID Type / Status
Subject Battle of Isly E204071 entity
Predicate treatyConsequence P5763 FINISHED
Object Treaty of Tangier (1844)
The Treaty of Tangier (1844) was a peace agreement between France and Morocco that ended hostilities following France’s victory in the Franco-Moroccan War and helped consolidate French influence in North Africa.
E745554 NE FINISHED

Named-entity recognition

Before disambiguation, gpt-5-mini classified whether the object phrase is a named entity — the step behind the object's NE type shown above.

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 Tangier (1844) | Statement: [Battle of Isly, treatyConsequence, Treaty of Tangier (1844)]

Disambiguation candidates (2 decisions)

The exact options the model was shown at each disambiguation step, with the option it chose highlighted — the evidence behind this triple's disambiguated ids.

NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Treaty of Tangier (1844)
Context triple: [Battle of Isly, treatyConsequence, Treaty of Tangier (1844)]
  • A. 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.
  • B. 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.
  • C. 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.
  • D. 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.
  • E. Treaty of Madrid (1880)
    The Treaty of Madrid (1880) was an international agreement that revised the legal and commercial status of foreign nationals in Morocco, expanding European powers’ extraterritorial privileges and influence there.
  • F. None of above. chosen
  • G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Treaty of Tangier (1844)
Target entity description: The Treaty of Tangier (1844) was a peace agreement between France and Morocco that ended hostilities following France’s victory in the Franco-Moroccan War and helped consolidate French influence in North Africa.
  • A. 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.
  • B. 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.
  • C. 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.
  • D. 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.
  • E. Treaty of Madrid (1880)
    The Treaty of Madrid (1880) was an international agreement that revised the legal and commercial status of foreign nationals in Morocco, expanding European powers’ extraterritorial privileges and influence there.
  • F. None of above. chosen

How the object was described

The object's one-sentence description was generated by prompting gpt-5.1 with the object name and this triple as context.

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 Tangier (1844)
Triple: [Battle of Isly, treatyConsequence, Treaty of Tangier (1844)]
Generated description
The Treaty of Tangier (1844) was a peace agreement between France and Morocco that ended hostilities following France’s victory in the Franco-Moroccan War and helped consolidate French influence in North Africa.

Provenance (5 batches)

Stage Batch ID Job type Status
creating batch_69ca832ceab8819096e4a9f546695079 elicitation completed
NER batch_69cc4711c7748190af26ff5a78ef66a2 ner completed
NED1 batch_69cea923ae148190a973ef8ad6ccac9a ned_source_triple completed
NED2 batch_69ceaaed65a4819083b6a30baa2c0b97 ned_description completed
NEDg batch_69cea9d23cc88190b937e89b9aa2bd66 nedg completed
Created at: March 30, 2026, 6:26 p.m.