Question: Which person was born in Ballarat and has the profession of judge?
Choices:
Warren Ellis
Max Fleischer
Alfred Newman
Edward Woodward
William Henry Harrison
John Wells
John Logan
Sylvester Stallone
John Dingell, Jr.
Edward Fox
Answer: Edward Woodward
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Ballarat" .  ?e <occupation> ?e_2 . ?e_2 <pred:name> "judge" .  }
Program:
function: Find
inputs: Ballarat
function: Relate
dependencies: 0
inputs: place of birth
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: judge
function: Relate
dependencies: 3
inputs: occupation
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6