Question: Which capital city of Lancashire is the birthplace of Nick Park?
Choices:
Dundee
Kilkenny
Preston
Cork
Trieste
Cairo
Santo Domingo
Abidjan
Chihuahua
Bergen
Answer: Preston
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Lancashire" .  ?e_2 <place_of_birth> ?e . ?e_2 <pred:name> "Nick Park" .  }
Program:
function: Find
inputs: Lancashire
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Nick Park
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6