{"ok": true, "database": "cftracker", "query_name": "official_ties", "rows": [["John Fredrickson", "20", "Nebraska Appleseed", "gift from it", "$100.01 TO $200 TICKET TO GALA", "2023", "electronic filing", 14, 11], ["Mike Jacobson", "42", "City of Lincoln", "gift from it", "$100.01 TO $200 BASKETBALL TICKETS", "2024", "electronic filing", 12, 7], ["Mike Jacobson", "42", "Lincoln Chamber of Commerce", "gift from it", "$100.01 TO $200 VIP AIR SHOW TICKETS", "2023", "electronic filing", 12, 9], ["Terrell McKinney", "11", "Omaha Public Schools", "income from it", "WRESTLING COACHING", "2022-2025", "electronic filing", 11, 7], ["Mike Jacobson", "42", "Nebraska Bankers Association", "gift from it", "$200.01 TO $500 NEBRASKA BANKERS ASSOCIATION ANNUAL DINNER, 2 TICKETS", "2025", "electronic filing", 9, 8], ["Jana Hughes", "24", "University of Nebraska", "gift from it", "$500.01 TO $1000 TWO SEASON FOOTBALL TICKETS", "2024", "electronic filing", 5, 4], ["John Fredrickson", "20", "University of Nebraska", "gift from it", "$200.01 TO $500 HOCKEY TICKETS,$500.01 TO $1000 FOOTBALL TICKETS,$100.01 TO $200 2 TICKETS TO PRESIDENTIAL SUITE FOR FOOTBALL GAME ON 10/21/2023", "2023-2025", "electronic filing", 5, 5], ["Loren Lippincott", "34", "University of Nebraska", "gift from it", "$500.01 TO $1000 UNL FOOTBALL TICKETS", "2024", "electronic filing", 5, 3], ["Mike Jacobson", "42", "University of Nebraska", "gift from it", "$200.01 TO $500 NECKTIE, LEATHER BUSINESS CARD HOLDER, CUFFLINKS, GROUND COFFEE BEANS, HUSKER HARVEST DAY PASSES,$500.01 TO $1000 SEASON FOOTBALL TICKETS", "2024-2025", "electronic filing", 5, 4], ["Rick Holdcroft", "36", "University of Nebraska", "gift from it", "$100.01 TO $200 ATTENDANCE OF A UNO MAVERICKS HOCKEY GAME", "2024", "electronic filing", 5, 3], ["Rob Clements", "2", "University of Nebraska", "gift from it", "$100.01 TO $200 FOOTBALL TICKETS", "2024", "electronic filing", 5, 3], ["Rick Holdcroft", "36", "Nebraska Public Power District", "gift from it", "$500.01 TO $1000 TRANSPORTATION AND FOOD TO TOUR WESTERN NEBRASKA POWER CONCERNS.", "2025", "electronic filing", 3, 2], ["Ashlei Spivey", "13", "I Be Black Girl", "income from it", "SALARY", "2024-2025", "electronic filing", 2, 2], ["Mike Jacobson", "42", "Nebraska Family Alliance", "gift from it", "$200.01 TO $500 LIFE & LIBERTY GALA, 2 TICKETS", "2025", "electronic filing", 2, 1], ["John Lowe", "37", "Caseys General Stores, Inc.", "owns its stock or bonds", null, "2022-2023", "electronic filing", 1, 0], ["John Lowe", "37", "Walmart Inc.", "owns its stock or bonds", null, "2022", "electronic filing", 1, 0], ["Justin Wayne", "13", "University of Nebraska", "gift from it", "$500.01 TO $1000 TICKETS TO SPRING GAME", "2022-2024", "electronic filing", 1, 1], ["Tanya Storer", "43", "Motorola Solutions, Inc.", "owns its stock or bonds", null, "2023-2025", "electronic filing", 1, 1], ["Anna Wishart", "27", "University of Nebraska", "gift from it", "$500.01 TO $1000 HUSKER FOOTBALL TICKETS", "2024", "electronic filing", 0, 0], ["Anna Wishart", "27", "Lincoln Public Schools", "income from it", "EMPLOYEE (SPOUSE)", "2024", "electronic filing", null, null], ["Dan Hughes", "44", "Microsoft Corporation", "owns its stock or bonds", null, "2022", "electronic filing", null, null], ["John Lowe", "37", "Apple Inc.", "owns its stock or bonds", null, "2022-2023", "electronic filing", null, null], ["John Lowe", "37", "Becton Dickinson", "owns its stock or bonds", null, "2022-2023", "electronic filing", null, null], ["John Lowe", "37", "Microsoft Corporation", "owns its stock or bonds", null, "2022-2023", "electronic filing", null, null], ["John Lowe", "37", "Pfizer Inc.", "owns its stock or bonds", null, "2022", "electronic filing", null, null], ["Kathleen Kauth", "31", "Tesla, Inc.", "owns its stock or bonds", null, "2022-2024", "electronic filing", null, null], ["Mike Jacobson", "42", "Nebraska Total Care", "gift from it", "$200.01 TO $500 STATEHOOD DINNER, 2 TICKETS", "2025", "electronic filing", null, null], ["Terrell McKinney", "11", "Bold Alliance, Inc.", "income from it", "LAND JUSTICE DIRECTOR", "2024-2025", "electronic filing", null, null]], "truncated": false, "columns": ["senator", "district", "organization", "ties", "details", "statement_years", "source", "votes_on_its_bills", "voted_its_way"], "query": {"sql": "with t as (\n  select f.person_id, oil.principal,\n         group_concat(distinct case i.kind when 'income' then 'income from it' when 'business' then 'officer, director, member or owner' when 'security' then 'owns its stock or bonds' when 'gift' then 'gift from it' else i.kind end) as ties,\n         group_concat(distinct nullif(trim(coalesce(i.role, '') || ' ' || coalesce(i.value, '') || ' ' || coalesce(i.description, '')), '')) as details,\n         min(f.filing_year) as first_year, max(f.filing_year) as last_year,\n         max(i.source = 'scan') as from_scan\n  from official_interest_links oil\n  join official_interests i on i.interest_id = oil.interest_id\n  join official_filings f on f.filing_key = i.filing_key\n  where f.person_id is not null\n  group by f.person_id, oil.principal\n)\nselect l.name as senator, l.district, t.principal as organization, t.ties, t.details,\n       t.first_year || case when t.last_year <> t.first_year then '-' || t.last_year else '' end as statement_years,\n       case when t.from_scan then 'read from a scan' else 'electronic filing' end as source,\n       (select sum(vr.option in ('yes', 'no')) from org_positions op\n          join bill_final_votes fv on fv.legislature = op.legislature and fv.bill = op.bill\n          join vote_records vr on vr.vote_id = fv.vote_id and vr.person_id = t.person_id\n          where op.principal = t.principal and op.clear_position is not null) as votes_on_its_bills,\n       (select sum(op.clear_position = 'support' and vr.option = 'yes' or op.clear_position = 'oppose' and vr.option = 'no')\n          from org_positions op\n          join bill_final_votes fv on fv.legislature = op.legislature and fv.bill = op.bill\n          join vote_records vr on vr.vote_id = fv.vote_id and vr.person_id = t.person_id\n          where op.principal = t.principal and op.clear_position is not null) as voted_its_way\nfrom t join legislators l on l.person_id = t.person_id\nwhere :senator = '' or l.name like '%' || :senator || '%'\norder by votes_on_its_bills desc, l.name", "params": {"senator": ""}}, "error": null, "private": false, "allow_execute_sql": false, "query_ms": 8.351246011443436, "source": "FEC, Nebraska Accountability and Disclosure Commission, Clerk of the Legislature, Open States", "source_url": "https://www.fec.gov/data/", "license": "Public records"}