Question: Which town was Chris Evans (the one that has the occupation of merchant) born in?
Choices:
Colchester
Warrington
La Jolla
Wigan
Royal Tunbridge Wells
Irvine
Edmonton
Doncaster
Huddersfield
Hartlepool
Answer: Warrington
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Chris Evans" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "merchant" .   }
Program:
function: Find
inputs: merchant
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Chris Evans
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: town
function: What
dependencies: 5