the high sheriff resides within which government office?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0272_qh m.027ty4_ m.09j3cf m.0gg70bf m.0414gsk m.03c0yd8 m.0cmc23f m.0660whp m.0cmb1kl m.027794x m.09j27t m.0gmgdgm m.04n5gd3 m.0414gts m.027ymyc m.03nrd5s m.0264fcm m.04gkrkv m.0287y7g m.09k5502 m.02ph250 m.0414gwd m.0272bsm m.0279rcq m.0glq000 m.0gmdw6t m.0gls8t2 m.0glpryc m.0gmc1_6 m.0gmbvkh m.02ph2t9 m.0406tl1 m.0czb2zr m.0283hhd m.0406ybh m.09j20d m.02rv_9w m.09j2v5 m.0283hqm m.04n23l6 m.09j26b m.0271p8t m.0406wrz m.03mbp6h m.03nrdcz m.0gmc7rq m.025z7s5 m.0gmcmp9 m.0414gvq m.0285hjp m.02ph2nv m.0414gw1 m.0408bpy m.047d27l m.0gmd769 m.0407s09 m.0gmf943 m.03ydvrc m.06zntwv m.027jc5d m.0406wn5 m.0405r9z m.0glrnrg m.0gmfkf8 m.03ydr2x m.0414gv4 m.0gmgj2d m.02839hj m.04n3lms m.0fpg79c m.0glrbw7 m.03cjt_z m.027txz2 m.0407q4j m.0gmc68q m.0414gtf m.03mbchm m.027172_ m.0cmd485 m.043kcxv m.064q23h m.03cr245 m.02833pd m.065_2f_ m.03cwlrf m.0cm85r0 m.0gmf75_ m.0414gwr m.0f6nzf m.0gmc7zn m.027txjp m.0271hff m.03mbywg m.040760j m.047f4ts m.04zw14c m.02rw13_ m.064n_tj m.0414gsx m.0406wq7 m.09v9xy3 m.0gmfyqb m.0gmgwsc m.03cpq7g m.02r5w1f m.0gmgkh2 m.098fyh m.0fq1b_6 m.027tx71 m.09j2jh m.0cm8ssz m.02vwnss m.04m_yb5 m.0gmfcj6 m.0glrpl9 m.0285zxz m.03nrdbl m.03mbcm1
High Sheriff of Gloucestershire High Sheriff of Cambridgeshire High Sheriff of Northumberland High Sheriff of Clwyd Sheriff of Anglesey High Sheriff of Durham High Sheriff of Fermanagh High Sheriff of Oxfordshire High Sheriff of Londonderry City High Sheriff of Lincolnshire High Sheriff of Cornwall High Sheriff of County Cork High Sheriff of Middlesex High Sheriff of Carmarthenshire High Sheriff of Hertfordshire High Sheriff of Cleveland High Sheriff of Rutland High Sheriff of Merseyside High Sheriff of Norfolk High Sheriff of Armagh High Sheriff of Tipperary Sheriff of Merionethshire High Sheriff of Devon High Sheriff of Essex High Sheriff of Wicklow Sheriff of County Dublin High Sheriff of Queen's County High Sheriff of Meath High Sheriff of Kerry High Sheriff of Longford High Sheriff of County Galway High Sheriff of West Yorkshire High Sheriff of Bedfordshire and Buckinghamshire Sheriff of Caernarvonshire High Sheriff of Denbighshire High Sheriff of Buckinghamshire High Sheriff of Leicestershire High Sheriff of Northamptonshire High Sheriff of the West Midlands High Sheriff of Clare High Sheriff of Cheshire High Sheriff of Somerset High Sheriff of the East Riding of Yorkshire High Sheriff of Avon High Sheriff of Hereford and Worcester High Sheriff of Leitrim High Sheriff of Yorkshire High Sheriff of Roscommon High Sheriff of Glamorgan High Sheriff of Bristol High Sheriff of Monaghan Sheriff of Monmouthshire Sheriff of Cambridgeshire and Huntingdonshire High Sheriff of Humberside High Sheriff of County Limerick High Sheriff of Herefordshire High Sheriff of Mayo High Sheriff of Powys High Sheriff of Antrim High Sheriff of Surrey High Sheriff of South Yorkshire High Sheriff of Cumberland High Sheriff of Carlow High Sheriff of Limerick City High Sheriff of Worcestershire High Sheriff of Flintshire High Sheriff of Sligo High Sheriff of Gwynedd High Sheriff of Nottinghamshire, Derbyshire and the Royal Forests High Sheriff of Cavan High Sheriff of Louth High Sheriff of Lancashire High Sheriff of Hampshire High Sheriff of Shropshire High Sheriff of Donegal High Sheriff of Cardiganshire High Sheriff of Sussex High Sheriff of Dorset High Sheriff of County Londonderry High Sheriff of Greater Manchester High Sheriff of Huntingdon and Peterborough High Sheriff of Bedfordshire High Sheriff of Warwickshire High Sheriff of the County of London High Sheriff of East Sussex High Sheriff of Tyrone High Sheriff of Wexford High Sheriff of Pembrokeshire High Sheriff of West Sussex High Sheriff of Kildare High Sheriff of Montgomeryshire High Sheriff of Derbyshire High Sheriff of Cumbria High Sheriff of North Yorkshire High Sheriff of Hallamshire High Sheriff of Belfast High Sheriff of Kent High Sheriff of Cambridgeshire and Isle of Ely High Sheriff of Brecknockshire High Sheriff of the North Riding of Yorkshire High Sheriff of Westmeath Sheriff of Dublin City High Sheriff of County Kilkenny High Sheriff of Staffordshire High Sheriff of the Isle of Wight High Sheriff of County Waterford High Sheriff of Berkshire High Sheriff of Galway Town High Sheriff of Wiltshire High Sheriff of Nottinghamshire High Sheriff of Down Sheriff of Norfolk and Suffolk High Sheriff of Suffolk High Sheriff of Kilkenny City High Sheriff of King's County High Sheriff of Westmorland High Sheriff of Greater London High Sheriff of Radnorshire
class entity
government.government_office_or_title m.058yv_
government.government_office_or_title government.government_office_category
Government Office or Title High sheriff
none none
government.government_office_or_title.category
Category
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :government.government_office_or_title . 
VALUES ?x1 { :m.058yv_ } 
?x0 :government.government_office_or_title.category ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.government_office_or_title (JOIN government.government_office_or_title.category m.058yv_))