Question: Which person is different from Craig Thomas (the one that is the citizen of United States of America)?
Choices:
Craig Thomas
Robert Taylor
Shawn Wayans
Max Fleischer
Richard Gere
Mary Elizabeth Winstead
Sylvester Stallone
Harrison Ford
William Henry Harrison
Kevin McHale
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Craig Thomas
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
backward
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 <different_from> ?e_1 . ?e_1 <pred:name> "Craig Thomas" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United States of America" .   }
Answer: Craig Thomas