{"ok": true, "database": "cp40x", "query_name": "occupation_gloss_sample", "rows": [["(not given)", "Richard", "his son", "Richard, his son", 1349], ["(not given)", "Richard", "his son", "Richard, his son", 1349], ["atte March", "Nicholas", "Rose, his wife", "atte March, Nicholas, Rose, his wife", 1349], ["Baddeby", "Richard de", "Margaret, his wife", "Baddeby, Richard de, Margaret, his wife", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "Baldwin", "his son", "Baldwin, his son", 1349], ["(not given)", "William", "his son", "William, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "Walter", "his son", "Walter, his son", 1349], ["Cotes", "John", "son of William Cotes, deceased, & Isabel, his wife", "Cotes, John, son of William Cotes, deceased, & Isabel, his wife", 1349], ["(not given)", "William", "his son, clerk", "William, his son, clerk", 1349], ["(not given)", "Thomas", "his son", "Thomas, his son", 1349], ["(not given)", "William", "his son", "William, his son", 1349], ["(not given)", "Thomas", "his son", "Thomas, his son", 1349], ["(not given)", "Thomas", "his son", "Thomas, his son", 1349], ["(not given)", "Henry", "his son", "Henry, his son", 1349], ["(not given)", "Richard", "his son", "Richard, his son", 1349], ["(not given)", "Henry", "his son", "Henry, his son", 1349], ["(not given)", "Richard", "his son", "Richard, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "William", "his son", "William, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "Thomas", "his son", "Thomas, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "Thomas", "his son", "Thomas, his son", 1349], ["(not given)", "William", "his son", "William, his son", 1349], ["(illegible)", null, "his son", "_, his son", 1349], ["(not given)", "William", "his son", "William, his son", 1349], ["(not given)", "William", "his son", "William, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "William", "his son", "William, his son", 1349], ["(not given)", "Richard", "his son", "Richard, his son", 1349], ["(not given)", "Nicholas", "his son", "Nicholas, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "Geoffrey", "his son", "Geoffrey, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "Henry", "his son, chaplain", "Henry, his son, chaplain", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "Roger", "his son", "Roger, his son", 1349], ["(not given)", "John", "his son", "John, his son", 1349], ["(not given)", "William", "his son", "William, his son", 1349], ["(not given)", "William", "his son", "William, his son", 1349], ["(not given)", "William", "his son", "William, his son", 1349], ["(not given)", "Simons", "his son", "Simons, his son", 1349]], "truncated": false, "columns": ["surname", "forename", "occupation", "raw_segment", "year"], "query": {"sql": "SELECT n.surname, n.forename, n.occupation, n.raw_segment, c.year\nFROM names n\nJOIN cases c ON c.id = n.case_id\nWHERE (n.occupation LIKE '%his wife%'\n   OR n.occupation LIKE '%his son%'\n   OR n.occupation LIKE '%widow%')\n  AND c.year IS NOT NULL\n  AND c.year >= CAST(COALESCE(NULLIF(:start_year, ''), '1349') AS INTEGER)\n  AND c.year <= CAST(COALESCE(NULLIF(:end_year, ''), '1596') AS INTEGER)\nLIMIT 50\n", "params": {"start_year": "", "end_year": ""}}, "error": null, "private": false, "allow_execute_sql": true, "query_ms": 6.533089093863964}