Question: Who was educated at Phillips Exeter Academy and that has the occupation of lawyer ?
Choices:
Lewis Cass
John Williams
Bill Nelson
John Irving
Edward Fox
Greg Daniels
Andrea Bocelli
John Milton
Robert Smith
Arthur Freed
Answer: Edward Fox
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "Phillips Exeter Academy" .  ?e <occupation> ?e_2 . ?e_2 <pred:name> "lawyer" .  }
Program:
function: Find
inputs: Phillips Exeter Academy
function: Relate
dependencies: 0
inputs: educated at
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: lawyer
function: Relate
dependencies: 3
inputs: occupation
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6