Question: How many kids does the person with the native language name Guy Ritchie have?
Choices: 2 daughter
2
9
1 son
12
5
3
4
20
6
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> "Guy Ritchie" . ?e <number_of_children> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Guy Ritchie
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: number of children
Answer: 5