Question: What is the number of children for the human whose native-language name is Nicole Mary Kidman?
Choices:
9
11
1
8
5
2 daughter
20
6
7
4
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Nicole Mary Kidman
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: number of children
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> "Nicole Mary Kidman" . ?e <number_of_children> ?pv .  }
Answer: 4