Question: How many children does the person that is the child of Sharmila Tagore have?
Choices: 5
10
1 son
11
8
3 son
3
0
1
9
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <child> ?e . ?e_1 <pred:name> "Sharmila Tagore" .  ?e <number_of_children> ?pv .  }
Program:
function: Find
inputs: Sharmila Tagore
function: Relate
dependencies: 0
inputs: child
forward
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: number of children
Answer: 3