Question: Who was born before 1991 and is the author of Midnight's Children whose ISBN-10 is 0-224-01823-X?
Choices:
Simon Cowell
Sylvester Stallone
Rahul Dev Burman
William Henry Harrison
Max Fleischer
Bob Balaban
Nikon
Ben Gazzara
Salman Rushdie
Richard Gere
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1991
<
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Midnight's Children
function: FilterStr
dependencies: 3
inputs: ISBN-10
0-224-01823-X
function: Relate
dependencies: 4
inputs: author
forward
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1991 ) . ?e_1 <author> ?e . ?e_1 <pred:name> "Midnight's Children" . ?e_1 <ISBN-10> ?pv_1 . ?pv_1 <pred:value> "0-224-01823-X" .  }
Answer: Salman Rushdie