Question: Tell me the person that inspires the person that has exactly 2 daughters.
Choices:
Dirk Bogarde
Rahul Dev Burman
Richard Gere
Sarah Jessica Parker
Sylvester Stallone
John Legend
Maya Angelou
Max Fleischer
Jennifer Lopez
William Henry Harrison
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of children
2 daughter
=
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: inspired by
forward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <inspired_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <number_of_children> ?pv . ?pv <pred:unit> "daughter" . ?pv <pred:value> "2"^^xsd:double .   }
Answer: Jennifer Lopez