Triple
T6773824
| Position | Surface form | Disambiguated ID | Type / Status |
|---|---|---|---|
| Subject | Second Barbary War |
E155104
|
entity |
| Predicate | relatedTo |
P37
|
FINISHED |
| Object | Barbary piracy |
E128555
|
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: Barbary piracy | Statement: [Second Barbary War, relatedTo, Barbary piracy]
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Barbary piracy Context triple: [Second Barbary War, relatedTo, Barbary piracy]
-
A.
Regency of Algiers
The Regency of Algiers was an Ottoman-backed North African polity centered on the city of Algiers, known for its powerful corsair fleet and role in Mediterranean piracy and conflicts with European and American powers.
-
B.
Barbary corsairs
chosen
The Barbary corsairs were North African privateers and pirates, primarily from the Ottoman regencies of Algiers, Tunis, and Tripoli, who raided European shipping and coastal settlements in the Mediterranean and Atlantic from the 16th to 19th centuries.
-
C.
Barbary States
The Barbary States were a group of North African Ottoman regencies—primarily Algiers, Tunis, Tripoli, and the Sultanate of Morocco—known for state-sponsored piracy and corsair raids in the Mediterranean from the 16th to 19th centuries.
-
D.
First Barbary War
The First Barbary War was an early 19th-century conflict in which the United States and Sweden fought North African Barbary states to stop pirate attacks on American merchant ships and assert free trade in the Mediterranean.
-
E.
Second Barbary War
The Second Barbary War was an 1815 naval conflict in which the United States decisively defeated the Barbary States of North Africa, ending American tribute payments and securing safer Mediterranean trade.
- 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_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_69c723c67dc08190b21138488c80733a |
completed | March 28, 2026, 12:41 a.m. |
Created at: March 27, 2026, 2:13 p.m.