Question: Which person differs from Richard Brooks (the one whose date of birth is 1912-05-18)?
Choices:
Richard Brooks
William Henry Harrison
John Corbett
Stanley Kubrick
Rahul Dev Burman
David Byrne
Simon Cowell
Pier Paolo Pasolini
Richard Gere
Max Fleischer
Program:
function: Find
inputs: Richard Brooks
function: FilterDate
dependencies: 0
inputs: date of birth
1912-05-18
=
function: Relate
dependencies: 1
inputs: different from
backward
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <different_from> ?e_1 . ?e_1 <pred:name> "Richard Brooks" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1912-05-18"^^xsd:date .   }
Answer: Richard Brooks