Question: How many kids does Brian Austin Green's wife have?
Choices:
5
3
11
9
20
7
8
1 son
2
10
Answer: 3
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <spouse> ?e_1 . ?e_1 <pred:name> "Brian Austin Green" .  ?e <number_of_children> ?pv .  }
Program:
function: Find
inputs: Brian Austin Green
function: Relate
dependencies: 0
inputs: spouse
backward
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: number of children