Question: Who is the person that is different from Jack Thompson (the one that is a cast member of Merry Christmas, Mr. Lawrence) ?
Choices:
Sylvester Stallone
Jack Thompson
David Byrne
Max Martin
William Henry Harrison
Max Fleischer
Rahul Dev Burman
Richard Gere
Kirk Thornton
Simon Cowell
Program:
function: Find
inputs: Merry Christmas, Mr. Lawrence
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Jack Thompson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "Jack Thompson" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> "Merry Christmas, Mr. Lawrence" .   }
Answer: Jack Thompson