Question: Which person who works in Ottawa was born in Edinburgh?
Choices:
Tony Blair
Sean Connery
Stephen Harper
Marc Anthony
Robert Ryan
Max Fleischer
Neil Young
Kevin Smith
James Brown
Sylvester Stallone
Answer: Neil Young
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <work_location> ?e_1 . ?e_1 <pred:name> "Ottawa" .  ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> "Edinburgh" .  }
Program:
function: Find
inputs: Ottawa
function: Relate
dependencies: 0
inputs: work location
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Edinburgh
function: Relate
dependencies: 3
inputs: place of birth
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6