Question: What is the non-metropolitan district that contains Carlisle where Mike Figgis was born?
Choices:
Chichester
Norwich
West Dorset
Great Yarmouth
Cambridge
South Somerset
North Norfolk
Carlisle
Kettering
Guildford
Program:
function: Find
inputs: Mike Figgis
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Carlisle
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: non-metropolitan district
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Carlisle" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Mike Figgis" .   }
Answer: Carlisle