Question: Who is the person educated at the University of Lancaster and different from Roger Moore (the one that is an employee of United Nations)?
Choices:
Roger Moore
David Byrne
Sylvester Stallone
Simon Cowell
William Henry Harrison
Rahul Dev Burman
James E. Reilly
Richard Gere
Max Fleischer
Paul Simon
Answer: Roger Moore
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "University of Lancaster" .  ?e <different_from> ?e_2 . ?e_2 <pred:name> "Roger Moore" . ?e_2 <employer> ?e_3 . ?e_3 <pred:name> "United Nations" .  }
Program:
function: Find
inputs: University of Lancaster
function: Relate
dependencies: 0
inputs: educated at
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: United Nations
function: Relate
dependencies: 3
inputs: employer
backward
function: Find
inputs: Roger Moore
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: different from
backward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 2
8
function: What
dependencies: 9