user: You are a structured reasoning expert tasked with solving problems step by step. 
You first think about the reasoning process in the mind and then provide the answer. The reasoning process and answer should be enclosed within <think> </think> and <answer> </answer> tags, respectively, i.e., <think> reasoning process here </think> <answer> answer here </answer>. 
Given a question and the associated knowledge graph triplets (entity, relation, entity), you are asked to answer the question with these triplets and your own knowledge. 
You can break down the original question into several sub-questions and explore the given knowledge graph to solve them step-by-step. If there are multiple possible answers, choose one as the final answer. 
After thinking, when you finally reach a conclusion, clearly state the answer within <answer> </answer> tags, i.e., <answer> answer here </answer>. 
Question: where is midlothian scotland? 
Knowledge Triplets: South Lanarkshire, base.aareas.schema.administrative_area.administrative_parent, Scotland
North Ayrshire, location.location.containedby, Scotland
Midlothian, location.location.contains, St David's Church, Dalkeith
Shawfair, location.location.containedby, Scotland
West Lothian, location.administrative_division.country, United Kingdom
Dundee, location.location.containedby, Scotland
Scotland, location.statistical_region.places_exported_to, m.0cl9ldf
Midlothian, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
Scotland, location.location.events, Glorious Revolution
Fala, location.location.containedby, Midlothian
Scotland, location.country.first_level_divisions, Perth and Kinross
Midlothian, location.location.events, Battle of Roslin
United Kingdom, location.country.second_level_divisions, East Lothian
Scotland, location.statistical_region.population, m.0cl9l2s
United Kingdom, location.country.second_level_divisions, North Ayrshire
West Dunbartonshire, base.aareas.schema.administrative_area.administrative_parent, Scotland
Nine Mile Burn, location.location.containedby, Midlothian
North Lanarkshire, location.administrative_division.first_level_division_of, Scotland
Midlothian, location.location.people_born_here, Keith Jack
East Dunbartonshire, location.location.containedby, Scotland
South Lanarkshire, location.administrative_division.first_level_division_of, Scotland
Outer Hebrides, location.location.containedby, Scotland
Scotland, location.administrative_division.country, United Kingdom
Loanhead, base.biblioness.bibs_location.city, Midlothian
Scotland, location.location.events, Battle of Philiphaugh
West Lothian, location.location.containedby, United Kingdom, with Dependencies and Territories
East Dunbartonshire, base.aareas.schema.administrative_area.administrative_parent, Scotland
United Kingdom, location.country.second_level_divisions, South Ayrshire
North Ayrshire, location.location.containedby, United Kingdom, with Dependencies and Territories
Scotland, location.country.first_level_divisions, North Ayrshire
Scotland, base.aareas.schema.administrative_area.pertinent_type, Scottish island area
United Kingdom, location.country.second_level_divisions, Aberdeenshire
Midlothian, location.location.people_born_here, John Mercer
East Dunbartonshire, location.location.containedby, United Kingdom
South Ayrshire, location.administrative_division.first_level_division_of, Scotland
Scotland, common.topic.webpage, m.09wvtqd
Midlothian, location.location.contains, Roslin
Scotland, location.location.events, Battle of Inverurie
Scotland, common.topic.webpage, m.09xr4s8
Scotland, location.statistical_region.population, m.0cl9l0_
Midlothian, location.location.contains, Loanhead
Scotland, location.statistical_region.places_exported_to, m.0cl9lcf
Scotland, common.topic.webpage, m.09w71r9
East Dunbartonshire Independent Alliance, organization.organization.geographic_scope, Scotland
Aberdeen, location.location.containedby, Scotland
Scotland, location.location.events, Battle of Glenlivet
Scotland, location.country.first_level_divisions, Midlothian
West Lothian, location.administrative_division.second_level_division_of, United Kingdom
m.09ywf92, common.webpage.topic, Scotland
East Ayrshire, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
Hillend, Edinburgh, location.location.containedby, United Kingdom
Scotland, location.statistical_region.population, m.0cl9ky_
East Ayrshire, common.topic.notable_types, Scottish council area
Scotland, location.country.first_level_divisions, Moray
West Lothian, common.topic.notable_types, Scottish council area
Scotland in the Wars of the Three Kingdoms, time.event.locations, Scotland
Scotland, location.country.first_level_divisions, Renfrewshire
Scald Law, location.location.containedby, Midlothian
North Lanarkshire, common.topic.notable_types, Scottish council area
United Kingdom, location.country.second_level_divisions, Midlothian
Scotland, location.location.events, Battle of Dunbar
West Lothian, location.location.containedby, United Kingdom
Midlothian, location.statistical_region.population, m.030n_vl
Scotland, base.aareas.schema.administrative_area.administrative_children, South Lanarkshire
North Ayrshire, base.aareas.schema.administrative_area.administrative_parent, Scotland
Scotland, base.aareas.schema.administrative_area.administrative_children, East Lothian
Argyll and Bute, location.location.containedby, United Kingdom
Scotland, location.location.events, Battle of Dollar
Scotland, location.location.events, 2014 Scottish Mental Health Arts and Film Festival
East Lothian, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
Argyll and Bute, location.administrative_division.first_level_division_of, Scotland
Scotland, location.country.first_level_divisions, West Dunbartonshire
City of Edinburgh Council Area, location.location.containedby, Scotland
Scotland, common.topic.webpage, m.09ywf92
Midlothian, base.aareas.schema.administrative_area.capital, Dalkeith
Scotland, base.aareas.schema.administrative_area.administrative_children, East Ayrshire
Bilston, location.location.containedby, Midlothian
East Renfrewshire, common.topic.notable_types, Scottish council area
Scottish Borders, location.location.containedby, United Kingdom, with Dependencies and Territories
Orkney, base.aareas.schema.administrative_area.administrative_parent, Scotland
Scotland, location.country.first_level_divisions, Highland
Midlothian, location.location.contains, Hillend, Edinburgh
Scotland, base.aareas.schema.administrative_area.administrative_children, Orkney
West Dunbartonshire, location.administrative_division.first_level_division_of, Scotland
Scotland, location.statistical_region.population, m.0cl9l5_
Scotland, location.location.events, Battle of Bauds
Battle of Roslin, time.event.locations, Midlothian
NHS Lothian, common.topic.image, Lothian
m.0b48p67, common.webpage.topic, Scotland
Midlothian, location.location.contains, Lasswade
Renfrewshire, location.location.containedby, Scotland
East Lothian, location.administrative_division.country, United Kingdom
General Register Office for Scotland, base.statistics.statistics_agency.geographic_scope, Scotland
Scotland, location.country.first_level_divisions, Shetland
m.0j3q6dz, location.location_symbol_relationship.administrative_division, Scotland
Midlothian, location.location.containedby, Scotland
m.0b6rzhd, common.webpage.topic, Scotland
Scotland, base.popstra.location.vacationers, m.064jkl3
Danderhall, location.location.containedby, Midlothian
Moray, location.location.containedby, Scotland
Glencorse Reservoir, location.location.containedby, Midlothian
Carnethy Hill, location.location.containedby, Midlothian
Scotland, fictional_universe.fictional_setting.contains, Wyvern Hill
Scotland, location.statistical_region.places_exported_to, m.0cl9lc4
Scotland, location.statistical_region.population, m.0cl9l34
Midlothian, location.location.people_born_here, Charles W. Nibley
East Ayrshire, location.administrative_division.first_level_division_of, Scotland
Midlothian, location.location.contains, Fala
Scotland, location.statistical_region.population, m.0cl9l65
East Renfrewshire, location.administrative_division.first_level_division_of, Scotland
Scotland, location.location.adjoin_s, m.0724fc9
Scotland, location.location.events, Caroline era
Clackmannanshire, location.location.containedby, Scotland
Midlothian, location.location.contains, Penicuik
Scotland, location.statistical_region.gdp_real, m.0j3k7v_
Dalkeith, location.location.containedby, Midlothian
Scotland, location.statistical_region.places_exported_to, m.0cl9lcp
Scotland, location.country.national_anthem, m.0b_kldy
Scotland, location.location.events, 2012 Scottish Mental Health Arts and Film Festival
Scotland, location.statistical_region.gdp_nominal_per_capita, m.0cl9l86
Midlothian, common.topic.article, m.011w91
Inverclyde, location.location.containedby, Scotland
m.064jkl3, base.popstra.vacation_choice.location, Scotland
Scotland, location.location.events, Battle of Corrichie
Argyll and Bute, location.administrative_division.country, United Kingdom
Midlothian, location.uk_council_area.administrative_headquarters, Dalkeith
Scotland, common.topic.webpage, m.09ysn7z
Midlothian, location.location.geolocation, m.02_h136
Scotland, location.country.first_level_divisions, Comhairle nan Eilean Siar
Scotland, location.statistical_region.population, m.0cl9l4w
East Lothian, common.topic.notable_types, Scottish council area
Orkney Islands Council Area, location.location.containedby, Scotland
Scotland, location.location.events, 2012 Discovery Film Festival
m.09w71r9, common.webpage.topic, Scotland
Scotland, location.statistical_region.population, m.0cl9l6c
William Campbell Walker, people.person.place_of_birth, Midlothian
m.09xr4s8, common.webpage.topic, Scotland
Scotland, location.location.events, Bishops' Wars
Scotland, location.location.events, Battle of Skaithmuir
West Lothian, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
Scotland, location.location.events, 2014–15 Scottish Championship
Scotland, location.country.first_level_divisions, East Ayrshire
Midlothian, location.location.people_born_here, William Campbell Walker
m.072b619, location.adjoining_relationship.adjoins, Scotland
Scotland, location.country.first_level_divisions, Stirling
Stirling, location.location.containedby, Scotland
Aberdeenshire, common.topic.notable_types, Scottish council area
North Ayrshire, location.administrative_division.country, United Kingdom
Midlothian, location.location.people_born_here, Tom Walkinshaw
Scotland, location.location.events, Battle of Altimarlach
East Dunbartonshire, common.topic.notable_types, Scottish council area
Orkney, location.location.containedby, Scotland
Midlothian, common.topic.image, Midlothian council
m.064swkg, base.popstra.vacation_choice.location, Scotland
West Dunbartonshire, location.administrative_division.country, United Kingdom
Scotland, location.location.events, Battle of Glen Affric
East Dunbartonshire, location.administrative_division.country, United Kingdom
m.09ywj8p, common.webpage.topic, Scotland
Orkney, location.administrative_division.country, Scotland
Midlothian, location.location.contains, Mayfield
Scotland, location.country.first_level_divisions, Fife
Midlothian, base.aareas.schema.administrative_area.administrative_parent, Scotland
Scotland, location.country.official_language, English Language
Penicuik, location.location.containedby, Midlothian
Midlothian, location.location.containedby, United Kingdom, with Dependencies and Territories
Scotland, common.topic.webpage, m.09y7nls
Scotland, location.country.first_level_divisions, East Renfrewshire
Midlothian, common.image.appears_in_topic_gallery, Midlothian
Scotland, base.popstra.location.vacationers, m.064swkg
Scotland, location.statistical_region.population, m.0cl9l0m
Bonnyrigg, location.location.containedby, Midlothian
Scotland, location.country.first_level_divisions, Falkirk
Midlothian, location.location.contains, Nine Mile Burn
Midlothian, common.image.size, m.01xfr7n
South Ayrshire, location.location.containedby, United Kingdom
Scotland, location.country.first_level_divisions, South Ayrshire
Scotland, location.country.first_level_divisions, Inverclyde
United Kingdom, location.country.second_level_divisions, East Dunbartonshire
Carnethy Hill, location.location.containedby, Scotland
m.09wxk73, common.webpage.topic, Scotland
United Kingdom, location.country.second_level_divisions, West Dunbartonshire
Scotland, location.location.events, Stuart period
West Dunbartonshire, location.location.containedby, United Kingdom
Scotland, location.location.events, Battle of Allt Camhna
Scotland, location.country.national_anthem, m.0d8c1kr
m.09ysn7z, common.webpage.topic, Scotland
Midlothian, location.location.containedby, United Kingdom, with Dependencies and Territories
South Ayrshire, base.aareas.schema.administrative_area.administrative_parent, Scotland
Scotland, location.location.events, Battle of Killiecrankie
Highland, location.location.containedby, Scotland
m.09xrdl9, common.webpage.topic, Scotland
Scotland, location.location.geolocation, m.046vygr
East Lothian, location.location.containedby, United Kingdom, with Dependencies and Territories
Scotland, location.country.languages_spoken, Old English
South Ayrshire, common.topic.notable_types, Scottish council area
Midlothian, location.location.containedby, United Kingdom
Scotland, location.statistical_region.places_exported_to, m.0cl9lff
Aberdeenshire, location.location.containedby, Scotland
Scotland, location.country.first_level_divisions, Scottish Borders
Scotland, fictional_universe.fictional_setting.works_set_here, 44 Scotland Street
Scotland, location.location.events, Battle of Leckmelm
Edinburgh, government.governmental_jurisdiction.agencies, NHS Lothian
Midlothian, location.location.contains, Glencorse Reservoir
Scotland, location.statistical_region.population, m.0cl9l15
m.0jvvp14, location.administrative_division_capital_relationship.administrative_division, Midlothian
Scotland, location.statistical_region.population, m.0cl9kyf
Glasgow, location.location.containedby, Scotland
Scotland, location.country.first_level_divisions, East Dunbartonshire
m.09w6s2t, common.webpage.topic, Scotland
Scotland, location.country.first_level_divisions, Orkney
Scotland, location.statistical_region.population, m.0cl9l57
Scotland, location.statistical_region.places_exported_to, m.0cl9ld5
Midlothian, location.administrative_division.country, United Kingdom
m.09wvtqd, common.webpage.topic, Scotland
Scotland, common.topic.webpage, m.09xplmp
Argyll and Bute, location.location.containedby, Scotland
Jock Young, people.person.place_of_birth, Midlothian
Scotland, location.country.first_level_divisions, East Lothian
m.0b479nj, common.webpage.topic, Scotland
Scotland, location.statistical_region.population, m.0cl9l5f
Scotland, location.statistical_region.population, m.0cl9l6k
Midlothian, location.administrative_division.second_level_division_of, United Kingdom
Scotland, location.location.adjoin_s, m.072b619
NHS Lothian, government.government_agency.jurisdiction, West Lothian
Scotland, location.location.events, Battle of Glen Fruin
Midlothian, common.topic.image, Midlothian
John Mercer, people.person.place_of_birth, Midlothian
Midlothian, location.location.contains, Danderhall
Midlothian, location.administrative_division.capital, m.0jvvp14
Falkirk, location.administrative_division.first_level_division_of, Scotland
Midlothian, location.location.contains, Newbattle
Pathhead, location.location.containedby, Midlothian
Scotland, location.country.national_anthem, m.0d8c0sc
Scotland, location.country.first_level_divisions, North Lanarkshire
Hillend, Edinburgh, common.topic.image, Looking towards the Pentland Hills from Hillend
South Lanarkshire, location.location.containedby, Scotland
Scotland, location.statistical_region.population, m.0cl9l5m
Scotland, common.topic.webpage, m.09ywj8p
Gorebridge, location.location.containedby, Midlothian
Midlothian, common.topic.notable_types, Scottish council area
Perth and Kinross, location.location.containedby, Scotland
South Ayrshire, location.location.containedby, Scotland
m.09y7nls, common.webpage.topic, Scotland
Temple, location.location.containedby, Midlothian
Lasswade, location.location.containedby, Midlothian
East Renfrewshire, base.aareas.schema.administrative_area.administrative_parent, Scotland
Midlothian, location.location.people_born_here, Edward Little
Hillend, Edinburgh, location.location.containedby, Midlothian
Scotland, location.location.events, Siege of Brahan
Scotland, location.statistical_region.places_exported_to, m.0cl9lf5
Scotland, location.location.events, Second War of Scottish Independence
Scotland, location.location.nearby_airports, Wick Airport
Scotland, common.topic.webpage, m.09x2_36
Scotland, location.country.first_level_divisions, Glasgow
East Lothian, base.aareas.schema.administrative_area.administrative_parent, Scotland
East Lothian, location.location.containedby, Scotland
Scotland, location.location.events, DNA Tour
Scotland, base.aareas.schema.administrative_area.administrative_children, West Lothian
Scotland, location.location.events, Battle of Renfrew
Scotland, location.location.events, Siege of Fort William
Scotland, base.aareas.schema.administrative_area.administrative_children, East Renfrewshire
River Tweed, location.location.partially_containedby, Scotland
North Ayrshire, location.administrative_division.first_level_division_of, Scotland
Scotland, location.location.events, Planned French invasion of Britain
Scotland, common.topic.notable_for, g.1259mfwy2
East Dunbartonshire, location.location.containedby, United Kingdom, with Dependencies and Territories
Scotland, common.topic.webpage, m.09xrdl9
Scotland, location.location.events, 1977–78 Scottish First Division
Scotland, common.topic.webpage, m.0b467cm
m.09x2_36, common.webpage.topic, Scotland
Shetland, location.location.containedby, Scotland
Scottish Borders, location.location.containedby, United Kingdom
Scotland, location.location.adjoin_s, m.04dgsf4
Midlothian, location.location.people_born_here, Jock Young
Gladhouse Reservoir, location.location.containedby, Midlothian
m.0b475p1, common.webpage.topic, Scotland
Falkirk, location.location.containedby, Scotland
Scotland, common.topic.webpage, m.0b479nj
Midlothian, location.location.contains, Dalkeith
Scotland, location.location.events, Wars of the Three Kingdoms
East Ayrshire, location.location.containedby, Scotland
Midlothian, location.location.people_born_here, Charles Thomson Rees Wilson
m.0724fc9, location.adjoining_relationship.adjoins, Scotland
Orkney, location.location.containedby, United Kingdom
Scotland, location.location.events, 2011 Discovery Film Festival
Midlothian, government.governmental_jurisdiction.agencies, NHS Lothian
Scotland, location.statistical_region.population, m.0cl9kym
Midlothian, location.location.contains, Shawfair
Scotland, common.topic.article, m.06q21
Scotland, location.location.events, Battle of Clachnaharry
Dumfries and Galloway, base.aareas.schema.administrative_area.administrative_parent, Scotland
Tom Walkinshaw, people.person.place_of_birth, Midlothian
Scotland, base.biblioness.bibs_location.country, United Kingdom
Scotland, location.location.events, 2006 Discovery Film Festival
Midlothian, location.location.contains, Easthouses
East Lothian, location.location.containedby, United Kingdom
Midlothian, location.location.contains, Carnethy Hill
Renfrewshire, common.topic.notable_types, Scottish council area
Scotland, location.statistical_region.places_exported_to, m.0cl9lcy
Aberdeenshire, location.location.containedby, United Kingdom
East Dunbartonshire, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
Midlothian, location.location.contains, Temple
North Ayrshire, location.location.containedby, United Kingdom
Newbattle, location.location.containedby, Midlothian
Scotland, common.topic.webpage, m.09wxk73
Scotland, location.statistical_region.population, m.0cl9kyt
Easthouses, location.location.containedby, Midlothian
John Howard Wilson, people.person.place_of_birth, Midlothian
Scotland, location.country.first_level_divisions, Argyll and Bute
East Ayrshire, location.location.containedby, United Kingdom, with Dependencies and Territories
North Lanarkshire, location.location.containedby, Scotland
Scotland, location.location.events, Battle of Inverkeithing
Midlothian, base.biblioness.bibs_location.country, Scotland
Scotland, location.location.events, Anglo-Scottish Wars
Scotland, base.aareas.schema.administrative_area.administrative_children, Renfrewshire
Scotland, base.aareas.schema.administrative_area.pertinent_type, Scottish district
Scotland, base.aareas.schema.administrative_area.administrative_children, City of Edinburgh Council Area
South Ayrshire, location.location.containedby, United Kingdom, with Dependencies and Territories
Scotland, base.aareas.schema.administrative_area.administrative_children, Aberdeenshire
Kingdom of Scotland, location.location.events, First War of Scottish Independence
Scotland, base.aareas.schema.administrative_area.administrative_children, South Ayrshire
Fife, location.location.containedby, Scotland
Scotland, base.aareas.schema.administrative_area.administrative_children, North Ayrshire
Clackmannanshire, location.administrative_division.first_level_division_of, Scotland
Communities Scotland, government.government_agency.jurisdiction, Scotland
Midlothian, location.location.contains, Edgelaw Reservoir
Scottish Borders, location.location.containedby, Scotland
Midlothian, location.location.contains, Pathhead
Charles Thomson Rees Wilson, people.person.place_of_birth, Midlothian
South Ayrshire, location.administrative_division.country, United Kingdom
St David's Church, Dalkeith, location.location.containedby, Scotland
North Lanarkshire, base.aareas.schema.administrative_area.administrative_parent, Scotland
Scotland, location.location.events, 2004 Discovery Film Festival
Midlothian, base.aareas.schema.administrative_area.administrative_parent, Scotland
Dumfries and Galloway, location.location.containedby, Scotland
South Lanarkshire, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
Midlothian council, common.image.appears_in_topic_gallery, Midlothian
Scotland, location.statistical_region.population, m.0cl9kp9
Scotland, location.statistical_region.places_exported_to, m.0cl9ldp
Scotland, location.statistical_region.gdp_nominal, m.0hyzsnw
Scotland, base.aareas.schema.administrative_area.administrative_children, West Dunbartonshire
Scotland, location.location.events, Battle of Kilsyth
East Ayrshire, base.aareas.schema.administrative_area.administrative_parent, Scotland
Highland, location.administrative_division.first_level_division_of, Scotland
Scotland, location.location.events, Battle of Dryfe Sands
m.0b467cm, common.webpage.topic, Scotland
Scottish Borders, location.administrative_division.first_level_division_of, Scotland
Scotland, location.statistical_region.population, m.0cl9l5t
Scotland, location.location.events, Scottish independence referendum, 2014
NHS Lothian, government.government_agency.jurisdiction, Midlothian
Scotland, location.location.events, Battle of Bloody Bay
Scotland, location.country.form_of_government, Constitutional monarchy
Scotland, location.location.events, 2013 Scottish Mental Health Arts and Film Festival
Scotland, location.location.events, Battle of Traigh Ghruinneart
Scotland, location.statistical_region.population, m.0mwv9hm
South Ayrshire, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
East Ayrshire, location.administrative_division.country, United Kingdom
North Lanarkshire, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
East Ayrshire, location.location.containedby, United Kingdom
Scotland, location.country.form_of_government, Devolution
Scotland, location.statistical_region.places_exported_to, m.0cl9ldy
Aberdeenshire, location.administrative_division.first_level_division_of, Scotland
Scotland, location.country.first_level_divisions, Aberdeenshire
Mayfield, location.location.containedby, Midlothian
Scotland, location.location.events, Battle of Mauchline Muir
Midlothian, location.location.people_born_here, John Howard Wilson
Keith Jack, people.person.place_of_birth, Midlothian
Scotland, location.country.languages_spoken, Scots Language
West Lothian, location.administrative_division.first_level_division_of, Scotland
NHS Lothian, government.government_agency.jurisdiction, East Lothian
Roslin, location.location.containedby, Midlothian
West Dunbartonshire, common.topic.notable_types, Scottish council area
Scotland, location.country.administrative_divisions, Orkney
m.0wj33vb, people.place_lived.location, Midlothian
Midlothian, location.location.contains, Bilston
Midlothian, location.administrative_division.first_level_division_of, Scotland
Scotland, location.location.events, 2009–10 Scottish Challenge Cup
m.065pc90, base.popstra.vacation_choice.location, Scotland
Scotland, location.statistical_region.population, m.0hsb7vs
Scotland, location.country.first_level_divisions, Clackmannanshire
Scotland, location.statistical_region.population, m.0cl9l51
Scotland, location.location.partially_contains, River Tweed
Scotland, location.statistical_region.population, m.0cl9l2z
Loanhead, location.location.containedby, Midlothian
Scotland, location.location.events, Battle of Halidon Hill
East Lothian, location.administrative_division.second_level_division_of, United Kingdom
Scotland, location.country.national_anthem, m.0b_kvq7
Edinburgh, location.location.containedby, Scotland
Scotland, common.topic.webpage, m.09w6s2t
Scotland, base.aareas.schema.administrative_area.administrative_children, Falkirk
Scotland, location.location.events, 2014–15 Scottish Premiership
Scotland, location.location.events, Battle of Logiebride
Scotland, common.topic.webpage, m.0b6rzhd
Midlothian, location.location.contains, Bonnyrigg
Renfrewshire, location.administrative_division.first_level_division_of, Scotland
Scotland, base.popstra.location.vacationers, m.065pc90
West Lothian, location.location.containedby, Scotland
Scotland, location.location.events, Battle of Langside
Scottish island area, base.aareas.schema.administrative_area_type.pertains_to, Scotland
Scotland, base.aareas.schema.administrative_area.administrative_children, East Dunbartonshire
Scotcampus, book.newspaper.circulation_areas, Scotland
Scotland, base.aareas.schema.administrative_area.administrative_children, Orkney Islands Council Area
m.0jmt9d3, location.location_symbol_relationship.administrative_division, Scotland
Scotland, location.administrative_division.first_level_division_of, United Kingdom
Scotland, location.location.events, Battle of Ancrum Moor
Scotland, location.statistical_region.population, m.0cl9l2l
Midlothian council, common.image.size, m.03rtqb0
Edinburgh, base.biblioness.bibs_location.country, Scotland
East Lothian, location.administrative_division.first_level_division_of, Scotland
Charles W. Nibley, people.person.place_of_birth, Midlothian
Scotland, location.country.languages_spoken, Scottish Gaelic
Scotland, location.country.first_level_divisions, Dumfries and Galloway
Dumfries and Galloway, common.topic.notable_types, Scottish council area
Scotland, location.location.events, Battle of Lagganmore
East Dunbartonshire, location.administrative_division.first_level_division_of, Scotland
Falkirk, common.topic.notable_types, Scottish council area
Scotland, location.location.events, Battle of Benbigrie
Edgelaw Reservoir, location.location.containedby, Midlothian
Angus, location.location.containedby, Scotland
m.09xplmp, common.webpage.topic, Scotland
Scotland, location.statistical_region.population, m.0cl9l4h
St David's Church, Dalkeith, location.location.containedby, Midlothian
Scotland, location.country.first_level_divisions, Angus
Scotland, location.location.events, Skirmish of Alness
Scotland, base.aareas.schema.administrative_area.administrative_children, North Lanarkshire
NHS Lothian, government.government_agency.jurisdiction, Edinburgh
Dumfries and Galloway, location.administrative_division.first_level_division_of, Scotland
United Kingdom, location.country.second_level_divisions, West Lothian
Scotland, location.location.events, Battle of Tullich
North Ayrshire, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
Scotland, location.country.capital, Edinburgh
Scotland, location.location.events, First War of Scottish Independence
Scotland, common.topic.webpage, m.0b475p1
Scotland, location.country.internet_tld, uk
Scotland, location.statistical_region.population, m.0cl9ky7
East Renfrewshire, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
Scotland, location.statistical_region.population, m.0cl9l4p
Scotland, location.location.events, Jacobite risings
Scotland, location.location.events, Skirmish of Tongue
Scotland, location.statistical_region.population, m.0cl9l0t
Starting Over, film.film.featured_film_locations, Scotland
Scotland, location.location.events, 2009 Discovery Film Festival
Scotland, location.country.first_level_divisions, Dundee
Scotland, base.aareas.schema.administrative_area.administrative_children, Midlothian
Scotland, location.location.events, 2007 Discovery Film Festival
Kingdom of Scotland, location.country.capital, Edinburgh
Scotland, location.location.events, 2008 Discovery Film Festival
Shawfair, location.location.containedby, Midlothian
Scotland, location.country.first_level_divisions, West Lothian
Scotland, location.location.events, Scotland in the Wars of the Three Kingdoms
West Lothian, base.aareas.schema.administrative_area.administrative_parent, Scotland
Midlothian, location.location.contains, Scald Law
Loanhead, base.biblioness.bibs_location.country, Scotland
Scotland, location.location.events, Siege of Inverness
Scotland, common.topic.webpage, m.0b48p67
North Ayrshire, common.topic.notable_types, Scottish council area
West Dunbartonshire, location.location.containedby, United Kingdom, with Dependencies and Territories
Midlothian, location.administrative_division.second_level_division_of, United Kingdom
United Kingdom, location.country.second_level_divisions, East Ayrshire
Scotland, location.location.events, 2013 Discovery Film Festival
East Renfrewshire, location.location.containedby, Scotland
Scotland, location.statistical_region.gdp_nominal, m.0cl9l8n
West Dunbartonshire, base.aareas.schema.administrative_area.administrative_area_type, Scottish district
Scotland, location.location.events, War of the Quadruple Alliance
Scotland, location.location.partiallycontains, m.0wg96zy
Midlothian, location.location.contains, Gorebridge
Scotland, location.location.containedby, United Kingdom
Scotland, location.country.first_level_divisions, Aberdeen
Scotland, location.country.first_level_divisions, South Lanarkshire
m.04dgsf4, location.adjoining_relationship.adjoins, Scotland
East Dunbartonshire, location.administrative_division.second_level_division_of, United Kingdom
Scotland, location.location.events, 2010 Discovery Film Festival
Scotland, location.country.national_anthem, m.0b_kvm1
South Lanarkshire, common.topic.notable_types, Scottish council area
West Dunbartonshire, location.location.containedby, Scotland
Midlothian, location.location.contains, Gladhouse Reservoir
Scotland, location.country.first_level_divisions, Edinburgh
Orkney, location.administrative_division.first_level_division_of, Scotland
Scotland, location.location.events, Action off Lerwick
Edward Little, people.person.place_of_birth, Midlothian
Midlothian, common.topic.notable_for, g.1256prj78
Scotland, location.location.events, 2005 Discovery Film Festival

Answer: United Kingdom, with Dependencies and Territories
Scotland
United Kingdom