AI extraction · jid 810 · granite4:3b-h
· 2026-05-25T06:20:59Z
Her Majesty The Queen v. Donald Hooker
Structured metadata extracted by the canary pipeline, compared against the canonical CSV-sourced row.
3 validation flags
Fields where the AI extraction disagrees with the canonical CSV row. Never auto-resolved.
| Field | AI extracted | Canonical (CSV) |
|---|---|---|
cause_number |
empty | CRIMINAL APPEAL 27/16 |
judgment_date |
2023-05-28 | 2017-Mar-27 |
court |
Court | Court of Appeal |
Core metadata
| Field | Value |
|---|---|
| Cause number | CICA (CRIM) APPEAL NO. 0027 OF 2016 |
| Court | Court of Appeal |
| Court token (AKN) | cigc-other |
| Judgment date | 2017-Mar-27 |
| Subject | Appeal - Leave to Appeal sentence |
| Classification | text_layer |
| Extraction method | pymupdf |
Akoma Ntoso identifiers
- Work
/akn/ky/judgment/cigc-other/2023-05-28/unknown- Expression
/akn/ky/judgment/cigc-other/2023-05-28/unknown/eng@- Manifestation
/akn/ky/judgment/cigc-other/2023-05-28/unknown/eng@.pdf
Top-Level Concepts (TLC) referenced
Persons, organisations, and concepts the pipeline identified in the document. Dedup'd across the corpus by name + IRI.
Persons (2)
-
No specific judges mentioned (no names provided)
/akn/ontology/canary/person/judge/ky.no-specific-judges-mentioned-no-names-provided -
None (public officials not named)
/akn/ontology/canary/person/judge/ky.none-public-officials-not-named
Organisations (1)
-
Court
/akn/ontology/canary/organization/court/ky.court
Concepts (4)
-
Criminal law
/akn/ontology/canary/concept/area-of-law/criminal-law -
Criminal procedure
/akn/ontology/canary/concept/area-of-law/criminal-procedure -
Judgment delivered
/akn/ontology/canary/concept/step/delivery -
Judgment perfected
/akn/ontology/canary/concept/step/perfection
Roles (2)
-
Not Specified
/akn/ontology/canary/role/not-specified -
N/A
/akn/ontology/canary/role/n-a
Lifecycle events
| eId | Date | Type | Source |
|---|---|---|---|
ev_delivery |
2023-05-28 | generation | #canary |
ev_perfection |
2025-08-08 | amendment | #canary |
Extraction provenance
- Model
- granite4:3b-h
- Pipeline version
- 0.2.0-akn
- Extracted at
- 2026-05-25T06:20:59Z
- Text method
- pymupdf
- Input tokens
- 4,096
- Output tokens
- 180
- Word count
- 1,770
- Paragraph count
- 2014
- PDF pages
- 5
- PDF MD5
- 3cfc747da9f6c99bbd4f1a1c45220655
- PDF filename
- 6BJX3TQURLMM1DE607FIA31056F6D9A6E0D495C06EF5FE5F02DD.pdf
- Run ID
- 2782
- Run ok?
- yes
- Run duration (s)
- 27.4
- Quality score
- 0.804
- Re-run priority
- medium
Raw AKN envelope JSON
{
"_canary": {
"iri": {
"work": "/akn/ky/judgment/cigc-other/2023-05-28/unknown",
"expression": "/akn/ky/judgment/cigc-other/2023-05-28/unknown/eng@",
"manifestation": "/akn/ky/judgment/cigc-other/2023-05-28/unknown/eng@.pdf"
},
"pdf": {
"md5": "3cfc747da9f6c99bbd4f1a1c45220655",
"path": "/home/q/Dropbox/coding/canary/data/judgment_pdfs/6BJX3TQURLMM1DE607FIA31056F6D9A6E0D495C06EF5FE5F02DD.pdf",
"pages": 5,
"filename": "6BJX3TQURLMM1DE607FIA31056F6D9A6E0D495C06EF5FE5F02DD.pdf"
},
"errors": [],
"extraction": {
"model": "granite4:3b-h",
"stats": {
"word_count": 1770,
"paragraph_count": 2014,
"text_char_count": 10511
},
"usage": {
"input_tokens": 4096,
"output_tokens": 180,
"cache_read_input_tokens": 0,
"cache_creation_input_tokens": 0
},
"method": "pymupdf",
"version": "0.2.0-akn",
"extracted_at": "2026-05-25T06:20:59.281464+00:00"
},
"classification": "text_layer",
"validation_flags": [
{
"note": "Extracted value disagrees with canonical CSV-sourced row. Recorded for later review (no auto-resolution).",
"field": "cause_number",
"canonical_value": "CRIMINAL APPEAL 27/16",
"extracted_value": null
},
{
"note": "Extracted value disagrees with canonical CSV-sourced row. Recorded for later review (no auto-resolution).",
"field": "judgment_date",
"canonical_value": "2017-Mar-27",
"extracted_value": "2023-05-28"
},
{
"note": "Extracted value disagrees with canonical CSV-sourced row. Recorded for later review (no auto-resolution).",
"field": "court",
"canonical_value": "Court of Appeal",
"extracted_value": "Court"
}
],
"docai_processor_id": null
},
"akomaNtoso": {
"doc": null,
"judgment": {
"meta": {
"notes": {
"note": [
{
"eId": "note_1",
"text": "The defendant was imprisoned for an unspecified period."
},
{
"eId": "note_2",
"text": "No specific details about the nature of the offense were provided."
}
],
"source": "#canary"
},
"workflow": {
"step": [
{
"as": null,
"by": "#canary",
"eId": "step_delivery",
"date": "2023-05-28",
"outcome": null,
"refersTo": "#concept-step_1"
},
{
"as": null,
"by": "#canary",
"eId": "step_perfection",
"date": "2025-08-08",
"outcome": null,
"refersTo": "#concept-step_2"
}
],
"source": "#canary"
},
"lifecycle": {
"source": "#canary",
"eventRef": [
{
"eId": "ev_delivery",
"date": "2023-05-28",
"type": "generation",
"source": "#canary"
},
{
"eId": "ev_perfection",
"date": "2025-08-08",
"type": "amendment",
"source": "#canary"
}
]
},
"references": {
"source": "#canary",
"TLCRole": [
{
"eId": "role_1",
"href": "/akn/ontology/canary/role/not-specified",
"showAs": "Not Specified"
},
{
"eId": "role_2",
"href": "/akn/ontology/canary/role/n-a",
"showAs": "N/A"
}
],
"TLCEvent": [],
"TLCPerson": [
{
"eId": "person-judge_1",
"href": "/akn/ontology/canary/person/judge/ky.no-specific-judges-mentioned-no-names-provided",
"showAs": "No specific judges mentioned (no names provided)"
},
{
"eId": "person-judge_2",
"href": "/akn/ontology/canary/person/judge/ky.none-public-officials-not-named",
"showAs": "None (public officials not named)"
}
],
"TLCConcept": [
{
"eId": "concept-area-of-law_1",
"href": "/akn/ontology/canary/concept/area-of-law/criminal-law",
"showAs": "Criminal law"
},
{
"eId": "concept-area-of-law_2",
"href": "/akn/ontology/canary/concept/area-of-law/criminal-procedure",
"showAs": "Criminal procedure"
},
{
"eId": "concept-step_1",
"href": "/akn/ontology/canary/concept/step/delivery",
"showAs": "Judgment delivered"
},
{
"eId": "concept-step_2",
"href": "/akn/ontology/canary/concept/step/perfection",
"showAs": "Judgment perfected"
}
],
"TLCProcess": [],
"TLCLocation": [],
"TLCOrganization": [
{
"eId": "org-court_1",
"href": "/akn/ontology/canary/organization/court/ky.court",
"showAs": "Court"
}
]
},
"classification": {
"source": "#canary",
"keyword": [
{
"href": "/akn/ontology/canary/concept/area-of-law/criminal-law",
"value": "Criminal law",
"showAs": "Criminal Law",
"dictionary": "canary"
},
{
"href": "/akn/ontology/canary/concept/area-of-law/criminal-procedure",
"value": "Criminal procedure",
"showAs": "Criminal Procedure",
"dictionary": "canary"
}
]
},
"identification": {
"source": "#canary",
"FRBRWork": {
"FRBRuri": "/akn/ky/judgment/cigc-other/2023-05-28/unknown",
"FRBRdate": [
{
"date": "2023-05-28",
"name": "delivery"
}
],
"FRBRthis": "/akn/ky/judgment/cigc-other/2023-05-28/unknown/!main",
"FRBRalias": [],
"FRBRauthor": [
{
"as": "#author",
"href": "/akn/ontology/canary/organization/court/ky.court"
}
],
"FRBRnumber": null,
"FRBRcountry": "ky",
"FRBRsubtype": "cigc-other"
},
"FRBRExpression": {
"FRBRuri": "/akn/ky/judgment/cigc-other/2023-05-28/unknown/eng@",
"FRBRdate": [
{
"date": "2023-05-28",
"name": "delivery"
}
],
"FRBRthis": "/akn/ky/judgment/cigc-other/2023-05-28/unknown/eng@/!main",
"FRBRauthor": [
{
"as": "#editor",
"href": "/akn/ontology/canary/organization/editor/canary"
}
],
"FRBRlanguage": "eng"
},
"FRBRManifestation": {
"FRBRuri": "/akn/ky/judgment/cigc-other/2023-05-28/unknown/eng@.pdf",
"FRBRdate": [
{
"date": "2026-05-25",
"name": "extraction"
}
],
"FRBRthis": "/akn/ky/judgment/cigc-other/2023-05-28/unknown/eng@.pdf",
"FRBRauthor": [
{
"as": "#editor",
"href": "/akn/ontology/canary/organization/editor/canary"
}
],
"FRBRformat": "application/pdf"
}
}
},
"name": "judgment",
"header": {
"court": {
"showAs": "Court",
"refersTo": "#org-court_1"
},
"judges": [
{
"as": "#role_1",
"eId": "judge_1",
"name": "No specific judges mentioned (no names provided)",
"refersTo": "#person-judge_1"
},
{
"as": "#role_2",
"eId": "judge_2",
"name": "None (public officials not named)",
"refersTo": "#person-judge_2"
}
],
"lawyers": [],
"parties": [],
"docketNumber": null,
"judgmentKind": "Consecutive imprisonment for 2 years (or until further notice)",
"neutralCitation": null
}
}
}
}