what is the {applies to part} for {Lincolnshire} has {located in the administrative territorial entity} as {East Midlands} ?
The East Midlands in Lincolnshire are located in which region?
What region of Lincolnshire is located in the East Midlands?
SELECT ?g WHERE { resource:Lincolnshire property:located_in_the_administrative_territorial_entity ?p . ?p property:located_in_the_administrative_territorial_entity resource:East_Midlands . ?p property:applies_to_part ?g }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23090> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q47994> .
?statement <http://www.wikidata.org/entity/P518> ?value. 
} 

SELECT ?value WHERE { wd:Q23090 p:P131 ?s . ?s ps:P131 wd:Q47994 . ?s pq:P518 ?value}