Who is the historic county of England for shares border with of Hampshire
 select distinct ?sbj where { ?sbj wdt:P47 wd:Q23204 . ?sbj wdt:P31 wd:Q1138494 } 
hampshire: Q23204 historic county of england: Q1138494