Question: How many children does Mickey Rooney have?
Choices:
1
11
5
1 son
7
10
2 daughter
9
20
6
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Mickey Rooney
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> "Mickey Rooney" . ?e <number_of_children> ?pv .  }
Answer: 9